Skip to content

Commit 1289294

Browse files
brophdawg11joseph0926
authored andcommitted
Update release notes
1 parent aff3a30 commit 1289294

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.changeset/rotten-steaks-perform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"react-router": patch
33
---
44

5-
Properly convert returned/thrown `data()` values to `Response` instances via `Response.json()` in middleware and resource routes
5+
Properly convert returned/thrown `data()` values to `Response` instances via `Response.json()` in resource routes and middleware

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ Date: 2025-08-15
370370
- `react-router` - Fix usage of optional path segments in nested routes defined using absolute paths ([#14135](https://github.com/remix-run/react-router/pull/14135))
371371
- `react-router` - Fix optional static segment matching in `matchPath` ([#11813](https://github.com/remix-run/react-router/pull/11813))
372372
- `react-router` - Fix pre-rendering when a `basename` is set with `ssr:false` ([#13791](https://github.com/remix-run/react-router/pull/13791))
373-
- `react-router` - Properly handle `data()` values returned or thrown from resource routes and return corresponding responses with the data, status, and headers ([#14159](https://github.com/remix-run/react-router/pull/14159))
373+
- `react-router` - Properly convert returned/thrown `data()` values to `Response` instances via `Response.json()` in resource routes and middleware ([#14159](https://github.com/remix-run/react-router/pull/14159), [#14181](https://github.com/remix-run/react-router/pull/14181))
374374
- `@react-router/dev` - Update generated `Route.MetaArgs` type so `loaderData` is only potentially undefined when an `ErrorBoundary` export is present ([#14173](https://github.com/remix-run/react-router/pull/14173))
375375

376376
### Unstable Changes
@@ -380,6 +380,7 @@ Date: 2025-08-15
380380
**Middleware**
381381

382382
- `react-router` - Bubble client pre-`next` middleware errors to the shallowest ancestor that needs to load, not strictly the shallowest ancestor with a loader ([#14150](https://github.com/remix-run/react-router/pull/14150))
383+
- `react-router` - Propagate non-redirect `Response` values thrown from middleware to the error boundary on document/data requests ([#14182](https://github.com/remix-run/react-router/pull/14182))
383384

384385
**RSC**
385386

0 commit comments

Comments
 (0)