Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.3.0]

  • explain how drift detction works
  • add abilitiy to suppress warnings

[0.2.0]

  • Fixed applied migrations ordering to respect dependencies without unnecessary reversal.

  • Ensured AddField and AlterField operations correctly set field.name to prevent missing column errors.

  • Unified database type normalization across introspection and state handling.

  • Added proper handling for SlugField, EmailField, URLField, UUIDField, ForeignKey, and OneToOneField.

  • Prevented accidental column creation for ManyToManyField

  • Added example project for users and contributors to set up a demo database with schema issues and run audit_migrations to detect them

[0.1.1]

  • Added CHANGELOG.md and integrated into documentation.
  • Improved CI workflow configuration.
  • Fixed bugs with the schema detection and comparison.

[0.1.0]

  • Core audit functionality comparing Migration History, Migration Code, and Live Database Schema.
  • "Trust Verification" (Comparison A): Verifies consistency between migration history and migration code.
  • Detects missing migration files.
  • Detects modified migration files.
  • Detects fake-applied migrations.
  • Verifies squash replacements.
  • "Reality Check" (Comparison B): Verifies consistency between expected schema (from code) and actual database schema.
  • Detects missing or extra tables.
  • Detects missing or extra columns.
  • Detects column type mismatches.
  • audit_migrations management command.
  • Support for targeting specific databases (--database).
  • Support for running specific comparisons (--comparison=a or --comparison=b).
  • Integration with pre-commit for automated checks.
  • Comprehensive test suite including unit and integration tests.