pgmq-hasql 0.6.1.0 → 0.6.1.1
raw patch · 4 files changed
+13/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−0
- pgmq-hasql.cabal +1/−1
- test/EphemeralDb.hs +1/−0
- test/MixedCaseRemediationSpec.hs +3/−1
CHANGELOG.md view
@@ -1,5 +1,13 @@ # Revision history for pgmq-hasql +## 0.6.1.1 -- 2026-09-25++Coordinated family version bump; the library is unchanged from 0.6.1.0.++`MixedCaseRemediationSpec`, which starts its own cluster, now uses the same stable per-uid+temporary root as the rest of the test suite instead of falling back to `$TMPDIR`, so a+killed run's cluster is reaped by the next run. No library dependency changed.+ ## 0.6.1.0 -- 2026-09-16 Coordinated family version bump; the library is unchanged from 0.6.0.0.
pgmq-hasql.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: pgmq-hasql-version: 0.6.1.0+version: 0.6.1.1 synopsis: Hasql-based client for PGMQ (PostgreSQL Message Queue) description: A Haskell client library for PGMQ (PostgreSQL Message Queue) built
test/EphemeralDb.hs view
@@ -5,6 +5,7 @@ ( -- * Database setup withPgmqDb, withPgmqPool,+ ephemeralConfig, -- * Test fixtures TestFixture (..),
test/MixedCaseRemediationSpec.hs view
@@ -34,6 +34,7 @@ migrationPlan, runMigrationPlan, )+import EphemeralDb (ephemeralConfig) import EphemeralPg qualified as Pg import Hasql.Decoders qualified as D import Hasql.Pool qualified as Pool@@ -274,7 +275,8 @@ acquireDb :: IO (Pg.Database, Pool.Pool) acquireDb = do- started <- Pg.startCached Pg.defaultConfig Pg.defaultCacheConfig+ config <- ephemeralConfig+ started <- Pg.startCached config Pg.defaultCacheConfig db <- either (\err -> error ("could not start a dedicated PostgreSQL: " <> show err)) pure started component <- either (error . ("Invalid PGMQ migration component: " <>) . show) pure Migration.pgmqMigrations plan <- either (error . ("Invalid PGMQ migration plan: " <>) . show) pure (migrationPlan (component :| []))