- 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 devandnpx convex deploy. - Added a new
<AuthRefreshing />helper component, used to show indicators when function calls are paused because the authentication token is refreshing. - Removed
--localand--cloudflags fromnpx convex dev. The behavior of these flags was misleading when a deployment was already selected. Instead, usenpx convex deployment select localto use a local deployment, andnpx convex deployment select devto 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:--tailis now accepted as an alias for the--historyflag.- 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.
Product ReleaseJune 2, 2026
convex v1.40.0
convex v1.40.0
Nicolas Ettlin
Published on June 2, 2026
Overview
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 ProgressDevelopment Timeline
Jamie TurnerMar 27, 2026
In development, design-partnered with Health Tech customers.
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