packages feed

keiro-migrations 0.2.0.0 → 0.3.0.0

raw patch · 3 files changed

+33/−14 lines, 3 filesdep ~kiroku-store-migrationsdep ~pg-migratedep ~pg-migrate-cliPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: kiroku-store-migrations, pg-migrate, pg-migrate-cli, pg-migrate-embed, pg-migrate-import-codd, pg-migrate-test-support

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -8,6 +8,25 @@  _No unreleased changes._ +## 0.3.0.0 — 2026-07-14++### Breaking Changes++- `keiro-migrate check` now takes the manifest as `--manifest PATH` instead of a+  positional argument, matching `new --manifest`. This follows the `pg-migrate-cli`+  1.1.0.0 parser, and matches the same change in `kiroku-store-migrate check`.++### Changed++- Upgraded to `pg-migrate` 1.1.0.0 and `kiroku-store-migrations` 0.3.0.0, keeping+  the pg-migrate version aligned with the one Kiroku's migration component+  requires. `keiro-migrate up` and `repair` now accept `--wait` and+  `--no-statement-timeout` overrides; omitting an execution flag preserves the+  configured runner settings instead of discarding them. A durably successful+  migration, repair, or history-import run is now preserved with its cleanup+  observations attached, rather than replaced by an error, when advisory unlock or+  statement-timeout restoration fails.+ ## 0.2.0.0 — 2026-07-13  ### Added
app/Main.hs view
@@ -33,7 +33,7 @@         TextOutput -> Text.IO.putStrLn (renderMigrationCommandText outcome)         JsonOutput -> LazyByteString.putStrLn (Aeson.encode (renderMigrationCommandJson outcome))     Exit.exitWith-        (case exitClass outcome of ExitSuccess -> Exit.ExitSuccess; _ -> Exit.ExitFailure 1)+        (case exitClass outcome of ExitSucceeded -> Exit.ExitSuccess; _ -> Exit.ExitFailure 1)  commandOutputFormat :: MigrationCommand -> OutputFormat commandOutputFormat command =
keiro-migrations.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               keiro-migrations-version:            0.2.0.0+version:            0.3.0.0 synopsis:           Schema migrations for keiro description:   Embedded PostgreSQL schema migrations and a migration runner for the Keiro@@ -327,10 +327,10 @@     , base                     >=4.18     && <5     , bytestring               >=0.11     && <0.13     , containers               >=0.6      && <0.8-    , kiroku-store-migrations  ^>=0.2.0.0-    , pg-migrate               ^>=1.0.0.0-    , pg-migrate-embed         ^>=1.0.0.0-    , pg-migrate-import-codd   ^>=1.0.0.0+    , kiroku-store-migrations  ^>=0.3.0.0+    , pg-migrate               ^>=1.1.0.0+    , pg-migrate-embed         ^>=1.1.0.0+    , pg-migrate-import-codd   ^>=1.1.0.0     , template-haskell         >=2.20     && <2.24     , text                     >=2.0      && <2.2 @@ -359,10 +359,10 @@     , bytestring               >=0.11     && <0.13     , hasql                    >=1.10     && <1.11     , keiro-migrations-    , kiroku-store-migrations  ^>=0.2.0.0+    , kiroku-store-migrations  ^>=0.3.0.0     , optparse-applicative     >=0.17     && <0.20-    , pg-migrate               ^>=1.0.0.0-    , pg-migrate-cli           ^>=1.0.0.0+    , pg-migrate               ^>=1.1.0.0+    , pg-migrate-cli           ^>=1.1.0.0     , text                     >=2.0      && <2.2  executable keiro-write-expected-schema@@ -397,10 +397,10 @@     , hasql                    >=1.10     && <1.11     , hspec                    >=2.10     && <2.12     , keiro-migrations-    , kiroku-store-migrations  ^>=0.2.0.0-    , pg-migrate               ^>=1.0.0.0-    , pg-migrate-import-codd   ^>=1.0.0.0-    , pg-migrate-test-support  ^>=1.0.0.0+    , kiroku-store-migrations  ^>=0.3.0.0+    , pg-migrate               ^>=1.1.0.0+    , pg-migrate-import-codd   ^>=1.1.0.0+    , pg-migrate-test-support  ^>=1.1.0.0     , text                     >=2.0      && <2.2  test-suite keiro-migrations-legacy-test@@ -431,7 +431,7 @@     , hspec                    >=2.10     , keiro-migrations     , kiroku-store             >=0.3      && <0.4-    , kiroku-store-migrations  ^>=0.2.0.0+    , kiroku-store-migrations  ^>=0.3.0.0     , lens                     >=5.2     , temporary     , text                     >=2.0