Skip to content

Releases: xataio/pgstream

v1.1.0

16 Jun 09:25
048acef

Choose a tag to compare

Highlights

📜 Environment variables in YAML configuration
📏 Human-readable byte size settings
🪵 Configurable logging format (console / JSON)
🩺 New /health and /ready endpoints
🆕 New stdout target for debugging pipelines
🧹 Optional null-byte sanitizer processor
🌳 ltree and cube type support
🔢 Large integer / bigint precision fix
🔒 Custom TLS for search stores
🛠 --upgrade flag for v0.9.x → v1.x migration
🐛 Bug fixes (composite PKs, constraint ordering, transformer panics, …)
:dependabot: Dependency updates

What's Changed

New features

  • feat: support environment variables in YAML configuration by @mvanhorn in #790
  • Add support for human readable byte size settings by @kvch in #823
  • Add support for changing logging format by @kvch in #880
  • Add new healthcheck endpoints: /health and /ready by @kvch in #882
  • New target: stdout by @kvch in #883
  • Add optional processor to strip null bytes from string columns by @AasheeshLikePanner in #871
  • Add support for ltree by @kvch in #834
  • Add support for cube data type by @kvch in #831
  • Add support for custom TLS settings for the search stores by @kvch in #832
  • Add upgrade flag that cleanups 0.9 objects and reinits by @tsg in #788

Bug fixes

  • Fix precision loss on large integers and bigint by @kvch in #833
  • Support composite primary keys in WAL metadata by @blurskye in #805
  • Restore constraints before snapshot conflict updates by @blurskye in #806
  • Eliminate panics in transformers when multiple workers are configured by @kvch in #884
  • Register pgvector types by @rieg-ec in #809
  • Collect all error messages before stopping pgstream by @kvch in #841
  • Make includeGlobalDBObjects work for schema all by @tsg in #760
  • Update jackc/pgx to v5.9.2 to resolve CVEs by @fiws in #810

Dependency updates

  • Bump go.opentelemetry.io/otel/trace from 1.41.0 to 1.42.0 by @dependabot[bot] in #765
  • Bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #766
  • Bump opensearchproject/opensearch from 3.5.0 to 3.6.0 in /build/docker by @dependabot[bot] in #794
  • Bump github.com/testcontainers/testcontainers-go/modules/kafka from 0.40.0 to 0.42.0 by @dependabot[bot] in #813
  • Bump go.opentelemetry.io/contrib/instrumentation/runtime by @dependabot[bot] in #825
  • Bump github.com/testcontainers/testcontainers-go/modules/postgres by @dependabot[bot] in #826
  • Bump clickhouse/clickhouse-server in /build/docker by @dependabot[bot] in #828
  • Bump github.com/segmentio/kafka-go from 0.4.50 to 0.4.51 by @dependabot[bot] in #835
  • Bump github.com/elastic/go-elasticsearch/v8 from 8.19.3 to 8.19.6 by @dependabot[bot] in #836
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc by @dependabot[bot] in #837
  • Bump github.com/labstack/echo/v4 from 4.15.1 to 4.15.2 by @dependabot[bot] in #838
  • Bump github.com/lib/pq from 1.11.2 to 1.12.3 by @dependabot[bot] in #839
  • Bump dependabot/fetch-metadata from 2 to 3 by @dependabot[bot] in #849
  • Bump pgregory.net/rapid from 1.2.0 to 1.3.0 by @dependabot[bot] in #856
  • Bump github.com/go-viper/mapstructure/v2 from 2.4.0 to 2.5.0 by @dependabot[bot] in #859
  • Bump github.com/jackc/pgx/v5 from 5.9.2 to 5.10.0 by @dependabot[bot] in #861
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc by @dependabot[bot] in #862
  • Bump github.com/rs/zerolog from 1.34.0 to 1.35.1 by @dependabot[bot] in #863
  • Bump github.com/pgvector/pgvector-go from 0.3.0 to 0.4.0 by @dependabot[bot] in #865
  • Update golang/x/crypto to v0.52.0 by @dependabot[bot] in #872
  • Bump golang.org/x/sync from 0.20.0 to 0.21.0 by @dependabot[bot] in #873
  • Bump opensearchproject/opensearch from 3.6.0 to 3.7.0 in /build/docker by @dependabot[bot] in #888
  • Bump opensearchproject/opensearch-dashboards from 3.6.0 to 3.7.0 in /build/docker by @dependabot[bot] in #889
  • Bump golang.org/x/term from 0.43.0 to 0.44.0 by @dependabot[bot] in #890

New Contributors

Full Changelog: v1.0.3...v1.1.0

v0.9.14

16 Jun 09:32
1b7c264

Choose a tag to compare

Highlights

🆕 tsvector type support
🛠 CLI docs/errors improvements for snapshot and run
🐛 Bug fixes: transformer panics with multiple workers, error collection on shutdown, pgvector type registration (all backported)
🔒 pgx upgraded to v5.9.2 to resolve CVEs
:dependabot: Dependency updates

What's Changed

Bug fixes

Dependency updates

  • Bump github.com/segmentio/kafka-go from 0.4.50 to 0.4.51 (#835) (#843) by @xata-bot in #843
  • Bump fgrosse/go-coverage-report from 1.2.0 to 1.3.0 by @dependabot[bot] in #850
  • Bump clickhouse/clickhouse-server in /build/docker by @dependabot[bot] in #851
  • Bump opensearchproject/opensearch from 3.4.0 to 3.6.0 in /build/docker by @dependabot[bot] in #852
  • Bump opensearchproject/opensearch-dashboards in /build/docker by @dependabot[bot] in #853
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc by @dependabot[bot] in #854
  • Bump github.com/testcontainers/testcontainers-go from 0.40.0 to 0.42.0 by @dependabot[bot] in #855
  • Bump github.com/labstack/echo/v4 from 4.15.0 to 4.15.2 by @dependabot[bot] in #866
  • Bump github.com/bytedance/sonic from 1.15.0 to 1.15.2 by @dependabot[bot] in #867
  • Bump github.com/elastic/go-elasticsearch/v8 from 8.19.1 to 8.19.6 by @dependabot[bot] in #868
  • Bump github.com/pgvector/pgvector-go from 0.3.0 to 0.4.0 by @dependabot[bot] in #869
  • Bump go.opentelemetry.io/contrib/instrumentation/runtime from 0.64.0 to 0.69.0 by @dependabot[bot] in #870
  • Bump pgregory.net/rapid from 1.2.0 to 1.3.0 by @dependabot[bot] in #874
  • Bump github.com/rs/zerolog from 1.34.0 to 1.35.1 by @dependabot[bot] in #875
  • Bump github.com/jackc/pgx/v5 from 5.9.2 to 5.10.0 by @dependabot[bot] in #876
  • Bump golang.org/x/sync from 0.20.0 to 0.21.0 by @dependabot[bot] in #877
  • Bump github.com/tidwall/gjson from 1.18.0 to 1.19.0 by @dependabot[bot] in #878
  • Bump opensearchproject/opensearch-dashboards from 3.6.0 to 3.7.0 in /build/docker by @dependabot[bot] in #891
  • Bump opensearchproject/opensearch from 3.6.0 to 3.7.0 in /build/docker by @dependabot[bot] in #892
  • Bump github.com/lib/pq from 1.11.1 to 1.12.3 by @dependabot[bot] in #893
  • Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from 1.40.0 to 1.44.0 by @dependabot[bot] in #894
  • Bump github.com/nucleuscloud/neosync from 0.5.40 to 0.5.41 by @dependabot[bot] in #895

Full Changelog: v0.9.13...v0.9.14

v1.0.3

20 May 19:51
9eaba98

Choose a tag to compare

Changelog

  • 889b9ae Add tsvector type support in DML adapter (#796)
  • 86fcc6a Bump clickhouse/clickhouse-server in /build/docker (#816)
  • b864f19 Bump docker/login-action from 3 to 4 (#768)
  • fec59a2 Bump github.com/bytedance/sonic from 1.15.0 to 1.15.1 (#814)
  • ddb617d Bump github.com/tidwall/gjson from 1.18.0 to 1.19.0 (#812)
  • f823f77 Bump go.opentelemetry.io/otel from 1.41.0 to 1.43.0 (#761)
  • b4c069d Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc (#815)
  • 415ae34 Bump goreleaser/goreleaser-action from 6 to 7 (#738)
  • 106fa0c Bump opensearchproject/opensearch-dashboards in /build/docker (#793)
  • ba7ad14 Fix schema restore failure with partitioned tables and add --data-only flag (#775)
  • 9eaba98 Fix update failres on generated columns (#820)
  • ada4af6 cli: improve docs/errors around snapshot/run commands (#807)
  • 78f50b1 docs(xata): add cnpg_pooler_pgbouncer to Xata-managed roles (#819)

v0.9.13

20 May 20:13
e87e37b

Choose a tag to compare

Changelog

  • e87e37b Backport: fix UPDATE failures on GENERATED ALWAYS AS IDENTITY columns (#820) (#822)

v0.9.12

11 May 14:40
6aba9d7

Choose a tag to compare

Changelog

v1.0.2

11 May 12:50
8b50ade

Choose a tag to compare

Highlights

🔀 Batch WAL operations in stream mode
🆔 New settings for wal2json plugin: add_tables and filter_tables
🐛 Bug fixes
:dependabot: Dependency updates

What's Changed

  • 1dc7cc1 Add add_tables and filter_tables wal2json plugin options (#791)
  • 2e6db21 Added CLAUDE.md file (#734)
  • 59a723d Batch WAL operations in stream mode (#774)
  • a6ad9fe Exclude pgstream schema when cleaning up target database (#740)
  • 757f3fa Rename recorder schema workers -> snapshot workers
  • 82b7a3f Set concurrency limit on snapshot recorder
  • 9888095 Surface error even if we cannot parse ERROR lines in the output of restore (#771)
  • 3b757ab Update configuration.md for new wal2json plugin settings (#803)
  • 8b50ade Update Golang to 1.26.3 (#804)
  • b7f3546 Use IS NULL when building update query WHERE clause

v0.9.11

11 Mar 20:47

Choose a tag to compare

Changelog

  • 90c18bc Fix views order in the pg_dump restore (#758)
  • b0dac99 Surface error even if we cannot parse ERROR lines in the output of restore (#771)

v0.9.10

06 Mar 12:45
1e3e569

Choose a tag to compare

Changelog

  • ab8870b Don't filter out identity columns as generated (#754)
  • 1e3e569 Fix injector close not propagated (#756)

v0.9.9

04 Mar 16:05
e8c9325

Choose a tag to compare

Changelog

  • 6885a14 Enabled coverage for v0.9.x
  • e8c9325 Fix JSONB string scalar serialization (#744)
  • f7587c3 Fix cleanup restore failing on missing relations during DROP TRIGGER (#742)

v0.9.8

25 Feb 09:28

Choose a tag to compare

Changelog

  • c607ac5 Add unit test for delete
  • 5e452ff Use IS NULL when building update query WHERE clause