Skip to content

Commit 92d1f0d

Browse files
authored
Upgrade React from 19baee81-20250725 to eaee5308-20250728 (vercel#82120)
1 parent 6b12c60 commit 92d1f0d

File tree

66 files changed

+973
-609
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+973
-609
lines changed

examples/reproduction-template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
},
88
"dependencies": {
99
"next": "canary",
10-
"react": "19.1.0",
11-
"react-dom": "19.1.0"
10+
"react": "19.1.1",
11+
"react-dom": "19.1.1"
1212
},
1313
"devDependencies": {
1414
"@types/node": "^22",

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,16 @@
233233
"pretty-ms": "7.0.0",
234234
"random-seed": "0.3.0",
235235
"react": "19.0.0",
236-
"react-builtin": "npm:[email protected]19baee81-20250725",
236+
"react-builtin": "npm:[email protected]eaee5308-20250728",
237237
"react-dom": "19.0.0",
238-
"react-dom-builtin": "npm:[email protected]19baee81-20250725",
239-
"react-dom-experimental-builtin": "npm:[email protected]19baee81-20250725",
240-
"react-experimental-builtin": "npm:[email protected]19baee81-20250725",
241-
"react-is-builtin": "npm:[email protected]19baee81-20250725",
242-
"react-server-dom-turbopack": "19.2.0-canary-19baee81-20250725",
243-
"react-server-dom-turbopack-experimental": "npm:[email protected]19baee81-20250725",
244-
"react-server-dom-webpack": "19.2.0-canary-19baee81-20250725",
245-
"react-server-dom-webpack-experimental": "npm:[email protected]19baee81-20250725",
238+
"react-dom-builtin": "npm:[email protected]eaee5308-20250728",
239+
"react-dom-experimental-builtin": "npm:[email protected]eaee5308-20250728",
240+
"react-experimental-builtin": "npm:[email protected]eaee5308-20250728",
241+
"react-is-builtin": "npm:[email protected]eaee5308-20250728",
242+
"react-server-dom-turbopack": "19.2.0-canary-eaee5308-20250728",
243+
"react-server-dom-turbopack-experimental": "npm:[email protected]eaee5308-20250728",
244+
"react-server-dom-webpack": "19.2.0-canary-eaee5308-20250728",
245+
"react-server-dom-webpack-experimental": "npm:[email protected]eaee5308-20250728",
246246
"react-ssr-prepass": "1.0.8",
247247
"react-virtualized": "9.22.3",
248248
"relay-compiler": "13.0.2",
@@ -252,8 +252,8 @@
252252
"resolve-from": "5.0.0",
253253
"sass": "1.54.0",
254254
"satori": "0.15.2",
255-
"scheduler-builtin": "npm:[email protected]19baee81-20250725",
256-
"scheduler-experimental-builtin": "npm:[email protected]19baee81-20250725",
255+
"scheduler-builtin": "npm:[email protected]eaee5308-20250728",
256+
"scheduler-experimental-builtin": "npm:[email protected]eaee5308-20250728",
257257
"seedrandom": "3.0.5",
258258
"semver": "7.3.7",
259259
"serve-handler": "6.1.6",
@@ -297,10 +297,10 @@
297297
"@types/react-dom": "19.1.6",
298298
"@types/retry": "0.12.0",
299299
"jest-snapshot": "30.0.0-alpha.6",
300-
"react": "19.2.0-canary-19baee81-20250725",
301-
"react-dom": "19.2.0-canary-19baee81-20250725",
302-
"react-is": "19.2.0-canary-19baee81-20250725",
303-
"scheduler": "0.27.0-canary-19baee81-20250725"
300+
"react": "19.2.0-canary-eaee5308-20250728",
301+
"react-dom": "19.2.0-canary-eaee5308-20250728",
302+
"react-is": "19.2.0-canary-eaee5308-20250728",
303+
"scheduler": "0.27.0-canary-eaee5308-20250728"
304304
},
305305
"patchedDependencies": {
306306

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31115,11 +31115,11 @@
3111531115
};
3111631116
(function () {
3111731117
var isomorphicReactPackageVersion = React.version;
31118-
if ("19.2.0-experimental-19baee81-20250725" !== isomorphicReactPackageVersion)
31118+
if ("19.2.0-experimental-eaee5308-20250728" !== isomorphicReactPackageVersion)
3111931119
throw Error(
3112031120
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3112131121
(isomorphicReactPackageVersion +
31122-
"\n - react-dom: 19.2.0-experimental-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
31122+
"\n - react-dom: 19.2.0-experimental-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
3112331123
);
3112431124
})();
3112531125
("function" === typeof Map &&
@@ -31156,10 +31156,10 @@
3115631156
!(function () {
3115731157
var internals = {
3115831158
bundleType: 1,
31159-
version: "19.2.0-experimental-19baee81-20250725",
31159+
version: "19.2.0-experimental-eaee5308-20250728",
3116031160
rendererPackageName: "react-dom",
3116131161
currentDispatcherRef: ReactSharedInternals,
31162-
reconcilerVersion: "19.2.0-experimental-19baee81-20250725"
31162+
reconcilerVersion: "19.2.0-experimental-eaee5308-20250728"
3116331163
};
3116431164
internals.overrideHookState = overrideHookState;
3116531165
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31305,7 +31305,7 @@
3130531305
listenToAllSupportedEvents(container);
3130631306
return new ReactDOMHydrationRoot(initialChildren);
3130731307
};
31308-
exports.version = "19.2.0-experimental-19baee81-20250725";
31308+
exports.version = "19.2.0-experimental-eaee5308-20250728";
3130931309
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3131031310
"function" ===
3131131311
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19257,14 +19257,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1925719257
};
1925819258
var isomorphicReactPackageVersion$jscomp$inline_2169 = React.version;
1925919259
if (
19260-
"19.2.0-experimental-19baee81-20250725" !==
19260+
"19.2.0-experimental-eaee5308-20250728" !==
1926119261
isomorphicReactPackageVersion$jscomp$inline_2169
1926219262
)
1926319263
throw Error(
1926419264
formatProdErrorMessage(
1926519265
527,
1926619266
isomorphicReactPackageVersion$jscomp$inline_2169,
19267-
"19.2.0-experimental-19baee81-20250725"
19267+
"19.2.0-experimental-eaee5308-20250728"
1926819268
)
1926919269
);
1927019270
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19286,10 +19286,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1928619286
};
1928719287
var internals$jscomp$inline_2854 = {
1928819288
bundleType: 0,
19289-
version: "19.2.0-experimental-19baee81-20250725",
19289+
version: "19.2.0-experimental-eaee5308-20250728",
1929019290
rendererPackageName: "react-dom",
1929119291
currentDispatcherRef: ReactSharedInternals,
19292-
reconcilerVersion: "19.2.0-experimental-19baee81-20250725"
19292+
reconcilerVersion: "19.2.0-experimental-eaee5308-20250728"
1929319293
};
1929419294
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1929519295
var hook$jscomp$inline_2855 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19396,4 +19396,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1939619396
listenToAllSupportedEvents(container);
1939719397
return new ReactDOMHydrationRoot(initialChildren);
1939819398
};
19399-
exports.version = "19.2.0-experimental-19baee81-20250725";
19399+
exports.version = "19.2.0-experimental-eaee5308-20250728";

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31167,11 +31167,11 @@
3116731167
};
3116831168
(function () {
3116931169
var isomorphicReactPackageVersion = React.version;
31170-
if ("19.2.0-experimental-19baee81-20250725" !== isomorphicReactPackageVersion)
31170+
if ("19.2.0-experimental-eaee5308-20250728" !== isomorphicReactPackageVersion)
3117131171
throw Error(
3117231172
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3117331173
(isomorphicReactPackageVersion +
31174-
"\n - react-dom: 19.2.0-experimental-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
31174+
"\n - react-dom: 19.2.0-experimental-eaee5308-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
3117531175
);
3117631176
})();
3117731177
("function" === typeof Map &&
@@ -31208,10 +31208,10 @@
3120831208
!(function () {
3120931209
var internals = {
3121031210
bundleType: 1,
31211-
version: "19.2.0-experimental-19baee81-20250725",
31211+
version: "19.2.0-experimental-eaee5308-20250728",
3121231212
rendererPackageName: "react-dom",
3121331213
currentDispatcherRef: ReactSharedInternals,
31214-
reconcilerVersion: "19.2.0-experimental-19baee81-20250725"
31214+
reconcilerVersion: "19.2.0-experimental-eaee5308-20250728"
3121531215
};
3121631216
internals.overrideHookState = overrideHookState;
3121731217
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31687,7 +31687,7 @@
3168731687
exports.useFormStatus = function () {
3168831688
return resolveDispatcher().useHostTransitionStatus();
3168931689
};
31690-
exports.version = "19.2.0-experimental-19baee81-20250725";
31690+
exports.version = "19.2.0-experimental-eaee5308-20250728";
3169131691
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3169231692
"function" ===
3169331693
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20940,14 +20940,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2094020940
};
2094120941
var isomorphicReactPackageVersion$jscomp$inline_2391 = React.version;
2094220942
if (
20943-
"19.2.0-experimental-19baee81-20250725" !==
20943+
"19.2.0-experimental-eaee5308-20250728" !==
2094420944
isomorphicReactPackageVersion$jscomp$inline_2391
2094520945
)
2094620946
throw Error(
2094720947
formatProdErrorMessage(
2094820948
527,
2094920949
isomorphicReactPackageVersion$jscomp$inline_2391,
20950-
"19.2.0-experimental-19baee81-20250725"
20950+
"19.2.0-experimental-eaee5308-20250728"
2095120951
)
2095220952
);
2095320953
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -20969,10 +20969,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2096920969
};
2097020970
var internals$jscomp$inline_3078 = {
2097120971
bundleType: 0,
20972-
version: "19.2.0-experimental-19baee81-20250725",
20972+
version: "19.2.0-experimental-eaee5308-20250728",
2097320973
rendererPackageName: "react-dom",
2097420974
currentDispatcherRef: ReactSharedInternals,
20975-
reconcilerVersion: "19.2.0-experimental-19baee81-20250725"
20975+
reconcilerVersion: "19.2.0-experimental-eaee5308-20250728"
2097620976
};
2097720977
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
2097820978
var hook$jscomp$inline_3079 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -21239,7 +21239,7 @@ exports.useFormState = function (action, initialState, permalink) {
2123921239
exports.useFormStatus = function () {
2124021240
return ReactSharedInternals.H.useHostTransitionStatus();
2124121241
};
21242-
exports.version = "19.2.0-experimental-19baee81-20250725";
21242+
exports.version = "19.2.0-experimental-eaee5308-20250728";
2124321243
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2124421244
"function" ===
2124521245
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7217,7 +7217,10 @@
72177217
"object" === typeof node && null !== node)
72187218
) {
72197219
if ("function" === typeof node.then) {
7220-
childIndex = getThenableStateAfterSuspending();
7220+
childIndex =
7221+
thrownValue === SuspenseException
7222+
? getThenableStateAfterSuspending()
7223+
: null;
72217224
request = spawnNewSuspendedReplayTask(
72227225
request,
72237226
task,
@@ -7235,7 +7238,10 @@
72357238
return;
72367239
}
72377240
if ("Maximum call stack size exceeded" === node.message) {
7238-
node = getThenableStateAfterSuspending();
7241+
node =
7242+
thrownValue === SuspenseException
7243+
? getThenableStateAfterSuspending()
7244+
: null;
72397245
node = spawnNewSuspendedReplayTask(request, task, node);
72407246
request.pingedTasks.push(node);
72417247
task.formatContext = previousFormatContext;
@@ -7268,7 +7274,10 @@
72687274
) {
72697275
if ("function" === typeof node.then) {
72707276
segment = node;
7271-
node = getThenableStateAfterSuspending();
7277+
node =
7278+
thrownValue$3 === SuspenseException
7279+
? getThenableStateAfterSuspending()
7280+
: null;
72727281
request = spawnNewSuspendedRenderTask(request, task, node).ping;
72737282
segment.then(request, request);
72747283
task.formatContext = previousFormatContext;
@@ -7310,7 +7319,10 @@
73107319
return;
73117320
}
73127321
if ("Maximum call stack size exceeded" === node.message) {
7313-
segment = getThenableStateAfterSuspending();
7322+
segment =
7323+
thrownValue$3 === SuspenseException
7324+
? getThenableStateAfterSuspending()
7325+
: null;
73147326
segment = spawnNewSuspendedRenderTask(request, task, segment);
73157327
request.pingedTasks.push(segment);
73167328
task.formatContext = previousFormatContext;
@@ -7850,7 +7862,10 @@
78507862
) {
78517863
var ping = request.ping;
78527864
x.then(ping, ping);
7853-
request.thenableState = getThenableStateAfterSuspending();
7865+
request.thenableState =
7866+
thrownValue === SuspenseException
7867+
? getThenableStateAfterSuspending()
7868+
: null;
78547869
} else {
78557870
request.replay.pendingTasks--;
78567871
request.abortSet.delete(request);
@@ -7959,7 +7974,9 @@
79597974
if ("function" === typeof x$jscomp$0.then) {
79607975
segment$jscomp$0.status = PENDING;
79617976
task$jscomp$0.thenableState =
7962-
getThenableStateAfterSuspending();
7977+
thrownValue === SuspenseException
7978+
? getThenableStateAfterSuspending()
7979+
: null;
79637980
var ping$jscomp$0 = task$jscomp$0.ping;
79647981
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
79657982
break a;
@@ -10502,5 +10519,5 @@
1050210519
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
1050310520
);
1050410521
};
10505-
exports.version = "19.2.0-experimental-19baee81-20250725";
10522+
exports.version = "19.2.0-experimental-eaee5308-20250728";
1050610523
})();

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5661,7 +5661,10 @@ function renderNode(request, task, node, childIndex) {
56615661
"object" === typeof node && null !== node)
56625662
) {
56635663
if ("function" === typeof node.then) {
5664-
childIndex = getThenableStateAfterSuspending();
5664+
childIndex =
5665+
thrownValue === SuspenseException
5666+
? getThenableStateAfterSuspending()
5667+
: null;
56655668
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
56665669
node.then(request, request);
56675670
task.formatContext = previousFormatContext;
@@ -5674,7 +5677,10 @@ function renderNode(request, task, node, childIndex) {
56745677
return;
56755678
}
56765679
if ("Maximum call stack size exceeded" === node.message) {
5677-
node = getThenableStateAfterSuspending();
5680+
node =
5681+
thrownValue === SuspenseException
5682+
? getThenableStateAfterSuspending()
5683+
: null;
56785684
node = spawnNewSuspendedReplayTask(request, task, node);
56795685
request.pingedTasks.push(node);
56805686
task.formatContext = previousFormatContext;
@@ -5706,7 +5712,10 @@ function renderNode(request, task, node, childIndex) {
57065712
) {
57075713
if ("function" === typeof node.then) {
57085714
segment = node;
5709-
node = getThenableStateAfterSuspending();
5715+
node =
5716+
thrownValue$69 === SuspenseException
5717+
? getThenableStateAfterSuspending()
5718+
: null;
57105719
request = spawnNewSuspendedRenderTask(request, task, node).ping;
57115720
segment.then(request, request);
57125721
task.formatContext = previousFormatContext;
@@ -5746,7 +5755,10 @@ function renderNode(request, task, node, childIndex) {
57465755
return;
57475756
}
57485757
if ("Maximum call stack size exceeded" === node.message) {
5749-
segment = getThenableStateAfterSuspending();
5758+
segment =
5759+
thrownValue$69 === SuspenseException
5760+
? getThenableStateAfterSuspending()
5761+
: null;
57505762
segment = spawnNewSuspendedRenderTask(request, task, segment);
57515763
request.pingedTasks.push(segment);
57525764
task.formatContext = previousFormatContext;
@@ -6185,7 +6197,10 @@ function performWork(request$jscomp$1) {
61856197
) {
61866198
var ping = task.ping;
61876199
x.then(ping, ping);
6188-
task.thenableState = getThenableStateAfterSuspending();
6200+
task.thenableState =
6201+
thrownValue === SuspenseException
6202+
? getThenableStateAfterSuspending()
6203+
: null;
61896204
} else {
61906205
task.replay.pendingTasks--;
61916206
task.abortSet.delete(task);
@@ -6273,7 +6288,10 @@ function performWork(request$jscomp$1) {
62736288
if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
62746289
if ("function" === typeof x$jscomp$0.then) {
62756290
segment$jscomp$0.status = 0;
6276-
task.thenableState = getThenableStateAfterSuspending();
6291+
task.thenableState =
6292+
thrownValue === SuspenseException
6293+
? getThenableStateAfterSuspending()
6294+
: null;
62776295
var ping$jscomp$0 = task.ping;
62786296
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
62796297
break a;
@@ -7118,4 +7136,4 @@ exports.renderToString = function (children, options) {
71187136
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
71197137
);
71207138
};
7121-
exports.version = "19.2.0-experimental-19baee81-20250725";
7139+
exports.version = "19.2.0-experimental-eaee5308-20250728";

0 commit comments

Comments
 (0)