@react-router/serve 7.7.0 → 7.7.1-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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # `@react-router/serve`
2
2
 
3
+ ## 7.7.1-pre.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - `react-router@7.7.1-pre.0`
9
+ - `@react-router/node@7.7.1-pre.0`
10
+ - `@react-router/express@7.7.1-pre.0`
11
+
3
12
  ## 7.7.0
4
13
 
5
14
  ### Patch Changes
@@ -201,7 +210,6 @@
201
210
  ### Patch Changes
202
211
 
203
212
  - Update `express.static` configurations to support prerendering ([#11547](https://github.com/remix-run/react-router/pull/11547))
204
-
205
213
  - Assets in the `build/client/assets` folder are served as before, with a 1-year immutable `Cache-Control` header
206
214
  - Static files outside of assets, such as pre-rendered `.html` and `.data` files are not served with a specific `Cache-Control` header
207
215
  - `.data` files are served with `Content-Type: text/x-turbo`
@@ -359,14 +367,12 @@
359
367
  ### Major Changes
360
368
 
361
369
  - `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278))
362
-
363
370
  - If `PORT` env var is set, `remix-serve` will use that port
364
371
  - Otherwise, `remix-serve` picks an open port (3000 unless that is already taken)
365
372
 
366
373
  - Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231))
367
374
 
368
375
  - Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229))
369
-
370
376
  - `remix-serve` is a CLI, not a library
371
377
 
372
378
  - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939))
@@ -378,7 +384,6 @@
378
384
  - Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173))
379
385
 
380
386
  - 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
387
  - If you are using `remix-serve`, nothing is required
383
388
  - If you are using your own app server, you will need to install the globals yourself
384
389
 
@@ -389,7 +394,6 @@
389
394
  ```
390
395
 
391
396
  - `source-map-support` is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
392
-
393
397
  - If you are using `remix-serve`, nothing is required
394
398
  - 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
399
 
@@ -577,12 +581,10 @@
577
581
  - 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
582
 
579
583
  Informational Resources:
580
-
581
584
  - <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
582
585
  - <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
583
586
 
584
587
  Documentation Resources (better docs specific to Remix are in the works):
585
-
586
588
  - <https://reactrouter.com/en/main/utils/defer>
587
589
  - <https://reactrouter.com/en/main/components/await>
588
590
  - <https://reactrouter.com/en/main/hooks/use-async-value>
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * @react-router/serve v7.7.0
3
+ * @react-router/serve v7.7.1-pre.0
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": "7.7.0",
3
+ "version": "7.7.1-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"
@@ -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": "7.7.0",
41
- "@react-router/express": "7.7.0"
40
+ "@react-router/express": "7.7.1-pre.0",
41
+ "@react-router/node": "7.7.1-pre.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "react-router": "7.7.0"
44
+ "react-router": "7.7.1-pre.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/compression": "^1.7.0",