React Hook Form saw a minor version bump from 4.0.1 to 4.1.0 in late December 2019. Both versions maintain the same core characteristics: they are performant, flexible, and extensible form libraries specifically designed for React Hooks. Developers will find both suitable for building complex and efficient forms. Examining the package data reveals similarities and subtle differences, with no API changes.
Both versions share an identical suite of development dependencies, including tools for testing (Jest, Cypress, React Testing Library, React Test Renderer), linting (ESLint), bundling (Rollup), and type checking (TypeScript). This indicates a consistent development environment and testing strategy across the releases. The peerDependencies remain the same, requiring React version ^16.8.0 or greater, ensuring compatibility with modern React applications.
A minor difference lies in the dist object. Version 4.1.0 reports an unpackedSize of 201470 bytes, while version 4.0.1 reports 201003 bytes. This small increase of less than 0.5 KB suggests that the newer version includes very minor additions or changes, potentially bug fixes, performance improvements, or tiny adjustments to internal code, but with no impact for the API of the library. Another important change is the release date, showing that version 4.1.0 was released just one day after 4.0.1
The are not vulnerabilities for the version 4.1.0 of the package react-hook-form