ReleaseMay 8, 2026
convex v1.37.0
Adds useQuery_experimental, which accepts object-based args and returns an object with status, data, and error that doesn't throw errors by default. Adds npx convex deployment token create my-token --save-env, enabling scripts to configure agent environments with access only to develop and deploy against their own cloud deployment. e.g. npx convex deployment create dev/foo --select --expiration "in 7 days" --type dev # npx convex env set ... (optional - typically default env vars suffice) npx convex deployment token create foo --save-env # npx convex dev --once (optional) Re-exports ValidatorTypeToReturnType from convex/server AI Files will no longer prompt when connecting to an existing project. Updates the VisibilityProperties type to allow types like RegisteredQuery to be more easily extended without losing covariance. New ctx.meta.getDeploymentMetadata() function. - Includes the name, region and class of the deployment.
#315Scoped authorization tokens to prevent agent risk