@react-router/serve 8.2.0 → 8.3.1

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,25 @@
1
1
  # `@react-router/serve`
2
2
 
3
+ ## v8.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump `@remix-run/node-fetch-server` dependency ([#15447](https://github.com/remix-run/react-router/pull/15447))
8
+ - Serve `/.well-known/*` files from the client build directory. Express 5's static middleware ignores every dot-segment path by default, so RFC 8615 well-known URIs — ACME challenges, Android's `assetlinks.json`, Apple's `apple-app-site-association` — fell through to the request handler and came back as app-rendered HTML instead of the static file. Other dotfiles remain hidden. ([#15340](https://github.com/remix-run/react-router/pull/15340))
9
+ - Updated dependencies:
10
+ - [`react-router@8.3.1`](https://github.com/remix-run/react-router/releases/tag/react-router@8.3.1)
11
+ - [`@react-router/express@8.3.1`](https://github.com/remix-run/react-router/releases/tag/@react-router/express@8.3.1)
12
+ - [`@react-router/node@8.3.1`](https://github.com/remix-run/react-router/releases/tag/@react-router/node@8.3.1)
13
+
14
+ ## v8.3.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies:
19
+ - [`react-router@8.3.0`](https://github.com/remix-run/react-router/releases/tag/react-router@8.3.0)
20
+ - [`@react-router/express@8.3.0`](https://github.com/remix-run/react-router/releases/tag/@react-router/express@8.3.0)
21
+ - [`@react-router/node@8.3.0`](https://github.com/remix-run/react-router/releases/tag/@react-router/node@8.3.0)
22
+
3
23
  ## v8.2.0
4
24
 
5
25
  ### Patch Changes
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * @react-router/serve v8.2.0
3
+ * @react-router/serve v8.3.1
4
4
  *
5
5
  * Copyright (c) Remix Software Inc.
6
6
  *
@@ -118,6 +118,7 @@ async function run() {
118
118
  }));
119
119
  app.use(expressPublicPath, express.static(build.assetsBuildDirectory));
120
120
  app.use(express.static("public", { maxAge: "1h" }));
121
+ app.use("/.well-known", express.static(path.join(build.assetsBuildDirectory, ".well-known")));
121
122
  app.use(morgan("tiny"));
122
123
  if (build.fetch) app.all("/{*splat}", createRequestListener(build.fetch));
123
124
  else app.all("/{*splat}", createRequestHandler({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-router/serve",
3
3
  "type": "module",
4
- "version": "8.2.0",
4
+ "version": "8.3.1",
5
5
  "description": "Production application server for React Router",
6
6
  "bugs": {
7
7
  "url": "https://github.com/remix-run/react-router/issues"
@@ -34,16 +34,16 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@remix-run/node-fetch-server": "^0.13.3",
37
+ "@remix-run/node-fetch-server": "^0.14.1",
38
38
  "compression": "^1.8.1",
39
39
  "express": "^5.2.1",
40
40
  "morgan": "^1.10.1",
41
41
  "source-map-support": "^0.5.21",
42
- "@react-router/express": "8.2.0",
43
- "@react-router/node": "8.2.0"
42
+ "@react-router/node": "8.3.1",
43
+ "@react-router/express": "8.3.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "react-router": "8.2.0"
46
+ "react-router": "8.3.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/compression": "^1.8.1",