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

"Next.js 16.5 adds Go routes; Vue 3.5.47 fixes SSR"

"Also: bind:this in Svelte custom renderers, Biome's noArrayReduce, node-tar OOMs"

Next.js now lets part of your backend be Go. The rest of today is framework maintenance and three advisories worth a lockfile check.

The main thing

A golden hexagonal block slides into a hexagonal socket at the end of a server chassis whose other sockets are all square, drawn as an isometric blueprint.

Next.js 16.5 ships experimental Go route handlers. The release brings faster Turbopack builds, cross-deployment caching and Go Route Handlers. A route handler can now be a route.go file instead of a JavaScript one, and it's marked experimental.

The interesting part is the companion post, Native Languages in Next.js. It pairs route.go with the first phase of rewriting the next start server in Go. Guillermo Rauch says the Go routes are there "to ease the transition into a more performant and predictable world."

Read together, the plan is that the server you run in production moves off JavaScript piece by piece, and Go is the first language allowed into your app tree. Your React components and your existing handlers stay where they are.

The release notes have the smaller changes. Experimental custom webpack support is back after a reland. Turbopack drops its webp feature flag and always builds with webp. React moves to a newer build.

Two entries add metadata to agent upgrade telemetry and enable network access for Codex upgrades, so Vercel expects a coding agent to run some of your upgrades.

What's missing is a number. The announcement says Turbopack builds are faster and Rauch says the compiler is "much faster," but the summary we have gives no figures. Your own CI times will tell you more than the blog post.

Upgrade to 16.5 on a branch and compare build times. Try cross-deployment caching if you deploy often. Keep route.go out of production until it loses the experimental label.

Quick bits

A golden cube joint clicks into a white scaffold of rods, with an arrow showing a bent rod being pulled back into line.

Vue 3.5.47 is a long list of SSR and hydration fixes. Hydration now continues from the node after a static vnode mismatch. SSR gains v-model on custom elements, keeps SVG attribute casing, renders bigint attribute values and treats webkitdirectory as a boolean. compiler-sfc follows re-exports to the real declaration when resolving types. Reactivity tracks reactive arrays once in traverse.

If you server-render custom elements or inline SVG, take this one.

Svelte 5.60 allows bind:this in custom renderers. That's the only minor change. The patches also target custom renderers: less access to browser globals in code they can reach, function-valued spread attributes preserved, and checked, selected, value, defaultChecked and defaultValue passed through as-is. Unused async features now tree-shake. Custom renderer maintainers should upgrade. Everyone else gets a FLIP animation fix.

Biome 2.6.10 adds a lint rule against reduce(). The nursery rule noArrayReduce flags reduce() and reduceRight() in favor of loops, map() and filter(). It allows callbacks that return a single arithmetic, comparison or bitwise operation, so (total, item) => total + item passes. That exception is the right line: sums read fine, accumulator objects built in a reduce don't.

A second nursery rule, noAmd, reports AMD define() and require() calls so you can swap them for imports. Both are opt-in.

GitHub Actions now blocks pull_request_target in affected public repos. Starting December 2, 2026, those workflows don't run by default unless an applicable Actions event policy explicitly allows them. Check the changelog for which repositories count as affected. If you maintain an open source package, check whether a bot workflow went quiet yesterday.

Varlock is joining Cloudflare. Cloudflare says the two will bring schema validation and security guardrails to environment variables, and build open standards for secrets across local development, production and AI workflows. No details yet on what changes for current Varlock users.

Patch brief

A golden dial gauge is clamped over a white wooden crate on a roller conveyor, stopping it before a hydraulic press.

node-tar has two more memory advisories. In CVE-2026-140230, the maxDepth guard checks entry.path but not entry.linkpath, so a 181-byte gzip archive with a deep symlink target kills any Node.js process that extracts it. The V8 out-of-memory crash can't be caught by try/catch, .catch() or uncaughtException.

In CVE-2026-140231, the 7.5.19 ratio limit caps total decompression work but not how much is buffered at once, and zero-size entries queue without bound. The advisory text we have lists no patched versions, so check both advisories before you bump.

websocket-driver can be pushed out of memory (CVE-2026-140000, rated high). With default options, an unauthenticated client sends small fragment frames inside larger TCP chunks, and the server holds large Buffer objects far longer than it needs to until it crashes. It can arrive as a transitive dependency, so run npm ls websocket-driver. The advisory text we have stops before the patched version.

Convex Auth lets attackers brute-force OTP codes (CVE-2026-141544, rated high). Apps using an Email or Phone OTP provider allowed unlimited guesses at the verification code, and codes shorter than 8 digits fall within reach before they expire. Upgrade @convex-dev/auth to 0.0.95. If you can't, make generateVerificationToken return at least an 8 digit code.

Try Next.js 16.5 on a branch this week, and leave route.go out of production until it stops being experimental.

← All Morning Merge JavaScript issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →