| 1 |
Changelog |
| 2 |
========= |
| 3 |
|
| 4 |
Version 1.3.0 [2026-09-01] |
| 5 |
-------------------------- |
| 6 |
|
| 7 |
Changes |
| 8 |
~~~~~~~ |
| 9 |
|
| 10 |
Dependencies |
| 11 |
++++++++++++ |
| 12 |
|
| 13 |
- Bumped ``djangorestframework`` from ``>=3.12,<3.18`` to `>=3.12,<3.19 |
| 14 |
<https://www.django-rest-framework.org/community/release-notes/#318x-series>`_. |
| 15 |
- Bumped ``django-filter`` from ``>=23.5,<26.0`` to `>=23.5,<27.0 |
| 16 |
<https://github.com/carltongibson/django-filter/blob/26.1/CHANGES.rst>`_. |
| 17 |
- Added support for Django ``6.1``. |
| 18 |
- Dropped support for Python ``3.9``. |
| 19 |
|
| 20 |
Version 1.2.1 [2026-05-04] |
| 21 |
-------------------------- |
| 22 |
|
| 23 |
Changes |
| 24 |
~~~~~~~ |
| 25 |
|
| 26 |
Dependencies |
| 27 |
++++++++++++ |
| 28 |
|
| 29 |
- Bumped djangorestframework to >=3.12,<3.18 `#347 |
| 30 |
<https://github.com/openwisp/django-rest-framework-gis/issues/347>`_ |
| 31 |
|
| 32 |
Version 1.2.0 [2025-06-02] |
| 33 |
-------------------------- |
| 34 |
|
| 35 |
Features |
| 36 |
~~~~~~~~ |
| 37 |
|
| 38 |
- Added ``transform`` optional argument to ``GeometryField`` `#188 |
| 39 |
<https://github.com/openwisp/django-rest-framework-gis/issues/188>`_. |
| 40 |
|
| 41 |
Changes |
| 42 |
~~~~~~~ |
| 43 |
|
| 44 |
**Dependencies:** |
| 45 |
|
| 46 |
- Added Django ``5.2`` to automated testing build. |
| 47 |
- Added Python ``3.13`` to automated testing build. |
| 48 |
- Added support for Django REST Framework ``3.16.0``. |
| 49 |
|
| 50 |
Version 1.1.0 [2024-08-17] |
| 51 |
-------------------------- |
| 52 |
|
| 53 |
Features |
| 54 |
~~~~~~~~ |
| 55 |
|
| 56 |
- Allowed ``GeoFeatureModelSerializer`` to support models without geometry |
| 57 |
field. |
| 58 |
|
| 59 |
Changes |
| 60 |
~~~~~~~ |
| 61 |
|
| 62 |
**Dependencies:** |
| 63 |
|
| 64 |
- Bumped ``django-filters~=23.5``. |
| 65 |
- Added Django ``4.2``, ``5.0``, ``5.1`` to automated testing build. |
| 66 |
- Dropped several EOL dependencies from automated testing build: |
| 67 |
|
| 68 |
- Python ``3.6`` and ``3.7``. |
| 69 |
- Django ``2.2``, ``3.0``, ``3.1`` and ``4.0``. |
| 70 |
- ``djangorestframework < 3.12``. |
| 71 |
|
| 72 |
The library may continue working with the dependencies listed above, but |
| 73 |
it's not guaranteed. |
| 74 |
|
| 75 |
Upgrading to more recent dependencies is **highly recommended**. |
| 76 |
|
| 77 |
Bugfixes |
| 78 |
~~~~~~~~ |
| 79 |
|
| 80 |
- Fixed schema generation for ``DistanceToPointOrderingFilter``. |
| 81 |
|
| 82 |
Version 1.0.0 [2022-05-09] |
| 83 |
-------------------------- |
| 84 |
|
| 85 |
Features |
| 86 |
~~~~~~~~ |
| 87 |
|
| 88 |
- Added support Bounding Box to ``GeometryField`` via the ``auto_bbox`` |
| 89 |
initialization argument |
| 90 |
|
| 91 |
Bugfixes |
| 92 |
~~~~~~~~ |
| 93 |
|
| 94 |
- Avoid ``default_app_config`` Deprecation Warning in Django >= 3.2 |
| 95 |
- Fixed deserialization of the ``id_field`` |
| 96 |
|
| 97 |
Version 0.18.0 [2022-01-07] |
| 98 |
--------------------------- |
| 99 |
|
| 100 |
- [fix] Add schema generation support for plain GeometryFields `#257 |
| 101 |
<https://github.com/openwisp/django-rest-framework-gis/issues/#257>`_ |
| 102 |
- [fix] Fixed psycopg2 compatibility for Django 3.0 |
| 103 |
- [feature] Added support and CI testing for Django 3.2 and Django 4.0 |
| 104 |
|
| 105 |
Version 0.17.0 [2021-01-25] |
| 106 |
--------------------------- |
| 107 |
|
| 108 |
- [feature] Added `OpenAPI Schema Generation |
| 109 |
<https://github.com/openwisp/django-rest-framework-gis#schema-generation>`_ |
| 110 |
(`#219 |
| 111 |
<https://github.com/openwisp/django-rest-framework-gis/issues/219>`_) - |
| 112 |
special thanks to `Dhaval Mehta <https://github.com/dhaval-mehta>`_ |
| 113 |
|
| 114 |
Version 0.16.0 [2020-09-07] |
| 115 |
--------------------------- |
| 116 |
|
| 117 |
- [fix] Added support for representation of empty geometries (`#168 |
| 118 |
<https://github.com/openwisp/django-rest-framework-gis/issues/168>`_) |
| 119 |
- [fix] Don't override the additional arguments passed as ``style`` to |
| 120 |
``GeometryField`` |
| 121 |
- [feature] Added `DistanceToPointOrderingFilter |
| 122 |
<https://github.com/openwisp/django-rest-framework-gis#distancetopointorderingfilter>`_ |
| 123 |
(`#210 |
| 124 |
<https://github.com/openwisp/django-rest-framework-gis/issues/210>`_) |
| 125 |
- [deps] Added support for django 3.1 in the CI build |
| 126 |
- [deps] Dropped django 1.11 and Python 3.5 from the CI build, |
| 127 |
compatibility may still work but it's not guaranteed anymore, please |
| 128 |
upgrade! |
| 129 |
- [qa] Added QA checks to CI build (`#230 |
| 130 |
<https://github.com/openwisp/django-rest-framework-gis/issues/230>`_) |
| 131 |
|
| 132 |
Version 0.15.0 [2019-12-09] |
| 133 |
--------------------------- |
| 134 |
|
| 135 |
- Dropped Python 3.4 support |
| 136 |
- `#190 |
| 137 |
<https://github.com/openwisp/django-rest-framework-gis/pull/190>`_: |
| 138 |
Added django 2.2 on test matrix |
| 139 |
- `#199 |
| 140 |
<https://github.com/openwisp/django-rest-framework-gis/pull/199>`_: |
| 141 |
Dropped Django 2.0 support |
| 142 |
- `#195 |
| 143 |
<https://github.com/openwisp/django-rest-framework-gis/pull/195>`_: |
| 144 |
Updated the way that ``to_representation`` removes already processed |
| 145 |
- `#197 |
| 146 |
<https://github.com/openwisp/django-rest-framework-gis/pull/197>`_: |
| 147 |
Removed six dependency |
| 148 |
- `#202 |
| 149 |
<https://github.com/openwisp/django-rest-framework-gis/pull/202>`_: |
| 150 |
Updated DRF to 3.10, removed support for previous DRF versions |
| 151 |
- `#200 |
| 152 |
<https://github.com/openwisp/django-rest-framework-gis/pull/200>`_: |
| 153 |
Added Django 3.0 and Python 3.8 support |
| 154 |
|
| 155 |
Version 0.14.0 [2018-12-02] |
| 156 |
--------------------------- |
| 157 |
|
| 158 |
- `#173 |
| 159 |
<https://github.com/openwisp/django-rest-framework-gis/pull/173>`_: |
| 160 |
added support for django 2.1, DRF 3.9 and switched to django-filters >= |
| 161 |
2.0 (**which requires python >= 3.4**) |
| 162 |
- `#178 |
| 163 |
<https://github.com/openwisp/django-rest-framework-gis/pull/178>`_: |
| 164 |
simplified ``setup.py`` and tox build |
| 165 |
|
| 166 |
Version 0.13.0 [2018-04-27] |
| 167 |
--------------------------- |
| 168 |
|
| 169 |
- `#161 |
| 170 |
<https://github.com/openwisp/django-rest-framework-gis/pull/161>`_: |
| 171 |
added flag to reduce precision of ``GeometryField`` |
| 172 |
- `#164 |
| 173 |
<https://github.com/openwisp/django-rest-framework-gis/pull/164>`_: |
| 174 |
added compatibility with django-rest-framework 3.8 |
| 175 |
|
| 176 |
Version 0.12.0 [2017-11-12] |
| 177 |
--------------------------- |
| 178 |
|
| 179 |
- `#138 |
| 180 |
<https://github.com/openwisp/django-rest-framework-gis/pull/138>`_: |
| 181 |
added support for ``GeometryCollection`` fields |
| 182 |
- `#146 |
| 183 |
<https://github.com/openwisp/django-rest-framework-gis/pull/146>`_: |
| 184 |
added compatibility with django-rest-framework 3.7 |
| 185 |
- `#147 |
| 186 |
<https://github.com/openwisp/django-rest-framework-gis/pull/147>`_: |
| 187 |
added support to django 2.0 beta |
| 188 |
- dropped support for django 1.7, 1.8, 1.9 and 1.10 |
| 189 |
|
| 190 |
Version 0.11.2 [2017-05-22] |
| 191 |
--------------------------- |
| 192 |
|
| 193 |
- `eb54fc0 |
| 194 |
<https://github.com/openwisp/django-rest-framework-gis/commit/eb54fc0>`_: |
| 195 |
``GeometryFilter`` now use ``BaseGeometryWidget`` |
| 196 |
- `33a6418 |
| 197 |
<https://github.com/openwisp/django-rest-framework-gis/commit/33a6418>`_: |
| 198 |
fixed tests for Django 1.11: ``Point`` comparison uses ``srid`` |
| 199 |
|
| 200 |
Version 0.11.1 [2017-05-05] |
| 201 |
--------------------------- |
| 202 |
|
| 203 |
- `#119 |
| 204 |
<https://github.com/openwisp/django-rest-framework-gis/issues/119>`_: |
| 205 |
Added support to "__all__" fields in serializer |
| 206 |
- `#130 |
| 207 |
<https://github.com/openwisp/django-rest-framework-gis/pull/130>`_: |
| 208 |
Added compatibility with DRF 3.6 |
| 209 |
|
| 210 |
Version 0.11.0 [2016-11-22] |
| 211 |
--------------------------- |
| 212 |
|
| 213 |
- `#106 |
| 214 |
<https://github.com/openwisp/django-rest-framework-gis/pull/106>`_: |
| 215 |
dropped support for django 1.7 |
| 216 |
- `#117 |
| 217 |
<https://github.com/openwisp/django-rest-framework-gis/pull/117>`_: |
| 218 |
added support for django-filter 0.15 |
| 219 |
- `6479949 |
| 220 |
<https://github.com/openwisp/django-rest-framework-gis/commit/6479949>`_: |
| 221 |
fixed tests for latest DRF 3.5 version |
| 222 |
- `35e3b87 |
| 223 |
<https://github.com/openwisp/django-rest-framework-gis/commit/35e3b87>`_: |
| 224 |
added official support to django 1.10 |
| 225 |
|
| 226 |
Version 0.10.1 [2016-01-06] |
| 227 |
--------------------------- |
| 228 |
|
| 229 |
- `#93 <https://github.com/openwisp/django-rest-framework-gis/issues/93>`_ |
| 230 |
skipped a few tests if spatialite DB backend is being used |
| 231 |
- `#95 <https://github.com/openwisp/django-rest-framework-gis/issues/95>`_ |
| 232 |
fixed misunderstanding regarding 0.9.6 DRF compatibility in README |
| 233 |
- `#96 <https://github.com/openwisp/django-rest-framework-gis/issues/96>`_ |
| 234 |
added missing assets in python package source tarball |
| 235 |
|
| 236 |
Version 0.10.0 [2015-12-07] |
| 237 |
--------------------------- |
| 238 |
|
| 239 |
- `#87 <https://github.com/openwisp/django-rest-framework-gis/issues/87>`_ |
| 240 |
dropped support for old django versions and python 2.6 |
| 241 |
|
| 242 |
Version 0.9.6 [2015-11-02] |
| 243 |
-------------------------- |
| 244 |
|
| 245 |
- `#82 |
| 246 |
<https://github.com/openwisp/django-rest-framework-gis/issues/82>`_: |
| 247 |
avoid ``KeyError`` id field not in ``fields`` (bug introduced in 0.9.5) |
| 248 |
- `fbaf9b1 |
| 249 |
<https://github.com/openwisp/django-rest-framework-gis/commit/fbaf9b1>`_: |
| 250 |
improved documentation for new default ``id_field`` behaviour |
| 251 |
- `#84 <https://github.com/openwisp/django-rest-framework-gis/pull/84>`_: |
| 252 |
switched to ``assertAlmostEqual`` in ``test_post_location_list_EWKT`` to |
| 253 |
ease testing for debian package |
| 254 |
- `#85 <https://github.com/openwisp/django-rest-framework-gis/pull/85>`_: |
| 255 |
fixed serialization of properties holding ``None`` values (bug |
| 256 |
introduced in 0.9.5) |
| 257 |
- `#86 <https://github.com/openwisp/django-rest-framework-gis/pull/86>`_: |
| 258 |
updated advertised compatibility to include **python 3.5** |
| 259 |
|
| 260 |
Version 0.9.5 [2015-10-12] |
| 261 |
-------------------------- |
| 262 |
|
| 263 |
- `#71 <https://github.com/openwisp/django-rest-framework-gis/pull/71>`_: |
| 264 |
added possibility to override GeoJSON properties in |
| 265 |
``GeoFeatureModelSerializer`` |
| 266 |
- `52e15a5 |
| 267 |
<https://github.com/openwisp/django-rest-framework-gis/commit/52e15a5>`_: |
| 268 |
Added default ``page_size_query_param`` in ``GeoJsonPagination`` |
| 269 |
|
| 270 |
Version 0.9.4 [2015-09-08] |
| 271 |
-------------------------- |
| 272 |
|
| 273 |
- `#68 |
| 274 |
<https://github.com/openwisp/django-rest-framework-gis/issues/68>`_: |
| 275 |
ensure not having drf-gis in ``INSTALLED_APPS`` works anyway |
| 276 |
- `#76 |
| 277 |
<https://github.com/openwisp/django-rest-framework-gis/issues/76>`_: |
| 278 |
avoid pickle errors in ``GeoJsonDict`` |
| 279 |
- `#75 <https://github.com/openwisp/django-rest-framework-gis/pull/75>`_: |
| 280 |
return ``GEOSGeometry`` instead of geojson property |
| 281 |
|
| 282 |
Version 0.9.3 [2015-07-22] |
| 283 |
-------------------------- |
| 284 |
|
| 285 |
- `04fd1bf |
| 286 |
<https://github.com/openwisp/django-rest-framework-gis/commit/04fd1bf>`_: |
| 287 |
Added ``GeoJsonPagination`` |
| 288 |
- `fe47d86 |
| 289 |
<https://github.com/openwisp/django-rest-framework-gis/commit/fe47d86>`_: |
| 290 |
Improved ``ValidationError`` message of ``GeometryField`` |
| 291 |
- `a3ddd3d |
| 292 |
<https://github.com/openwisp/django-rest-framework-gis/commit/a3ddd3d>`_: |
| 293 |
**Improved serialization performance between 25% and 29%** |
| 294 |
- `fb6ed36 |
| 295 |
<https://github.com/openwisp/django-rest-framework-gis/commit/fb6ed36>`_: |
| 296 |
``GeoModelSerializer`` deprecated because obsolete |
| 297 |
- `#66 <https://github.com/openwisp/django-rest-framework-gis/pull/66>`_: |
| 298 |
geometry now allows ``None`` values according to the **GeoJSON spec** |
| 299 |
- `#67 <https://github.com/openwisp/django-rest-framework-gis/pull/67>`_: |
| 300 |
discern ``False`` or empty string values from ``None`` in |
| 301 |
``GeoFeatureModelSerializer`` |
| 302 |
|
| 303 |
Version 0.9.2 [2015-07-15] |
| 304 |
-------------------------- |
| 305 |
|
| 306 |
- `#59 <https://github.com/openwisp/django-rest-framework-gis/pull/59>`_: |
| 307 |
Added GeometrySerializerMethodField |
| 308 |
- `3fa2354 |
| 309 |
<https://github.com/openwisp/django-rest-framework-gis/commit/3fa2354>`_: |
| 310 |
removed broken/obsolete/untested code |
| 311 |
|
| 312 |
Version 0.9.1 [2015-06-28] |
| 313 |
-------------------------- |
| 314 |
|
| 315 |
- `#63 |
| 316 |
<https://github.com/openwisp/django-rest-framework-gis/issues/63>`_: |
| 317 |
added compatibility with python 3.2 and updated compatibility table in |
| 318 |
README |
| 319 |
- `#60 <https://github.com/openwisp/django-rest-framework-gis/pull/60>`_: |
| 320 |
ensure GeoJSON is rendered correctly in browsable API when using python |
| 321 |
2 |
| 322 |
- `#62 |
| 323 |
<https://github.com/openwisp/django-rest-framework-gis/issues/62>`_: |
| 324 |
updated django-rest-framework requirement to 3.1.3 |
| 325 |
|
| 326 |
Version 0.9 [2015-05-31] |
| 327 |
------------------------ |
| 328 |
|
| 329 |
- `#55 <https://github.com/openwisp/django-rest-framework-gis/pull/55>`_: |
| 330 |
Fixed exception in ``DistanceToPointFilter`` in case of invalid point |
| 331 |
- `#58 <https://github.com/openwisp/django-rest-framework-gis/pull/58>`_: |
| 332 |
Fixed handling of ``None`` values in ``GeoFeatureModelSerializer`` to |
| 333 |
avoid problems with ``FileField`` and ``ImageField`` |
| 334 |
- `#57 <https://github.com/openwisp/django-rest-framework-gis/pull/57>`_: |
| 335 |
Added support for GeoJSON Bounding Boxes in |
| 336 |
``GeoFeatureModelSerializer`` |
| 337 |
|
| 338 |
Version 0.8.2 [2015-04-29] |
| 339 |
-------------------------- |
| 340 |
|
| 341 |
- `#53 <https://github.com/openwisp/django-rest-framework-gis/pull/53>`_: |
| 342 |
Added support for PATCH requests in ``GeoFeatureModelSerializer`` |
| 343 |
|
| 344 |
Version 0.8.1 [2015-03-25] |
| 345 |
-------------------------- |
| 346 |
|
| 347 |
- Added compatibility with django-rest-framework 3.1.x |
| 348 |
- Added compatibility with django 1.8 (RC1) |
| 349 |
|
| 350 |
Version 0.8 [2015-03-03] |
| 351 |
------------------------ |
| 352 |
|
| 353 |
- Added compatibility with django-rest-framework 3.x |
| 354 |
|
| 355 |
Version 0.7 [2014-10-03] |
| 356 |
------------------------ |
| 357 |
|
| 358 |
- upgraded development status classifer to Beta |
| 359 |
- avoid empty string in textarea widget if value is None |
| 360 |
- allow field definition in GeoFeatureModelSerializer to be list |
| 361 |
|
| 362 |
Version 0.6 [2014-09-24] |
| 363 |
------------------------ |
| 364 |
|
| 365 |
- Added compatibility to django-rest-framework 2.4.3 |
| 366 |
|
| 367 |
Version 0.5 [2014-09-07] |
| 368 |
------------------------ |
| 369 |
|
| 370 |
- added TMSTileFilter |
| 371 |
- added DistanceToPointFilter |
| 372 |
- renamed InBBOXFilter to InBBoxFilter |
| 373 |
- added compatibility with DRF 2.4.0 |
| 374 |
|
| 375 |
Version 0.4 [2014-08-25] |
| 376 |
------------------------ |
| 377 |
|
| 378 |
- python3 compatibility |
| 379 |
- improved DRF browsable API HTML widget (textarea instead of text input) |
| 380 |
|
| 381 |
Version 0.3 [2014-07-07] |
| 382 |
------------------------ |
| 383 |
|
| 384 |
- added compatibility with DRF 2.3.14 |
| 385 |
|
| 386 |
Version 0.2 [2014-03-18] |
| 387 |
------------------------ |
| 388 |
|
| 389 |
- geofilter support |
| 390 |
- README in restructured text for pypi |
| 391 |
- updated python package info |
| 392 |
|
| 393 |
Version 0.1 [2013-12-30] |
| 394 |
------------------------ |
| 395 |
|
| 396 |
- first release |