fix(deps): bump eventsourced/pg to v2.0.2, eventsourced to v1.23.0

pg v1.19.0+ auto-runs an idempotency migration whose partial index used a
non-IMMUTABLE now() predicate, which Postgres rejects at creation. That
failed pg.New() at startup and crash-looped the service (silently, exit 0).
schemas was on the broken pg v1.20.0.

The fix is in pg's v2 line; v2.0.0/v2.0.1 were unconsumable (go.mod module
path lacked the required /v2 suffix), corrected in v2.0.2. Bump to:

  - gitlab.com/unboundsoftware/eventsourced/pg/v2 v2.0.2
  - gitlab.com/unboundsoftware/eventsourced/eventsourced v1.23.0 (required by pg/v2)

Only the import path changes (.../pg -> .../pg/v2); package stays `pg`, no
call sites change.
This commit is contained in:
2026-05-25 22:34:20 +02:00
parent d2d053e559
commit 5c77e0a455
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ require (
github.com/vektah/gqlparser/v2 v2.5.33
github.com/wundergraph/graphql-go-tools/v2 v2.4.0
gitlab.com/unboundsoftware/eventsourced/amqp v1.9.1
gitlab.com/unboundsoftware/eventsourced/eventsourced v1.21.0
gitlab.com/unboundsoftware/eventsourced/pg v1.20.0
gitlab.com/unboundsoftware/eventsourced/eventsourced v1.23.0
gitlab.com/unboundsoftware/eventsourced/pg/v2 v2.0.2
go.opentelemetry.io/contrib/bridges/otelslog v0.18.0
go.opentelemetry.io/otel v1.43.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.43.0