chore: bump next.js from 16.2.7 to 16.3.0 - #17633
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖
Largest pathsThese visualization shows top 20 largest paths in the bundle.Meta file: packages/next/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_index.json, Out file: esbuild/index.js
Meta file: packages/payload/meta_shared.json, Out file: esbuild/exports/shared.js
Meta file: packages/richtext-lexical/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_client.json, Out file: esbuild/exports/client_optimized/index.js
Meta file: packages/ui/meta_shared.json, Out file: esbuild/exports/shared_optimized/index.js
DetailsNext to the size is how much the size has increased or decreased compared with the base branch of this PR.
|
AlessioGr
previously approved these changes
Aug 4, 2026
nathanlentz
disabled the stack merge
August 4, 2026 20:27
nathanlentz
disabled the stack merge
August 4, 2026 20:29
nathanlentz
force-pushed
the
chore/next-16-3-bump
branch
from
August 4, 2026 20:29
41e7926 to
226565b
Compare
denolfe
previously approved these changes
Aug 4, 2026
Bumps the Next.js version used in the monorepo, along with the pinned @next/env and @next/eslint-plugin-next packages. Next.js 16.3 changes the default of experimental.useTypeScriptCli to true, which makes Next look for a `typescript/bin/tsc` binary instead of the compiler API. This repo aliases `typescript` to @typescript/typescript6, which only ships a `tsc6` bin, so Next reported TypeScript as missing and tried to install it at the workspace root. Both next.config.mjs files now set the flag to false so Next keeps using the compiler API. Templates stay on 16.2.7 and are bumped separately.
Nesting @Keyframes inside a style rule is invalid CSS - only conditional group rules can nest. Next.js 16.3 ships a stricter CSS parser that rejects the rule and drops the read-only editor styles. Hoist the keyframes to the top level of the layer and scope its name, since hoisting makes the name global.
The canary line renamed the HMR path at 16.2.1-canary.2, a month before 16.3.0-canary.0 existed, while the 16.2 patches were cut from a branch without the rename. So 16.2.1-canary.26 serves /_next/hmr and 16.2.7 serves /_next/webpack-hmr. The 16.3 boundary holds for stable releases only.
nathanlentz
force-pushed
the
chore/next-16-3-bump
branch
from
August 4, 2026 21:10
226565b to
68eb761
Compare
AlessioGr
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the Next.js version used in the monorepo from
16.2.7to16.3.0, along with the pinned@next/envand@next/eslint-plugin-nextpackages.Stacked on #17632 — review that one first.
TypeScript detection
Next.js 16.3 changes the default of
experimental.useTypeScriptClitotrue. In CLI mode Next looks for atypescript/bin/tscbinary instead of the compiler API attypescript/lib/typescript.js:This repo aliases
typescriptto@typescript/typescript6, which only ships atsc6bin.getTypeScriptPackageInforeadspackageJson.bin.tsc, getsundefined, and Next reports the package as missing — then tries to runpnpm add --save-dev typescriptat the workspace root, which fails:Both
next.config.mjsandtest/next.config.mjsnow setuseTypeScriptCli: falseso Next keeps using the compiler API, which the alias does provide.Scope
Templates stay on
16.2.7and are bumped separately, to keep this diff reviewable.Testing
@next/envresolves at16.3.0from bothpackages/payloadandtest;@next/eslint-plugin-nextresolves at16.3.0frompackages/next.