@react-router/dev 7.9.2-pre.3 → 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 -31
- 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,15 +1,6 @@
|
|
|
1
1
|
# `@react-router/dev`
|
|
2
2
|
|
|
3
|
-
## 7.9.2
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies:
|
|
8
|
-
- `@react-router/serve@7.9.2-pre.3`
|
|
9
|
-
- `react-router@7.9.2-pre.3`
|
|
10
|
-
- `@react-router/node@7.9.2-pre.3`
|
|
11
|
-
|
|
12
|
-
## 7.9.2-pre.2
|
|
3
|
+
## 7.9.2
|
|
13
4
|
|
|
14
5
|
### Patch Changes
|
|
15
6
|
|
|
@@ -19,30 +10,14 @@
|
|
|
19
10
|
|
|
20
11
|
This fix ensures presets can properly enable experimental features as intended by the preset system design.
|
|
21
12
|
|
|
22
|
-
- Updated dependencies:
|
|
23
|
-
- `react-router@7.9.2-pre.2`
|
|
24
|
-
- `@react-router/node@7.9.2-pre.2`
|
|
25
|
-
- `@react-router/serve@7.9.2-pre.2`
|
|
26
|
-
|
|
27
|
-
## 7.9.2-pre.1
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- Updated dependencies:
|
|
32
|
-
- `react-router@7.9.2-pre.1`
|
|
33
|
-
- `@react-router/node@7.9.2-pre.1`
|
|
34
|
-
- `@react-router/serve@7.9.2-pre.1`
|
|
35
|
-
|
|
36
|
-
## 7.9.2-pre.0
|
|
37
|
-
|
|
38
|
-
### Patch Changes
|
|
39
|
-
|
|
40
13
|
- Add unstable support for RSC Framework Mode ([#14336](https://github.com/remix-run/react-router/pull/14336))
|
|
14
|
+
|
|
41
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
|
+
|
|
42
17
|
- Updated dependencies:
|
|
43
|
-
- `react-router@7.9.2
|
|
44
|
-
- `@react-router/
|
|
45
|
-
- `@react-router/
|
|
18
|
+
- `react-router@7.9.2`
|
|
19
|
+
- `@react-router/serve@7.9.2`
|
|
20
|
+
- `@react-router/node@7.9.2`
|
|
46
21
|
|
|
47
22
|
## 7.9.1
|
|
48
23
|
|
|
@@ -61,6 +36,7 @@
|
|
|
61
36
|
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
|
|
62
37
|
|
|
63
38
|
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
|
|
39
|
+
|
|
64
40
|
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
|
|
65
41
|
- [`createContext`](https://reactrouter.com/api/utils/createContext)
|
|
66
42
|
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
|
|
@@ -803,6 +779,7 @@
|
|
|
803
779
|
```
|
|
804
780
|
|
|
805
781
|
This initial implementation targets type inference for:
|
|
782
|
+
|
|
806
783
|
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
|
|
807
784
|
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
|
|
808
785
|
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
|
|
@@ -817,6 +794,7 @@
|
|
|
817
794
|
```
|
|
818
795
|
|
|
819
796
|
Check out our docs for more:
|
|
797
|
+
|
|
820
798
|
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
|
|
821
799
|
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
|
|
822
800
|
|
|
@@ -1016,6 +994,7 @@
|
|
|
1016
994
|
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
|
|
1017
995
|
|
|
1018
996
|
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
|
|
997
|
+
|
|
1019
998
|
- `--sourcemapClient`
|
|
1020
999
|
|
|
1021
1000
|
- `--sourcemapClient=inline`
|
|
@@ -1352,6 +1331,7 @@
|
|
|
1352
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))
|
|
1353
1332
|
|
|
1354
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
|
+
|
|
1355
1335
|
- Leveraging a data source local to the browser (i.e., `localStorage`)
|
|
1356
1336
|
- Managing a client-side cache of server data (like `IndexedDB`)
|
|
1357
1337
|
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
|
|
@@ -1755,6 +1735,7 @@
|
|
|
1755
1735
|
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
|
|
1756
1736
|
|
|
1757
1737
|
Written to server build directory (`build/` by default):
|
|
1738
|
+
|
|
1758
1739
|
- `metafile.css.json`
|
|
1759
1740
|
- `metafile.js.json` (browser JS)
|
|
1760
1741
|
- `metafile.server.json` (server JS)
|
|
@@ -1852,6 +1833,7 @@
|
|
|
1852
1833
|
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
|
|
1853
1834
|
|
|
1854
1835
|
New options:
|
|
1836
|
+
|
|
1855
1837
|
- `--tls-key` / `tlsKey`: TLS key
|
|
1856
1838
|
- `--tls-cert` / `tlsCert`: TLS Certificate
|
|
1857
1839
|
|
|
@@ -2122,6 +2104,7 @@
|
|
|
2122
2104
|
```
|
|
2123
2105
|
|
|
2124
2106
|
The dev server will:
|
|
2107
|
+
|
|
2125
2108
|
- force `NODE_ENV=development` and warn you if it was previously set to something else
|
|
2126
2109
|
- rebuild your app whenever your Remix app code changes
|
|
2127
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": {
|