Bump react-router from 6.14.2 to 6.22.2
Bumps react-router from 6.14.2 to 6.22.2.
Release notes
Sourced from react-router's releases.
v6.22.2
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6222
v6.22.1
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6221
v6.22.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6220
v6.21.3
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6213
v6.21.2
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6212
v6.21.1
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6211
v6.21.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6210
v6.20.1
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6201
v6.20.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6200
v6.19.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6190
v6.18.0
Minor Changes
New Fetcher APIs
Per this RFC, we've introduced some new APIs that give you more granular control over your fetcher behaviors. (#10960)
- You may now specify your own fetcher identifier via
useFetcher({ key: string }), which allows you to access the same fetcher instance from different components in your application without prop-drilling- Fetcher keys are now exposed on the fetchers returned from
useFetchersso that they can be looked up bykeyFormanduseSumbitnow support optionalnavigate/fetcherKeyprops/params to allow kicking off a fetcher submission under the hood with an optionally user-specifiedkey
<Form method="post" navigate={false} fetcherKey="my-key">submit(data, { method: "post", navigate: false, fetcherKey: "my-key" })- Invoking a fetcher in this way is ephemeral and stateless
- If you need to access the state of one of these fetchers, you will need to leverage
useFetchers()oruseFetcher({ key })to look it up elsewherePersistence Future Flag (
future.v7_fetcherPersist)Per the same RFC as above, we've introduced a new
future.v7_fetcherPersistflag that allows you to opt-into the new fetcher persistence/cleanup behavior. Instead of being immediately cleaned up on unmount, fetchers will persist until they return to anidlestate. This makes pending/optimistic UI much easier in scenarios where the originating fetcher needs to unmount. (#10962)
- This is sort of a long-standing bug fix as the
useFetchers()API was always supposed to only reflect in-flight fetcher information for pending/optimistic UI -- it was not intended to reflect fetcher data or hang onto fetchers after they returned to anidlestate
... (truncated)
Changelog
Sourced from react-router's changelog.
6.22.2
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.22.1
Patch Changes
- Fix encoding/decoding issues with pre-encoded dynamic parameter values (#11199)
- Updated dependencies:
@remix-run/[email protected]6.22.0
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.21.3
Patch Changes
- Remove leftover
unstable_prefix fromBlocker/BlockerFunctiontypes (#11187)6.21.2
Patch Changes
- Updated dependencies:
@remix-run/[email protected]6.21.1
Patch Changes
- Fix bug with
route.lazynot working correctly on initial SPA load whenv7_partialHydrationis specified (#11121)- Updated dependencies:
@remix-run/[email protected]6.21.0
Minor Changes
Add a new
future.v7_relativeSplatPathflag to implement a breaking bug fix to relative routing when inside a splat route. (#11087)This fix was originally added in #10983 and was later reverted in #11078 because it was determined that a large number of existing applications were relying on the buggy behavior (see #11052)
... (truncated)
Commits
78c843bchore: Update version for release (#11314)e1421bechore: Update version for release (pre) (#11309)5f0cf32chore: Update version for release (#11283)25d16dbchore: Update version for release (pre) (#11280)241f2d4Fix issues with pre-encoded param names not being properly decoded (#11199)3a66719chore: Update version for release (#11242)109fb7dchore: Update version for release (pre) (#11238)44b391achore: Update version for release (#11203)b4bf927chore: Update version for release (pre) (#11196)552662aRemove leftoverunstable_prefix fromBlocker/BlockerFunctiontypes (#1...- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
A newer version of react-router exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
@dependabot recreate
Superseded by #12854.