Product ReleaseMay 29, 2026

convex v1.38.0

convex v1.38.0
Ian Macartney

Ian Macartney

Published on May 29, 2026

Overview

  • Adds ctx.meta.getRequestMetadata() to access request metadata in mutations and actions: request ID, client IP, and client User-Agent.
  • Default env vars are now imported when creating a new local deployment.
  • Allows creating new local deployments using npx convex deployment select local.
  • Adds support for --expiry and --expires aliases for --expiration in npx convex deployment create.
  • Supports using import "server-only" to mark files as server-only.
  • Removes the npx convex disable-local-deployments command.
  • Fixes an issue where stdout/stderr would be truncated after exit in the CLI.
  • Updated usePaginatedQuery_experimental overload to have an object-based API similar to useQuery_experimental.

Included Features (1)

#314
Support for Snapshot Queries

Support snapshot queries that provide a stale, cached query value and do not take any dependencies on read records. These enable high-performance "queue tailing" and related features for implementing efficient components like Workpool.

50(3)
Completed

Development Timeline

Ian Macartney
Ian MacartneyMay 29, 2026

This is now possible! The TS API isn't exposed, but you can copy the "future.ts" file from Workpool to use it in your own projects for now