Changelog

What's new with Convex?

Every update, improvement, and release we've shipped — backed by the community, in the open.

Planned
14
In progress
2
Shipped
256
Updated
2026.06.24
Release Jun 24, 2026

convex v1.42.0

Added a new npx convex project create command that can be used to create new projects programmatically. Added a new --names-only flag to npx convex env list (and npx convex env default list). This flag shows the names of the env vars that are set, without the values. It can be useful to let AI coding agents know the variables that are set on a deployment, without giving them the actual values. Added a new useStaleSnapshot option to the arguments for runQuery. This is an advanced feature that can be used to allow mutations to avoid optimistic concurrency control (OCC) conflicts in some cases where they can commit even though they depend on conflicting reads. This change allows us to improve the performance of some of the official Convex components, including Workpool. Improved the documentation of db.* methods to more clearly explain the difference between the old APIs without table names (e.g. db.get(userId)) and the new APIs with table names (e.g. db.get("users", userId)). Fixed an issue where the CLI would not surface permission errors correctly when the user or token doesn’t have permission to do something. Exposes the current scheduled function's ID as scheduledFunctionId in ctx.meta.getRequestMetadata(). npx convex insights has a new --json flag that makes the command output easier to parse programmatically. File storage: marked a few TypeScript types in convex/server as @deprecated (FileMetadata, FileStorageId, StorageId). These types are used only by file storage APIs that were deprecated in convex@1.6.0, so we also marked them as @deprecated for clarity. Bumps the ws peer dependency to avoid a vulnerable range.

v1.42.0
Release Jun 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.

#274 Formal Audit Log w/SIEM Integration
#262 Agent-friendly deployment initialization
v1.40.0 npm 2 items 348
JTMRAMVSNE
+3
8 backers