Skip to content

Releases: hzdg/django-enumfields

Version 2.1.1

23 Feb 06:41
@akx akx
Compare
Choose a tag to compare
  • Fix string-to-enum conversion regression mistakenly introduced in 2.1.0 (#125)

Version 2.1.0

22 Feb 13:32
@akx akx
Compare
Choose a tag to compare

Version support maintenance release.

  • Drop support for Django 2.0
  • Drop support for Django 2.1
  • Add support for Django 3.1
  • Add support for Python 3.9.2+

Version 2.0.0

18 Jan 12:29
@akx akx
Compare
Choose a tag to compare

Version support changes (possibly breaking)

  • Drop support for Python 2.7
  • Drop support for Python 3.4
  • Drop support for Django 1.8
  • Drop support for Django 1.10
  • Add support for Django 2.1
  • Add support for Django 2.2
  • Add support for Django 3.0
  • Add support for Python 3.7
  • Add support for Python 3.8

Additions and bugfixes

  • Bug: Fix EnumSupportSerializerMixin for non-editable fields
  • Docs: Readme improvements
  • Feature: Warn when some values of an enum won't fit in the backing database field
  • Packaging: PEP-396 compliant __version__ attribute
  • Packaging: Tests are now packaged with the source distribution

0.10.0

29 May 13:19
Compare
Choose a tag to compare

Django 2.0 support

0.9.0

28 Mar 08:25
@akx akx
Compare
Choose a tag to compare
  • Support for Python 2.6 and older has been dropped. (#72 / @akx)
  • Support for Python 3.3 and older has been dropped. (#72 / @akx)
  • Support for Django 1.7 and older has been dropped. (#72 / @akx)
  • The six library bundled with Django is now used. (#71 @akx)
  • Enum instances may be used as form data (#70, @lucaswiman)
  • A Django REST Framework field was added. (#74, @novadev94 / @akx)

0.8.3

27 Mar 09:08
@akx akx
Compare
Choose a tag to compare

Python 3.6 compatibility; enum34 is no longer installed on Python 3.4 and above.

0.8.2

29 Jul 07:08
@akx akx
Compare
Choose a tag to compare

No functional changes, just removes tests/ from wheels.

0.8.1

27 Jun 07:21
@akx akx
Compare
Choose a tag to compare

0.8.0

23 Jun 07:15
@akx akx
Compare
Choose a tag to compare

👉 https://pypi.python.org/pypi/django-enumfields/0.8.0

A summary of the bugfixes/functional additions since 0.7.4:

  • 7ec7d61 Fix EnumFieldMixin.get_choices for enum34 1.1
  • ed7d1d9 support enum values in EnumFieldMixin.get_prep_value
  • 336f30e Officially support Python 3.5 (and drop support for Python 3.2)
  • 8260050 Support Django 1.8 and 1.9 (Remove SubfieldBase metaclass from EnumFieldMixin)
  • 6e0344a Add IntEnum (like the standard library's IntEnum)
  • d62e5de Don't mangle values when they're already enums.
  • 9a34f15 Add enumfields.admin.EnumFieldListFilter
  • 3cef7ad Don't use nested enum classes in README