React Router DOM, a cornerstone library for declarative routing in React web applications, saw a stable update from version 6.7.0 to 6.8.0. While both versions share the same core description and licensing under MIT, several key differences emerge that are relevant for developers.
The most notable change lies within the dependencies. React Router DOM 6.8.0 now relies on react-router version 6.8.0 (updated from 6.7.0) and @remix-run/router version 1.3.1 (updated from 1.3.0). This indicates internal improvements and bug fixes within the core routing logic, offering potential performance enhancements and stability improvements. Developers should consult the changelogs for react-router and @remix-run/router to understand the specific changes incorporated in these updated dependencies.
Beyond dependency updates, the unpacked size of the package has slightly increased from 538,222 bytes in version 6.7.0 to 566,458 bytes in version 6.8.0. This suggests the addition of new features, code optimizations, or potentially updated assets within the library. Additionally, the release date moved from January 18, 2023, to January 26, 2023. This recent release date signifies that developers are getting a fresh, actively maintained version of the routing library. Both versions keep the same dev and peer dependencies as well as developer information. If you plan to upgrade review the changelogs of the underlying packages to check for breaking changes.
The are not vulnerabilities for the version 6.8.0 of the package react-router-dom