Fix encoding/decoding issues with pre-encoded dynamic parameter values (#11199)
1.15.0
Minor Changes
Add a createStaticHandlerfuture.v7_throwAbortReason flag to throw request.signal.reason (defaults to a DOMException) when a request is aborted instead of an Error such as new Error("query() call aborted: GET /path") (#11104)
Please note that DOMException was added in Node v17 so you will not get a DOMException on Node 16 and below.
Patch Changes
Respect the ErrorResponse status code if passed to getStaticContextFormError (#11213)
1.14.2
Patch Changes
Fix bug where dashes were not picked up in dynamic parameter names (#11160)
Do not attempt to deserialize empty JSON responses (#11164)
1.14.1
Patch Changes
Fix bug with route.lazy not working correctly on initial SPA load when v7_partialHydration is specified (#11121)
Fix bug preventing revalidation from occurring for persisted fetchers unmounted during the submitting phase (#11102)
Added a new future.v7_partialHydration future flag that enables partial hydration of a data router when Server-Side Rendering. This allows you to provide hydrationData.loaderData that has values for some initially matched route loaders, but not all. When this flag is enabled, the router will call loader functions for routes that do not have hydration loader data during router.initialize(), and it will render down to the deepest provided HydrateFallback (up to the first route without hydration data) while it executes the unhydrated routes. (#11033)
For example, the following router has a root and index route, but only provided hydrationData.loaderData for the root route. Because the index route has a loader, we need to run that during initialization. With future.v7_partialHydration specified, <RouterProvider> will render the RootComponent (because it has data) and then the IndexFallback (since it does not have data). Once indexLoader finishes, application will update and display IndexComponent.
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| @remix-run/router | [>= 1.8.a, < 1.9] |
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show 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)
Bumps @remix-run/router from 1.13.0 to 1.15.1.
Changelog
Sourced from
@remix-run/router
's changelog.... (truncated)
Commits
5f0cf32
chore: Update version for release (#11283)25d16db
chore: Update version for release (pre) (#11280)241f2d4
Fix issues with pre-encoded param names not being properly decoded (#11199)3a66719
chore: Update version for release (#11242)109fb7d
chore: Update version for release (pre) (#11238)add6f8a
Respect the ErrorResponse status code if passed to getStaticContextFormError ...c9f8a7b
Add future flag to throw request.signal.reason for aborted requests (#11104)04d653b
Copy remix script to remove prereleases from changelogs (#11183)4e528c0
chore: Update version for release (#11182)c2c0826
chore: Update version for release (pre) (#11178)Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | @remix-run/router | [>= 1.8.a, < 1.9] |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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show