Product ReleaseJune 2, 2026

convex v1.40.0

convex v1.40.0
Nicolas Ettlin

Nicolas Ettlin

Published on June 2, 2026

Overview

  • You can now create a local deployment in a specific Convex cloud project with npx convex deployment create team-slug:project-slug:local.
  • You can now move a local deployment to another cloud project using npx convex deployment select team-slug:project-slug:local. This command warns when it moves the deployment to another project.
  • The CLI now shows more clearly which deployment is targeted when running commands such as npx convex dev and npx convex deploy.
  • Added a new <AuthRefreshing /> helper component, used to show indicators when function calls are paused because the authentication token is refreshing.
  • Removed --local and --cloud flags from npx convex dev. The behavior of these flags was misleading when a deployment was already selected. Instead, use npx convex deployment select local to use a local deployment, and npx convex deployment select dev to use your personal cloud dev deployment.
  • The CLI now provides guidance when TypeScript type checking is taking too long.
  • Improved the CLI command documentation to include more details and examples.
  • npx convex logs: --tail is now accepted as an alias for the --history flag.
  • When creating a local deployment, the CLI now skips importing the default environment variables from the Convex cloud project if you don’t have permission to view the default environment variables instead of crashing.
  • Convex Business customers can reach out to support for early access to application-generated audit logs.

Included Features (2)

#274
Formal Audit Log w/SIEM Integration

Support industry-standard audit logging for compliance needs. Will work even with cached queries. Recorded into an S3-compliant bucket for integration with the customer's SIEM tooling.

310(5)
In Progress

Development Timeline

Jamie Turner
Jamie TurnerMar 27, 2026

In development, design-partnered with Health Tech customers.

Jamie Turner
Jamie TurnerApr 15, 2026

Estimate general release for biz/enterprise customers in May.

#262
Agent-friendly deployment initialization

npx convex init now supports non-interactive agent workflows via CONVEXAGENTMODE=anonymous. Combined with npx convex env set, agents can fully initialize deployments and configure environment variables without human interaction.

Completed