Sourced from react-router's releases.
v7.18.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7180
v7.17.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7170
v7.16.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v7160
Sourced from react-router's changelog.
v7.18.0
Patch Changes
- Fix server handler prerender responses when using
ssr: falseandfuture.v8_trailingSlashAwareDataRequests: true. Avoids false positive "SPA Mode" detection when serving prerendered paths (#15173)- Use the
ServerRouternonce for nonce-aware SSR components when they don't provide their own value so strict CSP pages can load them. (#15170)- Use
turbo-streamto serialize and deserialize Framework Mode hydration errors (#15175)- Precompute route branch matchers to avoid recompiling route path regexes during matching (#15186)
- Use the constructed request URL host when validating action request origins. (#15185)
- Remove the un-documented custom error serialization logic from Data Mode SSR built-in hydration flows (#15175)
- Validate protocols in RSC render redirects (#15177)
- Consolidate url normalization logic and better handle mixed slashes (#15176)
v7.17.0
Minor Changes
- Ship a subset of the official documentation inside the
react-routerpackage (#15121)
- Markdown docs are now available in
node_modules/react-router/docs, letting AI coding agents and the React Router agent skills read official docs locally- Excludes auto-generated API docs (
api/),community/content, and tutorials (tutorials/)v7.16.0
Minor Changes
- Stabilize
future.unstable_trailingSlashAwareDataRequestsasfuture.v8_trailingSlashAwareDataRequests(#15098)Patch Changes
Disable manifest path when lazy route dicovery is disabled (#15068)
Fix browser URL creation to use the configured history window instead of the global window. (#15066)
- Pass the history/router window through to
createBrowserURLImplso custom window contexts keep the correct URL origin.Fix
useNavigation()return type to preserve discriminated union across navigation states (#15095)Widen
MetaDescriptorscript:ld+jsontype fromLdJsonObjecttoLdJsonObject | LdJsonObject[]to permit multiple JSON-LD schemas in a single<script type="application/ld+json">tag emitted by<Meta />(#15082)
6fb1e79
Release v7.18.0 (#15187)09e6020
Optimize route matching internals (#15186)5b57f5f
Request Host derivation + CSRF check simplifications (#15185)ce596e8
Validate RSC redirect protocols (#15177)1cebd2a
chore: format9d22943
Use turbo stream for framework hydration errors (#15175)bf63729
Consolidate url normalization logic (#15176)4ce8ff7
Fix prerendering pathname issue with trailingSlashAwareDataRequests e…
(#15173)4f060dd
Use ServerRouter nonce when nonce prop is not specified (#15170)3fce6d6
Update docs on data router singleton