Django Test Migrations Versions Save

Test django schema and data migrations, including migrations' order and best practices.

1.3.0

1 year ago

Features

  • Adds Python 3.11 support
  • Drops Python 3.7 support
  • Adds Django 4.1 support
  • Adds Django 4.2 support
  • Drops Django 2.2 support

1.2.0

2 years ago

Features

  • Adds Python 3.10
  • Adds Django 4.0 support
  • Updates typing_extensions to >=3.6,<5

1.1.0

3 years ago

Features

  • Adds Django 3.1 support (#123, #154)
  • Adds markers/tags to migration tests (#138)
  • Adds database configuration checks (#91)

Bugfixes

  • Fixes tables dropping on MySQL by disabling foreign keys checks (#149)
  • Fixes migrate signals muting when running migrations tests (#133)

Misc

  • Runs tests against PostgreSQL and MySQL database engines (#129)

1.0.0

3 years ago

Breaking Changes

  • Rename following Migrator methods (#83):

    • before to apply_initial_migration
    • after to apply_tested_migration
  • Improves databases setup and teardown for migrations tests (#76) Currently Migrator.reset uses migrate management command and all logic related to migrations tests setup is moved to Migrator.apply_tested_migration.

Bugfixes

  • Fixes pre_migrate and post_migrate signals muting (#87)
  • Adds missing typing_extension dependency (#86)

Misc

  • Refactor tests (#79)
  • Return django installed from master branch to testing matrix (#77)

0.3.0

4 years ago

Features

  • Drops [email protected] support
  • Adds '*' alias for ignoring all migrations in an app with DTM_IGNORED_MIGRATIONS

Bugfixes

  • Fixes how pre_migrate and post_migrate signals are muted

Misc

  • Updates wemake-python-styleguide
  • Moves from travis to Github Actions

0.2.0

4 years ago

Features

  • Adds autoname check to forbid *_auto_* named migrations
  • Adds [email protected] support
  • Adds python3.8 support

Bugfixes

  • Fixes that migtaions were failing with pre_migrate and post_migrate signals
  • Fixes that tests were failing when pytest --nomigration was executed, now they are skipped

Misc

0.1.0

4 years ago

Version 0.1.0

  • Initial release