- #1239 (minor)
Newvarlock/auto-initentry: a single edge-safe import that initializes the runtime from an already-resolved env (decrypting it if needed) and applies all runtime patches, without calling the CLI. The same sequence is available as a function,initVarlockRuntime()fromvarlock/init, for code that has to set up its inputs first. The Next.js integration now injects onevarlock/init-bundlefile into both server and edge runtimes (varlock/init-serverandvarlock/init-edgeremain as aliases of it).varlock/patch-server-responsenow loads node builtins lazily and is a no-op wherenode:httpdoes not exist, so the same init code runs in Node, Bun, Cloudflare Workers and Vercel Edge. The vite, Cloudflare and Astro integrations use it instead of assembling the init sequence module by module; the vite plugin'sssrEdgeRuntimeoption is no longer needed and is ignored. - #1232 (minor)
Addvarlock load --defer-boot-requiredand thevarlock/frozen-env-bootruntime bundle, used by framework integrations that freeze the env into their build output. A frozen env now warns once at boot when the environment sets a different value for one of its keys. Fix decrypting an encrypted env in Next.js's local edge runtime, and a re-init reverting__VARLOCK_ENVto the value it had at process start. - #1227 (patch) - Release cache locks when interrupted right after acquiring them, instead of leaving an orphaned lock
- #1244 (patch) Thanks @bercedev!
Put/* eslint-disable */above// @ts-nocheckin generated TypeScript types, so ESLint rules about@ts-nocheckno longer report the generated file - #1256 (patch)
Name the failing keys on the last line of output when config is invalid, so tools that only show the tail of a failed process (e.g. Kubernetes termination messages) say which vars to fix. CLI error summaries are now prefixed with[varlock] - #1255 (patch)
proxy run --urlnow setsNODE_USE_ENV_PROXY=1in the child, so Node's built-infetchroutes through a remote broker like it does locally. - #1226 (patch) - macOS standalone binaries are now Developer ID signed and notarized, with hardened runtime enabled
Published to
- ✅ npm