kioku-migrate 0.1.0.0 → 0.2.0.0
raw patch · 3 files changed
+31/−5 lines, 3 filesdep ~kioku-coredep ~kioku-migrations
Dependency ranges changed: kioku-core, kioku-migrations
Files
- CHANGELOG.md +18/−0
- app/Main.hs +6/−1
- kioku-migrate.cabal +7/−4
CHANGELOG.md view
@@ -1,5 +1,23 @@ # Changelog +## 0.2.0.0 — 2026-07-30++### Breaking Changes++- Moved onto the Keiro 0.4 cohort through `kioku-core` and `kioku-migrations`. A database that was+ migrated by kioku 0.1.0.0 picks up exactly two migrations on the next `kioku-migrate up` —+ `keiro/0019-keiro-snapshots-state-shape-hash` and+ `keiro/0020-keiro-workflow-children-failure-reason` — and reports every other migration as+ already applied. Both add a column to a Keiro-owned table; no existing row is read or rewritten.+ After the upgrade `kioku-migrate verify` reports `applied=38 pending=0 unknown=0`.++### Deprecated++- The `kioku-migrate import` subcommand, which imports a codd ledger into pg-migrate, is+ deprecated. It remains fully supported for now. Removal is gated on the last codd-era downstream+ database crossing over; see `kioku-migrations/codd-upgrade/README.md` for the gate and the full+ list of what is removed together.+ ## 0.1.0.0 — 2026-07-14 ### Added
app/Main.hs view
@@ -87,7 +87,12 @@ "import" ( info (ImportCodd <$> coddImportOptionsParser <**> helper)- (progDesc "Import the 30-migration pinned Kiroku/Keiro/Kioku Codd cohort without replaying DDL")+ ( progDesc+ "DEPRECATED (removal pending): import the 30-migration pinned Kiroku/Keiro/Kioku Codd \+ \cohort without replaying DDL. This is a one-time bridge for databases predating the \+ \pg-migrate cutover; it is removed once the last codd-era database has crossed over. \+ \A database created by 'kioku-migrate up' never needs this."+ ) ) )
kioku-migrate.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: kioku-migrate-version: 0.1.0.0+version: 0.2.0.0 synopsis: The kioku schema migration entry point description: Applies kioku's migration chain and then reconciles keiro's read-model@@ -40,14 +40,17 @@ OverloadedRecordDot OverloadedStrings - ghc-options: -threaded -rtsopts -with-rtsopts=-N+ -- This executable *implements* the deprecated codd import bridge, so its own+ -- use of Kioku.Migrations.History.Codd is deliberate. The deprecation exists+ -- to warn downstream consumers, not us; silence it only here.+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wno-deprecations build-depends: , aeson >=2.2 && <2.3 , base >=4.21 && <5 , bytestring >=0.12 && <0.13 , hasql >=1.10 && <1.11- , kioku-core ^>=0.1.0.0- , kioku-migrations ^>=0.1.0.0+ , kioku-core ^>=0.2.0.0+ , kioku-migrations ^>=0.2.0.0 , kiroku-store ^>=0.3.0.1 , optparse-applicative >=0.17 && <0.20 , pg-migrate ^>=1.1.0.0