Subscribe free
Morning Merge · Thursday, December 3, 20265 min read

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

An orange flywheel remains fixed to its axle while a crane lowers a fresh engine housing around it, in an isometric engineering-blueprint scene.

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:

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:

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

Patch roundup

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.

← All issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →