Skip to content

Releases: jazzband/django-model-utils

5.0.0

04 Sep 06:23
aeef108
Compare
Choose a tag to compare

This release includes the efforts of @mthuurne in the field of typing. I’d like to extend my sincere thanks to him and all the other contributors for their valuable efforts to make this release possible!

What's Changed

New Contributors

Full Changelog: 4.5.0...5.0.0

v5.0b0

19 Jun 15:27
731ed80
Compare
Choose a tag to compare
v5.0b0 Pre-release
Pre-release

Beta release for testing the type hints

4.5.1

02 May 11:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.5.0...4.5.1

v4.5.0

01 Apr 19:06
9e71a46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.4.0...4.5.0

4.4.0 (2024-02-10)

10 Feb 16:19
46d3392
Compare
Choose a tag to compare

What's Changed

  • Add support for Python 3.11 (#545)
  • Add support for Python 3.12 (#545)
  • Add support for Django 4.2 (#562)
  • Add support for Django 5.0 (#583)
  • Remove SaveSignalHandlingModel. This model used a modified copy of the internal Django method Model.save_base() and had not been updated for upstream bug fixes changes since its addition. (#582)
  • Drop support for Python 3.7 (#545)
  • Swedish translation (#561)
  • Use proper column name instead of attname (#573)
  • Fix ValueError when calling prefetch_related for tracked ForeignKey fields (Fixes #433)

Full Changelog: 4.3.1...4.4.0

4.3.1 (2022-11-15)

16 Jun 06:13
62da080
Compare
Choose a tag to compare
  • Confirm support for Django 4.0 (#513)
  • Add Spanish translation (#425)
  • Add French translation (#473)
  • Drop Django 1.7 workaround from select_subclasses() (#524)
  • Drop support for Django < 3.2 (#532)
  • Drop support for Python 3.6 (#532)
  • Confirm support for Django 4.1 (#532)

4.2.0

11 Oct 08:01
Compare
Choose a tag to compare
  • Add support for Django 3.2
  • Drop support for Django 3.0
  • Add support for Python 3.10
  • Added urlsafe token field.
  • Introduce context manager for FieldTracker state reset (GH-#491)
  • Fix performance regression of FieldTracker on FileField subclasses on Django 3.1+ (GH-#498)

4.1.1

08 Apr 12:00
4.1.1
Compare
Choose a tag to compare
  • Applied isort to codebase (Refs GH-402)
  • Fix TypeError in save when model inherits from both TimeStampModel
    and StatusModel. (Fixes GH-465)

4.1.0

08 Apr 11:57
4.1.0
Compare
Choose a tag to compare
  • Update InheritanceQuerySetMixin to avoid querying too much tables
  • TimeStampedModel now automatically adds 'modified' field as an update_fields
    parameter even if it is forgotten while using save()
  • FieldTracker now marks fields as not changed after refresh_from_db
  • FieldTracker now respects update_fields changed in overridden save()
    method
  • Replace ugettext_lazy with gettext_lazy to satisfy Django deprecation warning
  • Add available_objects manager to SoftDeletableModel and add deprecation
    warning to objects manager.
  • StatusModel now automatically adds 'status_changed' field during save as an
    update_fieldsparameter when 'status' is present in it to make sure it is not
    forgotten.
  • Update test requirements
  • Move tests to GitHub Actions: https://github.com/jazzband/django-model-utils/actions
  • Drop support for Django 2.1
  • Add support for Python 3.9
  • Add support for Django 3.1

4.0.0

11 Dec 14:49
Compare
Choose a tag to compare

4.0.0 (2019-12-11)

  • Remove hacks for previously supported Django versions. (Fixes GH-390)
  • Dropped support for Python 2.7. (Fixes GH-393)
  • Dropped usage of six
  • Drop support for Django 1.11
  • Add support for Python 3.8
  • Add support for Django 3.0