@react-router/serve 0.0.0-experimental-b3337fc38 → 0.0.0-experimental-909c02f10

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.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - `react-router@7.7.0`
9
+ - `@react-router/node@7.7.0`
10
+ - `@react-router/express@7.7.0`
11
+
3
12
  ## 7.6.3
4
13
 
5
14
  ### Patch Changes
@@ -192,7 +201,6 @@
192
201
  ### Patch Changes
193
202
 
194
203
  - Update `express.static` configurations to support prerendering ([#11547](https://github.com/remix-run/react-router/pull/11547))
195
-
196
204
  - Assets in the `build/client/assets` folder are served as before, with a 1-year immutable `Cache-Control` header
197
205
  - Static files outside of assets, such as pre-rendered `.html` and `.data` files are not served with a specific `Cache-Control` header
198
206
  - `.data` files are served with `Content-Type: text/x-turbo`
@@ -350,14 +358,12 @@
350
358
  ### Major Changes
351
359
 
352
360
  - `remix-serve` now picks an open port if 3000 is taken ([#7278](https://github.com/remix-run/remix/pull/7278))
353
-
354
361
  - If `PORT` env var is set, `remix-serve` will use that port
355
362
  - Otherwise, `remix-serve` picks an open port (3000 unless that is already taken)
356
363
 
357
364
  - Integrate manual mode in `remix-serve` ([#7231](https://github.com/remix-run/remix/pull/7231))
358
365
 
359
366
  - Remove undocumented `createApp` Node API ([#7229](https://github.com/remix-run/remix/pull/7229))
360
-
361
367
  - `remix-serve` is a CLI, not a library
362
368
 
363
369
  - Require Node >=18.0.0 ([#6939](https://github.com/remix-run/remix/pull/6939))
@@ -369,7 +375,6 @@
369
375
  - Preserve dynamic imports in `remix-serve` for external bundle ([#7173](https://github.com/remix-run/remix/pull/7173))
370
376
 
371
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))
372
-
373
378
  - If you are using `remix-serve`, nothing is required
374
379
  - If you are using your own app server, you will need to install the globals yourself
375
380
 
@@ -380,7 +385,6 @@
380
385
  ```
381
386
 
382
387
  - `source-map-support` is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
383
-
384
388
  - If you are using `remix-serve`, nothing is required
385
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.
386
390
 
@@ -568,12 +572,10 @@
568
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))
569
573
 
570
574
  Informational Resources:
571
-
572
575
  - <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
573
576
  - <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
574
577
 
575
578
  Documentation Resources (better docs specific to Remix are in the works):
576
-
577
579
  - <https://reactrouter.com/en/main/utils/defer>
578
580
  - <https://reactrouter.com/en/main/components/await>
579
581
  - <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 v0.0.0-experimental-b3337fc38
3
+ * @react-router/serve v0.0.0-experimental-909c02f10
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-b3337fc38",
3
+ "version": "0.0.0-experimental-909c02f10",
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-b3337fc38",
41
- "@react-router/express": "0.0.0-experimental-b3337fc38"
40
+ "@react-router/express": "0.0.0-experimental-909c02f10",
41
+ "@react-router/node": "0.0.0-experimental-909c02f10"
42
42
  },
43
43
  "peerDependencies": {
44
- "react-router": "0.0.0-experimental-b3337fc38"
44
+ "react-router": "0.0.0-experimental-909c02f10"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/compression": "^1.7.0",