· JavaScript

next.js 16.6.0-canary.4 released, adding Go syntax highlighting and Node.js 24 unit tests

Developers working with Next.js can now see a migration error when importing legacy Go proxy SDKs, as part of the release of next.js 16.6.0-canary.4.


Among the significant core updates, the introduction of basic Go syntax highlighting within next-code-frame is another notable addition, alongside changes that prevent the reporting of lazy import activations as modifications during development. Furthermore, the framework now supports executing unit tests against Node.js 24, and a specific fix addresses legacy Go proxy SDK imports under issue #102837.

Beyond these core enhancements, several miscellaneous adjustments have been implemented. The prewarmed Storm starter remains active for Rust source edits, as detailed in #102847. Within turbopack, futures are being shrunk by eliminating async-fn envelopes, addressed under #94215. The assumed defaults summary in create-next-app now correctly recognizes the `--no-linter` flag, a change tracked in #102844. Additionally, the addition of Storm test runner configuration, supported by a Dockerfile-backed VCR image, was made (#102677), while a duplicate "Next Steps" heading in the background jobs guide documentation was corrected (#102842).

Significant appreciation is extended to @timneutkens, @lukesandberg, @jimmyhmiller, @sokra, @icyJoseph, and @schrockn for their contributions to this release.

Why it matters

Developers using Next.js should review these canary changes, especially if they interact with Go SDKs or are targeting Node.js 24. These updates provide tooling improvements and error handling for specific language integrations.

Earlier coverage

Related coverage

Also worth reading

  1. TypeScript 7.1-rc released for developers to download on npm
  2. next.js 16.6.0-canary.2 released, adds file uploads, updates docs, and more
  3. next.js 16.6.0-canary.1 released with 405 for forbidden Route Handler methods
  4. Angular 21.2.27 released, fixes component template capture during compile
  5. next.js 16.6.0-canary.0 released, adds experimental new server for Switchyard