@react-router/dev 7.8.0-pre.2 → 7.8.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,32 +1,14 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.8.0-pre.2
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies:
8
- - `react-router@7.8.0-pre.2`
9
- - `@react-router/node@7.8.0-pre.2`
10
- - `@react-router/serve@7.8.0-pre.2`
11
-
12
- ## 7.8.0-pre.1
13
-
14
- ### Patch Changes
15
-
16
- - Updated dependencies:
17
- - `react-router@7.8.0-pre.1`
18
- - `@react-router/node@7.8.0-pre.1`
19
- - `@react-router/serve@7.8.0-pre.1`
20
-
21
- ## 7.8.0-pre.0
3
+ ## 7.8.0
22
4
 
23
5
  ### Patch Changes
24
6
 
25
7
  - Fix rename without mkdir in Vite plugin ([#14105](https://github.com/remix-run/react-router/pull/14105))
26
8
  - Updated dependencies:
27
- - `react-router@7.8.0-pre.0`
28
- - `@react-router/node@7.8.0-pre.0`
29
- - `@react-router/serve@7.8.0-pre.0`
9
+ - `react-router@7.8.0`
10
+ - `@react-router/node@7.8.0`
11
+ - `@react-router/serve@7.8.0`
30
12
 
31
13
  ## 7.7.1
32
14
 
@@ -726,6 +708,7 @@
726
708
  ```
727
709
 
728
710
  This initial implementation targets type inference for:
711
+
729
712
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
730
713
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
731
714
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -740,6 +723,7 @@
740
723
  ```
741
724
 
742
725
  Check out our docs for more:
726
+
743
727
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
744
728
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
745
729
 
@@ -939,6 +923,7 @@
939
923
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
940
924
 
941
925
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
926
+
942
927
  - `--sourcemapClient`
943
928
 
944
929
  - `--sourcemapClient=inline`
@@ -1275,6 +1260,7 @@
1275
1260
  - 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))
1276
1261
 
1277
1262
  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:
1263
+
1278
1264
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1279
1265
  - Managing a client-side cache of server data (like `IndexedDB`)
1280
1266
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1678,6 +1664,7 @@
1678
1664
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1679
1665
 
1680
1666
  Written to server build directory (`build/` by default):
1667
+
1681
1668
  - `metafile.css.json`
1682
1669
  - `metafile.js.json` (browser JS)
1683
1670
  - `metafile.server.json` (server JS)
@@ -1775,6 +1762,7 @@
1775
1762
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1776
1763
 
1777
1764
  New options:
1765
+
1778
1766
  - `--tls-key` / `tlsKey`: TLS key
1779
1767
  - `--tls-cert` / `tlsCert`: TLS Certificate
1780
1768
 
@@ -2045,6 +2033,7 @@
2045
2033
  ```
2046
2034
 
2047
2035
  The dev server will:
2036
+
2048
2037
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2049
2038
  - rebuild your app whenever your Remix app code changes
2050
2039
  - 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.8.0-pre.2
3
+ * @react-router/dev v7.8.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.8.0-pre.2
2
+ * @react-router/dev v7.8.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.8.0-pre.2
2
+ * @react-router/dev v7.8.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.8.0-pre.2
2
+ * @react-router/dev v7.8.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.8.0-pre.2
2
+ * @react-router/dev v7.8.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.8.0-pre.2
2
+ * @react-router/dev v7.8.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.8.0-pre.2",
3
+ "version": "7.8.0",
4
4
  "description": "Dev tools and CLI for React Router",
5
5
  "homepage": "https://reactrouter.com",
6
6
  "bugs": {
@@ -92,7 +92,7 @@
92
92
  "tinyglobby": "^0.2.14",
93
93
  "valibot": "^0.41.0",
94
94
  "vite-node": "^3.2.2",
95
- "@react-router/node": "7.8.0-pre.2"
95
+ "@react-router/node": "7.8.0"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@types/babel__core": "^7.20.5",
@@ -115,15 +115,15 @@
115
115
  "vite": "^6.1.0",
116
116
  "wireit": "0.14.9",
117
117
  "wrangler": "^4.23.0",
118
- "@react-router/serve": "7.8.0-pre.2",
119
- "react-router": "^7.8.0-pre.2"
118
+ "@react-router/serve": "7.8.0",
119
+ "react-router": "^7.8.0"
120
120
  },
121
121
  "peerDependencies": {
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.8.0-pre.2",
126
- "react-router": "^7.8.0-pre.2"
125
+ "@react-router/serve": "^7.8.0",
126
+ "react-router": "^7.8.0"
127
127
  },
128
128
  "peerDependenciesMeta": {
129
129
  "@react-router/serve": {