@react-router/dev 7.9.2 → 7.9.3-pre.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.
- package/CHANGELOG.md +9 -8
- 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,5 +1,14 @@
|
|
|
1
1
|
# `@react-router/dev`
|
|
2
2
|
|
|
3
|
+
## 7.9.3-pre.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- `react-router@7.9.3-pre.0`
|
|
9
|
+
- `@react-router/node@7.9.3-pre.0`
|
|
10
|
+
- `@react-router/serve@7.9.3-pre.0`
|
|
11
|
+
|
|
3
12
|
## 7.9.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -36,7 +45,6 @@
|
|
|
36
45
|
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
|
|
37
46
|
|
|
38
47
|
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
|
|
39
|
-
|
|
40
48
|
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
|
|
41
49
|
- [`createContext`](https://reactrouter.com/api/utils/createContext)
|
|
42
50
|
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
|
|
@@ -779,7 +787,6 @@
|
|
|
779
787
|
```
|
|
780
788
|
|
|
781
789
|
This initial implementation targets type inference for:
|
|
782
|
-
|
|
783
790
|
- `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
|
|
784
791
|
- `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
|
|
785
792
|
- `ActionData` : Action data from `action` and/or `clientAction` within your route module
|
|
@@ -794,7 +801,6 @@
|
|
|
794
801
|
```
|
|
795
802
|
|
|
796
803
|
Check out our docs for more:
|
|
797
|
-
|
|
798
804
|
- [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
|
|
799
805
|
- [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
|
|
800
806
|
|
|
@@ -994,7 +1000,6 @@
|
|
|
994
1000
|
- Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
|
|
995
1001
|
|
|
996
1002
|
- Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
|
|
997
|
-
|
|
998
1003
|
- `--sourcemapClient`
|
|
999
1004
|
|
|
1000
1005
|
- `--sourcemapClient=inline`
|
|
@@ -1331,7 +1336,6 @@
|
|
|
1331
1336
|
- 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))
|
|
1332
1337
|
|
|
1333
1338
|
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
|
-
|
|
1335
1339
|
- Leveraging a data source local to the browser (i.e., `localStorage`)
|
|
1336
1340
|
- Managing a client-side cache of server data (like `IndexedDB`)
|
|
1337
1341
|
- Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
|
|
@@ -1735,7 +1739,6 @@
|
|
|
1735
1739
|
- Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
|
|
1736
1740
|
|
|
1737
1741
|
Written to server build directory (`build/` by default):
|
|
1738
|
-
|
|
1739
1742
|
- `metafile.css.json`
|
|
1740
1743
|
- `metafile.js.json` (browser JS)
|
|
1741
1744
|
- `metafile.server.json` (server JS)
|
|
@@ -1833,7 +1836,6 @@
|
|
|
1833
1836
|
- built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
|
|
1834
1837
|
|
|
1835
1838
|
New options:
|
|
1836
|
-
|
|
1837
1839
|
- `--tls-key` / `tlsKey`: TLS key
|
|
1838
1840
|
- `--tls-cert` / `tlsCert`: TLS Certificate
|
|
1839
1841
|
|
|
@@ -2104,7 +2106,6 @@
|
|
|
2104
2106
|
```
|
|
2105
2107
|
|
|
2106
2108
|
The dev server will:
|
|
2107
|
-
|
|
2108
2109
|
- force `NODE_ENV=development` and warn you if it was previously set to something else
|
|
2109
2110
|
- rebuild your app whenever your Remix app code changes
|
|
2110
2111
|
- 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.
|
|
3
|
+
"version": "7.9.3-pre.0",
|
|
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.
|
|
89
|
+
"@react-router/node": "7.9.3-pre.0"
|
|
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.
|
|
113
|
-
"react-router": "^7.9.
|
|
112
|
+
"@react-router/serve": "7.9.3-pre.0",
|
|
113
|
+
"react-router": "^7.9.3-pre.0"
|
|
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.
|
|
121
|
-
"react-router": "^7.9.
|
|
120
|
+
"@react-router/serve": "^7.9.3-pre.0",
|
|
121
|
+
"react-router": "^7.9.3-pre.0"
|
|
122
122
|
},
|
|
123
123
|
"peerDependenciesMeta": {
|
|
124
124
|
"@vitejs/plugin-rsc": {
|