@react-router/dev 7.9.0-pre.0 → 7.9.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,12 +1,13 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.9.0-pre.0
3
+ ## 7.9.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
8
8
 
9
9
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10
+
10
11
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
11
12
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
12
13
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -17,9 +18,9 @@
17
18
  ### Patch Changes
18
19
 
19
20
  - Updated dependencies:
20
- - `react-router@7.9.0-pre.0`
21
- - `@react-router/node@7.9.0-pre.0`
22
- - `@react-router/serve@7.9.0-pre.0`
21
+ - `react-router@7.9.0`
22
+ - `@react-router/node@7.9.0`
23
+ - `@react-router/serve@7.9.0`
23
24
 
24
25
  ## 7.8.2
25
26
 
@@ -749,6 +750,7 @@
749
750
  ```
750
751
 
751
752
  This initial implementation targets type inference for:
753
+
752
754
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
753
755
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
754
756
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -763,6 +765,7 @@
763
765
  ```
764
766
 
765
767
  Check out our docs for more:
768
+
766
769
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
767
770
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
768
771
 
@@ -962,6 +965,7 @@
962
965
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
963
966
 
964
967
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
968
+
965
969
  - `--sourcemapClient`
966
970
 
967
971
  - `--sourcemapClient=inline`
@@ -1298,6 +1302,7 @@
1298
1302
  - 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))
1299
1303
 
1300
1304
  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:
1305
+
1301
1306
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1302
1307
  - Managing a client-side cache of server data (like `IndexedDB`)
1303
1308
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1701,6 +1706,7 @@
1701
1706
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1702
1707
 
1703
1708
  Written to server build directory (`build/` by default):
1709
+
1704
1710
  - `metafile.css.json`
1705
1711
  - `metafile.js.json` (browser JS)
1706
1712
  - `metafile.server.json` (server JS)
@@ -1798,6 +1804,7 @@
1798
1804
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1799
1805
 
1800
1806
  New options:
1807
+
1801
1808
  - `--tls-key` / `tlsKey`: TLS key
1802
1809
  - `--tls-cert` / `tlsCert`: TLS Certificate
1803
1810
 
@@ -2068,6 +2075,7 @@
2068
2075
  ```
2069
2076
 
2070
2077
  The dev server will:
2078
+
2071
2079
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2072
2080
  - rebuild your app whenever your Remix app code changes
2073
2081
  - 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.0-pre.0
3
+ * @react-router/dev v7.9.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.9.0-pre.0
2
+ * @react-router/dev v7.9.0
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.0-pre.0
2
+ * @react-router/dev v7.9.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.9.0-pre.0
2
+ * @react-router/dev v7.9.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.9.0-pre.0
2
+ * @react-router/dev v7.9.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.9.0-pre.0
2
+ * @react-router/dev v7.9.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.9.0-pre.0",
3
+ "version": "7.9.0",
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.0-pre.0"
93
+ "@react-router/node": "7.9.0"
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.0-pre.0",
118
- "react-router": "^7.9.0-pre.0"
117
+ "@react-router/serve": "7.9.0",
118
+ "react-router": "^7.9.0"
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.0-pre.0",
126
- "react-router": "^7.9.0-pre.0"
125
+ "@react-router/serve": "^7.9.0",
126
+ "react-router": "^7.9.0"
127
127
  },
128
128
  "peerDependenciesMeta": {
129
129
  "@vitejs/plugin-rsc": {