@react-router/dev 7.8.1-pre.0 → 7.8.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,14 +1,14 @@
1
1
  # `@react-router/dev`
2
2
 
3
- ## 7.8.1-pre.0
3
+ ## 7.8.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Update generated `Route.MetaArgs` type so `loaderData` is only potentially undefined when an `ErrorBoundary` export is present ([#14173](https://github.com/remix-run/react-router/pull/14173))
8
8
  - Updated dependencies:
9
- - `react-router@7.8.1-pre.0`
10
- - `@react-router/node@7.8.1-pre.0`
11
- - `@react-router/serve@7.8.1-pre.0`
9
+ - `react-router@7.8.1`
10
+ - `@react-router/node@7.8.1`
11
+ - `@react-router/serve@7.8.1`
12
12
 
13
13
  ## 7.8.0
14
14
 
@@ -718,6 +718,7 @@
718
718
  ```
719
719
 
720
720
  This initial implementation targets type inference for:
721
+
721
722
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
722
723
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
723
724
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -732,6 +733,7 @@
732
733
  ```
733
734
 
734
735
  Check out our docs for more:
736
+
735
737
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
736
738
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
737
739
 
@@ -931,6 +933,7 @@
931
933
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
932
934
 
933
935
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
936
+
934
937
  - `--sourcemapClient`
935
938
 
936
939
  - `--sourcemapClient=inline`
@@ -1267,6 +1270,7 @@
1267
1270
  - 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))
1268
1271
 
1269
1272
  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:
1273
+
1270
1274
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1271
1275
  - Managing a client-side cache of server data (like `IndexedDB`)
1272
1276
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1670,6 +1674,7 @@
1670
1674
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1671
1675
 
1672
1676
  Written to server build directory (`build/` by default):
1677
+
1673
1678
  - `metafile.css.json`
1674
1679
  - `metafile.js.json` (browser JS)
1675
1680
  - `metafile.server.json` (server JS)
@@ -1767,6 +1772,7 @@
1767
1772
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1768
1773
 
1769
1774
  New options:
1775
+
1770
1776
  - `--tls-key` / `tlsKey`: TLS key
1771
1777
  - `--tls-cert` / `tlsCert`: TLS Certificate
1772
1778
 
@@ -2037,6 +2043,7 @@
2037
2043
  ```
2038
2044
 
2039
2045
  The dev server will:
2046
+
2040
2047
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2041
2048
  - rebuild your app whenever your Remix app code changes
2042
2049
  - 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.1-pre.0
3
+ * @react-router/dev v7.8.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.8.1-pre.0
2
+ * @react-router/dev v7.8.1
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.1-pre.0
2
+ * @react-router/dev v7.8.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.8.1-pre.0
2
+ * @react-router/dev v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.8.1-pre.0
2
+ * @react-router/dev v7.8.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.8.1-pre.0
2
+ * @react-router/dev v7.8.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.8.1-pre.0",
3
+ "version": "7.8.1",
4
4
  "description": "Dev tools and CLI for React Router",
5
5
  "homepage": "https://reactrouter.com",
6
6
  "bugs": {
@@ -91,7 +91,7 @@
91
91
  "tinyglobby": "^0.2.14",
92
92
  "valibot": "^0.41.0",
93
93
  "vite-node": "^3.2.2",
94
- "@react-router/node": "7.8.1-pre.0"
94
+ "@react-router/node": "7.8.1"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@types/babel__core": "^7.20.5",
@@ -114,15 +114,15 @@
114
114
  "vite": "^6.1.0",
115
115
  "wireit": "0.14.9",
116
116
  "wrangler": "^4.23.0",
117
- "@react-router/serve": "7.8.1-pre.0",
118
- "react-router": "^7.8.1-pre.0"
117
+ "@react-router/serve": "7.8.1",
118
+ "react-router": "^7.8.1"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "typescript": "^5.1.0",
122
122
  "vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
123
123
  "wrangler": "^3.28.2 || ^4.0.0",
124
- "@react-router/serve": "^7.8.1-pre.0",
125
- "react-router": "^7.8.1-pre.0"
124
+ "@react-router/serve": "^7.8.1",
125
+ "react-router": "^7.8.1"
126
126
  },
127
127
  "peerDependenciesMeta": {
128
128
  "@react-router/serve": {