react-router 0.0.0-experimental-89dc2043e → 0.0.0-experimental-1ebb6d403

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 (44) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/development/{chunk-TRZSGY2F.mjs → chunk-5XVYBMAF.mjs} +224 -220
  3. package/dist/development/dom-export.d.mts +2 -2
  4. package/dist/development/dom-export.d.ts +2 -2
  5. package/dist/development/dom-export.js +79 -74
  6. package/dist/development/dom-export.mjs +2 -2
  7. package/dist/development/{fog-of-war-DU_DzpDb.d.ts → fog-of-war-7V7BguJA.d.ts} +2 -9
  8. package/dist/{production/fog-of-war-DU_DzpDb.d.ts → development/fog-of-war-NQCW9yWR.d.mts} +2 -9
  9. package/dist/development/index.d.mts +14 -7
  10. package/dist/development/index.d.ts +14 -7
  11. package/dist/development/index.js +224 -220
  12. package/dist/development/index.mjs +2 -2
  13. package/dist/development/lib/types/route-module.d.mts +5 -5
  14. package/dist/development/lib/types/route-module.d.ts +5 -5
  15. package/dist/development/lib/types/route-module.js +1 -1
  16. package/dist/development/lib/types/route-module.mjs +1 -1
  17. package/dist/development/{route-data-DuV3tXo2.d.ts → route-data-JFOfNyPS.d.mts} +2 -2
  18. package/dist/{production/route-data-DuV3tXo2.d.mts → development/route-data-JFOfNyPS.d.ts} +2 -2
  19. package/dist/development/server.d.mts +988 -0
  20. package/dist/development/server.d.ts +988 -0
  21. package/dist/development/server.js +1429 -0
  22. package/dist/development/server.mjs +1406 -0
  23. package/dist/production/{chunk-VRQVD6TT.mjs → chunk-CKFZHSMW.mjs} +224 -220
  24. package/dist/production/dom-export.d.mts +2 -2
  25. package/dist/production/dom-export.d.ts +2 -2
  26. package/dist/production/dom-export.js +79 -74
  27. package/dist/production/dom-export.mjs +2 -2
  28. package/dist/production/{fog-of-war-BkI3XFdx.d.mts → fog-of-war-7V7BguJA.d.ts} +2 -9
  29. package/dist/{development/fog-of-war-BkI3XFdx.d.mts → production/fog-of-war-NQCW9yWR.d.mts} +2 -9
  30. package/dist/production/index.d.mts +14 -7
  31. package/dist/production/index.d.ts +14 -7
  32. package/dist/production/index.js +224 -220
  33. package/dist/production/index.mjs +2 -2
  34. package/dist/production/lib/types/route-module.d.mts +5 -5
  35. package/dist/production/lib/types/route-module.d.ts +5 -5
  36. package/dist/production/lib/types/route-module.js +1 -1
  37. package/dist/production/lib/types/route-module.mjs +1 -1
  38. package/dist/production/{route-data-DuV3tXo2.d.ts → route-data-JFOfNyPS.d.mts} +2 -2
  39. package/dist/{development/route-data-DuV3tXo2.d.mts → production/route-data-JFOfNyPS.d.ts} +2 -2
  40. package/dist/production/server.d.mts +988 -0
  41. package/dist/production/server.d.ts +988 -0
  42. package/dist/production/server.js +1405 -0
  43. package/dist/production/server.mjs +1382 -0
  44. package/package.json +36 -33
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # `react-router`
2
2
 
3
+ ## 7.1.1
4
+
5
+ ## 7.1.0
6
+
7
+ ### Patch Changes
8
+
9
+ - Throw unwrapped single fetch redirect to align with pre-single fetch behavior ([#12506](https://github.com/remix-run/react-router/pull/12506))
10
+ - Ignore redirects when inferring loader data types ([#12527](https://github.com/remix-run/react-router/pull/12527))
11
+ - Remove `<Link prefetch>` warning which suffers from false positives in a lazy route discovery world ([#12485](https://github.com/remix-run/react-router/pull/12485))
12
+
13
+ ## 7.0.2
14
+
15
+ ### Patch Changes
16
+
17
+ - temporarily only use one build in export map so packages can have a peer dependency on react router ([#12437](https://github.com/remix-run/react-router/pull/12437))
18
+ - Generate wide `matches` and `params` types for current route and child routes ([#12397](https://github.com/remix-run/react-router/pull/12397))
19
+
20
+ At runtime, `matches` includes child route matches and `params` include child route path parameters.
21
+ But previously, we only generated types for parent routes in `matches`; for `params`, we only considered the parent routes and the current route.
22
+ To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information.
23
+
3
24
  ## 7.0.1
4
25
 
5
26
  ## 7.0.0