Skip to content

MigraDiff

v1.1.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 5d Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

ReleasePort's take

Moderate signal
editorial:auto 2d

MigraDiff v1.1.0 introduces JSON output with per‑statement risk classification and several usability improvements, but it requires uninstalling the original migra before installation.

Why it matters: The release adds structured diff output (severity 30) for automated CI integration and mandates a breaking change: uninstall the prior migra package before installing migradiff (severity 70).

Summary

AI summary

Adds a JSON output mode with per‑statement risk classification.

Changes in this release

Breaking High

Requires uninstalling original migra before installing migradiff

Requires uninstalling original migra before installing migradiff

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Adds `--from-file` to diff pg_dump -s schema files without a live database connection

Adds `--from-file` to diff pg_dump -s schema files without a live database connection

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Adds `--output json` for structured diff output with risk classification

Adds `--output json` for structured diff output with risk classification

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Provides `docker-compose.yml` for a one‑command local development environment

Provides `docker-compose.yml` for a one‑command local development environment

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Introduces Dockerfile and official Docker image

Introduces Dockerfile and official Docker image

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Adds GitHub Actions workflow with `fail_on_destructive` support

Adds GitHub Actions workflow with `fail_on_destructive` support

Source: llm_adapter@2026-06-02

Confidence: high

Feature Low

Adds pre‑commit hook for automated checks

Adds pre‑commit hook for automated checks

Source: llm_adapter@2026-06-02

Confidence: high

Bugfix Medium

Resolves Python 3.12+ deprecation warnings

Resolves Python 3.12+ deprecation warnings

Source: llm_adapter@2026-06-02

Confidence: high

Bugfix Medium

Fixes `--schema` flag edge cases in multi-schema deployments

Fixes `--schema` flag edge cases in multi-schema deployments

Source: llm_adapter@2026-06-02

Confidence: high

Bugfix Medium

Corrects RLS policy diffing for CREATE/DROP POLICY and partition tables

Corrects RLS policy diffing for CREATE/DROP POLICY and partition tables

Source: llm_adapter@2026-06-02

Confidence: high

Full changelog

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

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track MigraDiff

Get notified when new releases ship.

Sign up free

About MigraDiff

All releases →

Beta — feedback welcome: [email protected]