@hackage / pg-migrate-test-support

Ephemeral PostgreSQL helpers for pg-migrate tests

Latest1.1.0.0

Changelog

Changelog

1.1.0.0 — 2026-07-13

Major release: this set removes a public error constructor and changes callback exception behavior.

Breaking changes
  • Removed MigratedDatabaseCallbackCleanupFailed; a successful callback value now wins when only its connection release fails.
  • Asynchronous callback exceptions now propagate after cleanup instead of being returned as MigratedDatabaseCallbackFailed.
Fixes and behavior changes
  • Acquire the callback connection inside the same masked bracket that runs the callback and releases the connection, closing the interruption leak window.
  • Preserve both exceptions in MigratedDatabaseCallbackAndCleanupFailed when a synchronous callback failure and connection-release failure occur together.

1.0.0.0 — 2026-07-10

  • Initial stable release of the ephemeral-pg helper with fresh Hasql callback connections and structured startup, migration, callback, and cleanup failures.