pnpm 11.29 tightens installs and publish credentials
Also: pnpm 12.23 drops platform variants, Vercel blocks deploys on missing flags
Two new pnpm releases close the same credential leak. If you publish packages or run pnpm in CI, start with the first section.
The main thing

pnpm 11.29 tightens what an install and a publish will trust. The big change: otp is no longer read from any config file. Pass --otp on the command line or set PNPM_CONFIG_OTP. An otp in pnpm-workspace.yaml or a global config.yaml is now ignored with a warning.
The reason is the weird part. A repository could put otp: ${NPM_TOKEN} next to its own registry:. Then pnpm publish sent your NPM_TOKEN to the registry that same file named, in the npm-otp header of its first request.
Run publish in a repo you don't control, and your token goes to whatever registry it picked.
The install side gets stricter too:
pnpm installrejectsfile:,link:and path-basedworkspace:dependencies declared by non-local packages, withERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Local dependencies you configure yourself throughoverrides,packageExtensionsor.pnpmfile.cjsstill work.blockExoticSubdepsis now enforced againstpnpm-lock.yaml. Before, a lockfile with git or tarball URL subdependencies installed them even withblockExoticSubdeps: true.- Tarball downloads send registry credentials only over HTTPS or loopback HTTP.
One fix you'll like if you build in Docker: pnpm install no longer fails without a TTY when it has to recreate an incompatible node_modules. It recreates it and prints a warning.
What to do: if your publish job keeps otp in a config file, move it to --otp or PNPM_CONFIG_OTP before your next release. Then run one install and watch for the new local-dependency error.
Worth a look

pnpm 12.23 removes platform variants. A package version has one archive again. pnpm no longer reads publishConfig.variants, and pnpm pack --variant is gone. If you ship per-platform builds, publish each as its own package and list them in optionalDependencies.
The catch for consumers: a frozen install of a lockfile that records variants fails with ERR_PNPM_BROKEN_LOCKFILE. Run pnpm install once to resolve it again. The release also carries the same otp and HTTPS-only credential fixes as 11.29.
The new commands are the fun part. pnpm catalog migrate moves shared dependency specifiers into the default catalog and swaps in catalog:, but only when every project uses the same specifier. pnpm link --hard saves a linked package with file: so its files are hard linked into node_modules.
Release-age limits get easier, too. pnpm install, pnpm add, pnpm update and pnpm dlx take --minimum-release-age for a single run, no config edit needed.
Before you deploy

Vercel can block deploys that reference missing feature flags. If you declare a flag in code but never create it in your project, your app silently falls back to the flag's default. Vercel notes that this can turn on a feature you meant to keep off.
The new Flag Definitions Present Deployment Check runs when a deployment is ready and fails with a list of missing flags. It reads your Flags SDK discovery endpoint and needs FLAGS_SECRET set in the project's environment. Teams on all plans can turn it on under Build and Deployment settings and mark it required.
Move your otp out of config files today, and let the next install error tell you what else 11.29 caught.