Skip to content

Commit 438155a

Browse files
committed
Merge branch 'release-next'
2 parents 8de825e + 12a6719 commit 438155a

File tree

34 files changed

+328
-137
lines changed

34 files changed

+328
-137
lines changed

CHANGELOG.md

Lines changed: 106 additions & 91 deletions
Large diffs are not rendered by default.

integration/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Minor Changes
66

77
- Unstable Vite support for Node-based Remix apps ([#7590](https://github.com/remix-run/remix/pull/7590))
8+
89
- `remix build` 👉 `vite build && vite build --ssr`
910
- `remix dev` 👉 `vite dev`
1011

integration/error-boundary-v2-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ test.describe("ErrorBoundary", () => {
177177
await waitForAndAssert(
178178
page,
179179
app,
180-
"#parent-error",
181-
"Unable to decode turbo-stream response",
180+
"#parent-error-response",
181+
"500 CDN Error!",
182182
);
183183
});
184184
});

integration/error-data-request-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ test.describe("ErrorBoundary", () => {
110110
let { status, headers, data } =
111111
await fixture.requestSingleFetchData("/_root.data");
112112
expect(status).toBe(200);
113-
expect(headers.has("X-Remix-Error")).toBe(false);
113+
expect(headers.has("X-Remix-Response")).toBe(true);
114114
expect(data).toEqual({});
115115
});
116116

@@ -122,7 +122,7 @@ test.describe("ErrorBoundary", () => {
122122
},
123123
);
124124
expect(status).toBe(405);
125-
expect(headers.has("X-Remix-Error")).toBe(false);
125+
expect(headers.has("X-Remix-Response")).toBe(true);
126126
expect(data).toEqual({
127127
error: new ErrorResponseImpl(
128128
405,
@@ -153,7 +153,7 @@ test.describe("ErrorBoundary", () => {
153153
"/i/match/nothing.data",
154154
);
155155
expect(status).toBe(404);
156-
expect(headers.has("X-Remix-Error")).toBe(false);
156+
expect(headers.has("X-Remix-Response")).toBe(true);
157157
expect(data).toEqual({
158158
root: {
159159
error: new ErrorResponseImpl(

packages/create-react-router/CHANGELOG.md

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

3+
## 7.9.3
4+
35
## 7.9.2
46

57
_No 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.9.2",
3+
"version": "7.9.3",
44
"description": "Create a new React Router app",
55
"homepage": "https://reactrouter.com",
66
"bugs": {

packages/react-router-architect/CHANGELOG.md

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

3+
## 7.9.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@7.9.3`
9+
- `@react-router/node@7.9.3`
10+
311
## 7.9.2
412

513
### Patch Changes
@@ -23,6 +31,7 @@
2331
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2432

2533
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
34+
2635
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2736
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2837
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -246,6 +255,7 @@
246255
### Major Changes
247256

248257
- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))
258+
249259
- `createCookie`
250260
- `createCookieSessionStorage`
251261
- `createMemorySessionStorage`
@@ -254,6 +264,7 @@
254264
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)
255265

256266
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
267+
257268
- `createCookieFactory`
258269
- `createSessionStorageFactory`
259270
- `createCookieSessionStorageFactory`

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.9.2",
3+
"version": "7.9.3",
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `@react-router/cloudflare`
22

3+
## 7.9.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@7.9.3`
9+
310
## 7.9.2
411

512
### Patch Changes
@@ -21,6 +28,7 @@
2128
- Stabilize middleware and context APIs. ([#14215](https://github.com/remix-run/react-router/pull/14215))
2229

2330
We have removed the `unstable_` prefix from the following APIs and they are now considered stable and ready for production use:
31+
2432
- [`RouterContextProvider`](https://reactrouter.com/api/utils/RouterContextProvider)
2533
- [`createContext`](https://reactrouter.com/api/utils/createContext)
2634
- `createBrowserRouter` [`getContext`](https://reactrouter.com/api/data-routers/createBrowserRouter#optsgetcontext) option
@@ -219,6 +227,7 @@
219227

220228
- For Remix consumers migrating to React Router, all exports from `@remix-run/cloudflare-pages` are now provided for React Router consumers in the `@react-router/cloudflare` package. There is no longer a separate package for Cloudflare Pages. ([#11801](https://github.com/remix-run/react-router/pull/11801))
221229
- For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))
230+
222231
- `createCookie`
223232
- `createCookieSessionStorage`
224233
- `createMemorySessionStorage`
@@ -227,6 +236,7 @@
227236
For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)
228237

229238
Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
239+
230240
- `createCookieFactory`
231241
- `createSessionStorageFactory`
232242
- `createCookieSessionStorageFactory`

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.9.2",
3+
"version": "7.9.3",
44
"description": "Cloudflare platform abstractions for React Router",
55
"bugs": {
66
"url": "https://github.com/remix-run/react-router/issues"

0 commit comments

Comments
 (0)