React Router DOM has released version 6.28.0, representing a subtle but potentially impactful update from the previous stable version, 6.27.0. While both versions maintain the core functionality of declarative routing for React web applications, several key differences are noteworthy for developers. The most significant change lies within the dependencies: react-router-dom 6.28.0 relies on react-router 6.28.0 and @remix-run/router 1.21.0. Comparatively, version 6.27.0 uses react-router 6.27.0 and @remix-run/router 1.20.0.
This means that developers upgrading to 6.28.0 will also be updating their underlying router and data-fetching implementation. While the React Router team typically provides detailed change logs for their package-level changes, it's crucial to check the changelogs for both react-router 6.28.0 and @remix-run/router 1.21.0 which can be found on the related github repositories to verify whether the eventual breaking changes and updated methods are compatible with your codebase.
Another subtle difference to consider is the unpacked size of the library. Version 6.28.0 has an unpacked size of 901283 bytes, while version 6.27.0 has an unpacked size of 895237 bytes. This accounts for a minor increase in size, which may be due to new features, performance improvements, or bug fixes introduced in the updated dependencies. The release date of version 6.28.0 is 2024-11-06, while the release date for version 6.27.0 is 2024-10-11, giving a timeframe for the implemented changes. As always, developers should consult the official React Router documentation and release notes for a comprehensive understanding of the changes and any potential migration considerations.
The are not vulnerabilities for the version 6.28.0 of the package react-router-dom