|
4 | 4 | Change Log
|
5 | 5 | ==========
|
6 | 6 |
|
| 7 | +v2.2.1 (2025-04-18) |
| 8 | +=================== |
| 9 | + |
| 10 | +* First release under `django-commons <https://github.com/django-commons>` ownership! |
| 11 | +* Fix all links to reflect new home @ `django-commons <https://github.com/django-commons>` |
| 12 | + |
7 | 13 | v2.2.0 (2025-03-28)
|
8 | 14 | ===================
|
9 | 15 |
|
10 |
| -* Implemented `Need a DRF integration for FlagFields <https://github.com/bckohan/django-enum/issues/113>`_ |
11 |
| -* Fixed `FilterSet override of filter_for_lookup disregards meta options. <https://github.com/bckohan/django-enum/issues/111>`_ |
12 |
| -* Implemented `Add EnumFlagFilter to support has_any and has_all flag queries. <https://github.com/bckohan/django-enum/issues/110>`_ |
13 |
| -* Fixed `Enum types that resolve to primitives of str or int but that do not inherit from those types can result in validation errors. <https://github.com/bckohan/django-enum/issues/109>`_ |
14 |
| -* Implemented `Support checkboxes for FlagEnumField <https://github.com/bckohan/django-enum/issues/107>`_ |
15 |
| -* Implemented `Support radio buttons for EnumChoiceField <https://github.com/bckohan/django-enum/issues/106>`_ |
16 |
| -* Implemented `If default is not provided for flag fields it should be Flag(0). <https://github.com/bckohan/django-enum/issues/105>`_ |
17 |
| -* Fixed `EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None <https://github.com/bckohan/django-enum/issues/104>`_ |
18 |
| -* Fixed `Large enum fields that inherit from binaryfield have editable=False by default <https://github.com/bckohan/django-enum/issues/103>`_ |
19 |
| -* Fixed `EnumFlagField breaks for Flag types that are not constructible from lists of values <https://github.com/bckohan/django-enum/issues/102>`_ |
20 |
| -* Implemented `Test all example code in the docs <https://github.com/bckohan/django-enum/issues/99>`_ |
21 |
| -* Implemented `Use intersphinx for doc references <https://github.com/bckohan/django-enum/issues/98>`_ |
22 |
| -* Implemented `Support Django 5.2 <https://github.com/bckohan/django-enum/issues/96>`_ |
23 |
| -* Implemented `Upgrade to enum-properties >=2.2 <https://github.com/bckohan/django-enum/issues/95>`_ |
24 |
| -* Implemented `Move form imports to locally scoped imports where needed in fields.py <https://github.com/bckohan/django-enum/issues/79>`_ |
25 |
| -* Implemented `Reorganize documentation using diataxis <https://github.com/bckohan/django-enum/issues/72>`_ |
26 |
| -* Implemented `Provide a MultipleEnumChoiceFilter <https://github.com/bckohan/django-enum/issues/25>`_ |
27 |
| -* Implemented `Provide an EnumMultipleChoiceField <https://github.com/bckohan/django-enum/issues/24>`_ |
| 16 | +* Implemented `Need a DRF integration for FlagFields <https://github.com/django-commons/django-enum/issues/113>`_ |
| 17 | +* Fixed `FilterSet override of filter_for_lookup disregards meta options. <https://github.com/django-commons/django-enum/issues/111>`_ |
| 18 | +* Implemented `Add EnumFlagFilter to support has_any and has_all flag queries. <https://github.com/django-commons/django-enum/issues/110>`_ |
| 19 | +* Fixed `Enum types that resolve to primitives of str or int but that do not inherit from those types can result in validation errors. <https://github.com/django-commons/django-enum/issues/109>`_ |
| 20 | +* Implemented `Support checkboxes for FlagEnumField <https://github.com/django-commons/django-enum/issues/107>`_ |
| 21 | +* Implemented `Support radio buttons for EnumChoiceField <https://github.com/django-commons/django-enum/issues/106>`_ |
| 22 | +* Implemented `If default is not provided for flag fields it should be Flag(0). <https://github.com/django-commons/django-enum/issues/105>`_ |
| 23 | +* Fixed `EnumFlagFields set empty values to Flag(0) when model field has null=True, default=None <https://github.com/django-commons/django-enum/issues/104>`_ |
| 24 | +* Fixed `Large enum fields that inherit from binaryfield have editable=False by default <https://github.com/django-commons/django-enum/issues/103>`_ |
| 25 | +* Fixed `EnumFlagField breaks for Flag types that are not constructible from lists of values <https://github.com/django-commons/django-enum/issues/102>`_ |
| 26 | +* Implemented `Test all example code in the docs <https://github.com/django-commons/django-enum/issues/99>`_ |
| 27 | +* Implemented `Use intersphinx for doc references <https://github.com/django-commons/django-enum/issues/98>`_ |
| 28 | +* Implemented `Support Django 5.2 <https://github.com/django-commons/django-enum/issues/96>`_ |
| 29 | +* Implemented `Upgrade to enum-properties >=2.2 <https://github.com/django-commons/django-enum/issues/95>`_ |
| 30 | +* Implemented `Move form imports to locally scoped imports where needed in fields.py <https://github.com/django-commons/django-enum/issues/79>`_ |
| 31 | +* Implemented `Reorganize documentation using diataxis <https://github.com/django-commons/django-enum/issues/72>`_ |
| 32 | +* Implemented `Provide a MultipleEnumChoiceFilter <https://github.com/django-commons/django-enum/issues/25>`_ |
| 33 | +* Implemented `Provide an EnumMultipleChoiceField <https://github.com/django-commons/django-enum/issues/24>`_ |
28 | 34 |
|
29 | 35 | v2.1.0 (2025-02-24)
|
30 | 36 | ===================
|
31 | 37 |
|
32 |
| -* Implemented `Switch poetry -> uv <https://github.com/bckohan/django-enum/issues/87>`_ |
33 |
| -* Implemented `Add macos runner to CI <https://github.com/bckohan/django-enum/issues/86>`_ |
34 |
| -* Implemented `Add windows runner to CI <https://github.com/bckohan/django-enum/issues/85>`_ |
35 |
| -* Implemented `Drop support for python 3.8 <https://github.com/bckohan/django-enum/issues/84>`_ |
36 |
| -* Implemented `Move to justfile dev interface. <https://github.com/bckohan/django-enum/issues/83>`_ |
37 |
| -* Implemented `Modernize pyproject.toml <https://github.com/bckohan/django-enum/issues/82>`_ |
| 38 | +* Implemented `Switch poetry -> uv <https://github.com/django-commons/django-enum/issues/87>`_ |
| 39 | +* Implemented `Add macos runner to CI <https://github.com/django-commons/django-enum/issues/86>`_ |
| 40 | +* Implemented `Add windows runner to CI <https://github.com/django-commons/django-enum/issues/85>`_ |
| 41 | +* Implemented `Drop support for python 3.8 <https://github.com/django-commons/django-enum/issues/84>`_ |
| 42 | +* Implemented `Move to justfile dev interface. <https://github.com/django-commons/django-enum/issues/83>`_ |
| 43 | +* Implemented `Modernize pyproject.toml <https://github.com/django-commons/django-enum/issues/82>`_ |
38 | 44 |
|
39 | 45 | v2.0.2 (2024-09-25)
|
40 | 46 | ===================
|
41 | 47 |
|
42 |
| -* Fixed `Constraints fail when using a name argument <https://github.com/bckohan/django-enum/issues/77>`_ |
| 48 | +* Fixed `Constraints fail when using a name argument <https://github.com/django-commons/django-enum/issues/77>`_ |
43 | 49 |
|
44 | 50 | v2.0.1 (2024-09-16)
|
45 | 51 | ===================
|
46 | 52 |
|
47 |
| -* Fixed `Unexpected ValueError instead of ValidationError <https://github.com/bckohan/django-enum/issues/74>`_ |
| 53 | +* Fixed `Unexpected ValueError instead of ValidationError <https://github.com/django-commons/django-enum/issues/74>`_ |
48 | 54 |
|
49 | 55 | v2.0.0 (2024-09-09)
|
50 | 56 | ===================
|
51 | 57 |
|
52 |
| -* Completed `Reorganize tests <https://github.com/bckohan/django-enum/issues/70>`_ |
53 |
| -* Completed `Switch linting and formatting to ruff <https://github.com/bckohan/django-enum/issues/62>`_ |
54 |
| -* Implemented `Install django-stubs when running static type checks. <https://github.com/bckohan/django-enum/issues/60>`_ |
55 |
| -* Fixed `When a character enum field allows null and blank=True, form fields and drf fields allow '' to pass through causing errors. <https://github.com/bckohan/django-enum/issues/53>`_ |
56 |
| -* Implemented `Supply a mixin for DRF ModelSerializers that instantiates the provided DRF EnumField type for model EnumFields. <https://github.com/bckohan/django-enum/issues/47>`_ |
57 |
| -* Implemented `EnumField's should inherit from common base titled EnumField <https://github.com/bckohan/django-enum/issues/46>`_ |
58 |
| -* Implemented `Add database constraints on enum fields by default. <https://github.com/bckohan/django-enum/issues/45>`_ |
59 |
| -* Fixed `to_python() raises ValueError instead of spec'ed ValidationError <https://github.com/bckohan/django-enum/issues/44>`_ |
60 |
| -* Implemented `Add support for date, datetime, timedelta, time and Decimal enumeration types. <https://github.com/bckohan/django-enum/issues/43>`_ |
61 |
| -* Fixed `None should be an allowable enumeration value in enums of any primitive type. <https://github.com/bckohan/django-enum/issues/42>`_ |
62 |
| -* Implemented `Characterize the performance trade offs of bitfields vs indexed and non-indexed boolean fields. <https://github.com/bckohan/django-enum/issues/41>`_ |
63 |
| -* Fixed `When coerce is false, to_python does not convert to the Enum's primitive type <https://github.com/bckohan/django-enum/issues/39>`_ |
64 |
| -* Implemented `Provide parameter to override integer range on EnumField. <https://github.com/bckohan/django-enum/issues/38>`_ |
65 |
| -* Implemented `Add all official supported Django RDBMS backends to CI <https://github.com/bckohan/django-enum/issues/33>`_ |
66 |
| -* Implemented `Support for integer sizes greater than 64 bit <https://github.com/bckohan/django-enum/issues/32>`_ |
67 |
| -* Implemented `Provide an optional enum path converter. <https://github.com/bckohan/django-enum/issues/22>`_ |
68 |
| -* Implemented `Support flag enumerations <https://github.com/bckohan/django-enum/issues/7>`_ |
| 58 | +* Completed `Reorganize tests <https://github.com/django-commons/django-enum/issues/70>`_ |
| 59 | +* Completed `Switch linting and formatting to ruff <https://github.com/django-commons/django-enum/issues/62>`_ |
| 60 | +* Implemented `Install django-stubs when running static type checks. <https://github.com/django-commons/django-enum/issues/60>`_ |
| 61 | +* Fixed `When a character enum field allows null and blank=True, form fields and drf fields allow '' to pass through causing errors. <https://github.com/django-commons/django-enum/issues/53>`_ |
| 62 | +* Implemented `Supply a mixin for DRF ModelSerializers that instantiates the provided DRF EnumField type for model EnumFields. <https://github.com/django-commons/django-enum/issues/47>`_ |
| 63 | +* Implemented `EnumField's should inherit from common base titled EnumField <https://github.com/django-commons/django-enum/issues/46>`_ |
| 64 | +* Implemented `Add database constraints on enum fields by default. <https://github.com/django-commons/django-enum/issues/45>`_ |
| 65 | +* Fixed `to_python() raises ValueError instead of spec'ed ValidationError <https://github.com/django-commons/django-enum/issues/44>`_ |
| 66 | +* Implemented `Add support for date, datetime, timedelta, time and Decimal enumeration types. <https://github.com/django-commons/django-enum/issues/43>`_ |
| 67 | +* Fixed `None should be an allowable enumeration value in enums of any primitive type. <https://github.com/django-commons/django-enum/issues/42>`_ |
| 68 | +* Implemented `Characterize the performance trade offs of bitfields vs indexed and non-indexed boolean fields. <https://github.com/django-commons/django-enum/issues/41>`_ |
| 69 | +* Fixed `When coerce is false, to_python does not convert to the Enum's primitive type <https://github.com/django-commons/django-enum/issues/39>`_ |
| 70 | +* Implemented `Provide parameter to override integer range on EnumField. <https://github.com/django-commons/django-enum/issues/38>`_ |
| 71 | +* Implemented `Add all official supported Django RDBMS backends to CI <https://github.com/django-commons/django-enum/issues/33>`_ |
| 72 | +* Implemented `Support for integer sizes greater than 64 bit <https://github.com/django-commons/django-enum/issues/32>`_ |
| 73 | +* Implemented `Provide an optional enum path converter. <https://github.com/django-commons/django-enum/issues/22>`_ |
| 74 | +* Implemented `Support flag enumerations <https://github.com/django-commons/django-enum/issues/7>`_ |
69 | 75 |
|
70 | 76 | .. _migration_1.x_to_2.x:
|
71 | 77 |
|
@@ -111,61 +117,61 @@ Migration from 1.x -> 2.x
|
111 | 117 | v1.3.3 (2024-08-26)
|
112 | 118 | ===================
|
113 | 119 |
|
114 |
| -* Implemented `Support python 3.13 <https://github.com/bckohan/django-enum/issues/67>`_ |
115 |
| -* Implemented `Drop support for Python 3.7 <https://github.com/bckohan/django-enum/issues/68>`_ |
| 120 | +* Implemented `Support python 3.13 <https://github.com/django-commons/django-enum/issues/67>`_ |
| 121 | +* Implemented `Drop support for Python 3.7 <https://github.com/django-commons/django-enum/issues/68>`_ |
116 | 122 |
|
117 | 123 | v1.3.2 (2024-07-15)
|
118 | 124 | ===================
|
119 | 125 |
|
120 |
| -* Fixed `Support Django 5.1 <https://github.com/bckohan/django-enum/issues/63>`_ |
| 126 | +* Fixed `Support Django 5.1 <https://github.com/django-commons/django-enum/issues/63>`_ |
121 | 127 |
|
122 | 128 |
|
123 | 129 | v1.3.1 (2024-03-02)
|
124 | 130 | ===================
|
125 | 131 |
|
126 |
| -* Fixed `db_default produces expressions instead of primitives when given enum value instances. <https://github.com/bckohan/django-enum/issues/59>`_ |
| 132 | +* Fixed `db_default produces expressions instead of primitives when given enum value instances. <https://github.com/django-commons/django-enum/issues/59>`_ |
127 | 133 |
|
128 | 134 | v1.3.0 (2023-12-13)
|
129 | 135 | ===================
|
130 | 136 |
|
131 |
| -* Implemented `Support db_default <https://github.com/bckohan/django-enum/issues/56>`_ |
132 |
| -* Fixed `When coerce=False, enum form fields and model fields should still coerce to the enum's primitive type. <https://github.com/bckohan/django-enum/issues/55>`_ |
133 |
| -* Implemented `Support Django 5.0 <https://github.com/bckohan/django-enum/issues/54>`_ |
| 137 | +* Implemented `Support db_default <https://github.com/django-commons/django-enum/issues/56>`_ |
| 138 | +* Fixed `When coerce=False, enum form fields and model fields should still coerce to the enum's primitive type. <https://github.com/django-commons/django-enum/issues/55>`_ |
| 139 | +* Implemented `Support Django 5.0 <https://github.com/django-commons/django-enum/issues/54>`_ |
134 | 140 |
|
135 | 141 | v1.2.2 (2023-10-02)
|
136 | 142 | ===================
|
137 | 143 |
|
138 |
| -* Added `Support python 3.12. <https://github.com/bckohan/django-enum/issues/52>`_ |
139 |
| -* Fixed `EnumFields don't display correctly in the Admin when set to read_only. <https://github.com/bckohan/django-enum/issues/35>`_ |
| 144 | +* Added `Support python 3.12. <https://github.com/django-commons/django-enum/issues/52>`_ |
| 145 | +* Fixed `EnumFields don't display correctly in the Admin when set to read_only. <https://github.com/django-commons/django-enum/issues/35>`_ |
140 | 146 |
|
141 | 147 | v1.2.1 (2023-04-08)
|
142 | 148 | ===================
|
143 | 149 |
|
144 |
| -* Fixed `Document that with version 1.4 of enum-properties label is no longer overridable for Choices <https://github.com/bckohan/django-enum/issues/37>`_ |
| 150 | +* Fixed `Document that with version 1.4 of enum-properties label is no longer overridable for Choices <https://github.com/django-commons/django-enum/issues/37>`_ |
145 | 151 |
|
146 | 152 | v1.2.0 (2023-04-02)
|
147 | 153 | ===================
|
148 | 154 |
|
149 |
| -* Implemented `Compat for enums not deriving from Django's choices. <https://github.com/bckohan/django-enum/issues/34>`_ |
| 155 | +* Implemented `Compat for enums not deriving from Django's choices. <https://github.com/django-commons/django-enum/issues/34>`_ |
150 | 156 |
|
151 | 157 |
|
152 | 158 | v1.1.2 (2023-02-15)
|
153 | 159 | ===================
|
154 | 160 |
|
155 |
| -* Fixed `LICENSE packaged into source dir. <https://github.com/bckohan/django-enum/issues/23>`_ |
| 161 | +* Fixed `LICENSE packaged into source dir. <https://github.com/django-commons/django-enum/issues/23>`_ |
156 | 162 |
|
157 | 163 | v1.1.1 (2023-01-15)
|
158 | 164 | ===================
|
159 | 165 |
|
160 |
| -* Fixed `Broken on Django4.1/Python 3.11. <https://github.com/bckohan/django-enum/issues/17>`_ |
| 166 | +* Fixed `Broken on Django4.1/Python 3.11. <https://github.com/django-commons/django-enum/issues/17>`_ |
161 | 167 |
|
162 | 168 | v1.1.0 (2022-08-13)
|
163 | 169 | ===================
|
164 | 170 |
|
165 |
| -* Fixed `django-filter intergration for non-strict values does not work. <https://github.com/bckohan/django-enum/issues/6>`_ |
166 |
| -* Implemented `Set EnumChoiceField to the default form field type. <https://github.com/bckohan/django-enum/issues/5>`_ |
167 |
| -* Implemented `Coerce default values to Enum types. <https://github.com/bckohan/django-enum/issues/4>`_ |
168 |
| -* Implemented `Use custom descriptor to coerce fields to Enum type on assignment. <https://github.com/bckohan/django-enum/issues/3>`_ |
| 171 | +* Fixed `django-filter intergration for non-strict values does not work. <https://github.com/django-commons/django-enum/issues/6>`_ |
| 172 | +* Implemented `Set EnumChoiceField to the default form field type. <https://github.com/django-commons/django-enum/issues/5>`_ |
| 173 | +* Implemented `Coerce default values to Enum types. <https://github.com/django-commons/django-enum/issues/4>`_ |
| 174 | +* Implemented `Use custom descriptor to coerce fields to Enum type on assignment. <https://github.com/django-commons/django-enum/issues/3>`_ |
169 | 175 |
|
170 | 176 | v1.0.1 (2022-08-11)
|
171 | 177 | ===================
|
|
0 commit comments