Releases: vercel/next.js
v16.0.2-canary.7
Core Changes
- Upgrade React from
561ee24d-20251101to67f7d47a-20251103: #85762 - Tracing: Fix memory leak in span map: #85529
- Fix documentation typo in refresh function: #85696
- fix: eslint-config-next types was exporting to dist/src: #85768
- Upgrade React from
67f7d47a-20251103tof646e8ff-20251104: #85772
Misc Changes
- Turbopack: cleanup StyleSheetLike: #85718
- Turbopack: disable tree shaking for tracing: #85722
- [test] Move all files to .ts (3/6): #85638
- [test] Move all files to .ts (2/6): #85637
- [test] Move all files to .ts (1/6): #85634
- docs: generateSitemap passes id as promise: #85767
- [test] Move all files to .ts (4/6): #85639
- docs: disclosure on path-to-regexp: #85629
- chore: update rspack binding to 1.6.0: #85717
- Turbopack: trace worker_threads worker entry: #85734
- Update Rspack development test manifest: #85761
- Turbopack: chore: Remove
extern crateandmacro_usesyntax: #85778
Credits
Huge thanks to @mischnic, @eps1lon, @icyJoseph, @timneutkens, @Nayeem-XTREME, @devjiwonchoi, @SyMind, @vercel-release-bot, and @bgw for helping!
v16.0.2-canary.6
Core Changes
- Update font data: #85708
- Don't invalidate hot reloader excessively during dev server boot: #85732
- [codemod] fix: next-lint-to-eslint-cli did not handle
'next'plugin: #85749
Misc Changes
- Update Rspack production test manifest: #85688
- Update Rspack development test manifest: #85689
- [test] Deflake root-optional-revalidate: #85584
- docs: fix generateImageMetadata example to use normal params object: #85658
- Turbopack: Upgrade image crate: #85084
- docs: update multi sitemap argumenmt type: #85701
- [test] Move all files to .ts (6/6): #85641
- Turbopack: add a batch add method to the storage: #84270
- docs: recommend reverse-proxy when self-hosting: #85650
- [test] Deflake prefetching.stale-times: #85733
- [test] Deflake custom cache handler test: #85610
- [test] Allow CLI integration test to be retryable: #85586
- docs: update docs to mention ESLint as default: #85740
- docs(next.config): this docs should remove ".mts" is not supported.: #85716
Credits
Huge thanks to @vercel-release-bot, @eps1lon, @marjan-ahmed, @timneutkens, @huozhi, @sokra, @icyJoseph, @unstubbable, @ajstrongdev, @devjiwonchoi, and @zigang93 for helping!
v16.0.2-canary.5
Core Changes
- [devtools] Remove title from preferences: #85698
Misc Changes
Credits
Huge thanks to @vercel-release-bot and @devjiwonchoi for helping!
v16.0.2-canary.4
Core Changes
- Upgrade React from
4f931700-20251029to561ee24d-20251101: #85670
v16.0.2-canary.3
Core Changes
- fully remove clientSegmentCache flag: #85541
- [turbopack] Support relative paths in turbopack source maps.: #85146
- Release unnecessary memory on hydration finish: #84967
- Preserve interception markers in parameter types: #85526
- move segment cache entries to top level segment-cache dir: #85542
Misc Changes
- [test]: fix broken scroll restoration test: #85599
- [test] Deflake nested
after()tests: #85566 - [test] Stop installing unused dependencies: #85569
- [test] Consider
test/integration/in flake detection tests: #85590 - Turbopack: more checks on verify_serialization: #84952
- Turbopack: add track_caller to improve panics: #85565
- Turbopack: add verify_determinism feature to check if tasks are deterministic: #85559
- docs: cache life rework: #85224
- Turbopack: fix hanging dev server and builds with fs cache: #85606
- Turbopack: Fix compound assignment expression evaluation (#85478): #85593
- Turbopack: fix Scope holding Arc too long: #85611
- [ci] Improve change detection logic in
run-for-changescript: #85619 - [test] Ignore in deploy tests if a child process isn't available: #85636
- Turbopack: add size_hint and len for Chunk iterator: #85622
- [test]: move resume-data-cache to e2e test: #85647
Credits
Huge thanks to @ztanner, @eps1lon, @lukesandberg, @sokra, @icyJoseph, @hayes, @unstubbable, @shuding, and @wyattjoh for helping!
v16.0.2-canary.2
Core Changes
- Upgrade React from
b4455a6e-20251027to4f931700-20251029: #85518 - [turbopack] Move generation of
cacheLifetypes out of the webpack plugin and into the dev bundler directly: #85539 - Ensure user-space stack frame for
'use cache'in page/layout component: #85519 - Update parallel routes in build-complete: #85546
Misc Changes
- [docs] Fix a typo: #85492
- [test] Regenerate tsconfig.json files: #85515
- [Turbopack] clean up
completion.rsa bit: #84863 - [test] Remove
maxRetriesandhardErrorparameters: #85536 - Turbopack: remove the .into() alias to .cell(): #85516
- [test] Consolidate identical snapshots across different bundlers: #85532
- [turbopack] Change where
cells are created inresolve_rawto make cell allocation order deterministic.: #85525 - Turbopack: Make tasks deterministic: #85524
- [test] Separate act and assertions: #85508
- [test]
assert*->waitFor*when the util is not instant: #85450 - Turbopack: move whole_app_module_graphs to top level: #84897
- [test] Bail on sending requests to Next.js instance if it's no longer available: #85557
- [test] Deflake tests comparing two random numbers: #85571
- [test] Disallow custom
RegExp-like implementations incheck: #85537 - [test] Deflake prerender suite: #85563
- Turbopack: chore: Remove some dead MagicAny serialization code from turbo_tasks::value: #85577
Credits
Huge thanks to @swarnava, @eps1lon, @lukesandberg, @sokra, @unstubbable, @bgw, and @ijjk for helping!
v16.0.2-canary.1
Core Changes
- fix: staleTimes.static should consistently enforce a 30s minimum: #85479
- [turbopack] fix build of empty entries of pages: #84873
- Cache the head separately from the route tree: #84724
- Allow inspecting dev server on default port with
next dev --inspect: #85037 - Avoid proxying React modules through workUnitStore: #85486
- fix: redirect should always return updated router state: #85533
Misc Changes
- Update E2E tests workflow: #85485
- Update E2E deploy tests manifest: #85483
- docs: example are incorrect async function exports only: #85453
- [test] Handle CLI assertions where no "Compiling..." log is present: #85499
- [test] Speed up refresh test: #85505
- [test] Add test cases for dynamic caches without suspense boundaries: #85500
- docs: Routes are wrapped w/ Activity in Cache Components: #85309
- docs: GET handler behavior under cache components: #85389
- [test] Avoid needless start/stop from using
createSandbox: #85507 - [test] Use
--debug-build-pathsinstead ofNEXT_PRIVATE_APP_PATHS: #85504 - docs: revalidateTag requires second argument: #85284
- Refactor GTM implementation to support google tag gateway: #81011
- Update Rspack production test manifest: #85494
- Update Rspack development test manifest: #85495
Credits
Huge thanks to @ztanner, @ijjk, @huozhi, @icyJoseph, @eps1lon, @acdlite, @unstubbable, @gnoff, @gusfune, and @vercel-release-bot for helping!
v16.0.2-canary.0
Core Changes
- fix: Rspack throw error when using ForceCompleteRuntimePlugin: #85221
- fix: build CLI output not displaying Proxy (Middleware) when nodejs runtime: #85403
Misc Changes
- chore: Add
opt-level = sfor not frequently used crates: #85426 - [test] Deflake cache-components-allow-otel-spans: #85466
- [test] Move remaining
experimental.cacheLife: #85467 - Turbopack: chore: Remove mopa dependency in turbo-tasks (2nd attempt): #85286
- Update Proxy docs: #85439
- [CNA] Do not prompt for Turbopack: #85404
- Clean up new release process: #85458
Credits
Huge thanks to @kdy1, @eps1lon, @SyMind, @bgw, @swarnava, and @devjiwonchoi for helping!
v16.0.1
Core Changes
- fix(static-paths): add depth tracking to parallel route param resolution: #85319
- Fix types of @next/mdx: #82238
- Ensure getServerInsertedHTML skips rendering correctly: #85394
- Fix duplicate .next/types
includeon Windows: #85400 - Exclude
next-jscondition from middleware, proxy, and instrumentation: #85321 - remove unstable_forceStale prefetch option & restore
prefetch={true}functionality: #85411 - Upgrade React from
2bcbf254-20251020to6160773f-20251023: #85277 - fix(next/image): swap dependencies: #85419
- Handle
Origin: nullheaders: #85402 - Generalize Segment Cache fallback implementation: #84652
- fix: ensure req.query is writable: #81573
- fix: Proxy not picked up on Windows: #85443
- [test] Ensure we can toggle the DevTools menu while status indicators are active: #85456
- Fix crash when suspending in Components using
useActionQueue: #85459
Misc Changes
- docs: create-next-app react-compiler and new prompts: #85213
- docs: cache components - introduction: #85196
- docs: use cache feedback: #85169
- docs: stabilize apis in docs: #85219
- docs: revalidateTag immediate expiration in Route Handlers: #85223
- Docs/use cache feedback 2: #85222
- docs: added
use cache: remotedocs: #85145 - docs: proxy runtime defaults to nodejs: #85204
- chore: cache components feedback: #85241
- docs: add a note that cache components is opt-in near the top: #85245
- Docs/v16 feedback: #85259
- Update command to install babel-plugin-react-compiler as a devDependency: #85235
- docs: typegen next-env.d.ts feedback: #85273
- docs: link to MCP guide from upgrade: #85308
- docs: regexp removed from middleware config: #85343
- docs: simplify MCP guide to focus on next-devtools-mcp: #85353
- docs: fix proxy matcher overflow: #85337
- docs: point out diff in serialization types for arguments and return values: #85338
- [test] Update snapshots: #85407
- docs: Fix typo in SEO section of loading.mdx: #85301
- Fix typo in Fast Refresh documentation: #85352
- Fix grammatical errors in updating data documentation: #85067
- [test] Skip devlow benchmarks on PRs: #85408
- [test] Unflake typed-env suite: #85410
- Update rust toolchain to 2025-10-27: #85409
- [test] Speed up prefetching suite: #85417
- docs: remove inaccuracies from use cache: private: #85425
- [test] Exclude Next.js internal stack frames from cache-component-error CLI output assertions: #85421
- [test] Exclude likely Next.js internal Components from component stacks in Redbox assertions: #85420
- Turbopack: correctly trace files with npm: #85323
Credits
Huge thanks to @icyJoseph, @wyattjoh, @devjiwonchoi, @arnabsen, @remcohaszing, @denesbeck, @gaojude, @mhart, @eps1lon, @jesuistuan, @codr, @InfiniteCodeMonkeys, @gnoff, @ztanner, @wbinnssmith, @styfle, @acdlite, @ale-grosselle, and @mischnic for helping!
v16.0.1-canary.6
Core Changes
- fix(next/image): swap dependencies: #85419
- Handle
Origin: nullheaders: #85402 - Generalize Segment Cache fallback implementation: #84652
- fix: ensure req.query is writable: #81573
- fix: Proxy not picked up on Windows: #85443
- [test] Ensure we can toggle the DevTools menu while status indicators are active: #85456
- Fix crash when suspending in Components using
useActionQueue: #85459
Misc Changes
- docs: remove inaccuracies from use cache: private: #85425
- [test] Exclude Next.js internal stack frames from cache-component-error CLI output assertions: #85421
- [test] Exclude likely Next.js internal Components from component stacks in Redbox assertions: #85420
- Turbopack: correctly trace files with npm: #85323
Credits
Huge thanks to @styfle, @ztanner, @eps1lon, @acdlite, @ale-grosselle, @devjiwonchoi, and @mischnic for helping!