Skip to content

myanon 0.8.9

Latest

Choose a tag to compare

@ppomes ppomes released this 30 Nov 16:52
a341242

New features

  • New keep table rule and default directive (#71). With default = 'truncate', every table the config file does not mention is truncated and reported on stderr, so a table added to the database later does not reach the anonymized dump before someone reviews it. Tables that are safe to copy unchanged are listed with keep (literal name or regex). The default stays 'keep': existing configs behave as before.

Bug fixes

  • A table regex with an alternation without parentheses, such as regex `prod|test`, also matched table names starting with prod or ending with test. It now only matches tables prod and test. This changes which tables such a pattern matches: check your config if you use | outside parentheses.
  • A quote in a table or column name could hide the end of a truncated INSERT statement.
  • Documentation: a table regex has to match the whole table name.

The Rust port has been updated to match.