Changelog ========= Version 1.3.0 [2026-09-01] -------------------------- Changes ~~~~~~~ Dependencies ++++++++++++ - Bumped ``djangorestframework`` from ``>=3.12,<3.18`` to `>=3.12,<3.19 `_. - Bumped ``django-filter`` from ``>=23.5,<26.0`` to `>=23.5,<27.0 `_. - Added support for Django ``6.1``. - Dropped support for Python ``3.9``. Version 1.2.1 [2026-05-04] -------------------------- Changes ~~~~~~~ Dependencies ++++++++++++ - Bumped djangorestframework to >=3.12,<3.18 `#347 `_ Version 1.2.0 [2025-06-02] -------------------------- Features ~~~~~~~~ - Added ``transform`` optional argument to ``GeometryField`` `#188 `_. Changes ~~~~~~~ **Dependencies:** - Added Django ``5.2`` to automated testing build. - Added Python ``3.13`` to automated testing build. - Added support for Django REST Framework ``3.16.0``. Version 1.1.0 [2024-08-17] -------------------------- Features ~~~~~~~~ - Allowed ``GeoFeatureModelSerializer`` to support models without geometry field. Changes ~~~~~~~ **Dependencies:** - Bumped ``django-filters~=23.5``. - Added Django ``4.2``, ``5.0``, ``5.1`` to automated testing build. - Dropped several EOL dependencies from automated testing build: - Python ``3.6`` and ``3.7``. - Django ``2.2``, ``3.0``, ``3.1`` and ``4.0``. - ``djangorestframework < 3.12``. The library may continue working with the dependencies listed above, but it's not guaranteed. Upgrading to more recent dependencies is **highly recommended**. Bugfixes ~~~~~~~~ - Fixed schema generation for ``DistanceToPointOrderingFilter``. Version 1.0.0 [2022-05-09] -------------------------- Features ~~~~~~~~ - Added support Bounding Box to ``GeometryField`` via the ``auto_bbox`` initialization argument Bugfixes ~~~~~~~~ - Avoid ``default_app_config`` Deprecation Warning in Django >= 3.2 - Fixed deserialization of the ``id_field`` Version 0.18.0 [2022-01-07] --------------------------- - [fix] Add schema generation support for plain GeometryFields `#257 `_ - [fix] Fixed psycopg2 compatibility for Django 3.0 - [feature] Added support and CI testing for Django 3.2 and Django 4.0 Version 0.17.0 [2021-01-25] --------------------------- - [feature] Added `OpenAPI Schema Generation `_ (`#219 `_) - special thanks to `Dhaval Mehta `_ Version 0.16.0 [2020-09-07] --------------------------- - [fix] Added support for representation of empty geometries (`#168 `_) - [fix] Don't override the additional arguments passed as ``style`` to ``GeometryField`` - [feature] Added `DistanceToPointOrderingFilter `_ (`#210 `_) - [deps] Added support for django 3.1 in the CI build - [deps] Dropped django 1.11 and Python 3.5 from the CI build, compatibility may still work but it's not guaranteed anymore, please upgrade! - [qa] Added QA checks to CI build (`#230 `_) Version 0.15.0 [2019-12-09] --------------------------- - Dropped Python 3.4 support - `#190 `_: Added django 2.2 on test matrix - `#199 `_: Dropped Django 2.0 support - `#195 `_: Updated the way that ``to_representation`` removes already processed - `#197 `_: Removed six dependency - `#202 `_: Updated DRF to 3.10, removed support for previous DRF versions - `#200 `_: Added Django 3.0 and Python 3.8 support Version 0.14.0 [2018-12-02] --------------------------- - `#173 `_: added support for django 2.1, DRF 3.9 and switched to django-filters >= 2.0 (**which requires python >= 3.4**) - `#178 `_: simplified ``setup.py`` and tox build Version 0.13.0 [2018-04-27] --------------------------- - `#161 `_: added flag to reduce precision of ``GeometryField`` - `#164 `_: added compatibility with django-rest-framework 3.8 Version 0.12.0 [2017-11-12] --------------------------- - `#138 `_: added support for ``GeometryCollection`` fields - `#146 `_: added compatibility with django-rest-framework 3.7 - `#147 `_: added support to django 2.0 beta - dropped support for django 1.7, 1.8, 1.9 and 1.10 Version 0.11.2 [2017-05-22] --------------------------- - `eb54fc0 `_: ``GeometryFilter`` now use ``BaseGeometryWidget`` - `33a6418 `_: fixed tests for Django 1.11: ``Point`` comparison uses ``srid`` Version 0.11.1 [2017-05-05] --------------------------- - `#119 `_: Added support to "__all__" fields in serializer - `#130 `_: Added compatibility with DRF 3.6 Version 0.11.0 [2016-11-22] --------------------------- - `#106 `_: dropped support for django 1.7 - `#117 `_: added support for django-filter 0.15 - `6479949 `_: fixed tests for latest DRF 3.5 version - `35e3b87 `_: added official support to django 1.10 Version 0.10.1 [2016-01-06] --------------------------- - `#93 `_ skipped a few tests if spatialite DB backend is being used - `#95 `_ fixed misunderstanding regarding 0.9.6 DRF compatibility in README - `#96 `_ added missing assets in python package source tarball Version 0.10.0 [2015-12-07] --------------------------- - `#87 `_ dropped support for old django versions and python 2.6 Version 0.9.6 [2015-11-02] -------------------------- - `#82 `_: avoid ``KeyError`` id field not in ``fields`` (bug introduced in 0.9.5) - `fbaf9b1 `_: improved documentation for new default ``id_field`` behaviour - `#84 `_: switched to ``assertAlmostEqual`` in ``test_post_location_list_EWKT`` to ease testing for debian package - `#85 `_: fixed serialization of properties holding ``None`` values (bug introduced in 0.9.5) - `#86 `_: updated advertised compatibility to include **python 3.5** Version 0.9.5 [2015-10-12] -------------------------- - `#71 `_: added possibility to override GeoJSON properties in ``GeoFeatureModelSerializer`` - `52e15a5 `_: Added default ``page_size_query_param`` in ``GeoJsonPagination`` Version 0.9.4 [2015-09-08] -------------------------- - `#68 `_: ensure not having drf-gis in ``INSTALLED_APPS`` works anyway - `#76 `_: avoid pickle errors in ``GeoJsonDict`` - `#75 `_: return ``GEOSGeometry`` instead of geojson property Version 0.9.3 [2015-07-22] -------------------------- - `04fd1bf `_: Added ``GeoJsonPagination`` - `fe47d86 `_: Improved ``ValidationError`` message of ``GeometryField`` - `a3ddd3d `_: **Improved serialization performance between 25% and 29%** - `fb6ed36 `_: ``GeoModelSerializer`` deprecated because obsolete - `#66 `_: geometry now allows ``None`` values according to the **GeoJSON spec** - `#67 `_: discern ``False`` or empty string values from ``None`` in ``GeoFeatureModelSerializer`` Version 0.9.2 [2015-07-15] -------------------------- - `#59 `_: Added GeometrySerializerMethodField - `3fa2354 `_: removed broken/obsolete/untested code Version 0.9.1 [2015-06-28] -------------------------- - `#63 `_: added compatibility with python 3.2 and updated compatibility table in README - `#60 `_: ensure GeoJSON is rendered correctly in browsable API when using python 2 - `#62 `_: updated django-rest-framework requirement to 3.1.3 Version 0.9 [2015-05-31] ------------------------ - `#55 `_: Fixed exception in ``DistanceToPointFilter`` in case of invalid point - `#58 `_: Fixed handling of ``None`` values in ``GeoFeatureModelSerializer`` to avoid problems with ``FileField`` and ``ImageField`` - `#57 `_: Added support for GeoJSON Bounding Boxes in ``GeoFeatureModelSerializer`` Version 0.8.2 [2015-04-29] -------------------------- - `#53 `_: Added support for PATCH requests in ``GeoFeatureModelSerializer`` Version 0.8.1 [2015-03-25] -------------------------- - Added compatibility with django-rest-framework 3.1.x - Added compatibility with django 1.8 (RC1) Version 0.8 [2015-03-03] ------------------------ - Added compatibility with django-rest-framework 3.x Version 0.7 [2014-10-03] ------------------------ - upgraded development status classifer to Beta - avoid empty string in textarea widget if value is None - allow field definition in GeoFeatureModelSerializer to be list Version 0.6 [2014-09-24] ------------------------ - Added compatibility to django-rest-framework 2.4.3 Version 0.5 [2014-09-07] ------------------------ - added TMSTileFilter - added DistanceToPointFilter - renamed InBBOXFilter to InBBoxFilter - added compatibility with DRF 2.4.0 Version 0.4 [2014-08-25] ------------------------ - python3 compatibility - improved DRF browsable API HTML widget (textarea instead of text input) Version 0.3 [2014-07-07] ------------------------ - added compatibility with DRF 2.3.14 Version 0.2 [2014-03-18] ------------------------ - geofilter support - README in restructured text for pypi - updated python package info Version 0.1 [2013-12-30] ------------------------ - first release