pgmq-config 0.6.1.0 → 0.6.1.1
raw patch · 5 files changed
+16/−3 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +8/−0
- pgmq-config.cabal +1/−1
- test/EphemeralDb.hs +1/−0
- test/ForeignQueueSpec.hs +3/−1
- test/NotifyCrashSpec.hs +3/−1
CHANGELOG.md view
@@ -1,5 +1,13 @@ # Revision history for pgmq-config +## 0.6.1.1 -- 2026-09-25++Coordinated family version bump; the library is unchanged from 0.6.1.0.++`ForeignQueueSpec` and `NotifyCrashSpec`, which start their own clusters, now use 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 Widen the `effectful-core` bound behind the `effectful` flag to `^>=2.6 || ^>=2.7`, adding
pgmq-config.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.4 name: pgmq-config-version: 0.6.1.0+version: 0.6.1.1 synopsis: Declarative queue configuration for PGMQ (PostgreSQL Message Queue)
test/EphemeralDb.hs view
@@ -4,6 +4,7 @@ module EphemeralDb ( -- * Database setup withPgmqDb,+ ephemeralConfig, -- * Re-exports StartError,
test/ForeignQueueSpec.hs view
@@ -41,6 +41,7 @@ migrationPlan, runMigrationPlan, )+import EphemeralDb (ephemeralConfig) import EphemeralPg qualified as Pg import Hasql.Decoders qualified as D import Hasql.Encoders qualified as E@@ -222,7 +223,8 @@ startOrFail :: IO Pg.Database startOrFail = do- result <- Pg.startCached Pg.defaultConfig Pg.defaultCacheConfig+ config <- ephemeralConfig+ result <- Pg.startCached config Pg.defaultCacheConfig case result of Left err -> assertFailure $ "could not start a dedicated PostgreSQL: " <> show err Right db -> pure db
test/NotifyCrashSpec.hs view
@@ -33,6 +33,7 @@ migrationPlan, runMigrationPlan, )+import EphemeralDb (ephemeralConfig) import EphemeralPg qualified as Pg -- 'shutdownMode' names a field of both Pg.Config and Pg.Database, so the record -- update below needs the selector from the module that defines only Database.@@ -186,7 +187,8 @@ startOrFail :: IO Pg.Database startOrFail = do- result <- Pg.startCached Pg.defaultConfig Pg.defaultCacheConfig+ config <- ephemeralConfig+ result <- Pg.startCached config Pg.defaultCacheConfig case result of Left err -> assertFailure $ "could not start a dedicated PostgreSQL: " <> show err Right db -> pure db