Repository navigation
v1.2.0
β‘ Highlights
π©Ί New check command: epxerimental preflight validation before you run pgstream
π New encrypted_aes_siv transformer
π Support for "schema only" tables
π Parallelized COPY workers for faster snapshots
π― Configurable transformer error policy
π‘ Strict mode: fail snapshots on dropped Postgres writes
π Automated nightly & container image releases
What's Changed
New features
- New command:
checkby @kvch in #901 - Add schema compatibility validation for pgstream by @kv1sidisi in #896
- Add source and target postgres connectivity checks by @kvch in #902
- Add replication checks by @kvch in #904
- Add replica identity check by @kvch in #911
- Add preflight check for source SELECT privileges by @lghuy05 in #912
- Add preflight check for source sequence SELECT privileges by @lghuy05 in #947
- Move schema validation to preflight checks by @kvch in #951
- [Preflight] Check source and target extensions compatibility by @kvch in #952
- [Preflight] New category:
resourcesby @kvch in #971 - Quote schema/table/role identifiers in access check messages by @kvch in #944
- Refactoring of check category connections by @kvch in #905
- Add encrypted_aes_siv transformer by @geo-ocean in #998
- Add support for "schema only" tables by @tsg in #999
- Add new
TableSelectionfor filtering tables by @kvch in #949 - [Transformers] Configurable error policy by @kvch in #958
- Add strict mode to
WALWriterand counter for dropped messages by @kvch in #959 - Fail snapshots on dropped Postgres writes if in strict mode by @danddanddand in #976
- Parallelize COPY workers by @kvch in #995
- Exclude PostgreSQL temp schemas from snapshot discovery by @danddanddand in #954
- Skip legacy public PL/pgSQL handler functions on snapshot restore by @kvch in #906
- Skip pgstream metadata DML for Postgres targets by @danddanddand in #977
- Improve SQL parameter binding and escaping by @kvch in #965
- validate: Exit code 1 if validation fails by @fiws in #948
- Reload log level on SIGHUP by @pollychen-lab in #945
- Resolve column types & timestamp once per result set by @kvch in #950
- Check log level before logging in hot path by @kvch in #969
- Call
WalDataToDDLEventonce per event in the processor chain by @kvch in #970
Bug fixes
- Correctly treat top level JSONB null value by @tsg in #991
- Fix exclude_tables bug with multiple schemas by @tsg in #992
- Fix snapshot CLI never auto-enabling bulk ingest with flags by @kvch in #993
- Fix batch sender startup race between NewSender and Close by @kvch in #994
- Fix data race in batch-bytes auto-tuner by @kvch in #957
- Fix backoff
MaxIntervalwired toMaxElapsedTimeby @kvch in #956 - [Snapshot] Prevent
GetTablesshadowing outer result slice by @kvch in #960
CI / release
- Automated container image release with attestation by @kvch in #955
- Publish nightly releases by @kvch in #980
Dependency updates
- Bump github.com/testcontainers/testcontainers-go/modules/elasticsearch from 0.42.0 to 0.43.0 by @dependabot[bot] in #913
- Bump github.com/testcontainers/testcontainers-go/modules/postgres from 0.42.0 to 0.43.0 by @dependabot[bot] in #915
- Bump github.com/testcontainers/testcontainers-go/modules/opensearch from 0.42.0 to 0.43.0 by @dependabot[bot] in #916
- Bump github.com/testcontainers/testcontainers-go/modules/kafka from 0.42.0 to 0.43.0 by @dependabot[bot] in #917
- Bump github.com/labstack/echo/v4 from 4.15.2 to 4.15.4 by @dependabot[bot] in #899
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #898
- Bump github.com/schollz/progressbar/v3 from 3.19.0 to 3.19.1 by @dependabot[bot] in #962
- Bump clickhouse/clickhouse-server from 26.5.1-alpine to 26.6.1.1193-alpine in /build/docker by @dependabot[bot] in #961
- Bump golang.org/x/term from 0.44.0 to 0.45.0 by @dependabot[bot] in #987
- Bump golang.org/x/sync from 0.21.0 to 0.22.0 by @dependabot[bot] in #988
- Bump actions/attest-sbom from 2 to 4 by @dependabot[bot] in #985
- Bump actions/attest-build-provenance from 2 to 4 by @dependabot[bot] in #986
New Contributors
- @kv1sidisi made their first contribution in #896
- @lghuy05 made their first contribution in #912
- @pollychen-lab made their first contribution in #945
- @geo-ocean made their first contribution in #998
Full Changelog: v1.1.1...v1.2.0