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

"Next.js 16.5 adds Go routes; the post-quantum push"

"Also: GitHub blocks pull_request_target, Aurora branching, Varlock"

Next.js 16.5 adds experimental Go routes, and eight big tech companies want everyone on post-quantum encryption now. Start by checking your SSH warnings.

The main thing

An orange wheeled robot courier fits a new, differently shaped gear into a long row of identical gears on a machine frame, while a spare gear sits on the floor.

Next.js 16.5 adds experimental Go routes and much faster builds. The strange feature first: experimental native Route Handlers, starting with Go, so you can write a route.go file alongside your TypeScript routes. A companion post says it ships with the first phase of rewriting the next start server in Go. That's a first phase, not a Go Next.js, but it tells you where the runtime is heading.

Guillermo Rauch says the point is "to ease the transition into a more performant and predictable world."

The part you'll feel this week is Turbopack. On Vercel's own dashboard, built on a 30-core, 60 GB machine, the Next.js team says cold compilation is ~4.2× faster than in 16.4.6 and uses 38% less memory, and cold production builds take half as long.

The stated reason is agents: one developer may now run dozens of Next.js servers on one laptop, and agents usually start from a fresh checkout, so cold starts are what matter.

Cross-deployment caching fixes something that was quietly expensive. Functions marked 'use cache: remote' used to carry the deployment ID in their cache key, so any redeploy, even for an unrelated page, sent every cached function back to the database. In 16.5, Turbopack builds the key from the function, the code it imports and the environment values it reads, so unchanged functions keep their entries.

The catch: when Turbopack can't see everything a function depends on, it falls back to the old per-deployment key. Dynamic access like process.env[variable] or parseConfig(process.env) triggers that, so if your hit rate doesn't move after upgrading, look there first.

Smaller wins: npx next build --analyze writes a bundle report to .next/diagnostics/analyze during the normal production build, so you stop compiling twice, and the Turbopack garbage collector from 16.4 is now on by default.

There's also next upgrade --ci, which sets up a GitHub Actions workflow where a coding agent opens an upgrade pull request whenever a release ships. Or just run npm install next@latest.

The post-quantum push

An orange robot courier swaps an old key for a new key with a lattice-shaped bit beside a large key ring and a row of sealed crates.

Eight companies back the call to move to post-quantum cryptography now. Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle say they strongly support U.S. government guidance to adopt the NIST Post-Quantum Cryptography standards and "accelerate the migration as soon as possible." The guidance is an NSA advisory calling for an immediate transition.

The weird part is the tone. Cloudflare CEO Matthew Prince, quoted by Simon Willison: "Yes, we were briefed on something. Yes, it's a big deal. No, we can't give you all the details yet." He adds that post-quantum might be "more appropriately called post-AI."

Nobody has said what the briefing contained, and we won't guess. Hacker News commenters ranged from alarm to calling it corporate vagueposting.

OpenSSH explains where it already stands. This is the concrete part. OpenSSH has used post-quantum key agreement by default since 9.0 in April 2022, via sntrup761x25519-sha512, and 10.0 made mlkem768x25519-sha256 the default.

Since 10.1 it warns when a connection falls back to a classical key exchange, because recorded sessions can be decrypted later ("store now, decrypt later"). If you've been dismissing that warning, the server on the other end is your first fix: it needs an SSH implementation that supports one of those two algorithms.

Quick bits

An orange robot courier at a barrier gate holds up a hand to stop one wheeled parcel on a side road while parcels roll along the main road behind it.

GitHub Actions now blocks pull_request_target by default in affected public repositories. Enforcement started Wednesday, December 2, 2026, on the date GitHub announced on November 2. These workflows run in the base repository's context with its secrets, so running untrusted fork code in them can expose those secrets.

If a fork-triggered workflow went quiet yesterday, check Policy insights for blocked runs. Switch to pull_request where you can. If you truly need pull_request_target, add an event policy scoped to that workflow file, after confirming it never runs untrusted PR code with secrets or a privileged token. Private and internal repositories aren't affected.

Aurora PostgreSQL previews database branching. Each developer, agent or pull request can get its own copy-on-write branch of the production database, on serverless compute that scales to zero, to run migrations against real data. Branching itself is free; you pay serverless rates for compute and changed data.

Branches inherit the parent's encryption, IAM, roles and dynamic data masking, and are deleted when their time-to-live expires. Preview only: Aurora PostgreSQL 17 and higher, in Ohio, Frankfurt and Mumbai.

Varlock is joining Cloudflare. Varlock replaces .env.example with a committed .env.schema that declares types and rules in comments like # @required and # @sensitive, and loads secrets from vaults instead of plaintext .env files.

The announcement says it stays MIT-licensed and vendor-neutral, and the work planned for a hosted Varlock moves into Cloudflare Secrets Store. The schema idea is worth copying even if you never touch Cloudflare.

If an ssh session has been warning you about post-quantum key exchange, fix that server before you read anything else about quantum computers.

← All Morning Merge issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →