react-saas-template
                                
                                 react-saas-template copied to clipboard
                                
                                    react-saas-template copied to clipboard
                            
                            
                            
                        Bump react-router from 5.2.1 to 6.8.2
Bumps react-router from 5.2.1 to 6.8.2.
Release notes
Sourced from react-router's releases.
v6.8.2
What's Changed
- Treat same-origin absolute URLs in
<Link to>as external if they are outside of the routerbasename(#10135)- Correctly perform a hard redirect for same-origin absolute URLs outside of the router
basename(#10076)- Fix SSR of absolute
<Link to>urls (#10112)- Properly escape HTML characters in
StaticRouterProviderserialized hydration data (#10068)- Fix
useBlockerto returnIDLE_BLOCKERduring SSR (#10046)- Ensure status code and headers are maintained for
deferloader responses increateStaticHandler'squery()method (#10077)- Change
invariantto anUNSAFE_invariantexport since it's only intended for internal use (#10066)Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.8.2
v6.8.1
What's Changed
- Remove inaccurate console warning for POP navigations and update active blocker logic (#10030)
- Only check for differing origin on absolute URL redirects (#10033)
- Improved absolute url detection in
Linkcomponent (now also supportsmailto:urls) (#9994)- Fix partial object (search or hash only) pathnames losing current path value (#10029)
Full Changelog: https://github.com/remix-run/react-router/compare/[email protected]@6.8.1
v6.8.0
What's Changed
Minor Changes
Support absolute URLs in
<Link to>. If the URL is for the current origin, it will still do a client-side navigation. If the URL is for a different origin then it will do a fresh document request for the new origin. (#9900)<Link to="https://neworigin.com/some/path"> {/* Document request */} <Link to="//neworigin.com/some/path"> {/* Document request */} <Link to="https://www.currentorigin.com/path"> {/* Client-side navigation */}Patch Changes
- Fixes 2 separate issues for revalidating fetcher
shouldRevalidatecalls (#9948)
- The
shouldRevalidatefunction was only being called for explicit revalidation scenarios (after a mutation, manualuseRevalidatorcall, or anX-Remix-Revalidateheader used for cookie setting in Remix). It was not properly being called on implicit revalidation scenarios that also apply to navigationloaderrevalidation, such as a change in search params or clicking a link for the page we're already on. It's now correctly called in those additional scenarios.- The parameters being passed were incorrect and inconsistent with one another since the
current*/next*parameters reflected the staticfetcher.loadURL (and thus were identical). Instead, they should have reflected the the navigation that triggered the revalidation (as theform*parameters did). These parameters now correctly reflect the triggering navigation.- Fix bug with search params removal via
useSearchParams(#9969)- Respect
preventScrollReseton<fetcher.Form>(#9963)- Fix navigation for hash routers on manual URL changes (#9980)
- Use
pagehideinstead ofbeforeunloadfor<ScrollRestoration>. This has better cross-browser support, specifically on Mobile Safari. (#9945)- Do not short circuit on hash change only mutation submissions (#9944)
- Remove
instanceofcheck fromisRouteErrorResponseto avoid bundling issues on the server (#9930)
... (truncated)
Changelog
Sourced from react-router's changelog.
6.8.2
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.8.1
Patch Changes
- Remove inaccurate console warning for POP navigations and update active blocker logic (#10030)
- Updated dependencies:
@remix-run/[email protected]6.8.0
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.7.0
Minor Changes
- Add
unstable_useBlockerhook for blocking navigations within the app's location origin (#9709)Patch Changes
- Fix
generatePathwhen optional params are present (#9764)- Update
<Await>to acceptReactNodeas children function return result (#9896)- Updated dependencies:
@remix-run/[email protected]6.6.2
Patch Changes
- Ensure
useIdconsistency during SSR (#9805)6.6.1
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.6.0
... (truncated)
Commits
- c312eaachore: Update version for release (#10142)
- b1aa838chore: Update version for release (pre) (#10137)
- 1d2417bchore: Update version for release (pre) (#10129)
- d6af011chore: Update version for release (pre) (#10128)
- 3c6fb46chore: Update version for release (pre) (#10124)
- 3eac3a6feat: mutable route tree (#9996)
- bbe4ec5Move invariant to UNSAFE_ export (#10066)
- 6bbd48cchore: Update version for release (#10056)
- d6fbfabchore: Update version for release (pre) (#10035)
- f6b5daeRemove inaccurate console warning for POP navigations (#10030)
- Additional commits viewable in compare view
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 mergewill merge this PR after your CI passes on it
- @dependabot squash and mergewill squash and merge this PR after your CI passes on it
- @dependabot cancel mergewill cancel a previously requested merge and block automerging
- @dependabot reopenwill reopen this PR if it is closed
- @dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- @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)