@react-router/dev 7.9.2-pre.2 → 7.9.2
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 +14 -22
- package/dist/cli/index.js +1 -1
- package/dist/config.js +1 -1
- package/dist/routes.js +1 -1
- package/dist/vite/cloudflare.js +1 -1
- package/dist/vite.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@react-router/dev`
|
|
2
2
|
|
|
3
|
-
## 7.9.2
|
|
3
|
+
## 7.9.2
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -10,30 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
This fix ensures presets can properly enable experimental features as intended by the preset system design.
|
|
12
12
|
|
|
13
|
-
- Updated dependencies:
|
|
14
|
-
- `react-router@7.9.2-pre.2`
|
|
15
|
-
- `@react-router/node@7.9.2-pre.2`
|
|
16
|
-
- `@react-router/serve@7.9.2-pre.2`
|
|
17
|
-
|
|
18
|
-
## 7.9.2-pre.1
|
|
19
|
-
|
|
20
|
-
### Patch Changes
|
|
21
|
-
|
|
22
|
-
- Updated dependencies:
|
|
23
|
-
- `react-router@7.9.2-pre.1`
|
|
24
|
-
- `@react-router/node@7.9.2-pre.1`
|
|
25
|
-
- `@react-router/serve@7.9.2-pre.1`
|
|
26
|
-
|
|
27
|
-
## 7.9.2-pre.0
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
13
|
- Add unstable support for RSC Framework Mode ([#14336](https://github.com/remix-run/react-router/pull/14336))
|
|
14
|
+
|
|
32
15
|
- Switch internal vite plugin Response logic to use `@remix-run/node-fetch-server` ([#13927](https://github.com/remix-run/react-router/pull/13927))
|
|
16
|
+
|
|
33
17
|
- Updated dependencies:
|
|
34
|
-
- `react-router@7.9.2
|
|
35
|
-
- `@react-router/
|
|
36
|
-
- `@react-router/
|
|
18
|
+
- `react-router@7.9.2`
|
|
19
|
+
- `@react-router/serve@7.9.2`
|
|
20
|
+
- `@react-router/node@7.9.2`
|
|
37
21
|
|
|
38
22
|
## 7.9.1
|
|
39
23
|
|
|
@@ -52,6 +36,7 @@
|
|
|
52
36
|
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
|
|
53
37
|
|
|
54
38
|
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
|
|
39
|
+
|
|
55
40
|
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
|
|
56
41
|
- [`createContext`](https://reactrouter.com/api/utils/createContext)
|
|
57
42
|
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
|
|
@@ -794,6 +779,7 @@
|
|
|
794
779
|
```
|
|
795
780
|
|
|
796
781
|
This initial implementation targets type inference for:
|
|
782
|
+
|
|
797
783
|
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
|
|
798
784
|
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
|
|
799
785
|
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
|
|
@@ -808,6 +794,7 @@
|
|
|
808
794
|
```
|
|
809
795
|
|
|
810
796
|
Check out our docs for more:
|
|
797
|
+
|
|
811
798
|
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
|
|
812
799
|
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
|
|
813
800
|
|
|
@@ -1007,6 +994,7 @@
|
|
|
1007
994
|
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
|
|
1008
995
|
|
|
1009
996
|
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
|
|
997
|
+
|
|
1010
998
|
- `--sourcemapClient`
|
|
1011
999
|
|
|
1012
1000
|
- `--sourcemapClient=inline`
|
|
@@ -1343,6 +1331,7 @@
|
|
|
1343
1331
|
- Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)) ([#8173](https://github.com/remix-run/remix/pull/8173))
|
|
1344
1332
|
|
|
1345
1333
|
Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as:
|
|
1334
|
+
|
|
1346
1335
|
- Leveraging a data source local to the browser (i.e., `localStorage`)
|
|
1347
1336
|
- Managing a client-side cache of server data (like `IndexedDB`)
|
|
1348
1337
|
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
|
|
@@ -1746,6 +1735,7 @@
|
|
|
1746
1735
|
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
|
|
1747
1736
|
|
|
1748
1737
|
Written to server build directory (`build/` by default):
|
|
1738
|
+
|
|
1749
1739
|
- `metafile.css.json`
|
|
1750
1740
|
- `metafile.js.json` (browser JS)
|
|
1751
1741
|
- `metafile.server.json` (server JS)
|
|
@@ -1843,6 +1833,7 @@
|
|
|
1843
1833
|
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
|
|
1844
1834
|
|
|
1845
1835
|
New options:
|
|
1836
|
+
|
|
1846
1837
|
- `--tls-key` / `tlsKey`: TLS key
|
|
1847
1838
|
- `--tls-cert` / `tlsCert`: TLS Certificate
|
|
1848
1839
|
|
|
@@ -2113,6 +2104,7 @@
|
|
|
2113
2104
|
```
|
|
2114
2105
|
|
|
2115
2106
|
The dev server will:
|
|
2107
|
+
|
|
2116
2108
|
- force `NODE_ENV=development` and warn you if it was previously set to something else
|
|
2117
2109
|
- rebuild your app whenever your Remix app code changes
|
|
2118
2110
|
- restart your app server whenever rebuilds succeed
|
package/dist/cli/index.js
CHANGED
package/dist/config.js
CHANGED
package/dist/routes.js
CHANGED
package/dist/vite/cloudflare.js
CHANGED
package/dist/vite.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-router/dev",
|
|
3
|
-
"version": "7.9.2
|
|
3
|
+
"version": "7.9.2",
|
|
4
4
|
"description": "Dev tools and CLI for React Router",
|
|
5
5
|
"homepage": "https://reactrouter.com",
|
|
6
6
|
"bugs": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"tinyglobby": "^0.2.14",
|
|
87
87
|
"valibot": "^0.41.0",
|
|
88
88
|
"vite-node": "^3.2.2",
|
|
89
|
-
"@react-router/node": "7.9.2
|
|
89
|
+
"@react-router/node": "7.9.2"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@types/babel__core": "^7.20.5",
|
|
@@ -109,16 +109,16 @@
|
|
|
109
109
|
"vite": "^6.1.0",
|
|
110
110
|
"wireit": "0.14.9",
|
|
111
111
|
"wrangler": "^4.23.0",
|
|
112
|
-
"@react-router/serve": "7.9.2
|
|
113
|
-
"react-router": "^7.9.2
|
|
112
|
+
"@react-router/serve": "7.9.2",
|
|
113
|
+
"react-router": "^7.9.2"
|
|
114
114
|
},
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@vitejs/plugin-rsc": "*",
|
|
117
117
|
"typescript": "^5.1.0",
|
|
118
118
|
"vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
|
|
119
119
|
"wrangler": "^3.28.2 || ^4.0.0",
|
|
120
|
-
"@react-router/serve": "^7.9.2
|
|
121
|
-
"react-router": "^7.9.2
|
|
120
|
+
"@react-router/serve": "^7.9.2",
|
|
121
|
+
"react-router": "^7.9.2"
|
|
122
122
|
},
|
|
123
123
|
"peerDependenciesMeta": {
|
|
124
124
|
"@vitejs/plugin-rsc": {
|