- Apps and components may now declare typesafe env vars that they require. Both
defineAppanddefineComponentnow accept anenvobject with string keys and validator values. Declared environment variables must be present and match the validators before deployment. - Allow
--local-cloud-port,--local-site-port,--local-backend-versionand--local-force-upgradeoptions tonpx convex devto be used whenever using a local deployment. - The
AsyncLocalStorageandAsyncResourceAPIs fromnode:async_hooksare now available in the standard Convex runtime. Note that stored values will not be threaded through calls toctx.runQuery/ctx.runMutation/ctx.runAction.
Product ReleaseMay 29, 2026
convex v1.39.0
convex v1.39.0
Ian Macartney
Published on May 29, 2026
Overview
Included Features (1)
#248
Better environment variable support
Improve environment variable management with stronger validation, safer rollout ergonomics, and clearer scoping across local, preview, staging, and production.
377(9)
Completed