· JavaScript

next.js 16.5.0-rc.4 released, featuring turbopack document chunking updates

The next.js team has rolled out version 16.5.0-rc.4, bringing several important updates for developers working with the framework.


The `next.js` team has rolled out version 16.5.0-rc.4, bringing several important updates for developers working with the framework.

Among the core functional enhancements, Turbopack now defaults document chunking based on minified sizes, as detailed in issue #102558. Furthermore, the image optimizer component sees an update, moving to version 0.0.5 of `@next/safe-image-optimization` (#102616, #102622). Routing capabilities have been expanded with the backport of `route.go` and Switchyard direct routing (#102610). Lastly, a dependency adjustment was made, bumping `sharp` to version 0.35.6 (#102598, #102604).

For those looking at documentation, changes from the canary release have been backported to the docs in version 16.5 (#102653).

Other miscellaneous adjustments include the handling of npm's 409 'previously staged' error during publish-release retries (#102666). In the CI setup, the `cargo-binstall` version has been pinned in setup-rust (#102639, #102648), and a test change was implemented to maintain the custom-bots oversized pattern even when exceeding the adapter limit (#102574, #102592).

The contributors who assisted with these releases include @icyJoseph, @sokra, @jamiboym, @bgw, @styfle, and @lukesandberg.

Why it matters

This release provides developers with early access to performance improvements in Turbopack and updated routing capabilities. Reviewing these changes is important for those building production applications with Next.js.

Earlier coverage

Related coverage

Also worth reading

  1. UK ministers blame AI-assisted hackers for DWP benefits system meltdown
  2. Open Source sustainability challenged by AI's flood of work, developer burnout
  3. Amplify Gen 3, AWS, lets developers use any coding agent for simplified AWS deployment
  4. Anthropic reveals Claude models formulated theoretical papers on lattice cryptography, not a crypto-killer
  5. Node 26.14.0 released, adding child_process.timedOut, fs.mkstemp, and http batch body spans