@react-router/serve 0.0.0-experimental-b98209dd9 → 0.0.0-experimental-89dc2043e

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