A dependency-realignment release across the package set. keiro-migrations and
keiro-pgmq now sit on one pg-migrate 1.1 family together with Kiroku, so a
single ledger owns the kiroku, keiro, and pgmq migration components.
With this release every dependency in the default build plan resolves from
Hackage. codd and codd-extras remain the only non-Hackage packages, and
they are reachable only through the manual legacy-codd-tools flag, which is
off by default.
Packages
| Package | Hackage |
|---|---|
| keiro-core | https://hackage.haskell.org/package/keiro-core-0.3.0.0 |
| keiro | https://hackage.haskell.org/package/keiro-0.3.0.0 |
| keiro-pgmq | https://hackage.haskell.org/package/keiro-pgmq-0.3.0.0 |
| keiro-migrations | https://hackage.haskell.org/package/keiro-migrations-0.3.0.0 |
| keiro-dsl | https://hackage.haskell.org/package/keiro-dsl-0.3.0.0 |
Each package is also tagged individually at <package>-0.3.0.0.
What's Changed
Breaking Changes
keiro-migrate checknow takes the manifest as--manifest PATHinstead of a
positional argument, following thepg-migrate-cli1.1.0.0 parser.Keiro.Test.Postgres.withMigratedSuiteWithnow takes[MigrationComponent]—
extrapg-migratecomponents appended to the framework plan — instead of a
Text -> IO ()hook that ran its own migration against the template database.
Apg-migrateledger is shared by every component in it, so a second plan that
omitted Kiroku's and Keiro's components failed strict verification with
UnknownStoredMigration. Suites that installed extra schema (such as PGMQ) now
pass the component itself:withMigratedSuiteWith [pgmqMigrations].
Changed
- Upgraded
kiroku-storeto 0.3.0.1,kiroku-store-migrationsto 0.3.0.0, and the
pg-migratepackage family to 1.1.0.0 inkeiro-migrationsand
keiro-test-support. This realigns Keiro's pg-migrate version with the one
Kiroku's migration component requires — the previous^>=1.0.0.0bounds excluded
pg-migrate 1.1 and so could not resolve alongsidekiroku-store-migrations0.3.
Fromkiroku-store0.3.0.1, a failure raised inside an opaquerunTransaction
body now preserves its SQLSTATE and server message instead of surfacing as
StreamNotFound (StreamName "<transaction>"). - Upgraded
keiro-pgmqtoshibuya-pgmq-adapter0.12.0.0 and thepgmq-*0.4
package family, which is what aligns the PGMQ path with pg-migrate 1.1. The
adapter's own API is unchanged; the notable fix is that idle streams now observe
shutdown, so a processor with nothing to consume finishes on request instead of
polling until it is forcibly cancelled.shibuya-corestays at 0.8.0.1 (already
the latest). - Dropped the
hasql-migrationsource-repository-packagepin from
cabal.project. It existed only becausepgmq-migration0.3 depended on
hasql-migration, whose Hackage release does not build against hasql 1.10;
pgmq-migration0.4 is a nativepg-migratecomponent and nothing in the build
plan depends on it now.
Lockstep releases
keiro-core, keiro, and keiro-dsl have no source changes this cycle and are
released at 0.3.0.0 to stay in lockstep with the set. keiro and keiro-pgmq
tighten their keiro-core bound to ^>=0.3.0.0.
Full Changelog: keiro-0.2.0.0...keiro-0.3.0.0