Repository navigation
Releases
Releases · xjunior/tapas
v1.0.1
v1.0.0
1.0.0 (2026-11-28)
⚠ BREAKING CHANGES
- a config that relied on its declared
depsalone now also follows the source's foreign keys, which can bring more rows. Addforeign_keys: falseto the config, or pass--disable-foreign-keys, to keep the old behaviour. - make limit say how far a sampler reaches (#14)
Features
v0.3.0
v0.2.0
0.2.0 (2026-11-27)
Features
- gzip the output when its path ends in .gz (6c198d6)
- read sanitize rules from the config (ed3a086)
- sanitize values on their way into the sample (f2b7710)
- write the sample straight into a target database (8fab89d)
Bug Fixes
- require Rust 1.89, the oldest that builds the dependencies (c3c2260)
Performance Improvements
- cut allocations on the per-row paths (35e25f0)
v0.1.0
The first version: a sample of a MySQL database, written to a SQL file, with every reference intact.
Added
- Samplers in YAML, each picking rows from one table with
where,order_byandlimit. A table can have as many
samplers as you like; its rows are each written once. of, to take only the rows that belong to rows already in the sample.deps, to bring along every row a table's rows point at, including rows that were themselves brought along.name, so anofcan follow one sampler's rows instead of its whole table's.- Cycles. Tables that lead to each other, or to themselves, are extracted in rounds until nothing new turns up.
time_columnand--since, so one config gives each environment its own size:--since '2 weeks',
--since '3 months', or--since ever.--sinceis required once any sampler has atime_column.--plan, which prints every table in run order with the queries its samplers will send, without connecting.- Several config files at once, with glob patterns tapas expands itself,
**included. - Parallel extraction. Independent tables, samplers and
IN (...)chunks all run at once, up to--connections. - A SQL file you can trust. It's written to
<file>.partialand only renamed once the whole sample worked, with
foreign-key checks off so it loads in any order. - Read-only connections to the source, set up from
--sourceorTAPAS_SOURCE_URL. - Clear errors. Unknown keys, missing parents, name clashes and conflicting
depsare caught before anything runs,
and every error names the file and sampler it came from.