@react-router/dev 7.8.2-pre.0 → 7.8.2

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.2-pre.0
3
+ ## 7.8.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - fix: memory leak in default entry.server ([#14200](https://github.com/remix-run/react-router/pull/14200))
8
8
  - Updated dependencies:
9
- - `react-router@7.8.2-pre.0`
10
- - `@react-router/node@7.8.2-pre.0`
11
- - `@react-router/serve@7.8.2-pre.0`
9
+ - `react-router@7.8.2`
10
+ - `@react-router/node@7.8.2`
11
+ - `@react-router/serve@7.8.2`
12
12
 
13
13
  ## 7.8.1
14
14
 
@@ -728,6 +728,7 @@
728
728
  ```
729
729
 
730
730
  This initial implementation targets type inference for:
731
+
731
732
  - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
732
733
  - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
733
734
  - `ActionData` : Action data from `action` and/or `clientAction` within your route module
@@ -742,6 +743,7 @@
742
743
  ```
743
744
 
744
745
  Check out our docs for more:
746
+
745
747
  - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
746
748
  - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
747
749
 
@@ -941,6 +943,7 @@
941
943
  - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
942
944
 
943
945
  - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
946
+
944
947
  - `--sourcemapClient`
945
948
 
946
949
  - `--sourcemapClient=inline`
@@ -1277,6 +1280,7 @@
1277
1280
  - 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))
1278
1281
 
1279
1282
  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:
1283
+
1280
1284
  - Leveraging a data source local to the browser (i.e., `localStorage`)
1281
1285
  - Managing a client-side cache of server data (like `IndexedDB`)
1282
1286
  - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
@@ -1680,6 +1684,7 @@
1680
1684
  - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
1681
1685
 
1682
1686
  Written to server build directory (`build/` by default):
1687
+
1683
1688
  - `metafile.css.json`
1684
1689
  - `metafile.js.json` (browser JS)
1685
1690
  - `metafile.server.json` (server JS)
@@ -1777,6 +1782,7 @@
1777
1782
  - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
1778
1783
 
1779
1784
  New options:
1785
+
1780
1786
  - `--tls-key` / `tlsKey`: TLS key
1781
1787
  - `--tls-cert` / `tlsCert`: TLS Certificate
1782
1788
 
@@ -2047,6 +2053,7 @@
2047
2053
  ```
2048
2054
 
2049
2055
  The dev server will:
2056
+
2050
2057
  - force `NODE_ENV=development` and warn you if it was previously set to something else
2051
2058
  - rebuild your app whenever your Remix app code changes
2052
2059
  - 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.2-pre.0
3
+ * @react-router/dev v7.8.2
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.2-pre.0
2
+ * @react-router/dev v7.8.2
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.2-pre.0
2
+ * @react-router/dev v7.8.2
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.2-pre.0
2
+ * @react-router/dev v7.8.2
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/dev v7.8.2-pre.0
2
+ * @react-router/dev v7.8.2
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.2-pre.0
2
+ * @react-router/dev v7.8.2
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.2-pre.0",
3
+ "version": "7.8.2",
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.2-pre.0"
94
+ "@react-router/node": "7.8.2"
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.2-pre.0",
118
- "react-router": "^7.8.2-pre.0"
117
+ "@react-router/serve": "7.8.2",
118
+ "react-router": "^7.8.2"
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.2-pre.0",
125
- "react-router": "^7.8.2-pre.0"
124
+ "@react-router/serve": "^7.8.2",
125
+ "react-router": "^7.8.2"
126
126
  },
127
127
  "peerDependenciesMeta": {
128
128
  "@react-router/serve": {