Skip to content

Releases: TantorLabs/pg_anon

1.6.0

07 Apr 08:43
a2087c6
Compare
Choose a tag to compare
  • added a postgres version definition to use suitable pg_dump versions
  • run option --config for configuration file with paths to specific versions of pg_dump/pg_restore utils
  • for skip_rules and include_rules searching by schema_mask and table_mask
  • improved compatibility with postgres to version 9.6
  • fixed communication with pg_dump and pg_restore
  • search in data_regex.rules for searching in text including \n
  • search in data_const.partial_constants now case-insensitive
  • optimization for reading data from database
  • moved all modules with pg_anon modes into package modes
  • modes init and create-dict packed into classes
  • class MainRoutine decomposed on small methods
  • class PgAnonResult now using only in MainRoutine and includes methods for updating statuses
  • actualized pyproject.toml
  • actualized tests and README.md. Function anon_funcs.random_inn() in tests replaced cause this function can't guarantee values unique

1.5.0

16 Sep 21:43
1e879af
Compare
Choose a tag to compare
  • Added multiprocessing in dump and restore modes
  • Improved dictionary handling, now it's possible to specify multiple dictionaries in dump mode
  • In scan mode, it is now possible to use multiple meta-dictionaries
  • Added support for non-sensitive dictionaries, which speeds up subsequent "scanning" of the source DB
  • Exteaded capabilities of meta-dictionaries
  • Added support for a debugging cycle
  • Improved handling of database connections
  • Fixed a couple of bugs
  • Refactored modules to enhance debugging convenience
  • CLI parameters refactored

1.0.1

01 Apr 14:21
Compare
Choose a tag to compare

What's Changed

  • Update README.md and pyproject.toml by @baevmo in #9

Full Changelog: 1.0.0...1.0.1

1.0.0

19 Mar 13:13
Compare
Choose a tag to compare

What's Changed

  • Update README.md
  • Remove deprecated CLI options
  • Small syntax fixes

0.2.0

13 Mar 11:25
Compare
Choose a tag to compare

What's Changed

  • feat: Change dump and restore mechanism to use asyncpg.Connection.copy_from_table() and asyncpg.Connection.copy_to_table().
    • Change dump format to *.bin.gz.
    • Added PostgreSQL types to dump
The binary format option causes all data to be stored/read as binary format rather than as text. It is somewhat faster than the text and CSV formats, but a binary-format file is less portable across machine architectures and PostgreSQL versions. Also, the binary format is very data type specific; for example it will not work to output binary data from a smallint column and read it into an integer column, even though that would work fine in text format.

Full Changelog: 0.1.1...0.2.0

0.1.1

13 Feb 14:42
Compare
Choose a tag to compare

What's Changed

  • chore: Add default Python gitignore by @baevmo in #5
  • [TTDB-238] Added new functions for tag-searching and test by @denjasan in #3

New Contributors

  • feat: change repo structure to add packaging support with poetry and setuptools

Full Changelog: 0.1.0...0.1.1

0.1.0

07 Feb 14:02
Compare
Choose a tag to compare

0.1.0 (07.02.2024)

New Features

  • feat: Added search for :sens and :nosens column tags. Objects scan will now be skipped for this tags

Other Changes

  • chore Format create_dict.py and pg_anon.py with black
  • tests Create tests for tagged columns search