Vercel released Next.js 16.5 on December 2. The headline feature is experimental API routes written in Go (a route.go file), but for most projects the faster Turbopack builds and a cache that survives deployments will matter more day to day.
What is new in Next.js 16.5
The Next.js team covers the release in its blog announcement, and the full changelog is on the v16.5.0 release page. Upgrading is a plain npm install next@latest.
Faster Turbopack builds
The team benchmarked compiling the Vercel dashboard on a machine with 30 cores and 60 GB of memory. A cold compile (no cache) went from 183 s in 16.4.6 to 44 s, roughly 4.2 times faster. With a warm cache, compiling went from 12.0 s to 4.4 s. A full production build without cache dropped from 325 s to 159 s. Peak memory fell from 24.1 GB to 15.0 GB, and the on-disk cache shrank by 14%. The reasoning behind the work is interesting: one developer now often runs several agents, each starting its own Next.js server on a fresh checkout, so cold starts happen far more often than they used to.
Turbopack's garbage collector, which sat behind the turbopackGc flag in 16.4, is now on by default. The cache grows with the size of your app rather than with the number of edits during a long next dev session.
A cache that survives a deployment
Functions marked with the 'use cache: remote' directive used to lose their cache on every deploy, because the cache key included the build ID. In 16.5 Turbopack builds the key from the function's own code, its imports and the environment variables it reads. If you change some other page and the getProduct function from the announcement stays the same, the new deployment reuses the old entries instead of hitting the database again. When Turbopack cannot work out the dependencies (for example with process.env[variable]), it falls back to the old per-deployment key.
Route handlers in Go
With experimental.goRoutes enabled, you can put a route.go file next to your route.ts files, written against Go's standard net/http package. next dev needs Go 1.24 or newer, and next build compiles all Go routes into a single executable, so the production server does not need Go installed. A separate post on native languages gives one measurement: 200 requests used 23.412 s of CPU time in total with route.ts and 4.546 s with route.go, 81% less. That is one measurement on one workload, so do not read it as every Go route being five times cheaper. The limits are real: Turbopack only, no ISR, no generateStaticParams and no output: 'export', while React and Server Actions still run on Node.js. The team also plans to rewrite the next start server in Go (you can try it with the --experimental-new-server flag) and later to add more languages such as Rust.
Other changes
next build --analyzewrites a bundle size report during a normal build, without a second compilation.<Link prefetch="navigation">prefetches all the content of the target page, including parts deferred withnavigation().next upgrade --ciadds a GitHub Actions workflow where an agent (Codex or Claude Code) checks for new releases every day and opens a pull request with the upgrade.- The experimental
requestInsightsoption shows in DevTools how long compiling, data fetching and rendering took for a slow request. - The experimental
imgOptSafeModeoptimizes images in an isolated process with memory-safe decoders.
What this means if you are learning to code
If you are just starting with Next.js, you do not have to change anything. The App Router, server components and route.ts work exactly as before, and you get the faster Turbopack simply by upgrading. Learn API routes in TypeScript first, since they are the foundation, while route.go is still an experiment with plenty of limits. You can cover the basics in our Next.js course and the Next.js collection article, and the TypeScript docs explain the types used in the examples.
The idea from the caching section is worth understanding, though: a cache key has to depend on everything that affects the function's result. That lesson applies well beyond Next.js: miss one dependency and users see stale data for reasons that are hard to track down. In my view Go route handlers are not a reason to pick up a second language right now. But if you already know TypeScript basics and want to see what an HTTP server looks like in another language, the example in the announcement is a few lines long and you can get it running in an hour.
Also today
- Visual Studio Code 1.149. The December 2 release brings experimental syntax highlighting in WebAssembly (the
editor.textMateWebAssemblysetting, two to three times faster according to the team), GPU rendering for the editor and a built-in PDF preview. Release notes - Node.js announces security releases for December 9. The fixes cover the 26.x, 24.x and 22.x lines, and the most serious issue in each one is rated HIGH. Details and CVE numbers have not been published yet. Node.js announcement
- ty 1.0 from Astral. The Rust-based type checker for Python reached 1.0 on December 1, and its authors now call it ready for production. At OpenAI, switching to ty brought a median 24x speedup. Install it with
uv tool install ty@latest. Astral announcement - AI SDK 7.1. Vercel's library for building apps on AI models gained
experimental_createSteering()for correcting a running agent mid-task, the@ai-sdk/code-modepackage and adapters for Cursor, Cline and GitHub Copilot. The post went up on December 3. Vercel blog - TinyGo 0.45.0. The Go compiler for microcontrollers and WebAssembly now requires Go 1.26 or newer, has a richer
reflectpackage and initial support for the ESP32-P4 chip. Release on GitHub
Frequently asked questions
Do I need to know Go to use Next.js 16.5?
No. Go route handlers are experimental and off by default, so nothing changes for you until you turn them on in the config. Apps without route.go files do not need Go, either locally or on the server.
How do I upgrade a project to Next.js 16.5?
Run npm install next@latest. The team also suggests letting an agent do it with npx next@canary upgrade --agent=latest, but on a small project upgrading by hand and reading through the changes is good practice.
Will the faster Turbopack speed up my small project too?
The numbers come from Vercel's large dashboard app. Across five other apps of theirs, peak memory dropped by 6 to 27%, but the announcement gives no results for small projects. The simplest check is your own: time next build before and after the upgrade.
Sources
- Next.js 16.5, Vercel, 2026-12-02
- Native Languages in Next.js, Vercel, 2026-12-02
- Next.js v16.5.0, GitHub, 2026-12-02
- Visual Studio Code 1.149, Microsoft, 2026-12-02
- December 9, 2026 Security Releases, Node.js, 2026-12-02
- ty 1.0, Astral, 2026-12-01
- AI SDK 7.1, Vercel, 2026-12-03
- TinyGo 0.45.0, TinyGo, 2026-12-01
This article was prepared with the help of AI from primary sources and reviewed by the CodeWorlds editorial team.