@react-router/dev 7.9.6-pre.0 → 7.9.6

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,15 +1,15 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.9.6-pre.0
3
+ ## 7.9.6
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Use a dynamic `import()` to load ESM-only `p-map` dependency to avoid issues on Node 20.18 and below ([#14492](https://github.com/remix-run/react-router/pull/14492))
8
8
  - Short circuit `HEAD` document requests before calling `renderToPipeableStream` in the default `entry.server.tsx` to more closely align with the [spec](https://httpwg.org/specs/rfc9110.html#HEAD) ([#14488](https://github.com/remix-run/react-router/pull/14488))
9
9
  - Updated dependencies:
10
- - `react-router@7.9.6-pre.0`
11
- - `@react-router/node@7.9.6-pre.0`
12
- - `@react-router/serve@7.9.6-pre.0`
10
+ - `react-router@7.9.6`
11
+ - `@react-router/node@7.9.6`
12
+ - `@react-router/serve@7.9.6`
13
13
 
14
14
  ## 7.9.5
15
15
 
@@ -180,6 +180,7 @@
180
180
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
181
181
 
182
182
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
183
+
183
184
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
184
185
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
185
186
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -922,6 +923,7 @@
922
923
  ```
923
924
 
924
925
  This initial implementation targets type inference for:
926
+
925
927
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
926
928
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
927
929
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -936,6 +938,7 @@
936
938
  ```
937
939
 
938
940
  Check out our docs for more:
941
+
939
942
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
940
943
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
941
944
 
@@ -1135,6 +1138,7 @@
1135
1138
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
1136
1139
 
1137
1140
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1141
+
1138
1142
  - `--sourcemapClient`
1139
1143
 
1140
1144
  - `--sourcemapClient=inline`
@@ -1471,6 +1475,7 @@
1471
1475
  - 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))
1472
1476
 
1473
1477
  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:
1478
+
1474
1479
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1475
1480
  - Managing a client-side cache of server data (like `IndexedDB`)
1476
1481
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1874,6 +1879,7 @@
1874
1879
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1875
1880
 
1876
1881
  Written to server build directory (`build/` by default):
1882
+
1877
1883
  - `metafile.css.json`
1878
1884
  - `metafile.js.json` (browser JS)
1879
1885
  - `metafile.server.json` (server JS)
@@ -1971,6 +1977,7 @@
1971
1977
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1972
1978
 
1973
1979
  New options:
1980
+
1974
1981
  - `--tls-key` / `tlsKey`: TLS key
1975
1982
  - `--tls-cert` / `tlsCert`: TLS Certificate
1976
1983
 
@@ -2241,6 +2248,7 @@
2241
2248
  ```
2242
2249
 
2243
2250
  The dev server will:
2251
+
2244
2252
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2245
2253
  - rebuild your app whenever your Remix app code changes
2246
2254
  - 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.9.6-pre.0
3
+ * @react-router/dev v7.9.6
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.9.6-pre.0
2
+ * @react-router/dev v7.9.6
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.9.6-pre.0
2
+ * @react-router/dev v7.9.6
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.9.6-pre.0
2
+ * @react-router/dev v7.9.6
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.9.6-pre.0
2
+ * @react-router/dev v7.9.6
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.9.6-pre.0",
3
+ "version": "7.9.6",
4
4
  "description": "Dev tools and CLI for React Router",
5
5
  "homepage": "https://reactrouter.com",
6
6
  "bugs": {
@@ -87,7 +87,7 @@
87
87
  "tinyglobby": "^0.2.14",
88
88
  "valibot": "^1.1.0",
89
89
  "vite-node": "^3.2.2",
90
- "@react-router/node": "7.9.6-pre.0"
90
+ "@react-router/node": "7.9.6"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@types/babel__core": "^7.20.5",
@@ -110,16 +110,16 @@
110
110
  "vite": "^6.1.0",
111
111
  "wireit": "0.14.9",
112
112
  "wrangler": "^4.23.0",
113
- "@react-router/serve": "7.9.6-pre.0",
114
- "react-router": "^7.9.6-pre.0"
113
+ "@react-router/serve": "7.9.6",
114
+ "react-router": "^7.9.6"
115
115
  },
116
116
  "peerDependencies": {
117
117
  "@vitejs/plugin-rsc": "*",
118
118
  "typescript": "^5.1.0",
119
119
  "vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
120
120
  "wrangler": "^3.28.2 || ^4.0.0",
121
- "@react-router/serve": "^7.9.6-pre.0",
122
- "react-router": "^7.9.6-pre.0"
121
+ "@react-router/serve": "^7.9.6",
122
+ "react-router": "^7.9.6"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "@vitejs/plugin-rsc": {