Greenmask 0.2.23
Greenmask 0.2.23 was released on 2026-08-22. It adds the --exclude-extension option to dump, fails the dump when sequence privileges are missing on PostgreSQL 18 and later, and fixes generated columns in subset dumps and the RandomEmail source value check.
Changes
- feat: add
--exclude-extensionoption to thedumpcommand, mirroring--exclude-schemaand--exclude-table(requires pg_dump 17 or later) #470 - fix: fail the dump when sequence privileges are missing on PostgreSQL 18 and later. Since PostgreSQL 18
pg_sequence_last_value()returnsNULLinstead of raisingpermission denied for sequence, so Greenmask silently dumpedsetval(<start>, false)and every sequence was reset on restore. Unreadable sequences are now reported together with a remediation hint and the dump fails #471. Fixes bug #469 - fix: exclude generated columns from subset dump queries — subsetted tables were dumped with
SELECT "schema"."table".*while restore omits generated columns, so every row was one field too wide #472 - fix:
RandomEmailno longer requires the source value to be a valid email when the configured templates do not referenceoriginal_local_partororiginal_domain#468. Fixes bug #466 - fix: fix subset-related unit test and bump Go dependencies #475
Full Changelog: v0.2.22...v0.2.23
Links
Feel free to reach out to us if you have any questions or need assistance: