Skip to content

Releases: tbicr/django-pg-zero-downtime-migrations

create column with default rework, expicit constraints drop before drop table and column and bug fixes

07 Jun 21:21
Compare
Choose a tag to compare
  • changed ADD COLUMN DEFAULT NULL to safe operation for code default
  • changed ADD COLUMN DEFAULT NOT NULL to safe operation for db_default in django 5.0+
  • added ZERO_DOWNTIME_MIGRATIONS_KEEP_DEFAULT settings and changed ADD COLUMN DEFAULT NOT NULL with this settings to safe operation for django<5.0
  • added ZERO_DOWNTIME_MIGRATIONS_EXPLICIT_CONSTRAINTS_DROP settings and added dropping constraints and indexes before drop column or table
  • fixed sqlmigrate in idempotent mode
  • fixed creation unique constraint with include parameter
  • fixed idempotent mode tests
  • updated unsafe migrations links to documentation
  • updated patched code to latest django version
  • updated test image to ubuntu 24.04
  • improved README

dempotent mode, fix django 3.2 degradation

29 Apr 17:07
Compare
Choose a tag to compare
  • added idempotent mode and ZERO_DOWNTIME_MIGRATIONS_IDEMPOTENT_SQL setting
  • fixed django 3.2 degradation with missing skip_default_on_alter method
  • improved readme
  • updated release github action

python 3.12, django 5.0, postgres 16 support and deffered sql fix

21 Feb 22:50
Compare
Choose a tag to compare
  • fixed deferred sql errors
  • added django 5.0 support
  • added python 3.12 support
  • added postgres 16 support
  • drop postgres 11 support
  • drop ZERO_DOWNTIME_MIGRATIONS_USE_NOT_NULL setting
  • marked migrate_isnotnull_check_constraints command deprecated

django 4.2 support

24 Jun 23:43
Compare
Choose a tag to compare
  • added django 4.2 support
  • marked django 3.2 support deprecated
  • marked django 4.0 support deprecated
  • marked django 4.1 support deprecated
  • marked postgres 11 support deprecated
  • drop postgres 10 support
  • updated test docker image to ubuntu 22.04

python 3.11, django 4.1, postgres 15 support and AutoField fiexes

02 Nov 00:56
35cfe89
Compare
Choose a tag to compare
  • added serial and integer, bigserial and bigint, smallserial and smallint, same types changes as safe migrations
  • fixed AutoField type changing and concurrent insertions issue for django<4.1
  • added sequence dropping and creation timeouts as they can be used with CASCADE keyword and affect other tables
  • added django 4.1 support
  • added python 3.11 support
  • added postgres 15 support
  • marked postgres 10 support deprecated
  • drop django 2.2 support
  • drop django 3.0 support
  • drop django 3.1 support
  • drop postgres 9.5 support
  • drop postgres 9.6 support
  • add github actions checks for pull requests

python 3.9, 3.10, django 3.2, 4.0, postgres 14 support and bug fix

01 Jan 23:03
Compare
Choose a tag to compare
  • fixed rename model with keeping db_table raises ALTER_TABLE_RENAME error #26
  • added django 3.2 support
  • added django 4.0 support
  • added python 3.9 support
  • added python 3.10 support
  • added postgres 14 support

django 3.1 and postgres 13 support

30 Sep 22:53
a7db6e7
Compare
Choose a tag to compare
  • added django 3.1 support
  • added postgres 13 support
  • drop python 3.5 support
  • updated test environment

bug fixes

29 Jul 06:26
a64cd2d
Compare
Choose a tag to compare
  • fixed decimal to float migration error
  • fixed django 3.0.2+ tests

django 3.0 support

11 Dec 07:12
227b467
Compare
Choose a tag to compare
  • added django 3.0 support
  • added concurrently index creation and removal operations
  • added exclude constraint support as unsafe operation
  • drop postgres 9.4 support
  • drop django 2.0 support
  • drop django 2.1 support
  • drop deprecated django_zero_downtime_migrations_postgres_backend module

python 3.8 support

02 Dec 19:26
f276ec4
Compare
Choose a tag to compare
  • added python 3.8 support
  • added postgres specific indexes support
  • improved tests clearness
  • fixed regexp escaping warning for management command
  • fixed style check
  • improved README
  • marked python 3.5 support deprecated
  • marked postgres 9.4 support deprecated
  • marked django 2.0 support deprecated
  • marked django 2.1 support deprecated