Skip to content

Commit 6fb1e79

Browse files
Release v7.18.0 (#15187)
Co-authored-by: Remix Run Bot <hello@remix.run>
1 parent 09e6020 commit 6fb1e79

35 files changed

Lines changed: 156 additions & 30 deletions

‎CHANGELOG.md‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ We manage release notes in this file instead of the paginated Github Releases Pa
1313
<summary>Table of Contents</summary>
1414

1515
- [React Router Releases](#react-router-releases)
16+
- [v7.18.0](#v7180)
1617
- [v7.17.0](#v7170)
1718
- [v7.16.0](#v7160)
1819
- [Stabilized `future.v8_trailingSlashAwareDataRequests`](#stabilized-futurev8_trailingslashawaredatarequests)
@@ -177,6 +178,47 @@ We manage release notes in this file instead of the paginated Github Releases Pa
177178

178179
</details>
179180

181+
## v7.18.0
182+
183+
Date: 2026-06-15
184+
185+
### Minor Changes
186+
187+
- `@react-router/architect` - Add a `useRequestContextDomainName` option to `createRequestHandler` to derive request URL hosts from the API Gateway request context. ([#15185](https://github.com/remix-run/react-router/pull/15185))
188+
189+
### Patch Changes
190+
191+
- `react-router` - Fix server handler prerender responses when using `ssr: false` and `future.v8_trailingSlashAwareDataRequests: true`. Avoids false positive "SPA Mode" detection when serving prerendered paths ([#15173](https://github.com/remix-run/react-router/pull/15173))
192+
193+
- `react-router` - Use the `ServerRouter` nonce for nonce-aware SSR components when they don't provide their own value so strict CSP pages can load them. ([#15170](https://github.com/remix-run/react-router/pull/15170))
194+
195+
- `react-router` - Use `turbo-stream` to serialize and deserialize Framework Mode hydration errors ([#15175](https://github.com/remix-run/react-router/pull/15175))
196+
197+
- `react-router` - Precompute route branch matchers to avoid recompiling route path regexes during matching ([#15186](https://github.com/remix-run/react-router/pull/15186))
198+
199+
- `react-router` - Use the constructed request URL host when validating action request origins. ([#15185](https://github.com/remix-run/react-router/pull/15185))
200+
201+
- `react-router` - Remove the un-documented custom error serialization logic from Data Mode SSR built-in hydration flows ([#15175](https://github.com/remix-run/react-router/pull/15175))
202+
203+
- `react-router` - Validate protocols in RSC render redirects ([#15177](https://github.com/remix-run/react-router/pull/15177))
204+
205+
- `react-router` - Consolidate url normalization logic and better handle mixed slashes ([#15176](https://github.com/remix-run/react-router/pull/15176))
206+
207+
- `@react-router/dev` - Pass Vite `server.watch` config to child compiler in development mode. ([#15178](https://github.com/remix-run/react-router/pull/15178))
208+
209+
- `@react-router/dev` - Ignore external Vite server environments in Framework Mode build hooks ([#14883](https://github.com/remix-run/react-router/pull/14883))
210+
211+
When `future.v8_viteEnvironmentApi` is enabled, React Router previously treated any non-client Vite environment as its own server build. This caused issues with integrations like Nitro, where plugins can register additional environments.
212+
213+
Framework Mode build hooks now ignore external server environments and only process the app's own server build.
214+
215+
- `@react-router/express` - Adjust express adapter host computation ([#15185](https://github.com/remix-run/react-router/pull/15185))
216+
217+
- read port from `x-forwarded-host` based on `trust proxy` setting
218+
- handle invalid hostname characters
219+
220+
**Full Changelog**: [`v7.17.0...v7.18.0`](https://github.com/remix-run/react-router/compare/react-router@7.17.0...react-router@7.18.0)
221+
180222
## v7.17.0
181223

182224
Date: 2026-06-04

‎packages/create-react-router/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# `create-react-router`
22

3+
## v7.18.0
4+
5+
### Patch Changes
6+
7+
- _No changes_
8+
39
## v7.17.0
410

511
### Patch Changes

‎packages/create-react-router/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-router",
3-
"version": "7.17.0",
3+
"version": "7.18.0",
44
"description": "Create a new React Router app",
55
"homepage": "https://reactrouter.com",
66
"bugs": {

‎packages/react-router-architect/.changes/minor.request-context-domain-name.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎packages/react-router-architect/CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# `@react-router/architect`
22

3+
## v7.18.0
4+
5+
### Minor Changes
6+
7+
- Add a `useRequestContextDomainName` option to `createRequestHandler` to derive request URL hosts from the API Gateway request context. ([#15185](https://github.com/remix-run/react-router/pull/15185))
8+
9+
### Patch Changes
10+
11+
- Updated dependencies:
12+
- [`react-router@7.18.0`](https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0)
13+
- [`@react-router/node@7.18.0`](https://github.com/remix-run/react-router/releases/tag/@react-router/node@7.18.0)
14+
315
## v7.17.0
416

517
### Patch Changes

‎packages/react-router-architect/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/architect",
3-
"version": "7.17.0",
3+
"version": "7.18.0",
44
"description": "Architect server request handler for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

‎packages/react-router-cloudflare/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `@react-router/cloudflare`
22

3+
## v7.18.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- [`react-router@7.18.0`](https://github.com/remix-run/react-router/releases/tag/react-router@7.18.0)
9+
310
## v7.17.0
411

512
### Patch Changes

‎packages/react-router-cloudflare/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-router/cloudflare",
3-
"version": "7.17.0",
3+
"version": "7.18.0",
44
"description": "Cloudflare platform abstractions for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

‎packages/react-router-dev/.changes/patch.copy-server-watch-config.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎packages/react-router-dev/.changes/patch.ignore-external-server-environments-in-framework-mode-build-hooks.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)