-
Notifications
You must be signed in to change notification settings - Fork 65
/
CHANGELOG
166 lines (137 loc) · 6.15 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
- 1.3.2
* Fix uncaught EUI() exceptions (Kyle Birkeland)
* Fix deprecation warning for app config in newer versions of Django (Gil
Forcada Codinachs)
* Add get_placeholder to handle automatic check constraint evaluation (sevdog)
- 1.3.1
* Add support for psycopg v3.x in Django 4.2 and above (Clemens Wolff)
- 1.3.0
* Added MACAddress8Field for EUI-64 values Benoît Vinot
* Fix potential MacAddressField crash in DRF (tfromme)
* Tests against newer versions of Python and Django (Benoît Vinot)
- 1.2.4
* Change InetAddressField form value based on prefix parameter (Travis MacDonald)
- 1.2.3
* Change __prefixlen to be a Transform instead of a Lookup (Christopher
Aubut)
* Add package name to README installation section (Yuval Adam)
* Fix formatting error in README (Gil Forcada Codinachs)
* Add NetModelSerializer to rest_framework (Devid)
* Handle more invalid macs in DRF MACAddressField (Étienne Noss)
* Avoid deprecation warning on Django 2.x
- 1.2.2
* Additional Django 3 compatibility (Étienne Noss)
- 1.2.1
* django.utils.six is deprecated in Django 3.0 (jaychoo)
- 1.2.0
* Django 3.0 support (Erik de Wildt)
* Expose INET related PostgreSQL functions. See README.rst for usage
(Christopher Aubut)
- 1.1.1
* Fix improper conversion of networks to addresses in net lookups. Bug
introduced in 1.1.0
* Added example of using a network field as an index (Christopher Aubut)
- 1.1.0
* Add rhs lookup expression support (Christopher Aubut)
* Update REST Framework InetAddressField to avoid using the wrong type when
store_prefix is True (Nick Huber)
- 1.0.1
* Added a specific error to form and REST framework fields for host addresses
passed to network fields
- 1.0.0
* Rewrote the REST framework fields to conform to recommendations
+ The proper types are now set on unsaved models and passed to validators.
Any validators or pre-save code that assumes the values are strings may
need to be adjusted
+ Simplified the validation error messages
* Fix deprecation warnings (Mike Lane)
* Test against Django 2.2 (Øyvind Kolbu)
- 0.10.0
* Added support for __host lookups, for matching the host part of an address
regardless of prefix length
- 0.9.0
* Added support for Django 2.1
* Some Django 3.0 compatibility
* BREAKING CHANGE: If using ArrayAgg to return groups of network addresses,
None values will be included as per the Django documentation. Previously,
the None values were filtered out, but that appears to have been a mistake
in the implementation. If your application depends on the filtered None
values, it will need to be updated accordingly
* Prefer "error_messages" rather than "default_error_messages" in form
fields (Shintaro Kojima)
- 0.8
* Added support for Django 2.0
- 0.7.2
* Fix issue where prefetch_related returns empty querysets (Jay McEntire)
* Improve validation error messages to include the underlying error (Diego
Gaustein)
* Strip extraneous whitespace around form inputs
- 0.7.1
* Fix issue with recent psycopg2 releases (Jonas Genannt)
* Add a lookup for exact CIDR prefix length (Joey Wilhelm)
* Use proper unicode type when casting ipaddress/ipnetwork objects for
queries
* Support array aggregation with netfields (orf)
* compatibility with template based widgets (Leo Honkanen)
- 0.7
* Added support for Django 1.10
* Added __overlaps lookup (Emre Hasegeli)
* Fixed __in lookups of empty lists (Simeon J Morgan)
- 0.6
* Removed support for Django 1.7
* MACAddressField fixes and cleanups (Andreas Rammhold)
* Support for ArrayField from django.contrib.postgres. Note that the types
returned in the array will not be the proper types returned by the
non-array fields in Django < 1.9.6 due to
https://code.djangoproject.com/ticket/25143
- 0.5.3
* Add max_prefixlen and min_prefixlen lookups (Hugo Castilho)
* Changed field subclassing to Django 1.8+ format (Antwan86)
* Use the ipaddress module instead of py2-ipaddress for Python 2.x
* Standard lookups now inherit from base lookups
- 0.5.2
* Support for Django 1.9
* Invalid lookups on Django < 1.9 will now raise FieldError or
NotImplementedError to match Django 1.9
- 0.5.1
* Fixed form validation error messages to avoid confusion
* Updated README to reflect the change to the ipaddress module
- 0.5
* Switched InetAddressField and CidrAddressField from netaddr to the
ipaddress module found in core Python >= 3.3. For Python < 3 the backported
py2-ipaddress module will be used. The API of these objects are mostly
compatible with the netaddr API and do not suffer from some subtle issues
that netaddr objects have when used in Django forms. Most applications
should not require any adjustments as a result of this change
- 0.4.1
* Added serializer fields for Django REST Framework. Thanks to Brandon
Cazander
* Added a store_prefix_length argument to InetAddressField. If set to False
an IPAddress will be returned instead of an IPNetwork. If there is a prefix
length before conversion, it will be truncated
- 0.4
* Return IPNetwork object from InetAddressField instead of IPAddress. This
better matches the capabilities of the underlying inet type since it can
contain an embedded prefix length/netmask. This change may affect some
users
* Added __family lookups for filtering by address family, eg:
'filter(ip__family=4)' to select only IPv4 addresses. Thanks to leifurhauks
* Removed support for Django < 1.7
- 0.3.1
* Fix CidrAddressField in lookups with single-item lists #39
* Fix validation of CIDR with bits to right of mask #19
- 0.3
* Added support for Django 1.7/1.8 (Antwan86, smclenithan)
* Added support for Python 3.x
* Removed support for Django 1.4
- 0.2.2
* Support for Django 1.6 (Jay McEntire)
- 0.2.1
* Fix net_contained lookups in InetAddressField
- 0.2
* Fix IP type casting in form fields
* Add South introspection rules
* Expand tests for form fields and MAC addresses
* Use netaddr instead of IPy for address representation. New requirement of
netaddr module. This change affects backwards compatibility
* New maintainer James Oakley <[email protected]>