React Hook Form saw a major version bump from 6.15.8 to 7.0.0, bringing several changes that developers should note. Both versions maintain the core functionality of providing performant and flexible form handling using React Hooks, aiming for extensible form solutions. While the peer dependency on React remains consistent, supporting versions 16.8.0 and 17, the devDependencies reveal the evolution of the tooling ecosystem.
Version 7.0.0 shows updates across testing libraries like @testing-library/react and @testing-library/react-hooks, alongside improved TypeScript support with newer versions of typescript and @typescript-eslint packages. The introduction of @vitejs/plugin-react-refresh suggests enhanced support for modern React development workflows using Vite. Notably, several packages like @babel/core, @changesets/cli, and @skypack/package-check present in version 6.15.8 are no longer explicitly listed, possibly indicating internal dependency management adjustments or reliance on newer build tool features. Additionally, the significant reduction in fileCount and unpackedSize in version 7.0.0 hints at potential optimizations in the package structure, potentially leading to faster install times and a smaller bundle size for users. Developers upgrading should review migration guides for any breaking changes corresponding to these updated dependencies and package structure modifications. The newer release signifies an effort to enhance the developer experience with updated tooling and potentially a more streamlined library.
The are not vulnerabilities for the version 7.0.0 of the package react-hook-form