Skip to content

Releases

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:19
abfa94a

1.0.1 (2026-11-28)

Bug Fixes

  • roll back the target's transaction on Ctrl+C and on failure (#20) (2ed37a2)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 15:12
0256359

1.0.0 (2026-11-28)

⚠ BREAKING CHANGES

  • a config that relied on its declared deps alone now also follows the source's foreign keys, which can bring more rows. Add foreign_keys: false to the config, or pass --disable-foreign-keys, to keep the old behaviour.
  • make limit say how far a sampler reaches (#14)

Features

  • add --debug to show the values errors leave out (#12) (bc017d3)
  • follow the source's foreign keys as deps (#16) (6e705e6)
  • let of and deps follow several columns (#15) (56c9757)
  • make limit say how far a sampler reaches (#14) (961e170)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 18:08
10936f0

0.3.0 (2026-11-27)

Features

  • read from and write to Postgres (#9) (cc9e2a2)

Bug Fixes

  • say why the target refused a statement (#11) (43003a5)

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 15:22
f9719ed

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

Choose a tag to compare

@xjunior xjunior released this 27 Nov 08:17
5180d95

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_by and limit. 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 an of can 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_column and --since, so one config gives each environment its own size: --since '2 weeks',
    --since '3 months', or --since ever. --since is required once any sampler has a time_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>.partial and 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 --source or TAPAS_SOURCE_URL.
  • Clear errors. Unknown keys, missing parents, name clashes and conflicting deps are caught before anything runs,
    and every error names the file and sampler it came from.