@react-router/serve 0.0.0-nightly-d65827ebb-20241002 → 7.0.0-pre.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 +23 -0
- package/dist/cli.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# `@remix-run/serve`
|
|
2
2
|
|
|
3
|
+
## 7.0.0-pre.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
|
|
8
|
+
- update minimum node version to 18 ([#11690](https://github.com/remix-run/react-router/pull/11690))
|
|
9
|
+
- Add `exports` field to all packages ([#11675](https://github.com/remix-run/react-router/pull/11675))
|
|
10
|
+
- node package no longer re-exports from react-router ([#11702](https://github.com/remix-run/react-router/pull/11702))
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Update `express.static` configurations to support prerendering ([#11547](https://github.com/remix-run/react-router/pull/11547))
|
|
15
|
+
|
|
16
|
+
- Assets in the `build/client/assets` folder are served as before, with a 1-year immutable `Cache-Control` header
|
|
17
|
+
- Static files outside of assets, such as pre-rendered `.html` and `.data` files are not served with a specific `Cache-Control` header
|
|
18
|
+
- `.data` files are served with `Content-Type: text/x-turbo`
|
|
19
|
+
- For some reason, when adding this via `express.static`, it seems to also add a `Cache-Control: public, max-age=0` to `.data` files
|
|
20
|
+
|
|
21
|
+
- Updated dependencies:
|
|
22
|
+
- `react-router@7.0.0-pre.0`
|
|
23
|
+
- `@react-router/express@7.0.0-pre.0`
|
|
24
|
+
- `@react-router/node@7.0.0-pre.0`
|
|
25
|
+
|
|
3
26
|
## 2.9.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-router/serve",
|
|
3
|
-
"version": "0.0.0
|
|
3
|
+
"version": "7.0.0-pre.0",
|
|
4
4
|
"description": "Production application server for React Router",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/remix-run/react-router/issues"
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"get-port": "5.1.1",
|
|
24
24
|
"morgan": "^1.10.0",
|
|
25
25
|
"source-map-support": "^0.5.21",
|
|
26
|
-
"@react-router/express": "0.0.0
|
|
27
|
-
"@react-router/node": "0.0.0
|
|
26
|
+
"@react-router/express": "7.0.0-pre.0",
|
|
27
|
+
"@react-router/node": "7.0.0-pre.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"react-router": "0.0.0
|
|
30
|
+
"react-router": "7.0.0-pre.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/compression": "^1.7.0",
|