Chaca 2.2 brings test data generation to the browser with new SQL and error handling
Chaca, a TypeScript library for generating realistic relational test data, has released version 2.2 with full browser support across frameworks like React, Vue, and Svelte. The update introduces a transform API that serializes data entirely in memory — enabling file downloads without filesystem access — while the existing export method continues to work as before in Node.js. Two new SQL targets, SQLite and MySQL, have been added alongside the existing PostgreSQL support, each generating scripts with engine-native types and available via CLI. Error handling is now unified under a single Errors namespace, making exception management easier to discover and use. The release also fixes several long-standing bugs, including inclusive upper bounds in chaca.pick, broken Java code generation, and incorrect PostgreSQL string escaping.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in