@hackage / sydtest-persistent-postgresql

An persistent-postgresql companion library for sydtest

Latest0.4.0.0

Changelog

Changelog

[0.4.0.0] - 2026-05-17

Added
  • postgresqlServerSetupFunc, postgresqlUserSetupFunc, and postgresqlDatabaseSetupFunc are now exported as building blocks for composing custom setup chains.
  • emptyPostgresPoolSetupFunc provides a ConnectionPool to a fresh empty database (server + user + db + pool) without going through a migrated template.
Changed
  • Internal helpers adminDBSetupFunc, tempUserSetupFunc, and tempNewDatabaseSetupFunc were renamed to postgresqlServerSetupFunc, postgresqlUserSetupFunc, and postgresqlDatabaseSetupFunc and promoted to the public API.

[0.3.0.0] - 2025-12-26

Changed
  • Complete overhaul: Tests now run with their own database based on a template database instead of their own entire postgres server.

[0.2.0.3] - 2023-10-09

Added
  • Compatibility with GHC >= 9.8.

[0.2.0.2] - 2022-05-05

Added
  • postgresqlMigrationSucceedsSpec

[0.2.0.1] - 2022-04-26

Added
  • Compatibility with GHC >= 9

[0.2.0.0] - 2021-06-19

Added
  • Dependency on sydtest-persistent
Changed
  • Type of runSqliteTest is changed to run SqlPersistM instead of SqlPersistT IO