react-router 7.7.0-pre.2 → 7.7.0

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +9 -13
  2. package/dist/{production/chunk-CLUOEFXR.js → development/chunk-4ADB4KIO.js} +130 -130
  3. package/dist/development/{chunk-XPO7SIPX.mjs → chunk-EF7DTUVF.mjs} +2 -2
  4. package/dist/development/{chunk-NMPYIXDO.mjs → chunk-T3VM44WY.mjs} +2 -2
  5. package/dist/development/{chunk-3JI27NJZ.js → chunk-V6PEDDZI.js} +1 -1
  6. package/dist/development/dom-export.js +3 -3
  7. package/dist/development/dom-export.mjs +3 -3
  8. package/dist/development/index-react-server-client.js +4 -4
  9. package/dist/development/index-react-server-client.mjs +2 -2
  10. package/dist/development/index-react-server.js +1 -1
  11. package/dist/development/index-react-server.mjs +1 -1
  12. package/dist/development/index.js +97 -97
  13. package/dist/development/index.mjs +3 -3
  14. package/dist/development/lib/types/internal.js +1 -1
  15. package/dist/development/lib/types/internal.mjs +1 -1
  16. package/dist/{development/chunk-XUCF2MWW.js → production/chunk-2TYFPE3B.js} +130 -130
  17. package/dist/production/{chunk-LW7Q6L7E.js → chunk-5KHO4FML.js} +1 -1
  18. package/dist/production/{chunk-RXNLZWLS.mjs → chunk-GNZILI6H.mjs} +2 -2
  19. package/dist/production/{chunk-V7D4RPWA.mjs → chunk-WPPIQDYG.mjs} +2 -2
  20. package/dist/production/dom-export.js +3 -3
  21. package/dist/production/dom-export.mjs +3 -3
  22. package/dist/production/index-react-server-client.js +4 -4
  23. package/dist/production/index-react-server-client.mjs +2 -2
  24. package/dist/production/index-react-server.js +1 -1
  25. package/dist/production/index-react-server.mjs +1 -1
  26. package/dist/production/index.js +97 -97
  27. package/dist/production/index.mjs +3 -3
  28. package/dist/production/lib/types/internal.js +1 -1
  29. package/dist/production/lib/types/internal.mjs +1 -1
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,18 +1,6 @@
1
1
  # `react-router`
2
2
 
3
- ## 7.7.0-pre.2
4
-
5
- ### Patch Changes
6
-
7
- - [REMOVE] Inject client route component props during RSC render ([#14007](https://github.com/remix-run/react-router/pull/14007))
8
-
9
- ## 7.7.0-pre.1
10
-
11
- ### Patch Changes
12
-
13
- - [REMOVE] (continuation of #13872) In Framework Mode, remove leftover critical CSS elements in development after initial render if there's a hydration mismatch ([#13995](https://github.com/remix-run/react-router/pull/13995))
14
-
15
- ## 7.7.0-pre.0
3
+ ## 7.7.0
16
4
 
17
5
  ### Minor Changes
18
6
 
@@ -23,13 +11,21 @@
23
11
  ### Patch Changes
24
12
 
25
13
  - Handle `InvalidCharacterError` when validating cookie signature ([#13847](https://github.com/remix-run/react-router/pull/13847))
14
+
26
15
  - Pass a copy of `searchParams` to the `setSearchParams` callback function to avoid muations of the internal `searchParams` instance. This was an issue when navigations were blocked because the internal instance be out of sync with `useLocation().search`. ([#12784](https://github.com/remix-run/react-router/pull/12784))
16
+
27
17
  - Support invalid `Date` in `turbo-stream` v2 fork ([#13684](https://github.com/remix-run/react-router/pull/13684))
18
+
28
19
  - In Framework Mode, clear critical CSS in development after initial render ([#13872](https://github.com/remix-run/react-router/pull/13872))
20
+
29
21
  - Strip search parameters from `patchRoutesOnNavigation` `path` param for fetcher calls ([#13911](https://github.com/remix-run/react-router/pull/13911))
22
+
30
23
  - Skip scroll restoration on useRevalidator() calls because they're not new locations ([#13671](https://github.com/remix-run/react-router/pull/13671))
24
+
31
25
  - Support unencoded UTF-8 routes in prerender config with `ssr` set to `false` ([#13699](https://github.com/remix-run/react-router/pull/13699))
26
+
32
27
  - Do not throw if the url hash is not a valid URI component ([#13247](https://github.com/remix-run/react-router/pull/13247))
28
+
33
29
  - Fix a regression in `createRoutesStub` introduced with the middleware feature. ([#13946](https://github.com/remix-run/react-router/pull/13946))
34
30
 
35
31
  As part of that work we altered the signature to align with the new middleware APIs without making it backwards compatible with the prior `AppLoadContext` API. This permitted `createRoutesStub` to work if you were opting into middleware and the updated `context` typings, but broke `createRoutesStub` for users not yet opting into middleware.