Next.js 16.5 brings faster builds and Go routes
Plus GitHub blocks pull_request_target by default, and Aurora previews database branching.
Next.js 16.5 makes builds faster and adds Go routes. If a public repo of yours runs pull_request_target workflows, check GitHub's Policy insights first: they're now blocked by default.
The main thing

If your CI spends its mornings compiling Next.js, today's release should give you back some of that time. Next.js 16.5 is out with faster Turbopack builds, caching that survives a redeploy and a little bit of Go.
Go gets the headlines. You can now put a route.go file next to your TypeScript routes, through experimental native Route Handler support. Vercel calls this the first phase of rewriting the next start server in Go. It's only the first phase, so nobody has to learn goroutines before lunch.
Build speed is the change you'll feel. These are Vercel's benchmarks on its own dashboard, run on a 30-core, 60 GB machine:
- Cold compilation: about 4.2× faster than 16.4.6, with 38% less memory
- On-disk cache: 14% smaller
- Cold full production builds: about half the time
- Five other Vercel apps: peak memory down 6% to 27%, disk cache down by up to 23%
Caching changed too. Functions marked 'use cache: remote' used to lose their entries on every deploy, because the build ID was part of the cache key.
Turbopack now builds the key from the function, the code it depends on and the environment values it reads. If none of those change, the next deployment reuses the entries.
If Turbopack can't work out the dependencies, for example with process.env[variable], it falls back to a per-deployment key as before.
Also in the release:
next build --analyzewrites a bundle report to.next/diagnostics/analyzeduring a normal build- The Turbopack garbage collector from 16.4 is now on by default
prefetch="navigation"lets a single<Link>prefetch content thatnavigation()would otherwise hold back until clicknext upgrade --cisets up a GitHub Actions workflow in which a coding agent opens upgrade PRs- An experimental image optimizer that uses sandboxing and memory-safe decoders for untrusted images
What to do today: run npm install next@latest on a branch and time a cold build. If you use 'use cache: remote', search for dynamic process.env reads, because those functions won't reuse cache entries across deployments.
Quick bits
GitHub now blocks pull_request_target workflows by default in affected public repos on Free, Team and Enterprise Cloud, starting December 2. Check Policy insights for blocked runs. Switch to pull_request where you can. Allow the event with a scoped policy only if the workflow never runs untrusted PR code with secrets.
Aurora PostgreSQL database branching is in preview. Each developer, agent or PR gets an isolated copy-on-write branch of production on serverless compute that scales to zero. It needs PostgreSQL 17 or later and runs only in Ohio, Frankfurt and Mumbai.
Gemini 4 Live and Gemini 4 Live Translate are rolling out in AI Studio and the Gemini Live API. Google says time to first audio is over 3× faster than Gemini 3.8 Live. Early testers in the discussion were less impressed.
Node.js security releases arrive on or shortly after December 9 for 26.x, 24.x and 22.x. The highest severity is HIGH. There's nothing to install yet. End-of-Life versions are always affected, so plan to move off them.
Moab brought its median CI time under a minute on a codebase of millions of lines, where its old pytest and xdist setup timed out after 3 hours. The fixes: shard tests by past run time, fork a frozen app, keep git and Docker on persistent disks, and skip jobs the change doesn't affect. It still runs every unit test.
OpenAI models, including Astra, are staying in Build (formerly Cursor) under a new agreement between OpenAI and SpaceX. TechCrunch reports this reverses a planned cutoff. Turns out the breakup was just a "we need to talk."
Svelte 5.60 allows bind:this in custom renderers. It also brings a long list of fixes and tree-shakes async-only code out of apps that don't use experimental.async.
Vue 3.5.47 keeps svg, math and foreignObject as blocks in stable v-for. It also resets pre and v-pre state when parsing starts.
Also happening
- NSA advises an immediate move to post-quantum cryptography: eight large tech companies back the advice in a joint statement (discussion)
- Varlock joins Cloudflare: the
.env.schematoolkit stays MIT-licensed and vendor-neutral - GitHub's AI usage API adds per-model token counts: six raw token fields, with data from December 1, 2026
- GitHub's billing usage report API will return only the past 24 months: export older data before January 1, 2027
- Claude Code 2.1.335:
claude mcp add --webadds a remote MCP server as a claude.ai connector, on paid plans - Vercel MCP can now run AI Gateway models: four new tools, including text and image generation
- e2e 0.23: runs agent test steps through your Claude Code or Codex login over ACP; read the breaking changes before you upgrade
- ChatGPT dots come to Plus worldwide, and to more plans in the EEA, UK and Switzerland
- A read-only AWS agent found three root causes in seconds: then the author found that their own code had given it two of the answers
- The bitter lesson ate your AI factory: an essay arguing that each new model makes agent workflows obsolete (discussion)
- Aurora PostgreSQL data groups (preview): each tenant gets its own KMS key and can be restored or moved on its own, inside a shared cluster
- Aurora PostgreSQL to S3 Tables (preview): continuous replication into Apache Iceberg tables
- SES Global Shared Delivery: mail can go out from warmed shared IPs in other Regions; existing accounts must turn it on
- AWS Ops Agent code change risk analysis is GA: no extra charge through February 2, 2027
- AWS AI Factories add Claude and OpenAI models: inference runs in your own data center through Bedrock; availability varies by geography
- Uber redesigns its ads marketplace: supply, orchestration and demand are separate layers, with a production fleet for each channel
Patch roundup
- Pion DTLS:
github.com/pion/dtls/v3@3.1.14orgithub.com/pion/dtls/v4@4.0.0-rc.6; no v2 fix has been published, so move off v2 - websocket-driver:
websocket-driver@0.8.2 - Laravel:
laravel/framework:13.38.0orlaravel/framework:12.74.0 - node-tar:
tar@8.0.0
Other advisories on the list: OpenTelemetry Collector decoders that allow too much zstd memory use, a bypass of Convex Auth OTP rate limiting, three malicious PyPI packages named in the Hades supply-chain advisories, and argument injection in the CredSweeper GitHub Action.
Spend the build minutes Next.js just saved you on that patch list.