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

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.9.5-pre.0
3
+ ## 7.9.5
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -9,9 +9,9 @@
9
9
  - Ensure route navigation doesn't remove CSS `link` elements used by dynamic imports ([#14463](https://github.com/remix-run/react-router/pull/14463))
10
10
  - Typegen: only register route module types for routes within the app directory ([#14439](https://github.com/remix-run/react-router/pull/14439))
11
11
  - Updated dependencies:
12
- - `react-router@7.9.5-pre.0`
13
- - `@react-router/node@7.9.5-pre.0`
14
- - `@react-router/serve@7.9.5-pre.0`
12
+ - `react-router@7.9.5`
13
+ - `@react-router/node@7.9.5`
14
+ - `@react-router/serve@7.9.5`
15
15
 
16
16
  ## 7.9.4
17
17
 
@@ -169,6 +169,7 @@
169
169
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
170
170
 
171
171
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
172
+
172
173
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
173
174
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
174
175
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -911,6 +912,7 @@
911
912
  ```
912
913
 
913
914
  This initial implementation targets type inference for:
915
+
914
916
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
915
917
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
916
918
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -925,6 +927,7 @@
925
927
  ```
926
928
 
927
929
  Check out our docs for more:
930
+
928
931
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
929
932
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
930
933
 
@@ -1124,6 +1127,7 @@
1124
1127
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
1125
1128
 
1126
1129
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1130
+
1127
1131
  - `--sourcemapClient`
1128
1132
 
1129
1133
  - `--sourcemapClient=inline`
@@ -1460,6 +1464,7 @@
1460
1464
  - 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))
1461
1465
 
1462
1466
  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:
1467
+
1463
1468
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1464
1469
  - Managing a client-side cache of server data (like `IndexedDB`)
1465
1470
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1863,6 +1868,7 @@
1863
1868
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1864
1869
 
1865
1870
  Written to server build directory (`build/` by default):
1871
+
1866
1872
  - `metafile.css.json`
1867
1873
  - `metafile.js.json` (browser JS)
1868
1874
  - `metafile.server.json` (server JS)
@@ -1960,6 +1966,7 @@
1960
1966
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1961
1967
 
1962
1968
  New options:
1969
+
1963
1970
  - `--tls-key` / `tlsKey`: TLS key
1964
1971
  - `--tls-cert` / `tlsCert`: TLS Certificate
1965
1972
 
@@ -2230,6 +2237,7 @@
2230
2237
  ```
2231
2238
 
2232
2239
  The dev server will:
2240
+
2233
2241
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2234
2242
  - rebuild your app whenever your Remix app code changes
2235
2243
  - 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.5-pre.0
3
+ * @react-router/dev v7.9.5
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.5-pre.0
2
+ * @react-router/dev v7.9.5
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.5-pre.0
2
+ * @react-router/dev v7.9.5
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.9.5-pre.0
2
+ * @react-router/dev v7.9.5
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.5-pre.0
2
+ * @react-router/dev v7.9.5
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.5-pre.0",
3
+ "version": "7.9.5",
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.5-pre.0"
90
+ "@react-router/node": "7.9.5"
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.5-pre.0",
114
- "react-router": "^7.9.5-pre.0"
113
+ "@react-router/serve": "7.9.5",
114
+ "react-router": "^7.9.5"
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.5-pre.0",
122
- "react-router": "^7.9.5-pre.0"
121
+ "@react-router/serve": "^7.9.5",
122
+ "react-router": "^7.9.5"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "@vitejs/plugin-rsc": {