LTRAC-1731: build(core) - Upgrade Next.js to 16.3.4 - #3202
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 53c02fc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Bundle Size ReportComparing against baseline from
Per-Route First Load JS
|
Next.js 16.3.3 patches two critical advisories: unauthenticated remote code execution on Windows-hosted servers (GHSA-p293-qw3h-jr36), and unauthenticated remote code execution in the Image Optimization API when AVIF files are used (GHSA-2xp9-vwfh-vxw4). 16.3.4 re-enables AVIF image optimization after that fix. Also picked up are backported fixes for optimistic-routing bugs that caused repeated prefetch loops, and cache-entry reuse that discards only entries predating a tag revalidation rather than all of them. Kept separate from the @opennextjs/cloudflare upgrade so the security fix can ship on its own. The currently pinned adapter (1.17.3) accepts this version -- its peer range ends in ^16.1.5 -- so this lands independently. It is also a prerequisite for moving the adapter past 1.20.2, which requires Next 16.3.3. Refs LTRAC-1731 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
jorgemoya
force-pushed
the
jorgemoya/ltrac-1731-next-16-3-4-security
branch
from
September 2, 2026 00:05
0a4e926 to
53c02fc
Compare
jorgemoya
marked this pull request as ready for review
September 2, 2026 00:12
Contributor
Unlighthouse Performance Comparison — VercelComparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores. Summary ScoreAggregate score across all categories as reported by Unlighthouse.
Category Scores
Core Web Vitals
|
jordanarldt
approved these changes
Sep 2, 2026
chanceaclark
approved these changes
Sep 2, 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.
Linear: LTRAC-1731
What/Why?
Bumps
nextfrom~16.2.11to~16.3.4. 16.3.3 patches two critical advisories:16.3.4 re-enables AVIF image optimization after that fix.
This is deliberately split from the
@opennextjs/cloudflareupgrade (LTRAC-1732) so the security fix can ship on its own. The two are strictly ordered: the currently pinned adapter 1.17.3 accepts Next 16.3.4 because its peer range ends in^16.1.5, so this PR stands alone — but 1.20.5 requires Next >= 16.3.3, so the adapter bump cannot merge first. LTRAC-1732 is stacked on this branch.Also picked up: backported fixes for optimistic-routing bugs causing repeated prefetch loops, and cache-entry reuse that discards only entries predating a tag revalidation rather than all of them.
Testing
coretsc --noEmit— cleancorevitest run— 65/65 passingpnpm installreports no unmetnextpeer against@opennextjs/cloudflare@1.17.3, confirming this lands independentlyNot covered: a full
next build/ OpenNext bundle, which needs store credentials. Worth running before merge.Note for anyone verifying on a cold checkout:
coretypecheckneedspnpm generatefirst (forbigcommerce.graphql/bigcommerce-graphql.d.ts) and a built@bigcommerce/catalyst-client, otherwise it fails with unrelatednever/implicit-anyerrors.Migration
None. Single dependency bump, no API or config changes.
Refs LTRAC-1731