Repository navigation
Releases
Releases Β· vercel/next.js
v16.6.0-canary.5
Core Changes
- Show the MCP endpoint in next dev startup output: #102923
- MCP: report config warnings without a connected browser: #102895
- Enable turbopackSeedCacheFromWorktree by default on canary: #102870
- Update font data: #102876
Misc Changes
- create-next-app: render templates in Geist instead of Arial: #102900
- next-code-frame: treat // as plain text in CSS: #102878
- docs: mark remaining TS/JS sample pairs as switcher pairs in bundled docs: #102891
- Turbopack: order idle worker threads by invested time and share pool stats accounting: #102674
- next-code-frame: per-language token rules, CSS highlighting: #102861
- turbopack: link object lazily in handle_membership to shrink analysis future: #102872
Credits
Huge thanks to @aurorascharff, @sokra, and @lukesandberg for helping!
v16.6.0-canary.4
Core Changes
- Show a migration error for legacy Go proxy SDK imports: #102837
- next-code-frame: basic Go syntax highlighting: #102859
- Don't report lazy import activations as changes in dev: #102369
- Run unit tests on Node.js 24: #100560
Misc Changes
- Keep the prewarmed Storm starter for Rust source edits: #102847
- [turbopack] Shrink ValueToStringify futures by dropping async-fn envelopes: #94215
- create-next-app: recognize --no-linter in the assumed defaults summary: #102844
- Add Storm test runner configuration and Dockerfile-backed VCR image: #102677
- docs: fix duplicate Next Steps heading in the background jobs guide: #102842
Credits
Huge thanks to @timneutkens, @lukesandberg, @jimmyhmiller, @sokra, @icyJoseph, and @schrockn for helping!
v16.6.0-canary.3
Core Changes
- Fix Go module verification for the bundled Next.js SDK: #102830
Misc Changes
- Split slowest e2e and dev tests across shards: #102832
- test: cover SSR-logged Server Component errors with fake frames: #102470
- Turbopack: tree-shake dependencies of unused local export-list exports: #102776
- Turbopack: tree-shake imports re-exported through local export lists: #102777
- docs: fix stale create-next-app flags and use cache timeout details: #102745
- docs: fill reference gaps for 16.5 changes: #102744
- docs: document adapter getCapabilities and Go proxy output: #102743
- docs: fix broken React issue link in the hydration error page: #102794
- docs: correct Turbopack loader API, magic comment, and ignoreIssue details: #102793
- turbo-tasks: fix clone_resolve_functor_impl signature after CachedTaskType change: #102818
- turbo-tasks: skip async argument resolution for Vc-free inputs: #102810
- turbo-tasks: store CachedTaskType and its argument in one allocation: #101366
- turbo-tasks: compare TraitMethod by trait type and index instead of address: #102812
Credits
Huge thanks to @timneutkens, @sokra, @mischnic, @icyJoseph, and @lukesandberg for helping!
v16.6.0-canary.2
Core Changes
- dev: skip source map URLs for server-side React fake functions: #101522
- docs: add file uploads and file serving to backend-for-frontend guide: #100362
- Ship the bundled docs as Markdown, not the website's MDX: #102509
- Let Go route Vary override Proxy's Vary: #102603
- fix(dev): serialize route watcher scans: #102735
Misc Changes
- docs: explain case-insensitive source matching: #102779
- Keep Node.js assets out of Go proxy adapter output: #102806
- Use emitted source map URLs in the dev validation worker: #102762
- Run Go route and proxy tests on Vercel deployments: #102602
- Turbopack: pass source maps between webpack loader rules: #101159
- docs: note that useOffline treats browser-blocked requests as offline: #102741
- Experiment: surface forwarded browser warnings in development: #102785
- Add getOptions full support for webpack loaders: #100541
- Remove the generator lookup from Next.js agent rules: #102780
- turbo-tasks-fs: retry on EMFILE/ENFILE (too many open files): #101799
- Turbopack: rewrite CSS url() matched by a
type: 'asset'rule: #102635 - turbo-tasks-backend: inflate large dependency sets before invalidation lookups: #102306
- next-core: read tsconfig compiler options through one typed projection: #100981
- test: poll failed deploy build logs until the build failure is reported: #102718
- Turbopack: rewrite url() references inside CSS image-set(): #102636
- docs: clarify that cross-deploy reuse applies to every use cache function: #102754
- docs: describe use cache keys and persistence across deploys in 16.5: #102726
- docs: recommend plain anchors for Route Handlers and downloads: #102390
Credits
Huge thanks to @aurorascharff, @timneutkens, @lukesandberg, @sokra, @deveshasawa28, @jimmyhmiller, and @icyJoseph for helping!
v16.6.0-canary.1
Core Changes
- Return 405 for Fetch-forbidden Route Handler methods: #102709
Misc Changes
- docs: parallel routes named slots require default.js (v16): #102570
- Turbopack: read package.json main and alias fields through typed projections: #100980
- Turbopack: track named bindings and evaluation across fragments: #100897
- Show source frames for Go route compiler errors: #102720
- Invalidate Turbopack loader output when directory entries change: #101972
- Process Turbopack rule-selected JS and TS modules like .js and .ts files: #102024
- Fix Turbopack recovery after creating a missing Sass partial: #101971
Credits
Huge thanks to @icyJoseph, @lukesandberg, @jimmyhmiller, and @timneutkens for helping!
v16.6.0-canary.0
Core Changes
- Add
next start --experimental-new-serverfor Switchyard: #102695 - fix(dev): replace generated interception rewrites on route rescans: #102498
- fix: hash canonical invariant: #96737
Misc Changes
- ci: disable Turborepo verbose mode: #102641
- docs: clarify that Image preload and fetchPriority can be combined: #102705
- Docs: Fix links to missing Pages Router sections: #102703
- Bump to swc 85.1.1: #102642
Credits
Huge thanks to @mischnic, @jamiboym, @icyJoseph, @aurorascharff, and @lukesandberg for helping!
v16.5.0
Core Changes
- Add more metadata to agent upgrade telemetry: #99925
- perf: reduce build tree view allocations: #99930
- fix: classify collapsed generated paths from child routes: #99864
- Upgrade React from
d75b0697-20261006tob618bbb4-20261007: #99879 - Reland experimental custom webpack support: #99234
- Don't parse error message lines as stack frames in the server error inspector: #99888
- Turbopack: Remove webp feature flag, always build with webp enabled: #99964
- Gate upgrade reminder rules with agentUpgrade: #99990
- Enable network access for Codex upgrades: #100074
- Make it possible to disable
turbopackGc: #100067 - fix: use EntryKeySide in EntryKey side field: #100053
- fix: use removePathPrefix instead of regex: #100063
- Fix root params detection on Windows: #100065
- Durable use cache: exclude context for path and code hashes: #99898
- Ensure
workStore.pageis unnormalized for generateStaticParams: #99881 - fix(codemod): find bundled docs via workspace packages in agents-md: #100017
- fix(codemod): make agents-md docs root relative to the output file: #100016
- docs: link ensureStatic TypeScript hints to its API reference: #100033
- fix: scope managed agent-feedback wording so it limits feedback, not verification: #100020
- Keep dev code frames sized to the terminal after a resize: #99916
- docs: make agent feedback command work in npm workspaces: #100135
- test: install local Next.js sibling packages in CNA tests: #100062
- Don't blame the Pages Router for next/headers imported through a Client Component: #100087
- Resolve relative imports in
next.config.tsfrom the config directory: #99743 - Upgrade React from
b618bbb4-20261007to07dde64d-20261013: #100194 - Remove staticInfo.rsc: #100172
- fix(analyze): use route summaries as the analyzer route index: #100081
- Reload on missed Turbopack startup CSS updates: #99963
- Remove unused getParams matcher cache: #100078
- fix: mark HTTP fetch failures as span errors: #99877
- docs: explain router.prefetch stages: #99786
- Upgrade from pnpm v10 to v12: #99827
- Fix extensionless Google font URLs in both bundlers: #100158
- Emit the Turbopack shared-runtime bootstrap in the PPR resume so it gets the CSP nonce: #100102
- Keep requests through middleware in a single OpenTelemetry trace: #100136
- Write webpack dev manifests atomically: #100112
- Upgrade React from
07dde64d-20261013to99c106c4-20261014: #100215 - Hoist app page request URL into render context: #99269
- Hide overlay editor button labels on smaller screens: #100266
- Prefer non-partial entries regardless of FetchStrategy: #99705
- [Partial Prefetching] Don't report vary params in responses that include dynamic data: #99700
- [Partial Prefetching] Small optimizations and fixes: #99695
- [Cached Navs] Extract the shell from a fully cached response: #99619
- Refactor the navigation fetch and decode layering: #99618
- [Cached Navs] Don't extract static stage: #99617
- Make error overlay editor actions easier to discover: #100206
- Refactor fetchStrategy -> stage and completeness: #99706
- Remove dead NextNodeServer.renderHTML: #100284
- Pass Server Action request metadata into App rendering: #100274
- Revert "Keep requests through middleware in a single OpenTelemetry trace": #100302
- Respect release age when pinning the upgrade CLI: #100256
- Revert "Turbopack: loader change invalidation (#95732)": #100414
- Add : #99871
- remove Static render stage: #100388
- Don't load the app-page runtime in proxy.ts: #100384
- Format all READMEs with Prettier: #100310
- Fix Pages Router HMR crash when the ISR manifest arrives before the router: #100095
- Use os.availableParallelism() instead of os.cpus().length: #100258
- Show compiling status alongside DevTools issues: #100178
- Pass staged fallback params into App rendering: #100408
- Capture initial HMR version in dev render context: #100407
- Upgrade React from
ba39b32a-20261019toa6792708-20261019: #100459 - Pass request headers explicitly into App request stores: #100333
- Remove request from App page prerender entry point: #100331
- Use render lifecycle callback for fetch metrics cleanup: #100323
- Upgrade React from
99c106c4-20261014toba39b32a-20261019: #100403 - Pass interception capability into App rendering: #100409
- Defer app router HMR refresh until the router is initialized: #100113
- Upgrade React from
a6792708-20261019toab0d927f-20261020: #100527 - Preserve deferred middleware instrumentation spans when the adapter throws: #100552
- Fix cache revalidation queued during streaming: #100448
- Remove unnecessary
as anycasts: #100418 - Update font data: #100490
- Turbopack: preserve chunk load promise identity: #100421
- Emit instrumentation lifecycle spans in the request that registered it: #100350
- docs: note that instrumentation-time spans don't join request traces: #100324
- Keep middleware and render in one OpenTelemetry trace as siblings: #100294
- Start the request span before route module preparation: #100349
- Fix prerender manifest update race in dev: #100521
- Report process memory footprint (RSS) in TurboMalloc and trace samples: #99527
- Preserve cached values for the final runtime prerender: #100447
- Calling server actions in GSP fails
__next_require__ is not a function: #99912 - fix: persist cacheControl for Pages Router ISR entries in FileSystemCβ¦: #100495
- Remove unnecessary
as anycasts: #100418 - Update font data: #100490
- Turbopack: preserve chunk load promise identity: #100421
- Emit instrumentation lifecycle spans in the request that registered it: #100350
- docs: note that instrumentation-time spans don't join request traces: #100324
- Keep middleware and render in one OpenTelemetry trace as siblings: #100294
- Start the request span before route module preparation: #100349
- Fix prerender manifest update race in dev: #100521
- Report process memory footprint (RSS) in TurboMalloc and trace samples: #99527
- Preserve cached values for the final runtime prerender: #100447
- Calling server actions in GSP fails
__next_require__ is not a function: #99912 - fix: persist cacheControl for Pages Router ISR entries in FileSystemCβ¦: #100495
- Cap bot user-agent matching at 1KB: #100604
- Pass lazy response lifecycle capabilities into App rendering: #100395
- Upgrade testmode interceptors to 0.45.9: #100585
- Defer React loading until fetch dedupe construction: #100401
- Avoid loading standalone React by separating render validation: #100467
- [lts-active] Fix extensionless Google font URLs in both bundlers (#100277)
- [lts-active] Don't load the app-page runtime in proxy.ts (#100423)
- [lts-active] Revert "Turbopack: loader change invalidation (#95732)" (#100438)
- [lts-active][cd] Gate release bot credentials behind GitHub environments (#100123)
- [lts-active] test: Pin react-virtualized (#100545)
- [lts-active][cd] Move release un-draft to a follow-up job in bot-autonomous (#100572)
- [lts-active] Keep OpenTelemetry request traces together (#100349, #100294, #100324, #100350, #100552, #100583) (#100542)
- [lts-active] Avoid loading standalone React in server bootstrap (#100610)
- Turbopack: bump trace format header to TRACEv1: #99781
- Pass staged fallback params directly to adapter renders: #100456
- Fix navigation from global-not-found to app routes: #100592
- End the cache-signal read when
encryptActionBoundArgshits the RDC: #100622 - Ignore flaky turbo-tasks-fs watcher tests in CI: #100627
- Build the inline Flight script from React's strings instead of re-encoding them: #100142
- Fix dist dir lockfile on filesystems with no or limited lockfile implementations (e.g. NFS): #100684
- Fix draft mode rendering with Cache Components: #100728
- Render complete HTML documents after MPA Server Actions: #100740
- Turbopack: add minServerChunkSize and maxMergeServerChunkSize options: #100712
- test: read isNextDev/isNextDeploy/isNextStart from e2e-utils: #100419
- perf(build): avoid O(pagesΒ²) original app path scan in static check: #100615
- [PPF] Fix hanging HTML response after a
'use cache'error: #100673 - export: only send each static generation batch its own resume data cache seeds: #100048
- Create cache directory before persisting Chrome DevTools workspace UUID: #100802
- Upgrade React from
ab0d927f-20261020todc9aed36-20261027: #100791 - [testmode] Fix compressed HTTP responses with test proxy: #100805
- chore(deps): bump sharp@0.35.5: #99714
- Turbopack: Auto-detect pnpm GVS and configure an additional root for it: #99758
- Persist storage cache in Docker environments: #100790
- Persist fully static PPR payloads in filesystem cache: #100759
- Stamp FileSystemCache revalidations and entries with the monotonic clock: #100357
- Ignore expected upgrade nudges in Agent Feedback: #100840
- Add model metadata to Agent Feedback: #100806
- Use fast-jwt instead of jsonwebtoken: #100818
- Update font data: #100813
- Turbopack: wait for trace file changes after format errors: #99847
- Add a CLI for reviewing agent feedback: #100739
- perf(build): lazily require page-data helpers in build/utils: #100822
- Fix hangs and crashes for 204 responses from route handlers and deduped fetches: #100159
- fix(adapter): preserve revalidation for metadata prerenders: #100861
- next-custom-transforms: Optimize server-reference transform output: #100637
- Show dev overlay errors before the indicator state is known: #100629
- Update font data: #100863
- Stop patching error inspection if source maps are disabled: #93364
- Handle cancellation errors during response clone cleanup: #100961
- Revert "Revert "Fix App Router locale path matching with Pages i18n"": #98726
- Fix prerendering of caught
'use cache'errors: #100956 - Upgrade React from
a703ca64-20261030toe84e1492-20261031: #100999 - Upgrade React from...
v16.5.0-rc.6
v16.5.0-rc.5
Core Changes
- [16.5] Backport Request Insights diagnostics and performance eval: #102675
- [16.5] Backport diagnostics, bundled docs, image imports and DevTools fixes: #102668
- [16.5] docs: prefetch="navigation" follow-ups for ensureStatic and dynamicOnHover (#102652): #102673
- [16.5] Fail next build early when NODE_ENV=development: #102671
Credits
Huge thanks to @wbinnssmith, @aurorascharff, @icyJoseph, and @lukesandberg for helping!
v16.5.0-rc.4
Core Changes
- [16.5] turbopack: document chunking defaults as minified sizes: #102558
- [16.5] [image-optimizer] Update @next/safe-image-optimization to 0.0.5 (#102616): #102622
- [16.5] Backport route.go and Switchyard direct routing: #102610
- [16.5] chore(deps): bump sharp@0.35.6 (#102598): #102604
Example Changes
- [16.5] docs: backport docs changes from canary: #102653
Misc Changes
- [16.5] Handle npm's 409 'previously staged' error in publish-release retries: #102666
- [backport] ci: pin cargo-binstall version in setup-rust (#102639): #102648
- [16.5] test: keep custom-bots oversized pattern beyond adapter limit (#102574): #102592
Credits
Huge thanks to @icyJoseph, @sokra, @jamiboym, @bgw, @styfle, and @lukesandberg for helping!