Skip to content

v1.1.0 — First public release

Choose a tag to compare

@leochong leochong released this 29 May 18:21

First public release of MigraDiff, the actively maintained fork of djrobstep/migra.

pip install migradiff

Drop-in replacement — CLI interface and output format unchanged from the original migra.

Fixed

  • Python 3.12+ deprecation warnings resolved
  • --schema flag edge cases in multi-schema deployments
  • RLS policy diffing — CREATE/DROP POLICY, partition table support, equality comparison bug
  • 6 test fixture mismatches from schemainspect version drift

Added

  • --from-file — diff pg_dump -s schema files without a live database connection
  • --output json — structured diff output with per-statement risk classification (safe / warning / destructive)
  • docker-compose.yml — one-command local dev environment
  • Dockerfile and official Docker image
  • GitHub Actions action with fail_on_destructive support
  • Pre-commit hook

Upgrading from djrobstep/migra

pip uninstall migra
pip install migradiff

Full changelog: https://github.com/migradiff/migra/blob/main/CHANGELOG.md