@react-router/serve 0.0.0-experimental-d4ee0faac → 0.0.0-experimental-80dc2f07b
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 +4 -11
- package/dist/cli.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# `@react-router/serve`
|
|
2
2
|
|
|
3
|
-
## 7.7.0
|
|
3
|
+
## 7.7.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies:
|
|
8
|
-
- `react-router@7.7.0
|
|
9
|
-
- `@react-router/node@7.7.0
|
|
10
|
-
- `@react-router/express@7.7.0
|
|
8
|
+
- `react-router@7.7.0`
|
|
9
|
+
- `@react-router/node@7.7.0`
|
|
10
|
+
- `@react-router/express@7.7.0`
|
|
11
11
|
|
|
12
12
|
## 7.6.3
|
|
13
13
|
|
|
@@ -201,7 +201,6 @@
|
|
|
201
201
|
### Patch Changes
|
|
202
202
|
|
|
203
203
|
- Update `express.static` configurations to support prerendering ([#11547](https://github.com/remix-run/react-router/pull/11547))
|
|
204
|
-
|
|
205
204
|
- Assets in the `build/client/assets` folder are served as before, with a 1-year immutable `Cache-Control` header
|
|
206
205
|
- Static files outside of assets, such as pre-rendered `.html` and `.data` files are not served with a specific `Cache-Control` header
|
|
207
206
|
- `.data` files are served with `Content-Type: text/x-turbo`
|
|
@@ -359,14 +358,12 @@
|
|
|
359
358
|
### Major Changes
|
|
360
359
|
|
|
361
360
|
- `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278))
|
|
362
|
-
|
|
363
361
|
- If `PORT` env var is set, `remix-serve` will use that port
|
|
364
362
|
- Otherwise, `remix-serve` picks an open port (3000 unless that is already taken)
|
|
365
363
|
|
|
366
364
|
- Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231))
|
|
367
365
|
|
|
368
366
|
- Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229))
|
|
369
|
-
|
|
370
367
|
- `remix-serve` is a CLI, not a library
|
|
371
368
|
|
|
372
369
|
- Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939))
|
|
@@ -378,7 +375,6 @@
|
|
|
378
375
|
- Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173))
|
|
379
376
|
|
|
380
377
|
- For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
|
|
381
|
-
|
|
382
378
|
- If you are using `remix-serve`, nothing is required
|
|
383
379
|
- If you are using your own app server, you will need to install the globals yourself
|
|
384
380
|
|
|
@@ -389,7 +385,6 @@
|
|
|
389
385
|
```
|
|
390
386
|
|
|
391
387
|
- `source-map-support` is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
|
|
392
|
-
|
|
393
388
|
- If you are using `remix-serve`, nothing is required
|
|
394
389
|
- If you are using your own app server, you will need to install [`source-map-support`](https://www.npmjs.com/package/source-map-support) yourself.
|
|
395
390
|
|
|
@@ -577,12 +572,10 @@
|
|
|
577
572
|
- Introduces the `defer()` API from `@remix-run/router` with support for server-rendering and HTTP streaming. This utility allows you to defer values returned from `loader` functions by returning promises instead of resolved values. This has been refered to as _"sending a promise over the wire"_. ([#4920](https://github.com/remix-run/remix/pull/4920))
|
|
578
573
|
|
|
579
574
|
Informational Resources:
|
|
580
|
-
|
|
581
575
|
- <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
|
|
582
576
|
- <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
|
|
583
577
|
|
|
584
578
|
Documentation Resources (better docs specific to Remix are in the works):
|
|
585
|
-
|
|
586
579
|
- <https://reactrouter.com/en/main/utils/defer>
|
|
587
580
|
- <https://reactrouter.com/en/main/components/await>
|
|
588
581
|
- <https://reactrouter.com/en/main/hooks/use-async-value>
|
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-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-80dc2f07b",
|
|
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/express": "0.0.0-experimental-
|
|
41
|
-
"@react-router/node": "0.0.0-experimental-
|
|
40
|
+
"@react-router/express": "0.0.0-experimental-80dc2f07b",
|
|
41
|
+
"@react-router/node": "0.0.0-experimental-80dc2f07b"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"react-router": "0.0.0-experimental-
|
|
44
|
+
"react-router": "0.0.0-experimental-80dc2f07b"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/compression": "^1.7.0",
|