· JavaScript
next.js 16.6.0-canary.2 released, adds file uploads, updates docs, and more
The ability to handle file uploads and serving has been expanded within the backend-for-frontend guide, as detailed in ticket 100362.
The ability to handle file uploads and serving has been expanded within the backend-for-frontend guide, as detailed in ticket #100362.
This release, next.js 16.6.0-canary.2, brings several significant updates for developers working with the framework. Among the core changes, developers can now see that the tool skips source map URLs when dealing with server-side React fake functions, addressed in #101522. Furthermore, the documentation is shifting its delivery method, moving from an MDX website format to shipping bundled docs as Markdown, per #102509.
Other noteworthy core adjustments include the modification of Proxy's Vary override for the "Let Go route," referenced in #102603, and a fix for serializing route watcher scans, documented under #102735.
Moving to miscellaneous enhancements, the documentation now provides an explanation regarding case-insensitive source matching, as seen in #102779. There are also technical improvements such as ensuring Node.js assets are excluded from the Go proxy adapter output (#102806) and utilizing emitted source map URLs within the dev validation worker (#102762).
In the realm of Turbopack, improvements include passing source maps between webpack loader rules (#101159) and rewriting CSS URLs matched by a `type: 'asset'` rule (#102635). Additionally, Turbopack now handles rewriting `url()` references located inside CSS `image-set()` functions (#102636).
Several documentation clarifications have been added; for instance, #102741 notes that `useOffline` considers requests blocked by the browser as being offline. Another documentation point, #102754, clarifies that cross-deploy reuse applies to every instance of the `use cache` function, while #102726 describes cache keys and persistence across deployments in version 16.5. Developers are also advised in #102390 to employ plain anchors when dealing with downloads and Route Handlers.
Other miscellaneous updates cover running Go route and proxy tests on Vercel deployments (#102602), adding full support for webpack loaders to `getOptions` (#100541), and removing the generator lookup from Next.js agent rules (#102780). The `turbo-tasks-fs` utility now incorporates retries for `EMFILE`/`ENFILE` errors (#101799), and `turbo-tasks-backend` inflates large dependency sets prior to invalidation lookups (#102306). Finally, the `next-core` package can now read `tsconfig` compiler options through a single typed projection (#100981), and testing procedures have been updated to poll failed deploy build logs until the build failure is reported (#102718). An experimental feature surfaces forwarded browser warnings during development (#102785).
Significant contributions to this release were provided by @aurorascharff, @timneutkens, @lukesandberg, @sokra, @deveshasawa28, @jimmyhmiller, and @icyJoseph.
Why it matters
Developers working with Next.js should review these canary updates to see how they impact tooling and development workflows. Changes to Turbopack and documentation structure will affect build performance and how developers consume guides.