react-router 7.18.5 → 7.18.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/development/{browser-7x6a6gQP.d.ts → browser-QWJf_b8Q.d.ts} +2 -2
- package/dist/development/{browser-CiGxXXOl.d.mts → browser-yuOIt-hO.d.mts} +2 -2
- package/dist/development/{chunk-NDF5KBLP.js → chunk-6VUODQWR.js} +109 -104
- package/dist/development/{chunk-2ZBLYC7V.js → chunk-EYW3HBBI.js} +116 -66
- package/dist/development/{chunk-IFHLIXZW.js → chunk-FLL7MJ4N.js} +7 -7
- package/dist/development/{chunk-JAHXRPFV.mjs → chunk-IXMWVLYF.mjs} +14 -5
- package/dist/development/{chunk-6KYCQHYJ.mjs → chunk-Z7SQORRT.mjs} +118 -64
- package/dist/{production/context-BlYKn1tE.d.mts → development/context-BbKau8k8.d.mts} +1 -1
- package/dist/development/{data-DEjBmEfD.d.mts → data-BfpvlkTw.d.mts} +2 -0
- package/dist/{production/data-CjO11-hU.d.ts → development/data-DNyB6ouY.d.ts} +2 -0
- package/dist/development/dom-export.d.mts +3 -3
- package/dist/development/dom-export.d.ts +3 -3
- package/dist/development/dom-export.js +38 -36
- package/dist/development/dom-export.mjs +7 -5
- package/dist/development/{index-react-server-client-KK-TR-t7.d.mts → index-react-server-client-DF1LPF_n.d.mts} +2 -2
- package/dist/{production/index-react-server-client-BaaZU3sM.d.ts → development/index-react-server-client-DxC4rwQS.d.ts} +2 -2
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.js +130 -59
- package/dist/development/index-react-server.mjs +130 -59
- package/dist/development/index.d.mts +11 -11
- package/dist/development/index.d.ts +11 -11
- package/dist/development/index.js +111 -102
- package/dist/development/index.mjs +3 -3
- package/dist/{production/instrumentation-CPkMwccd.d.ts → development/instrumentation-z0GQ7yJ2.d.ts} +1 -1
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{register-CmkRspdl.d.mts → register-B8pHflrz.d.mts} +1 -1
- package/dist/development/{register-roq_0qYo.d.ts → register-Dnr_kGGI.d.ts} +1 -1
- package/dist/production/{browser-7x6a6gQP.d.ts → browser-QWJf_b8Q.d.ts} +2 -2
- package/dist/production/{browser-CiGxXXOl.d.mts → browser-yuOIt-hO.d.mts} +2 -2
- package/dist/production/{chunk-75HN637G.js → chunk-6AFDAMLF.js} +109 -104
- package/dist/production/{chunk-IAM5GYT3.mjs → chunk-D2GT6IUW.mjs} +14 -5
- package/dist/production/{chunk-HNBICOIU.js → chunk-JAAIXHP6.js} +116 -66
- package/dist/production/{chunk-7RTFRKQW.mjs → chunk-OCNYVWSN.mjs} +118 -64
- package/dist/production/{chunk-K3NA4NUH.js → chunk-RFC7P4DG.js} +7 -7
- package/dist/{development/context-BlYKn1tE.d.mts → production/context-BbKau8k8.d.mts} +1 -1
- package/dist/production/{data-DEjBmEfD.d.mts → data-BfpvlkTw.d.mts} +2 -0
- package/dist/{development/data-CjO11-hU.d.ts → production/data-DNyB6ouY.d.ts} +2 -0
- package/dist/production/dom-export.d.mts +3 -3
- package/dist/production/dom-export.d.ts +3 -3
- package/dist/production/dom-export.js +38 -36
- package/dist/production/dom-export.mjs +7 -5
- package/dist/production/{index-react-server-client-KK-TR-t7.d.mts → index-react-server-client-DF1LPF_n.d.mts} +2 -2
- package/dist/{development/index-react-server-client-BaaZU3sM.d.ts → production/index-react-server-client-DxC4rwQS.d.ts} +2 -2
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.js +130 -59
- package/dist/production/index-react-server.mjs +130 -59
- package/dist/production/index.d.mts +11 -11
- package/dist/production/index.d.ts +11 -11
- package/dist/production/index.js +111 -102
- package/dist/production/index.mjs +3 -3
- package/dist/{development/instrumentation-CPkMwccd.d.ts → production/instrumentation-z0GQ7yJ2.d.ts} +1 -1
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{register-CmkRspdl.d.mts → register-B8pHflrz.d.mts} +1 -1
- package/dist/production/{register-roq_0qYo.d.ts → register-Dnr_kGGI.d.ts} +1 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# `react-router`
|
|
2
2
|
|
|
3
|
+
## v7.18.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Declare `@types/react` as an optional peer dependency so the shipped type definitions resolve React types under strict (non-hoisted) node_modules layouts ([#15824](https://github.com/remix-run/react-router/pull/15824))
|
|
8
|
+
- Reject excessively large optional route path combinations in `matchPath`. Each pattern may contain up to 12 optional (`?`) markers. ([#15829](https://github.com/remix-run/react-router/pull/15829))
|
|
9
|
+
|
|
10
|
+
### Unstable Changes
|
|
11
|
+
|
|
12
|
+
⚠️ _[Unstable features](https://reactrouter.com/community/api-development-strategy#unstable-flags) are not recommended for production use_
|
|
13
|
+
|
|
14
|
+
- Avoid false 404s in RSC Framework and RSC Data modes when navigating while eager route discovery is still streaming route definitions ([#15799](https://github.com/remix-run/react-router/pull/15799))
|
|
15
|
+
- Align CSRF handling in RSC Framework and RSC Data modes with standard Framework Mode request flows ([#15830](https://github.com/remix-run/react-router/pull/15830))
|
|
16
|
+
|
|
17
|
+
## v7.18.6
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Fix hydration of streamed `Suspense` boundaries in development with `future.v8_viteEnvironmentApi` ([#15747](https://github.com/remix-run/react-router/pull/15747))
|
|
22
|
+
|
|
23
|
+
- Preserve server-rendered content while lazy client code loads by clearing critical CSS in a transition
|
|
24
|
+
|
|
25
|
+
- Handle `HEAD` response bodies consistently in Framework, RSC Framework, and RSC Data modes, preserving response metadata and deferred data handling ([#15784](https://github.com/remix-run/react-router/pull/15784))
|
|
26
|
+
|
|
27
|
+
- Improve path generation and URL validation across `href()`, `generatePath()`, links, forms, fetchers, and redirects ([#15787](https://github.com/remix-run/react-router/pull/15787))
|
|
28
|
+
|
|
29
|
+
- Preserve route parameters ending in `.data` in Single Fetch loader and action requests when `future.v8_passThroughRequests` is disabled ([#15734](https://github.com/remix-run/react-router/pull/15734))
|
|
30
|
+
|
|
3
31
|
## v7.18.5
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterInit } from './instrumentation-
|
|
3
|
-
import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-
|
|
2
|
+
import { R as RouterInit } from './instrumentation-z0GQ7yJ2.js';
|
|
3
|
+
import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-DNyB6ouY.js';
|
|
4
4
|
|
|
5
5
|
declare function getRequest(): Request;
|
|
6
6
|
type RSCRouteConfigEntryBase = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterInit } from './context-
|
|
3
|
-
import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-
|
|
2
|
+
import { R as RouterInit } from './context-BbKau8k8.mjs';
|
|
3
|
+
import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-BfpvlkTw.mjs';
|
|
4
4
|
|
|
5
5
|
declare function getRequest(): Request;
|
|
6
6
|
type RSCRouteConfigEntryBase = {
|