Skip to content

Releases: amir0ff/reactjs-use-form

🚀 1.7.3 Modernization

24 Jan 17:07

Choose a tag to compare

What's Changed

Major modernization release featuring significant dependency upgrades and pipeline improvements:

  • React 19 & Vite 7: Upgraded the core library and example application to support the latest versions of React and Vite for improved performance and developer experience.
  • Tailwind CSS v4: Migrated the example app to Tailwind CSS v4, adopting the new CSS-first engine and modern @theme configuration.
  • NPM Provenance: Re-enabled secure NPM publishing with provenance by correctly configuring OIDC trusted publishing permissions (id-token: write).
  • UI Consistency: Restored native hover cursors on buttons and fixed input field spacing (8px top margin) that were affected during the framework migration.
  • Broad Compatibility: Updated peer dependencies to officially support both React 18 and React 19 environments.

Full Changelog: 1.7.0...1.7.3

🧹 1.7.0 Cleanup

17 Jul 18:46

Choose a tag to compare

What's Changed

Dependency cleanup and optimization:

  • Removed unnecessary packages: Eliminated @types/jest and react-test-renderer from devDependencies
  • Bundle size optimization: Removed 83 unused packages from node_modules
  • Faster installs: Cleaner dependency tree results in quicker installation times
  • Maintenance improvement: Simplified dependency management for better maintainability

Technical improvements:

  • Cleaned up Jest-related dependencies since project uses Vitest
  • Removed unused React test renderer dependency
  • Maintained all essential testing utilities (@testing-library/jest-dom for DOM assertions)
  • All 19 tests continue to pass after cleanup

Full Changelog: 1.6.9...1.7.0

⚡ 1.6.9 Performance

17 Jul 18:20

Choose a tag to compare

What's Changed

Performance optimization and efficiency improvements:

  • Implemented shallow comparison to prevent unnecessary re-renders when values haven't actually changed
  • Added specialized equality check for error objects to avoid unnecessary state updates
  • Optimized state updates with early returns and conditional updates to minimize re-renders
  • Replaced Object.keys().reduce() with for...in loops for better performance in utility functions
  • Optimized validation to only create new objects when changes are detected
  • Added useRef to track previous values for intelligent change detection
  • Minimized object spread operations and unnecessary allocations
  • Replaced Array.some() and Array.filter() with for...in loops for better performance

Technical improvements:

  • Added shallowEqual utility for efficient object comparison
  • Added errorObjectsEqual utility for specialized error object comparison
  • Enhanced handleOnChange with early returns and conditional dirty state updates
  • Optimized computed values (isDirty, hasFormErrors, hasEmptyRequiredFields) to use loops instead of array methods
  • Improved validation effect to only run when actual changes are detected

Full Changelog: 1.6.0...1.6.9

🔒 1.6.6 Security Patch

17 Jul 14:52

Choose a tag to compare

What's Changed

Security and deployment fixes:

  • Update vitest to v3.2.4 to fix esbuild vulnerability (GHSA-67mh-4wv8-2f99)
  • Update workflow to use correct build output directory (build/ instead of dist/)
  • All 19 tests continue to pass with updated vitest
  • Updated build tools for better security and performance
  • Complete resolution of all known security issues

Full Changelog: 1.6.0...1.6.6

⚡ 1.6.1 Speed & Style

17 Jul 14:12

Choose a tag to compare

What's Changed

Performance refactoring and UI migration release:

  • Refactor form library with memoized initial states and computed optimizations
  • Replace Material-UI components with shadcn/ui throughout examples
  • Add light/dark theme toggle with modern ThemeProvider
  • Implement efficient validation that only processes dirty fields
  • Enhance form state indicators with visual status display
  • Improve TypeScript strict mode compatibility and type safety
  • Add intelligent reset functionality with smart disable states
  • Separate utility functions for better maintainability
  • Update documentation structure with dedicated release notes

Full Changelog: 1.6.0...1.6.1

⚡ 1.6.0 Modernized Library

17 Jul 02:57

Choose a tag to compare

What's Changed

Major modernization release:

  • Migrate from Yarn workspaces to pnpm workspaces
  • Replace CRACO with Vite for faster builds
  • Replace Rollup with Vite library mode
  • Update TypeScript 4.8 → 5.7 with strict mode
  • Update React to 18.3 throughout
  • Update Material-UI v5 → v6
  • Remove deprecated dependencies
  • Improve build performance and developer experience
  • Update documentation and examples

Full Changelog: 1.5.0...1.6.0

🤩 1.5.0 React 18 & MUI v5

23 Mar 13:15

Choose a tag to compare

What's Changed

  • upgrade to React 18 / upgrade to MUI v5 / upgrade GitHub actions / use node.js 18 09daeae
  • chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 by @dependabot in #55

Full Changelog: 1.4.5...1.5.0

🫦 1.4.5 Introduce isDirty

27 Oct 22:06
f314a07

Choose a tag to compare

✨ 1.4.1 Update package

01 Sep 14:22

Choose a tag to compare

What's Changed

  • chore(deps-dev): bump @craco/craco from 6.2.0 to 6.3.0 by @dependabot in #5
  • chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.4 by @dependabot in #3
  • chore(deps-dev): bump typedoc from 0.21.4 to 0.22.3 by @dependabot in #7
  • chore(deps-dev): bump tslib from 2.3.0 to 2.3.1 by @dependabot in #8
  • chore(deps-dev): bump @rollup/plugin-typescript from 8.2.1 to 8.2.5 by @dependabot in #6
  • chore(deps-dev): bump @rollup/plugin-commonjs from 19.0.0 to 20.0.0 by @dependabot in #9
  • chore(deps-dev): bump @testing-library/react-hooks from 7.0.1 to 7.0.2 by @dependabot in #2
  • chore(deps-dev): bump typescript from 4.3.5 to 4.4.3 by @dependabot in #1
  • chore(deps-dev): bump @types/jest from 26.0.24 to 27.0.1 by @dependabot in #4
  • chore(deps-dev): bump typedoc-plugin-markdown from 3.10.2 to 3.11.0 by @dependabot in #10
  • chore(deps-dev): bump @material-ui/core from 4.12.1 to 4.12.3 by @dependabot in #13
  • chore(deps-dev): bump @types/react from 17.0.14 to 17.0.27 by @dependabot in #16
  • chore(deps-dev): bump prettier from 2.4.0 to 2.4.1 by @dependabot in #11
  • chore(deps-dev): bump typedoc-plugin-markdown from 3.11.0 to 3.11.12 by @dependabot in #28
  • chore(deps-dev): bump rollup from 2.53.1 to 2.68.0 by @dependabot in #37

New Contributors

Full Changelog: 1.2.9...1.4.1

1.2.9: chore: packages update

12 Sep 14:50

Choose a tag to compare

docs links fix [skip ci]