vercel/next.js
 Watch   
 Star   
 Fork   
1 days ago
next.js

v16.5.0-canary.62

Core Changes

  • switchyard: name gone workers by token, and test the worker events and route table: #102168
  • switchyard: no guessed Content-Type after 103 Early Hints: #102034
  • switchyard: run Go code on at most 4 threads: #101901
  • Link Node crypto prerender errors to the crypto error page: #102252
  • Fix fast setImmediate running before microtasks queued by nextTick: #102237
  • Turbopack: diff server HMR pulls against a Rust-owned loaded-module set: #102016
  • Fix webpack runtime CSS ordering before first app router commit: #102027
  • Document Next.js DevTools and improve badge controls: #102015
  • Restrict proxy.go to App Router applications: #102011

Misc Changes

  • Turbopack: resolve globalThis.process and global.process in the analyzer: #102240
  • docs: clarify placeholder params for empty data sources: #102149
  • docs: distinguish prefetch = 'partial' from the partialPrefetching flag: #102234
  • fix(next-napi-bindings): enable LSE atomics on Linux arm64: #102243
  • turbopack-core: return chunk group kinds instead of cloned chunk groups from ChunkGroupInfo lookups: #102162
  • docs: document Tailwind Turbopack loader setup in CSS guide: #102235
  • docs: remove non-existent renderType from onRequestError example: #74448
  • docs: clarify use server export rules: #102232
  • Fix nondeterministic usages of turbo-tasks read_dir(): #102229
  • chore: Add ast-grep rule to require read_dir determinism comments: #102227
  • docs: Add DETERMINISM comments to all turbo-tasks-fs read_dir calls : #102226
  • test: avoid idle-callback starvation in css-client-nav: #102132
  • test: wait for use-cache recovery reload: #102224
  • docs(agents): add rust-turbopack skill for Rust tests and benchmarks: #102179
  • [ci] Fix staging Proxy routing for deploy tests: #102225
  • docs(agents): add rebase-pr skill for rebasing and restacking PRs: #102178
  • docs(agents): add CI reading guide to pr-status-triage: #102176
  • turbo-tasks: fix reversed TaskInput::is_resolved documentation: #102184
  • turbopack: use boxed slices for long-lived list task inputs: #102134
  • docs(agents): add run-tests skill for test bootstrap and flakes: #102177
  • docs: fix mismatched filenames, languages and invalid JS in code examples: #100201

Credits

Huge thanks to @jamiboym, @aurorascharff, @mischnic, @icyJoseph, @ali-vercel, @lubieowoce, @lukesandberg, @wbinnssmith, @sokra, @hyungjikim, @unstubbable, @timneutkens, and @deveshasawa28 for helping!

2 days ago
next.js

v16.5.0-canary.61

Core Changes

  • [image-optimizer] Add experimental support for @next/safe-image-optimization: #101254

Misc Changes

  • turbo-tasks-backend: report the caller location for missing-task panics: #102169
  • Turbopack: recover from an unreadable persistent cache at startup: #101954
  • Stop publishing Go endpoint output after its handler is removed: #102166

Credits

Huge thanks to @lukesandberg and @bgw for helping!

3 days ago
next.js

v16.5.0-canary.60

Core Changes

  • switchyard: tell Switchyard the app's route.go paths and workers: #102101

Misc Changes

  • Turbopack: resolve app directory entries in a filesystem-independent order: #102186
  • docs: update Route Handler AI SDK streaming examples: #102192

Credits

Huge thanks to @sokra, @aurorascharff, and @jamiboym for helping!

4 days ago
next.js

v16.5.0-canary.59

Core Changes

  • switchyard: restore 'in front of' in three test comments: #102082
  • Write Turbopack dist dir metadata from Rust: #101638

Example Changes

  • examples: remove examples built on abandoned libraries: #102092
  • examples: Update storage integrations and remove Grafbase and Xata examples: #100454

Misc Changes

  • Turbopack: take next/dynamic loader availability from chunking for the loadable manifest: #101172
  • Turbopack: keep ?server-data on Pages data endpoint _app/_document modules: #102099
  • Turbopack: report unreadable filesystem cache files clearly: #101980
  • docs: remove generic agent workflow guidance: #102071
  • test: wait for destination render in dynamic-param casing navigation test: #102145
  • turbo-tasks: re-check job counters while stopping: #102142
  • Turbopack: shrink slow tests under Miri: #102135
  • Fix NODE_ENV evaluation through default process imports: #102130

Credits

Huge thanks to @jamiboym, @lukesandberg, @kassens, @sokra, @icyJoseph, and @mischnic for helping!

4 days ago
next.js

v16.5.0-canary.58

Core Changes

  • Replace jest-worker with custom worker pool: #100297
  • Skip "use cache" timeout errors where they cannot be thrown, format owner stacks lazily: #102032

Misc Changes

  • review: treat long-standing React behavior as contract, not internals: #102096

Credits

Huge thanks to @sokra, @lukesandberg, and @acdlite for helping!

5 days ago
next.js

v16.5.0-canary.57

Core Changes

  • Share trace-style truncation and gzip the Request Insights journal: #102018
  • Preserve agent feedback instructions during temporary telemetry opt-out: #102062
  • Rename the experimental next start front server to Switchyard: #102035

Example Changes

  • examples: inclusion criteria: #93300

Misc Changes

  • docs: clarify Turbopack task inputs and module identity: #102090
  • fix pr-auto-label config members: #102067
  • test: skip service-worker-multiple in deploy mode: #102057
  • Add @samselikoff to team members in OWNERS file: #102023
  • Document instant navigation inspection with browser cookies: #102069
  • docs: explain errors thrown inside use cache: #102064

Credits

Huge thanks to @wbinnssmith, @mischnic, @icyJoseph, @aurorascharff, @samselikoff, @kassens, and @jamiboym for helping!

5 days ago
next.js

v16.5.0-canary.56

Core Changes

  • Support bot and method-based prerender bypass capabilities: #101911
  • Compute Turbopack route bundle stats in Rust: #101540
  • Avoid full-segment writes without Cache Components: #101832
  • Add an experimental Go front server for next start: #101695

Misc Changes

  • Wait for hydration in external-browser-runtime hydration tests: #102060
  • test: skip instant-testing-api-exposure build-rejection test in deploy mode: #102056
  • turbo-tasks-backend benches: skip keyed_deps setup for benchmarks excluded by the filter: #101933
  • turbopack: replace EcmascriptInputTransforms::extend with new/concat turbo tasks: #102010
  • turbopack-trace-server: support xz compressed trace files: #101956
  • turbo-tasks-malloc: bump mimalloc to v3.7.0: #102029
  • turbo-tasks-backend: deterministic re-execution oracle in recompute_dependency test: #102048
  • test: print running test output when CI cancels run-tests: #101724

Credits

Huge thanks to @unstubbable, @sokra, @zhengdaodeguL, @jamiboym, @mischnic, and @lukesandberg for helping!

6 days ago
next.js

v16.5.0-canary.55

Core Changes

  • fix(ts-plugin): accept quoted prefetch segment config values: #101895
  • Fix Navigation Inspector dark mode contrast: #102008
  • Turbopack: add max_chunk_size to production chunking: #100478
  • refactor: Move minimalMode checks earlier in conditionals: #102004
  • Upgrade React from df6aa4ec-20261112 to a8342585-20261117: #101942
  • Refactor durableUseCacheEntries configuration: #101930
  • Remove unused didStripLocale request meta: #101999
  • Widen Turbopack maxDuration to u64: #101116
  • turbo-bincode: remove indexmap/indexset helpers and use OrderedAutoMap/OrderedAutoSet in cells: #101520

Misc Changes

  • [test] Stop using async Client Components: #101948
  • Change REVIEW.md instructions to never at-mention owners: #102001
  • chore: add ast-grep untracked() rule: #101994
  • Add INVALIDATION comments to untracked() calls: #101993
  • chore: switch to ident_string() where possible: #101996
  • docs: clarify Route Handler caching config with Cache Components: #101990
  • Turbopack: detect top-level this as CommonJS exports: #101727
  • feat(turbopack): Add EmitOption trait for extensible chunking context configuration: #101001
  • pr-status: look up PR runs by head SHA and load job logs on gh 2.97+: #101707
  • Clarify images.path docs and ungate two routing gate tests: #101582
  • pr-status: flag finished runs that didn't pass but have no failed jobs: #101714
  • Add e2e coverage for next start's HTTP and process behavior: #101710
  • docs: note tsconfig include changes with a custom distDir: #101963

Credits

Huge thanks to @DominikKoniarz, @samselikoff, @sokra, @lubieowoce, @eps1lon, @mischnic, @aurorascharff, @jamiboym, and @lukesandberg for helping!

7 days ago
next.js

v16.5.0-canary.54

Core Changes

  • Reject the experimental testing API opt-in without Cache Components: #101952
  • Preserve CSP nonces on static fallback bootstrap scripts: #101953
  • Turbopack: separate file tracing from NFT manifest emission, add dev flag: #101941
  • Clarify the agent handoff for worktree upgrades: #101939
  • refactor: Derive whether PPR is enabled from cacheComponents config in base-server: #101936
  • refactor: Derive whether PPR is enabled from cacheComponents config: #101929
  • perf(build): resolve adapter app page entries via a lookup map: #101880
  • turbo-tasks-backend: stop checking keyed dependencies once a dependent is stale: #101736
  • Run the dev Cache Components validation in an OTel trace of its own: #100690
  • turbo-tasks-backend: delay collectible propagation until tasks are clean: #101748
  • Write short client reference manifest chunk lists as array literals: #101846
  • Fix canary lint: remove as any casts in load-manifest.test.ts (@next/internal/no-as-any): #101910
  • Evaluate JS manifests with compileFunction instead of a new context: #101787

Misc Changes

  • turbopack-tracing: sync new vercel/nft unit tests: #101973
  • [test] Cover HTTP methods on prerendered App Pages: #101945
  • docs: clarify instant layout opt-out scope: #101944
  • docs: clarify Vitest Link navigation testing limits: #101943
  • docs: document instant testing in the Playwright guide: #101924
  • Wait for hydration in back-before-hydration third-party write test: #101940
  • review: add [team-members] section to review/OWNERS: #101883
  • fix(routing): prefer exact pathnames after rewrites: #101934
  • chore: don't build tracing-napi by default: #101923
  • Bump to swc 84.1.1: #101860
  • Turbopack: keep mangled compact re-exports in import order: #101920
  • docs: clarify Vitest Node.js compatibility: #101908
  • docs: fix import/export mismatches in API reference snippets: #101921
  • docs: fix BlogNavLink imports in active link examples: #101919
  • Turbopack: list ESM namespace keys in code unit order for the general export registration: #101749
  • docs: clarify native history URL hook update timing: #101907
  • turbopack: narrow chunk group reads on warm rebuilds: #101782
  • turbo-tasks-fs: skip compare-before-write in directories created by the filesystem: #101813
  • Turbopack: opt-in atomic file writes, used for client reference manifests: #101786
  • Turbopack: keep metric-adjusted fallback face for next/font/google when fallback is set: #100305

Credits

Huge thanks to @mischnic, @unstubbable, @aurorascharff, @sokra, @lubieowoce, @jimmyhmiller, @icyJoseph, @0badran, @lukesandberg, and @sleitor for helping!

8 days ago
next.js

v16.5.0-canary.53

Core Changes

  • Lint against new as any casts and require a reason to disable it: #101255
  • [no-unsafe-inline] Stop inlining the Turbopack chunk group bootstrap: #97574
  • Omit required-server-files from the Node.js proxy adapter output: #101865
  • Fix duplicate useServerInsertedHTML output in prerendered HTML with cacheComponents: #101147
  • Add experimental native Go proxy support: #101464
  • Point to environment variables in conflicting bundler error: #101826
  • Tolerate dangling symlinks when detecting root convention files: #101827

Misc Changes

  • Fix lint and types CI on uncached @turbopack/nft native builds: #101896
  • turbo-persistence: eagerly open SST files in the background: #101768
  • Fix Rust build regression in bootstrap metadata embedding: #101888
  • test: deflake native-route-go cold Go build tests: #101879
  • turbo-tasks-backend: remove redundant backend field from ExecuteContext: #101849
  • Escalate React internals coupling to the React maintainers: #101878
  • Coalesce Turbopack server component HMR updates reliably: #101877
  • Turbopack: don't read files excluded from output file traces: #101829
  • turbo-tasks: support Vec in keyed cells: #101806
  • docs: align agent PR description guidance with PR template: #101866
  • turbo-tasks-backend: remove keyed dependency edges per task in batches: #101734
  • docs: link cache APIs to distributed tag coordination: #101843
  • docs: clarify view transitions during history navigation: #101863
  • [test] Stabilize cached navigations consistency checks: #101861
  • Turbopack: respect adjustFontFallback: false for next/font/google: #101397
  • Turbopack: skip dangling symlinks when tracing dynamic paths: #101828

Credits

Huge thanks to @lukesandberg, @wbinnssmith, @sokra, @jamiboym, @eps1lon, @acdlite, @mischnic, @lubieowoce, @timneutkens, @aurorascharff, and @unstubbable for helping!