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

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,14 +1,14 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.9.1-pre.0
3
+ ## 7.9.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fix internal `Future` interface naming from `middleware` -> `v8_middleware` ([#14327](https://github.com/remix-run/react-router/pull/14327))
8
8
  - Updated dependencies:
9
- - `react-router@7.9.1-pre.0`
10
- - `@react-router/node@7.9.1-pre.0`
11
- - `@react-router/serve@7.9.1-pre.0`
9
+ - `react-router@7.9.1`
10
+ - `@react-router/node@7.9.1`
11
+ - `@react-router/serve@7.9.1`
12
12
 
13
13
  ## 7.9.0
14
14
 
@@ -17,6 +17,7 @@
17
17
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
18
18
 
19
19
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
20
+
20
21
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
21
22
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
22
23
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -759,6 +760,7 @@
759
760
  ```
760
761
 
761
762
  This initial implementation targets type inference for:
763
+
762
764
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
763
765
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
764
766
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -773,6 +775,7 @@
773
775
  ```
774
776
 
775
777
  Check out our docs for more:
778
+
776
779
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
777
780
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
778
781
 
@@ -972,6 +975,7 @@
972
975
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
973
976
 
974
977
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
978
+
975
979
  - `--sourcemapClient`
976
980
 
977
981
  - `--sourcemapClient=inline`
@@ -1308,6 +1312,7 @@
1308
1312
  - 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))
1309
1313
 
1310
1314
  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:
1315
+
1311
1316
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1312
1317
  - Managing a client-side cache of server data (like `IndexedDB`)
1313
1318
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1711,6 +1716,7 @@
1711
1716
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1712
1717
 
1713
1718
  Written to server build directory (`build/` by default):
1719
+
1714
1720
  - `metafile.css.json`
1715
1721
  - `metafile.js.json` (browser JS)
1716
1722
  - `metafile.server.json` (server JS)
@@ -1808,6 +1814,7 @@
1808
1814
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1809
1815
 
1810
1816
  New options:
1817
+
1811
1818
  - `--tls-key` / `tlsKey`: TLS key
1812
1819
  - `--tls-cert` / `tlsCert`: TLS Certificate
1813
1820
 
@@ -2078,6 +2085,7 @@
2078
2085
  ```
2079
2086
 
2080
2087
  The dev server will:
2088
+
2081
2089
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2082
2090
  - rebuild your app whenever your Remix app code changes
2083
2091
  - 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.1-pre.0
3
+ * @react-router/dev v7.9.1
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.1-pre.0
2
+ * @react-router/dev v7.9.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/internal.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.9.1-pre.0
2
+ * @react-router/dev v7.9.1
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.1-pre.0
2
+ * @react-router/dev v7.9.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.9.1-pre.0
2
+ * @react-router/dev v7.9.1
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.1-pre.0
2
+ * @react-router/dev v7.9.1
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.1-pre.0",
3
+ "version": "7.9.1",
4
4
  "description": "Dev tools and CLI for React Router",
5
5
  "homepage": "https://reactrouter.com",
6
6
  "bugs": {
@@ -90,7 +90,7 @@
90
90
  "tinyglobby": "^0.2.14",
91
91
  "valibot": "^0.41.0",
92
92
  "vite-node": "^3.2.2",
93
- "@react-router/node": "7.9.1-pre.0"
93
+ "@react-router/node": "7.9.1"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@types/babel__core": "^7.20.5",
@@ -114,16 +114,16 @@
114
114
  "vite": "^6.1.0",
115
115
  "wireit": "0.14.9",
116
116
  "wrangler": "^4.23.0",
117
- "@react-router/serve": "7.9.1-pre.0",
118
- "react-router": "^7.9.1-pre.0"
117
+ "@react-router/serve": "7.9.1",
118
+ "react-router": "^7.9.1"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "@vitejs/plugin-rsc": "*",
122
122
  "typescript": "^5.1.0",
123
123
  "vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
124
124
  "wrangler": "^3.28.2 || ^4.0.0",
125
- "@react-router/serve": "^7.9.1-pre.0",
126
- "react-router": "^7.9.1-pre.0"
125
+ "@react-router/serve": "^7.9.1",
126
+ "react-router": "^7.9.1"
127
127
  },
128
128
  "peerDependenciesMeta": {
129
129
  "@vitejs/plugin-rsc": {