Repository navigation
v0.65.1
A security patch: upgrade. pnpm audit --prod on v0.65.0 lists one critical, nine high, ten
moderate and two low findings, all in dependencies (CW-2026-012), and v0.65.1 lists none. The audit
counts one finding per advisory and vulnerable version range, so an advisory that hits both
undici 6.x and 7.x counts twice; below, each advisory is named once. The
critical one, a middleware bypass in @sentry/nextjs's tunnel route, needs a webpack build, and
the engine builds with Turbopack. None of the others is known to be reachable from a request in a
shipped shop. Also in this release: Node 26, the new LTS, is supported, and an order cancelled
before it was paid gives its discount-code use back. No schema change: no pnpm db:push is needed.
🔒 Security
-
Dependency advisories closed (CW-2026-012).
@sentry/nextjsmoves to ^10.76.2, and the
overridesinpnpm-workspace.yamlraise the floors of packages below our direct dependencies.
Every version was public for at least three days.@sentry/nextjsbelow 10.75.2 (GHSA-mchm-gjx6-7h55, critical): withtunnelRouteset, the SDK
skipped middleware for every path under the tunnel path, not only the requests it forwards to
Sentry. The engine setstunnelRoute: "/monitoring", andapp/[locale]matches any first path
segment, but the advisory only affects webpack builds, andpnpm builduses Turbopack. A shop
that builds withnext build --webpackis affected for routes whose only authorization check
is inproxy.ts(Next 16's name for middleware).undici6.x below 6.29.1 and 7.x below 7.30.1 (under@vercel/blob,jsdomand the AI SDK):
four high advisories (TLS certificate validation bypass GHSA-2m5v-pch6-74hx, cache poisoning
GHSA-4w7w-5xrc-9h26, and the denial-of-service advisories GHSA-qrxm-fqhp-jwvm and
GHSA-xjj6-f33q-929c) and four moderate ones.body-parserbelow 2.4.0 (GHSA-27r3-jxmh-p828, high) andqsup to 6.16.0
(GHSA-6pq8-jhm2-2vcw, moderate), both under the MCP SDK'sexpress, which the engine never
imports.zodbelow 4.6.6 (GHSA-mrhx-c7xc-m3w5, high): only the older copy inside
@vercel/cli-config; the engine's ownzodwas already 4.6.7.fast-uribelow 3.1.9 underajv(two moderate, two low) andip-addressup to 10.7.3 under
the MCP SDK'sexpress-rate-limit(GHSA-rxp7-6hxx-x8q5, moderate).
To fix it in your own shop without upgrading, see CW-2026-012 in the advisory index.
Upgrading
Pull and run pnpm install: the dependency changes arrive through package.json,
pnpm-lock.yaml and pnpm-workspace.yaml. No schema change and no required new environment
variable. Node 22, 24 and 26 are supported (22 and 24 for the container image). On Vercel, the next deployment of this release runs on
Node 26; set engines.node to 24.x in package.json to stay on 24 (the project's Node setting
does not hold it back; see Node 26 under Changed). tsconfig.json now excludes **/agent-replays, and
eslint.config.mjs ignores **/agent-replays/**. If your own project has a directory of that name
that you want typechecked or linted, remove the entries.
Changed
- Node 26 is supported (NODE26-READY). Node 26 became the active LTS on 2026-10-28, and
enginesnow reads>=22 <27instead of turning it away. The unit suite was red on Node 26:
Node ≥ 25 puts its ownlocalStorage/sessionStorageon the global object (on 26.13, without
--localstorage-file,localStoragereads asundefinedandsessionStorageis an empty
store), and that shadowed jsdom's storage in jsdom tests
(client-admin-prefix-welcome, 9 of 9).tests/setup/env.tsnow points both at jsdom's in a
jsdom file, and the PR gate runs the unit suite on Node 26 next to the Node 22 floor..nvmrc
and the Dockerfile default stay on 22. One exception: in this release the container image fails
on Node 26 (corepack: not found), so use 22 or 24 there; the next release fixes it. On Vercel, this release moves production to Node 26:
Vercel made 26 generally available on 2026-10-29, and a range that allows it builds and runs on
26 from the next deployment, whatever the project's Node setting says (measured: Vercel's
record for a deployment of a project set to 24.x readsnodeVersion: 26.x). A prebuilt
deployment needs Vercel CLI 65.8.0 or later. To stay on 24, set"engines": { "node": "24.x" }
inpackage.json. Node 26's built-infetchuses HTTP/2 by default; set the Vercel environment
variableVERCEL_FETCH_DISABLE_H2=1and redeploy to keep HTTP/1.1 in Functions. A build on Node
26 prints Prisma's notice that it supports Node 20.19+, 22.12+ and 24.0+; the build still
succeeds. There is no data or schema to migrate. - A local copy of replayed projects no longer breaks typecheck, lint or the ownership tests. A
locally ignoredagent-replaysdirectory holding whole replayed scaffolds was picked up by
tsconfig.json's**/*.ts(tscran out of memory at 4 GB), bypnpm lint(37 errors from
those projects) and by the ownership walk intests/helpers/claims.ts. All three now skip it. A
fresh clone has no such directory, so CI was never affected.
Fixed
- An order cancelled before it was paid gives its discount-code use back (DRØM103-a).
Checkout counts one use of a discount code when it creates the order, but cancelling an unpaid
order only returned its stock, so every order cancelled before payment used up one use of a
limited code for good. The cancel that wins the order's status write now also takes one off
usageCount(never below 0) in the same transaction: an operator cancel, the
payment_intent.canceledwebhook, the reconcile cron and checkout's own rollback all count it
once between them. Paid and already-cancelled orders are untouched, and past counts are not
recalculated.