@react-router/dev 7.11.0-pre.0 → 7.11.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.11.0-pre.0
3
+ ## 7.11.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -14,9 +14,9 @@
14
14
  - `routeRSCServerRequest` replace `fetchServer` with `serverResponse` ([#14597](https://github.com/remix-run/react-router/pull/14597))
15
15
  - rsc framewlrk mode - optimize react-server-dom-webpack if in project package.json ([#14656](https://github.com/remix-run/react-router/pull/14656))
16
16
  - Updated dependencies:
17
- - `react-router@7.11.0-pre.0`
18
- - `@react-router/serve@7.11.0-pre.0`
19
- - `@react-router/node@7.11.0-pre.0`
17
+ - `react-router@7.11.0`
18
+ - `@react-router/serve@7.11.0`
19
+ - `@react-router/node@7.11.0`
20
20
 
21
21
  ## 7.10.1
22
22
 
@@ -247,6 +247,7 @@
247
247
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
248
248
 
249
249
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
250
+
250
251
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
251
252
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
252
253
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -989,6 +990,7 @@
989
990
  ```
990
991
 
991
992
  This initial implementation targets type inference for:
993
+
992
994
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
993
995
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
994
996
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -1003,6 +1005,7 @@
1003
1005
  ```
1004
1006
 
1005
1007
  Check out our docs for more:
1008
+
1006
1009
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
1007
1010
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
1008
1011
 
@@ -1202,6 +1205,7 @@
1202
1205
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
1203
1206
 
1204
1207
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1208
+
1205
1209
  - `--sourcemapClient`
1206
1210
 
1207
1211
  - `--sourcemapClient=inline`
@@ -1538,6 +1542,7 @@
1538
1542
  - 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))
1539
1543
 
1540
1544
  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:
1545
+
1541
1546
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1542
1547
  - Managing a client-side cache of server data (like `IndexedDB`)
1543
1548
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1941,6 +1946,7 @@
1941
1946
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1942
1947
 
1943
1948
  Written to server build directory (`build/` by default):
1949
+
1944
1950
  - `metafile.css.json`
1945
1951
  - `metafile.js.json` (browser JS)
1946
1952
  - `metafile.server.json` (server JS)
@@ -2038,6 +2044,7 @@
2038
2044
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
2039
2045
 
2040
2046
  New options:
2047
+
2041
2048
  - `--tls-key` / `tlsKey`: TLS key
2042
2049
  - `--tls-cert` / `tlsCert`: TLS Certificate
2043
2050
 
@@ -2308,6 +2315,7 @@
2308
2315
  ```
2309
2316
 
2310
2317
  The dev server will:
2318
+
2311
2319
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2312
2320
  - rebuild your app whenever your Remix app code changes
2313
2321
  - restart your app server whenever rebuilds succeed
package/dist/cli/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * @react-router/dev v7.11.0-pre.0
3
+ * @react-router/dev v7.11.0
4
4
  *
5
5
  * Copyright (c) Remix Software Inc.
6
6
  *
package/dist/config.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.11.0-pre.0
2
+ * @react-router/dev v7.11.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/routes.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.11.0-pre.0
2
+ * @react-router/dev v7.11.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.11.0-pre.0
2
+ * @react-router/dev v7.11.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/vite.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.11.0-pre.0
2
+ * @react-router/dev v7.11.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-router/dev",
3
- "version": "7.11.0-pre.0",
3
+ "version": "7.11.0",
4
4
  "description": "Dev tools and CLI for React Router",
5
5
  "homepage": "https://reactrouter.com",
6
6
  "bugs": {
@@ -92,7 +92,7 @@
92
92
  "tinyglobby": "^0.2.14",
93
93
  "valibot": "^1.2.0",
94
94
  "vite-node": "^3.2.2",
95
- "@react-router/node": "7.11.0-pre.0"
95
+ "@react-router/node": "7.11.0"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@types/babel__core": "^7.20.5",
@@ -116,8 +116,8 @@
116
116
  "vite": "^6.3.0",
117
117
  "wireit": "0.14.9",
118
118
  "wrangler": "^4.23.0",
119
- "@react-router/serve": "7.11.0-pre.0",
120
- "react-router": "^7.11.0-pre.0"
119
+ "@react-router/serve": "7.11.0",
120
+ "react-router": "^7.11.0"
121
121
  },
122
122
  "peerDependencies": {
123
123
  "@vitejs/plugin-rsc": "~0.5.7",
@@ -125,8 +125,8 @@
125
125
  "typescript": "^5.1.0",
126
126
  "vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
127
127
  "wrangler": "^3.28.2 || ^4.0.0",
128
- "@react-router/serve": "^7.11.0-pre.0",
129
- "react-router": "^7.11.0-pre.0"
128
+ "@react-router/serve": "^7.11.0",
129
+ "react-router": "^7.11.0"
130
130
  },
131
131
  "peerDependenciesMeta": {
132
132
  "@vitejs/plugin-rsc": {