React Hook Form saw a small but potentially impactful update between versions 4.9.7 and 4.9.8. Both versions maintain the core promise of a performant, flexible, and extensible forms library leveraging React Hooks for efficient form management. Developers will find familiar dependencies like React, React-DOM, and testing utilities such as Jest and @testing-library/react in both releases.
Key differences lie in the development dependencies. Version 4.9.8 introduces @rollup/plugin-commonjs, rollup-plugin-babel, @babel/core, @babel/runtime-corejs3, and @babel/plugin-transform-runtime, suggesting enhancements to the build process, potentially focusing on improved CommonJS module handling and Babel-related transformations, potentially leading to better compatibility and performance across different JavaScript environments. Meanwhile, version 4.9.7 includes bundlesize, which is absent in the newer release. It could imply a shift in how bundle size is being monitored or managed.
The file count and unpacked size also differ significantly. Version 4.9.8 contains 126 files with an unpacked size of 373064 bytes, compared to version 4.9.7's 125 files and 260561 bytes. This increase could be attributed to the newly added build dependencies and associated code, possibly offering enriched features, polyfills, or improved internal workings that are worth to investigate. With a one-day difference in release date, the newer version likely addresses some bugs or includes minor enhancements that can boost developer experience.
The are not vulnerabilities for the version 4.9.8 of the package react-hook-form