@react-router/dev 7.9.0-pre.1 → 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,21 +1,13 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.9.0-pre.1
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies:
8
- - `react-router@7.9.0-pre.1`
9
- - `@react-router/node@7.9.0-pre.1`
10
- - `@react-router/serve@7.9.0-pre.1`
11
-
12
- ## 7.9.0-pre.0
3
+ ## 7.9.0
13
4
 
14
5
  ### Minor Changes
15
6
 
16
7
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
17
8
 
18
9
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
10
+
19
11
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
20
12
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
21
13
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -26,9 +18,9 @@
26
18
  ### Patch Changes
27
19
 
28
20
  - Updated dependencies:
29
- - `react-router@7.9.0-pre.0`
30
- - `@react-router/node@7.9.0-pre.0`
31
- - `@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`
32
24
 
33
25
  ## 7.8.2
34
26
 
@@ -758,6 +750,7 @@
758
750
  ```
759
751
 
760
752
  This initial implementation targets type inference for:
753
+
761
754
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
762
755
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
763
756
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -772,6 +765,7 @@
772
765
  ```
773
766
 
774
767
  Check out our docs for more:
768
+
775
769
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
776
770
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
777
771
 
@@ -971,6 +965,7 @@
971
965
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
972
966
 
973
967
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
968
+
974
969
  - `--sourcemapClient`
975
970
 
976
971
  - `--sourcemapClient=inline`
@@ -1307,6 +1302,7 @@
1307
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))
1308
1303
 
1309
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
+
1310
1306
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1311
1307
  - Managing a client-side cache of server data (like `IndexedDB`)
1312
1308
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1710,6 +1706,7 @@
1710
1706
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1711
1707
 
1712
1708
  Written to server build directory (`build/` by default):
1709
+
1713
1710
  - `metafile.css.json`
1714
1711
  - `metafile.js.json` (browser JS)
1715
1712
  - `metafile.server.json` (server JS)
@@ -1807,6 +1804,7 @@
1807
1804
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1808
1805
 
1809
1806
  New options:
1807
+
1810
1808
  - `--tls-key` / `tlsKey`: TLS key
1811
1809
  - `--tls-cert` / `tlsCert`: TLS Certificate
1812
1810
 
@@ -2077,6 +2075,7 @@
2077
2075
  ```
2078
2076
 
2079
2077
  The dev server will:
2078
+
2080
2079
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2081
2080
  - rebuild your app whenever your Remix app code changes
2082
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.1
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.1
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.1
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.1
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.1
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.1
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.1",
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.1"
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.1",
118
- "react-router": "^7.9.0-pre.1"
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.1",
126
- "react-router": "^7.9.0-pre.1"
125
+ "@react-router/serve": "^7.9.0",
126
+ "react-router": "^7.9.0"
127
127
  },
128
128
  "peerDependenciesMeta": {
129
129
  "@vitejs/plugin-rsc": {