Functions can now declare return value validators with the returns property, enabling runtime type-checking on outputs and better generated API documentation. Validator metadata like .fields and .tableName is exposed for building generic utilities, and the CLI now shows index backfill progress so you know when new indexes are ready.
Product Release July 1, 2024
Convex 1.13
convex v1.13
Convex Team
Published on July 1, 2024
Overview
Included Features (3)
#62
Return Value Validators
Queries, mutations, and actions accept a 'returns:' property for runtime return value validation, stricter than TypeScript.
Completed
#63
Exposed Validator Metadata
Validators now expose structural metadata (.fields, .tableName, .value, .element, .members) enabling programmatic construction of new validators.
Completed
#64
Index Backfill Progress in CLI
The CLI now shows progress when pushing and backfilling new indexes.
Completed