You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deps: bump react-router from 7.18.4 to 8.4.0 - #304
Deprecate the createStaticRouter({ branches }) option (#15297)
createStaticRouter now caches route branches internally, ignores branches, and logs a deprecation warning when the option is provided
The deprecated EntryContext.branches property remains available for compatibility but is always an empty array
Patch Changes
Prevent stale route discovery during manifest version-mismatch recovery (#15489)
Keep concurrent manifest responses pending while a document reload is in progress
Report a discovery error when a previous reload failed to resolve a version mismatch instead of loading a stale route or reloading repeatedly
Fail pending requests if a document reload does not complete within five seconds or the document is restored from the back-forward cache, allowing subsequent requests to recover
Preserve lazy route module import errors during SPA navigations instead of replacing them with a missing dataStrategy result error (#15464)
Switch to more granular internal router contexts to avoid unnecessary route component re-renders when unrelated data router state changes (#15376)
⚠️ This contains some breaking changes to exported UNSAFE_ contexts, so please review carefully if you are using those unsafe exports
Correctly escape streamed RSC redirect locations in meta tag attributes (#15491)
Avoid unintended document.startViewTransition calls during initial hydration and router.revalidate() calls (#15484)
Fix SingleFetchNoResultError thrown when a fetcher revalidates against a splat route during lazy route discovery (#15395)
Track discovery per fetcher load so revalidation waits for the current load's discovery, even when the fetcher key is reused, while still restarting interrupted loaders after discovery completes
Preserve the underlying decode failure as the cause of the Unable to decode turbo-stream response error (#15450)
Add a Data Mode future.unstable_routePatternMatching flag for more efficient route matching powered by @remix-run/route-pattern (#15298)
Add an unstable_validateParams route field to reject invalid parameter values and continue matching
Document access control requirements for RSC Server Functions (#15490)
Treat every Server Function as a public endpoint that must perform all of its own access control checks
Recommend route actions when access control should be provided by route middleware
v8.3.1
Patch Changes
Fix Expected fetcher: <key> error thrown on navigation when a fetcher is aborted during its post-action revalidation (#15365)
Fix lazy route discovery caching a path as discovered when the triggering navigation was aborted after the manifest response settled but before the route tree was patched, which permanently (for the session) shadowed the real route behind a catch-all or produced 404s on every subsequent visit (#15399)
Improve route matching performance for long paths (#15417)
Improve validation of action request origins (#15419)
Fix <ScrollRestoration> leaving history.scrollRestoration set to "auto" after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had rendered (#15397)
Properly respect the relative option in useSubmit/fetcher.submit when resolivng the action path (#15400)
Add additional URL validation on client side navigations/redirects (#15445)
v8.3.0
Patch Changes
Encode path params in href/generatePath per RFC 3986 path-segment rules instead of encodeURIComponent (#15310)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Closing this pull request after architectural evaluation. Bumping react-router from 7.18.4 to 8.4.0 is a major breaking upgrade that deprecates routing hooks and structure, requiring a dedicated migration plan incompatible with our current React 19 production architecture.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps react-router from 7.18.4 to 8.4.0.
Release notes
Sourced from react-router's releases.
Changelog
Sourced from react-router's changelog.
... (truncated)
Commits
7ccdcecRelease v8.4.0 (#15496)dc95459Prepare v8.4.0 release notes5fe40edFix change filef329d4bSkip view transitions on revalidation and initial hydration (#15484)34ffffbPreload the route-pattern matcher before opting in (#15506)4091c34Document RSC server function access control (#15490)6f2a0e0Restore upstream route-pattern dependency (#15505)10908b2docs: fix router comment spelling (#15495)acf1f20Fix empty terminating splats with route-pattern matching (#15499)c58d715Fix HTML attribute escaping for RSC redirects (#15491)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)