fix(deps): bump eventsourced/pg to v2.0.2, eventsourced to v1.23.0 #437
Reference in New Issue
Block a user
Delete Branch "chore/bump-pg-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Bumps to the fixed
eventsourced/pg, resolving the startup crash loop.pg v1.19.0+ auto-runs an idempotency migration whose partial index used a non-IMMUTABLE
now()predicate; modern Postgres rejects it (functions in index predicate must be marked IMMUTABLE), failingpg.New()at startup and crash-looping the service. The fix landed in the pg v2 line, but v2.0.0/v2.0.1 were unconsumable (module path lacked the required/v2suffix). v2.0.2 corrects the module path.What
gitlab.com/unboundsoftware/eventsourced/pg/v2-> v2.0.2 (the genuinely fixed, importable release)gitlab.com/unboundsoftware/eventsourced/eventsourced-> v1.23.0 (required by pg/v2)Only the import path changes (
.../pg->.../pg/v2); the package is stillpgand no call sites change.Verification
go build ./...,go vet, and the fullgo test ./...suite all pass. eventsourced v1.23.0's only notable change (metrics MetricsRecorder refactor) is unused by dancefinder.Supersedes the temporary prod rollback to
77786270(pg v1.18.8).