React Hook Form has released version 4.0.0, building upon the solid foundation of its previous stable release, version 3.29.4. Both versions offer developers a performant, flexible, and extensible library for building forms with React Hooks. The core functionality remains consistent, providing a streamlined approach to form management, validation, and submission. Developers familiar with version 3.29.4 will find upgrading relatively smooth.
However, several key changes and dependency updates differentiate the two versions. Version 4.0.0 sees a bump in several development dependencies, including TypeScript (from 3.7.3 to 3.7.4), @types/react (from 16.9.15 to 16.9.17) and @typescript-eslint/parser & @typescript-eslint/eslint-plugin (from 2.10.0 to 2.12.0). While these updates might seem minor, they bring in the latest type definitions and linting rules, potentially affecting TypeScript projects and ensuring better code quality, stability, and compatibility with the wider React ecosystem. The @testing-library/react dependency also sees an upgrade from 9.3.2 to 9.4.0, offering improvements in testing utilities. Furthermore, the unpacked size of the package has slightly increased, indicating potential additions or modifications to the library's source code. Developers should consider these updates when planning their upgrade path, ensuring their projects are compatible with the new dependency versions. This upgrade reflects the continuous effort to maintain react-hook-form current with the newest industry standards, developer tools and security measures.
The are not vulnerabilities for the version 4.0.0 of the package react-hook-form