From d2ba2eb5ae10bd429b282a22bfef260666d1d85a Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 18 Jul 2026 00:39:10 +0200 Subject: [PATCH] Release version 3.1.2 --- CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 097603b..2721ee0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [3.1.2] - 2026-07-18 + +- Restore: the postgres *--empty* pre-clean also drops user-owned text + search configurations and dictionaries (*pg_ts_config*, *pg_ts_dict*), + so a schema shipping a custom dictionary (e.g. taiga's + *english_stem_nostop*) no longer aborts the replay with "duplicate key + value violates unique constraint pg_ts_dict_dictname_index" under + ON_ERROR_STOP. +- Tests: the string-assertion unit test for the pre-clean SQL is replaced + by real scenario data in the e2e: the seeded schema contains an + overloaded *f()/f(int)* pair and the nostop dictionary plus + configuration, and the restored database is queried to prove each + survives the backup, pre-clean and replay cycle exactly once. + ## [3.1.1] - 2026-07-17 - Restore: the postgres *--empty* pre-clean drops functions and procedures diff --git a/pyproject.toml b/pyproject.toml index 3f18211..5adfa2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "backup-docker-to-local" -version = "3.1.1" +version = "3.1.2" description = "Backup Docker volumes to local with rsync and optional DB dumps." readme = "README.md" requires-python = ">=3.9"