React Hook Form saw a minor version update from 3.0.4 to 3.1.0 in early May 2019. Both versions maintain the same core dependencies, listing React and React DOM as peer dependencies, ensuring compatibility with React 16.8.0 and above. The developer dependencies are almost identical, encompassing testing libraries like Jest and Enzyme, along with tools for linting, bundling (Rollup), and TypeScript support. This consistency suggests that the update primarily focuses on internal improvements and bug fixes rather than a complete overhaul of the development environment.
A key difference can be observed in the dist object. While both versions have the same fileCount of 61, the unpackedSize increased slightly from 81420 to 82723 bytes in version 3.1.0. This implies that the newer version includes some code additions or modifications, potentially addressing performance optimizations, introducing minor features, or resolving previously identified issues. The releaseDate also indicates a short interval between releases (approximately two days), hinting at a quick follow-up to address any immediate concerns after the release of 3.0.4. For developers, this upgrade likely offered subtle enhancements and refinements, encouraging them to update for the most robust and optimized experience without needing to adapt to significant API changes. The MIT license remains consistent, ensuring ease of use in various project types.
The are not vulnerabilities for the version 3.1.0 of the package react-hook-form