· JavaScript
next.js 16.5.0-canary.62 released with switchyard updates, Turbopack fixes
The ability to run Go code on a maximum of four threads has been implemented in the latest release of next.js 16.5.0-canary.62, alongside several other significant updates to the core functionality.
Among the major core changes, the "switchyard" feature now operates by using tokens to identify workers, and testing for worker events and the route table has been addressed under issue #102168. Furthermore, the system will no longer make assumptions about the `Content-Type` after receiving a 103 Early Hints, as noted in #102034. Another notable refinement is linking Node crypto prerender errors directly to the designated crypto error page, which corresponds to #102252.
For developers working with the build tooling, Turbopack has seen enhancements, including a fix for webpack runtime CSS ordering that occurs before the initial app router commit (#102027) and a change where it now diffs server HMR pulls against a Rust-owned loaded-module set (#102016). In addition to these, the proxy.go functionality has been restricted specifically to applications utilizing the App Router (#102011).
Other technical fixes include correcting an issue where `fast setImmediate` would execute before microtasks queued by `nextTick` (#102237), and a fix for nondeterministic uses of `turbo-tasks`' `read_dir()` function (#102229).
The release also features various documentation and tooling improvements. Next.js DevTools documentation has been enhanced, and badge controls have received improvements (#102015). In the documentation section, clarifications have been provided regarding placeholder parameters for empty data sources (#102149) and distinguishing between the `prefetch = 'partial'` setting and the partialPrefetching flag (#102234).
For the Turbopack tooling itself, updates include resolving `globalThis.process` and `global.process` within the analyzer (#102240), and `turbopack-core` now returns chunk group kinds instead of relying on cloned chunk groups from `ChunkGroupInfo` lookups (#102162). Turbopack has also started using boxed slices for inputs to long-lived list tasks (#102134).
The documentation for agents has grown considerably with the addition of several new skills: a rust-turbopack skill for benchmarks and Rust tests (#102179), a rebase-pr skill for managing PR rebasing and restacking (#102178), a CI reading guide for pr-status-triage (#102176), and a run-tests skill for test bootstrapping and flakes (#102177).
Several other smaller fixes and documentation updates round out this release. There is a fix enabling LSE atomics on Linux arm64 within `next-napi-bindings` (#102243), and documentation has been added to clarify `use server` export rules (#102232) and to document the Tailwind Turbopack loader setup in the CSS guide (#102235). Additionally, the documentation has been updated to remove a non-existent `renderType` from the `onRequestError` example (#74448).
In terms of testing and task management, there are fixes to avoid idle-callback starvation in `css-client-nav` (#102132) and to wait for `use-cache` recovery reload (#102224). Regarding `turbo-tasks`, the documentation for `TaskInput::is_resolved` has been corrected (#102184).
Finally, there are several housekeeping items, including a chore to add an `ast-grep` rule demanding determinism comments for `read_dir` calls (#102227), adding DETERMINISM comments to all `turbo-tasks-fs` `read_dir` invocations (#102226), and fixing mismatched filenames, languages, and invalid JavaScript within code examples (#100201). A staging Proxy routing fix for deploy tests was also implemented in CI (#102225).
Many individuals contributed to this version, including @jamiboym, @aurorascharff, @mischnic, @icyJoseph, @ali-vercel, @lubieowoce, @lukesandberg, @wbinnssmith, @sokra, @hyungjikim, @unstubbable, @timneutkens, and @deveshasawa28.
Why it matters
Developers working with Next.js should examine these canary updates for changes affecting build performance and runtime behavior. These updates often introduce foundational improvements to the tooling that directly impact development workflows.