next 15.6.0-canary.2 → 15.6.0-canary.3
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/dist/bin/next +1 -1
- package/dist/build/index.js +9 -5
- package/dist/build/index.js.map +1 -1
- package/dist/build/swc/index.js +1 -1
- package/dist/build/templates/app-page.js +5 -1
- package/dist/build/templates/app-page.js.map +1 -1
- package/dist/build/webpack/loaders/devtool/devtool-style-inject.js +31 -26
- package/dist/build/webpack/loaders/devtool/devtool-style-inject.js.map +1 -1
- package/dist/build/webpack-config.js +2 -2
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-devtools/index.js +1 -1
- package/dist/compiled/next-devtools/index.js.map +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-api-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js +1 -1
- package/dist/compiled/next-server/pages-turbo.runtime.prod.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +5 -5
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +9 -5
- package/dist/esm/build/index.js.map +1 -1
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/templates/app-page.js +5 -1
- package/dist/esm/build/templates/app-page.js.map +1 -1
- package/dist/esm/build/webpack/loaders/devtool/devtool-style-inject.js +31 -26
- package/dist/esm/build/webpack/loaders/devtool/devtool-style-inject.js.map +1 -1
- package/dist/esm/build/webpack-config.js +2 -2
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/router-utils/setup-dev-bundler.js +1 -1
- package/dist/esm/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/esm/server/node-environment-extensions/unhandled-rejection.js +50 -1
- package/dist/esm/server/node-environment-extensions/unhandled-rejection.js.map +1 -1
- package/dist/esm/shared/lib/canary-only.js +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/router-utils/setup-dev-bundler.js +1 -1
- package/dist/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/server/node-environment-extensions/unhandled-rejection.js +50 -1
- package/dist/server/node-environment-extensions/unhandled-rejection.js.map +1 -1
- package/dist/shared/lib/canary-only.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +15 -15
package/dist/esm/build/index.js
CHANGED
@@ -303,7 +303,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
303
303
|
const nextBuildSpan = trace('next-build', undefined, {
|
304
304
|
buildMode: experimentalBuildMode,
|
305
305
|
isTurboBuild: String(isTurbopack),
|
306
|
-
version: "15.6.0-canary.
|
306
|
+
version: "15.6.0-canary.3"
|
307
307
|
});
|
308
308
|
NextBuildContext.nextBuildSpan = nextBuildSpan;
|
309
309
|
NextBuildContext.dir = dir;
|
@@ -746,7 +746,11 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
746
746
|
dynamicRSCPrerender: // Only enable RDC for Navigations if the feature is enabled.
|
747
747
|
// Once we've made RDC for Navigations the default for PPR, we
|
748
748
|
// can remove the check for `config.experimental.rdcForNavigations`.
|
749
|
-
isAppPPREnabled && config.experimental.rdcForNavigations === true
|
749
|
+
isAppPPREnabled && config.experimental.rdcForNavigations === true && // Temporarily we require that clientParamParsing is enabled for
|
750
|
+
// RDC for Navigations. This is due to a builder configuration
|
751
|
+
// bug that manifests as invalid query params being passed to
|
752
|
+
// the resume lambdas.
|
753
|
+
config.experimental.clientParamParsing === true
|
750
754
|
},
|
751
755
|
rewriteHeaders: {
|
752
756
|
pathHeader: NEXT_REWRITTEN_PATH_HEADER,
|
@@ -778,7 +782,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
778
782
|
// Files outside of the distDir can be "type": "module"
|
779
783
|
await writeFileUtf8(path.join(distDir, 'package.json'), '{"type": "commonjs"}');
|
780
784
|
// These are written to distDir, so they need to come after creating and cleaning distDr.
|
781
|
-
await recordFrameworkVersion("15.6.0-canary.
|
785
|
+
await recordFrameworkVersion("15.6.0-canary.3");
|
782
786
|
await updateBuildDiagnostics({
|
783
787
|
buildStage: 'start'
|
784
788
|
});
|
@@ -1170,7 +1174,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
1170
1174
|
});
|
1171
1175
|
if (pageType === 'app' && originalAppPath) {
|
1172
1176
|
appNormalizedPaths.set(originalAppPath, page);
|
1173
|
-
//
|
1177
|
+
// TODO-APP: handle prerendering with edge
|
1174
1178
|
if (isEdgeRuntime(pageRuntime)) {
|
1175
1179
|
isStatic = false;
|
1176
1180
|
isSSG = false;
|
@@ -2437,7 +2441,7 @@ export default async function build(dir, reactProductionProfiling = false, debug
|
|
2437
2441
|
distDir,
|
2438
2442
|
config,
|
2439
2443
|
staticPages,
|
2440
|
-
nextVersion: "15.6.0-canary.
|
2444
|
+
nextVersion: "15.6.0-canary.3",
|
2441
2445
|
tracingRoot: outputFileTracingRoot,
|
2442
2446
|
hasNodeMiddleware,
|
2443
2447
|
hasInstrumentationHook,
|