This release introduces ConvexClient, a callback-based JavaScript client for using Convex outside of React, and ConvexError for returning structured error data from your functions. Server logs now stream directly to your terminal with --tail-logs, making local development tighter.
Product Release September 13, 2023
Convex 1.3
convex v1.3
Convex Team
Published on September 13, 2023
Overview
Included Features (5)
#14
Callback-Based JavaScript Client (ConvexClient)
New ConvexClient from 'convex/browser' provides callback-based subscriptions for non-React apps. Works in browsers and Node.js.
Completed
#15
ConvexError for Structured Error Data
Throw ConvexError with custom data from queries, mutations, and actions. Clients can distinguish application errors from unexpected errors.
Completed
#16
Server Logs in Terminal
Run 'npx convex dev --tail-logs' to stream console.log output from all function types directly to your terminal.
Completed
#17
Convex Runtime Condition in package.json
NPM libraries can now target the Convex default runtime with a 'convex' condition in their package.json exports map.
Completed
#18
New Runtime APIs (ReadableStream, EventTarget)
Added ReadableStream, EventTarget, and other browser APIs to the Convex default runtime.
Completed