@react-router/serve 7.7.0-pre.2 → 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,31 +1,22 @@
1
1
  # `@react-router/serve`
2
2
 
3
- ## 7.7.0-pre.2
3
+ ## 7.7.1-pre.0
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies:
8
- - `react-router@7.7.0-pre.2`
9
- - `@react-router/node@7.7.0-pre.2`
10
- - `@react-router/express@7.7.0-pre.2`
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
11
 
12
- ## 7.7.0-pre.1
12
+ ## 7.7.0
13
13
 
14
14
  ### Patch Changes
15
15
 
16
16
  - Updated dependencies:
17
- - `react-router@7.7.0-pre.1`
18
- - `@react-router/node@7.7.0-pre.1`
19
- - `@react-router/express@7.7.0-pre.1`
20
-
21
- ## 7.7.0-pre.0
22
-
23
- ### Patch Changes
24
-
25
- - Updated dependencies:
26
- - `react-router@7.7.0-pre.0`
27
- - `@react-router/node@7.7.0-pre.0`
28
- - `@react-router/express@7.7.0-pre.0`
17
+ - `react-router@7.7.0`
18
+ - `@react-router/node@7.7.0`
19
+ - `@react-router/express@7.7.0`
29
20
 
30
21
  ## 7.6.3
31
22
 
@@ -219,7 +210,6 @@
219
210
  ### Patch Changes
220
211
 
221
212
  - Update `express.static` configurations to support prerendering ([#11547](https://github.com/remix-run/react-router/pull/11547))
222
-
223
213
  - Assets in the `build/client/assets` folder are served as before, with a 1-year immutable `Cache-Control` header
224
214
  - Static files outside of assets, such as pre-rendered `.html` and `.data` files are not served with a specific `Cache-Control` header
225
215
  - `.data` files are served with `Content-Type: text/x-turbo`
@@ -377,14 +367,12 @@
377
367
  ### Major Changes
378
368
 
379
369
  - `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278))
380
-
381
370
  - If `PORT` env var is set, `remix-serve` will use that port
382
371
  - Otherwise, `remix-serve` picks an open port (3000 unless that is already taken)
383
372
 
384
373
  - Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231))
385
374
 
386
375
  - Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229))
387
-
388
376
  - `remix-serve` is a CLI, not a library
389
377
 
390
378
  - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939))
@@ -396,7 +384,6 @@
396
384
  - Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173))
397
385
 
398
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))
399
-
400
387
  - If you are using `remix-serve`, nothing is required
401
388
  - If you are using your own app server, you will need to install the globals yourself
402
389
 
@@ -407,7 +394,6 @@
407
394
  ```
408
395
 
409
396
  - `source-map-support` is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
410
-
411
397
  - If you are using `remix-serve`, nothing is required
412
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.
413
399
 
@@ -595,12 +581,10 @@
595
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))
596
582
 
597
583
  Informational Resources:
598
-
599
584
  - <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
600
585
  - <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
601
586
 
602
587
  Documentation Resources (better docs specific to Remix are in the works):
603
-
604
588
  - <https://reactrouter.com/en/main/utils/defer>
605
589
  - <https://reactrouter.com/en/main/components/await>
606
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-pre.2
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-pre.2",
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/express": "7.7.0-pre.2",
41
- "@react-router/node": "7.7.0-pre.2"
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-pre.2"
44
+ "react-router": "7.7.1-pre.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/compression": "^1.7.0",