NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1895 most downloaded on PyPI
Using SQLAlchemy with Spatial Databases
Last release 3 months ago
11 Jun 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of 60 stable releases
3 versions withdrawn
withdrawn after publishing
14 years old
65 releases · first in 2013
Feat: Add converter-backed spatial element conversions by @adrien-berchet in #610
Full Changelog: 0.20.0...0.21.0-rc0
One column per quarter.
Feat: Add MSSQL dialect by @adrien-berchet in #603
Full Changelog: 0.19.0...0.20.0
CI: Fix triggers after default branch was renamed main by @adrien-berchet in #593
>> docstring by @adrien-berchet in #594Full Changelog: 0.18.4...0.19.0
Fix: fix setuptools deprecation warning by @pjonsson in #589
Full Changelog: 0.18.3...0.18.4
Fix: Fix Shapely import by @adrien-berchet in #584
Full Changelog: 0.18.2...0.18.3
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci [bot] in #575
Full Changelog: 0.18.1...0.18.2
Fix (mysql): Fix failing test for MySQL dialect by @google-labs-jules [bot] in #567
Full Changelog: 0.18.0...0.18.1
Build: Deprecate Py<3.10 by @adrien-berchet in #538
Full Changelog: 0.17.1...0.18.0
Chore: Fix stubs for TableRowElement by @adrien-berchet in #534
Full Changelog: 0.17.0...0.17.1
CI: Fix Pypy job by @adrien-berchet in #528
Full Changelog: 0.16.0...0.17.0
Improve MariaDB support by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/524
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.15.2...0.16.0
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/geoalchemy/geoalchemy2/pull/514
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.15.1...0.15.2
Test: Dispose of the connection pools of the test engines by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/511
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.15.0...0.15.1
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/geoalchemy/geoalchemy2/pull/503
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.7...0.15.0
Docs: Add Zenodo badge on the main page by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/498
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.6...0.14.7
Fix: Fix specific compilation rules for MariaDB by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/495
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.5...0.14.6
CI: Setup pre-commit.ci by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/492
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.4...0.14.5
Build: Add Py312 support by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/487
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.3...0.14.4
Test: Check for max width and height in raster insertion example by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/482
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.2...0.14.3
Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/geoalchemy/geoalchemy2/pull/472
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.1...0.14.2
Docs: Fix badges and link to docs by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/460
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.14.0...0.14.1
Add MySQL support by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/330
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.13.2...0.14.0
Fix compatibility with Alembic>1.11 by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/449
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.13.2...0.13.3
Fix compatibility with SQLAlchemy>=2 by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/424
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.13.1...0.13.2
Fix: Use empty event for unsupported dialects by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/421
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.13.0...0.13.1
Use build package in publish job and remove useless wheel config by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/407
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.5...0.13.0
Fix: Pass the schema in alembic_helpers.create_geospatial_table() by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/404
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.4...0.12.5
Improve coverage by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/394
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.3...0.12.4
Add a test for reflection of a view with spatial columns by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/391
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.2...0.12.3
Fix doc for Alembic helpers by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/386
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.1...0.12.2
Fix semicolon in index query for postgresql by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/383
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.12.0...0.12.1
Improve the gallery example for TypeDecorator by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/373
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.11.1...0.12.0
Improve doc formatting by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/369
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.11.0...0.11.1
Fix spatial index declaration by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/344
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.10.2...0.11.0
Use 'load_dialect_impl()' instead of 'impl' to get the type of the TypeDecorator objects by @adrien-berchet in https://github.com/geoalchemy/geoalchem
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.10.1...0.10.2
Fix creation of columns using a TypeDecorator by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/343
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.10.0...0.10.1
Add SummaryStats type for the ST_SummaryStatsAgg function by @adrien-berchet in https://github.com/geoalchemy/geoalchemy2/pull/334
Full Changelog: https://github.com/geoalchemy/geoalchemy2/compare/0.9.4...0.10.0
Fix warnings in preparation for SQLAlchemy v2.0 @robintw
Add support for not nullable column for SQLite @adrien-berchet
Add support for N-D intersects '&&&' operator @dlbrittain
Fix quotes in index creation @adrien-berchet
Add many missing functions @adrien-berchet
Add dosctrings to remove sphinx warnings @adrien-berchet
Fix ST_AsGeoJSON function @adrien-berchet
Use setuptools_scm to manage versions @adrien-berchet
Fix __eq__() method in _SpatialElement so it can work with any type @adrien-berchet
Fix Shapely requirements for Pypy @adrien-berchet
Update test matrix removing Python 3.4 and adding 3.6, 3.7, 3.8 @cjmayo
Add some missing functions @adrien-berchet
Support WKBElement objects as bind values @elemoine
Change WKBElement to read SRID from the EWKB string @SergeBouchut
Add support for function ST_Azimuth @simlmx
Fix ST_LineLocatePoint return type @fredj
Fix docstring for overlaps_or_above @dcere
Adapt links for "Read the Docs". @adamchainz
Read geometries with ST_AsEWKB. @loicgasser, @fredj, @elemoine
Nothing published for this version
Distribute GeoAlchemy as wheels
Wrap column name in double-quotes
SQLAlchemy 0.9.4 compatibility. @quiqua (#75 and #76)
Your coding agent can read these notes before it upgrades. Set up the MCP server →