@react-router/dev 7.10.1-pre.0 → 7.10.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,15 +1,15 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.10.1-pre.0
3
+ ## 7.10.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Import ESM package `pkg-types` with a dynamic import to avoid issues on Node 20.18 and below ([`4a4a1273b`](https://github.com/remix-run/react-router/commit/4a4a1273be0143fd08e04a611cc88f134af3a8f4))
8
- - Update `valibot` dependency to `^1.2.0` ([`ef67e101a`](https://github.com/remix-run/react-router/commit/ef67e101ab7e349ab1a2526b2e6b991fb79deff1))
7
+ - Import ESM package `pkg-types` with a dynamic `import()` to fix issues on Node 20.18 ([#14624](https://github.com/remix-run/react-router/pull/14624))
8
+ - Update `valibot` dependency to `^1.2.0` to address [GHSA-vqpr-j7v3-hqw9](https://github.com/advisories/GHSA-vqpr-j7v3-hqw9) ([#14608](https://github.com/remix-run/react-router/pull/14608))
9
9
  - Updated dependencies:
10
- - `react-router@7.10.1-pre.0`
11
- - `@react-router/node@7.10.1-pre.0`
12
- - `@react-router/serve@7.10.1-pre.0`
10
+ - `react-router@7.10.1`
11
+ - `@react-router/node@7.10.1`
12
+ - `@react-router/serve@7.10.1`
13
13
 
14
14
  ## 7.10.0
15
15
 
@@ -229,6 +229,7 @@
229
229
  - Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
230
230
 
231
231
  We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
232
+
232
233
  - [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
233
234
  - [`createContext`](https://reactrouter.com/api/utils/createContext)
234
235
  - `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -971,6 +972,7 @@
971
972
  ```
972
973
 
973
974
  This initial implementation targets type inference for:
975
+
974
976
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
975
977
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
976
978
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -985,6 +987,7 @@
985
987
  ```
986
988
 
987
989
  Check out our docs for more:
990
+
988
991
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
989
992
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
990
993
 
@@ -1184,6 +1187,7 @@
1184
1187
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
1185
1188
 
1186
1189
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
1190
+
1187
1191
  - `--sourcemapClient`
1188
1192
 
1189
1193
  - `--sourcemapClient=inline`
@@ -1520,6 +1524,7 @@
1520
1524
  - 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))
1521
1525
 
1522
1526
  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:
1527
+
1523
1528
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1524
1529
  - Managing a client-side cache of server data (like `IndexedDB`)
1525
1530
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1923,6 +1928,7 @@
1923
1928
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1924
1929
 
1925
1930
  Written to server build directory (`build/` by default):
1931
+
1926
1932
  - `metafile.css.json`
1927
1933
  - `metafile.js.json` (browser JS)
1928
1934
  - `metafile.server.json` (server JS)
@@ -2020,6 +2026,7 @@
2020
2026
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
2021
2027
 
2022
2028
  New options:
2029
+
2023
2030
  - `--tls-key` / `tlsKey`: TLS key
2024
2031
  - `--tls-cert` / `tlsCert`: TLS Certificate
2025
2032
 
@@ -2290,6 +2297,7 @@
2290
2297
  ```
2291
2298
 
2292
2299
  The dev server will:
2300
+
2293
2301
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2294
2302
  - rebuild your app whenever your Remix app code changes
2295
2303
  - 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.10.1-pre.0
3
+ * @react-router/dev v7.10.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.10.1-pre.0
2
+ * @react-router/dev v7.10.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.10.1-pre.0
2
+ * @react-router/dev v7.10.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.10.1-pre.0
2
+ * @react-router/dev v7.10.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.10.1-pre.0
2
+ * @react-router/dev v7.10.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.10.1-pre.0",
3
+ "version": "7.10.1",
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.2.0",
89
89
  "vite-node": "^3.2.2",
90
- "@react-router/node": "7.10.1-pre.0"
90
+ "@react-router/node": "7.10.1"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@types/babel__core": "^7.20.5",
@@ -110,16 +110,16 @@
110
110
  "vite": "^6.3.0",
111
111
  "wireit": "0.14.9",
112
112
  "wrangler": "^4.23.0",
113
- "@react-router/serve": "7.10.1-pre.0",
114
- "react-router": "^7.10.1-pre.0"
113
+ "@react-router/serve": "7.10.1",
114
+ "react-router": "^7.10.1"
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.10.1-pre.0",
122
- "react-router": "^7.10.1-pre.0"
121
+ "@react-router/serve": "^7.10.1",
122
+ "react-router": "^7.10.1"
123
123
  },
124
124
  "peerDependenciesMeta": {
125
125
  "@vitejs/plugin-rsc": {