Skip to content

Releases: jazzband/django-redshift-backend

5.0.0

28 Nov 12:35
Compare
Choose a tag to compare

What's Changed

Features:

Internals:

Full Changelog: 4.2.0...5.0.0

4.2.0

30 Oct 05:23
Compare
Choose a tag to compare

What's Changed

General:

Features:

  • #149 Added a clear message on ImportError when the psycopg2 package cannot be found. by @shimizukawa in #159

Bug FIxes:

Internals:

Full Changelog: 4.1.1...4.2.0

4.1.1

20 Aug 04:31
Compare
Choose a tag to compare

What's Changed

  • Fixed: broken django.db.backends.signals.connection_created signal by @shimizukawa in #147

Full Changelog: 4.1.0...4.1.1

4.1.0

27 Jul 11:31
Compare
Choose a tag to compare

What's Changed

  • Bump python version support to 3.11 and 3.12 - closes #107 by @fizyk in #140

Contributors

Full Changelog: 4.0.0...4.1.0

4.0.0

23 Jul 00:53
Compare
Choose a tag to compare

What's Changed

Features:

  • #116 Add Django-4.2 support.
    Special thanks to Grzegorz Śliwiński, who made a significant contribution to the development of Django-4.1 support in PR #111. Using this as a springboard, we have now made it possible to support Django-4.2.
  • #83 Drop Django-2.2 support.
  • #83 Drop Python-3.6 support.
  • #127 Drop Python-3.7 support.
  • #83 Drop Django-2.2 support.
  • #134 Support adding COLUMN with UNIQUE; adding column without UNIQUE then add UNIQUE CONSTRAINT.
  • #135 Support adding BinaryField.
  • #132 Use 36 length for UUIDFields to support including hyphens. Thanks to kylie.

Bug Fixes:

  • #134 inspectdb should suppress output 'id = AutoField(primary_key=True)'
  • #134 fix for decreasing size of column with default by create-copy-drop-rename strategy.
  • #118 fix constraint creation using the wrong table and column name. Thanks to BlueMagma.

Others

Contributors

Full Changelog: 3.0.0...4.0.0

3.0.0

27 Feb 00:01
Compare
Choose a tag to compare

General:

  • #87 Drop py2 wheel tag from release package file.
  • Add CODE_OF_CONDUCT.rst The linked text which has been referred to from CONTRIBUTING.rst is now included.

Incompatible Changes:

  • #97 To specify SORTKEY for Redshift, you must use django_redshift_backend.SortKey for
    Model.Meta.ordering instead of bearer string.

    IMPORTANT:
    With this change, existing migration files that specify ordering are not affected.
    If you want to apply SortKey to your migration files, please comment out the ordering option once and run
    makemigrations, then comment in the ordering option and run makemigrations again.

  • #97 django_redshift_backend.distkey.DistKey is moved to django_redshift_backend.DistKey.
    However old name is still supported for a compatibility.

  • #97 Now django-redshift-backend doesn't support can_rollback_ddl.
    Originally, Redshift did not support column name/type(size) changes within a transaction.
    Please refer #96

  • #97 changed the behavior of implicit not null column addition.
    previously, adding a not null column was implicitly changed to allow null.
    now adding not null without default raises a programmingerror exception.

Features:

  • #82 Add Python-3.10 support.
  • #98 Add Django-4.0 support.
  • #82 Drop Django-3.0 support.
  • #98 Drop Django-3.1 support.
  • #90,#13,#8: Support manage.py inspectdb, also support working with the django-sql-explorer package.
    Thanks to Matt Fisher.
  • #63 Support changing a field from NOT NULL to NULL on migrate / sqlmigrate.
  • #97 Support VARCHAR size changing for UNIQUE, PRIMARY KEY, FOREIGN KEY.
  • #97 Support backward migration for DROP NOT NULL column wituout DEFAULT.
    One limitation is that the DEFAULT value is set to match the type. This is because the only way for
    Redshift to add NOT NULL without default is to recreate the table.

Bug Fixes:

  • #92,#93: since django-3.0 sqlmigrate (and migrate) does not work.
  • #37: fix Django contenttype migration that cause ProgrammingError: cannot drop sortkey column "name" exception.
  • #64: fix Django auth migration that cause NotSupportedError: column "content_type__app_label" specified as distkey/sortkey is not in the table "auth_permission" exception.

2.1.0

22 Sep 20:17
Compare
Choose a tag to compare

General:

  • #76 fix test failing on django-dev with py36,py37
  • #77 Mondernize setup.cfg and pyproject.toml

Bug Fixes:

  • #80 uuid field doesn't work correctly with django 2.x and 3.x. Thanks to xavier-lr.

Features:

  • #81 Add Django 3.2 support.

2.0.1

07 Mar 11:48
Compare
Choose a tag to compare

Bug Fixes:

  • #74: set supports_aggregate_filter_clause=False (since Django-2.0) to disable FILTER WHERE syntax. Thanks to Michael Wheeler.
  • #73: fix broken feature flags since Django-3.0: can_return_columns_from_insert and can_return_rows_from_bulk_insert. Thanks to Agustín Magaña.

2.0.0a1

03 Jan 20:48
db7ce41
Compare
Choose a tag to compare

General:

Features:

  • Drop Python 2.7 and 3.5 support.
  • Drop Django 1.11, 2.0 and 2.1 support.
  • #68 Add Python 3.8 and 3.9 support.
  • #68 Add Django 3.0 and 3.1 support.

Bug Fixes:

  • #69 Let users choose between psycopg2 binary or source. Thkanks to Bruno Alla.
  • #65,#66 Deprecation warning due to invalid escape sequences. Thanks to Karthikeyan Singaravelan.

Documentation:

  • #67 Just a typo cleanup from refs.rst. Thanks to Kostja P.

2.0.0

03 Jan 21:15
3d00fdf
Compare
Choose a tag to compare

General:

Features:

  • Drop Python 2.7 and 3.5 support.
  • Drop Django 1.11, 2.0 and 2.1 support.
  • #68 Add Python 3.8 and 3.9 support.
  • #68 Add Django 3.0 and 3.1 support.

Bug Fixes:

  • #69 Let users choose between psycopg2 binary or source. Thkanks to Bruno Alla.
  • #65,#66 Deprecation warning due to invalid escape sequences. Thanks to Karthikeyan Singaravelan.

Documentation:

  • #67 Just a typo cleanup from refs.rst. Thanks to Kostja P.