React Hook Form is a popular library for building performant and flexible forms in React applications. Comparing versions 4.8.0 and 4.7.2, developers will notice a few key differences. Both versions share the same core development dependencies, including testing frameworks like Jest and Cypress, along with tools for linting, bundling (Rollup), and TypeScript support. This consistent tooling ensures code quality and maintainability across versions. The peer dependency on React remains at "^16.8.0", indicating compatibility with a wide range of React projects.
The notable changes reside in the dist object. Version 4.8.0 has a larger unpackedSize of 245956 compared to 4.7.2's 239905, suggesting the addition of new features, bug fixes, or internal improvements that contribute to the increased size. The fileCount also increases from 117 to 120, implying more modules were involved or changes were made in the packaging structure, although it doesn't automatically translates into improvements. Version 4.8.0 was released on January 31, 2020, while 4.7.2 was released two days prior.
It's recommended that developers upgrading to 4.8.0 review the changelog or release notes for a detailed breakdown of specific changes, bug fixes, and new features to ensure a smooth transition and take full advantage of any improvements. Although the differences are limited to the size of the package and the number of file, usually those metrics impact performance and features. Always use the latest version to improve the user experience of your app.
The are not vulnerabilities for the version 4.8.0 of the package react-hook-form