@react-router/dev 7.8.0-pre.3 → 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,41 +1,14 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.8.0-pre.3
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies:
8
- - `react-router@7.8.0-pre.3`
9
- - `@react-router/node@7.8.0-pre.3`
10
- - `@react-router/serve@7.8.0-pre.3`
11
-
12
- ## 7.8.0-pre.2
13
-
14
- ### Patch Changes
15
-
16
- - Updated dependencies:
17
- - `react-router@7.8.0-pre.2`
18
- - `@react-router/node@7.8.0-pre.2`
19
- - `@react-router/serve@7.8.0-pre.2`
20
-
21
- ## 7.8.0-pre.1
22
-
23
- ### Patch Changes
24
-
25
- - Updated dependencies:
26
- - `react-router@7.8.0-pre.1`
27
- - `@react-router/node@7.8.0-pre.1`
28
- - `@react-router/serve@7.8.0-pre.1`
29
-
30
- ## 7.8.0-pre.0
3
+ ## 7.8.0
31
4
 
32
5
  ### Patch Changes
33
6
 
34
7
  - Fix rename without mkdir in Vite plugin ([#14105](https://github.com/remix-run/react-router/pull/14105))
35
8
  - Updated dependencies:
36
- - `react-router@7.8.0-pre.0`
37
- - `@react-router/node@7.8.0-pre.0`
38
- - `@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`
39
12
 
40
13
  ## 7.7.1
41
14
 
@@ -735,6 +708,7 @@
735
708
  ```
736
709
 
737
710
  This initial implementation targets type inference for:
711
+
738
712
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
739
713
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
740
714
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -749,6 +723,7 @@
749
723
  ```
750
724
 
751
725
  Check out our docs for more:
726
+
752
727
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
753
728
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
754
729
 
@@ -948,6 +923,7 @@
948
923
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
949
924
 
950
925
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
926
+
951
927
  - `--sourcemapClient`
952
928
 
953
929
  - `--sourcemapClient=inline`
@@ -1284,6 +1260,7 @@
1284
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))
1285
1261
 
1286
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
+
1287
1264
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1288
1265
  - Managing a client-side cache of server data (like `IndexedDB`)
1289
1266
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1687,6 +1664,7 @@
1687
1664
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1688
1665
 
1689
1666
  Written to server build directory (`build/` by default):
1667
+
1690
1668
  - `metafile.css.json`
1691
1669
  - `metafile.js.json` (browser JS)
1692
1670
  - `metafile.server.json` (server JS)
@@ -1784,6 +1762,7 @@
1784
1762
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1785
1763
 
1786
1764
  New options:
1765
+
1787
1766
  - `--tls-key` / `tlsKey`: TLS key
1788
1767
  - `--tls-cert` / `tlsCert`: TLS Certificate
1789
1768
 
@@ -2054,6 +2033,7 @@
2054
2033
  ```
2055
2034
 
2056
2035
  The dev server will:
2036
+
2057
2037
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2058
2038
  - rebuild your app whenever your Remix app code changes
2059
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.3
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.3
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.3
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.3
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.3
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.3
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.3",
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.3"
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.3",
119
- "react-router": "^7.8.0-pre.3"
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.3",
126
- "react-router": "^7.8.0-pre.3"
125
+ "@react-router/serve": "^7.8.0",
126
+ "react-router": "^7.8.0"
127
127
  },
128
128
  "peerDependenciesMeta": {
129
129
  "@react-router/serve": {