React Hook Form has released version 7.22.0, a minor update from the previous stable version 7.21.2, offering subtle yet potentially impactful improvements for developers using this popular form library. The core functionality remains consistent; both versions provide a performant and flexible solution for building forms with React Hooks.
A key difference lies in the updated development dependencies. Version 7.22.0 sees upgrades to several tools, including eslint, typescript, and jest potentially improving the developer experience during development and testing. Specifically, eslint moves from version 8.3.0 to 8.4.1, typescript sees an increase to version 4.5.3 from 4.5.2, and jest jumps from version 27.4.3 to 27.4.4. These updates bring the project in line with the latest tooling standards, possibly resolving bugs and introducing new features for maintainers and contributors.
While the peer dependency on React remains unchanged, ensuring compatibility with React versions 16.8.0 and 17, developers should note the slightly larger unpacked size of version 7.22.0 (656849 bytes) compared to 7.21.2 (655922 bytes), although the impact is likely negligible. This suggests minor additions or changes within the library's codebase. Also the release date is recent, 2021-12-13. For developers already using React Hook Form, upgrading to version 7.22.0 is likely a safe and beneficial move to take advantage of the updated dependencies.
The are not vulnerabilities for the version 7.22.0 of the package react-hook-form