| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-12 | Refs #36727 -- Factored out _must_transform_value() in BaseSpatialOperations. | Simon Charette | |
| 2026-03-12 | Fixed #36727 -- Deprecated Field.get_placeholder in favor of ↵ | Simon Charette | |
| get_placeholder_sql. The lack of ability of the get_placeholder call chain to return SQL and parameters separated so they can be mogrified by the backend at execution time forced implementations to dangerously interpolate potentially user controlled values. The get_placeholder_sql name was chosen due to its proximity to the previous method, but other options such as Field.as_sql were considered but ultimately rejected due to its different input signature compared to Expression.as_sql that might have lead to confusion. There is a lot of overlap between what Field.get_db_prep_value and get_placeholder_sql do but folding the latter in the former would require changing its return signature to return expression which is a way more invasive change than what is proposed here. Given we always call get_db_prep_value it might still be an avenue worth exploring in the future to offer a publicly documented interface to allow field to take an active part in the compilation chain. Thanks Jacob for the review. | |||
| 2025-12-28 | Added some skips to GIS tests. | Tim Graham | |
| Also replaced some DatabaseFeatures.supports_<foo>_lookup attributes with @skipUnlessGISLookup. | |||
| 2025-11-25 | Fixed #35783 -- Added NumDimensions GIS database function and ↵ | David Smith | |
| __num_dimensions lookup. | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-23 | Removed double spaces after periods and within phrases. | Sarah Boyce | |
| 2025-07-20 | Fixed #28696 -- Added GeometryType GIS database function and __geom_type lookup. | Ahmed Ibrahim | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2025-06-05 | Added validation to BaseSpatialFeatures.has_<Func>_function. | Tim Graham | |
| 2025-02-23 | Fixed #35705 -- Added Rotate GIS database function to rotate geometries. | enprava | |
| 2025-02-04 | Fixed #36058 -- Refactored SpatialRefSysMixin.srs to use cached_property. | Arnaldo Govenem | |
| Replaced manual caching complexity with cached_property for efficiency. Enhanced error handling with distinct messages for WKT and PROJ.4. Thanks to Sarah Boyce for the suggestions. | |||
| 2023-01-20 | Fixed #34266 -- Added ClosestPoint GIS database functions. | Niccolò Mineo | |
| 2023-01-10 | Refs #31014 -- Added FromWKB and FromWKT GIS database functions. | Mariusz Felisiak | |
| Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | |||
| 2023-01-03 | Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on ↵ | Claude Paroz | |
| PostGIS. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-01-13 | Removed redundant database vendor helpers in gis_tests/utils.py. | Tim Graham | |
| 2021-01-13 | Added SpatialFeatures.empty_intersection_returns_none. | Tim Graham | |
| 2021-01-02 | Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup. | Tim Graham | |
| 2020-11-30 | Added SpatialFeatures.supports_tolerance_parameter. | Tim Graham | |
| 2020-11-11 | Added SpatialFeatures.unsupported_geojson_options. | Tim Graham | |
| 2020-11-09 | Renamed BaseSpatialOperations.geography to ↵ | Tim Graham | |
| BaseSpatialFeatures.supports_geography. | |||
| 2020-11-09 | Removed BaseSpatialOperations.geometry. | Tim Graham | |
| Unused since 26996e2d55719deb0a0b85c642c88658c929106c. | |||
| 2020-10-27 | Made OracleSpatialAdapter clone geometries rather than mutate them. | Tim Graham | |
| 2020-10-19 | Added DatabaseFeatures.can_alter_geometry_field. | Tim Graham | |
| 2020-06-17 | Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments. | David Smith | |
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2019-08-23 | Fixed #29955 -- Added support for distance expression to the dwithin lookup. | Simon Charette | |
| This was missed when adding support to other distance lookups in refs #25499. Thanks Peter Bex for the report and Mariusz for testcases. | |||
| 2019-03-20 | Fixed #28738 -- Added the GeometryDistance function. | Francisco Couzo | |
| 2019-02-12 | Fixed #22423 -- Added support for MySQL operators on real geometries. | Claude Paroz | |
| Thanks Viswanathan Mahalingam for the report and initial patch, and Nicke Pope and Tim Graham for the review. | |||
| 2019-01-17 | Refs #28841 -- Removed ForceRHR function per deprecation timeline. | Tim Graham | |
| 2018-07-18 | Removed duplicate words in various comments. | Mariusz Felisiak | |
| 2017-11-04 | Simplified GeometryField.select_format(). | Sergey Fedoseev | |
| 2017-10-06 | Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵ | Simon Charette | |
| PEP 249. | |||
| 2017-09-28 | Simplified various __eq__() methods. | Mads Jensen | |
| 2017-09-11 | Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵ | Sergey Fedoseev | |
| than once. Reverted test for refs #27603 in favor of using FuncTestMixin. | |||
| 2017-08-24 | Fixed #28518 -- Improved performance of loading geometries from DB. | Sergey Fedoseev | |
| 2017-07-26 | Removed unused SpatialOperations.from_wkb. | Tim Graham | |
| Unused since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8. | |||
| 2017-07-26 | Fixed #28436 -- Added support for distance lookups on MySQL. | Sergey Fedoseev | |
| 2017-07-25 | Fixed #28432 -- Allowed geometry expressions to be used with distance lookups. | Sergey Fedoseev | |
| Distance lookups use the Distance function for decreased code redundancy. | |||
| 2017-06-26 | Fixed #27964 -- Made MySQL backend raise exception if spatial transformation ↵ | Sergey Fedoseev | |
| is needed for query. | |||
| 2017-04-10 | Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to ↵ | Sergey Fedoseev | |
| another one. | |||
| 2017-04-02 | Fixed #11854 -- Added Azimuth GIS function. (#8286) | Sergey Fedoseev | |
| 2017-04-01 | Fixed #12410 -- Added LineLocatePoint GIS function. | Sergey Fedoseev | |
| 2017-03-29 | Made isvalid lookup use IsValid function to decrease code redundancy. | Sergey Fedoseev | |
| 2017-03-20 | Removed BaseSpatialOperations.truncate_params. | Sergey Fedoseev | |
| Unused since 32969c3931dea8488ee4ad2849eab43e31e5542e. | |||
| 2017-03-16 | Updated postgis.net and gaia-gis.it links to https. | Tim Graham | |
| 2017-03-16 | Removed GeoQuerySet leftovers. | Sergey Fedoseev | |
| Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-02-04 | Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
