ReleaseJun 2, 2026
convex v1.40.0
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.
#274Formal Audit Log w/SIEM Integration
#262Agent-friendly deployment initialization