News and Updates

SQLAlchemy 2.0.27 Released
permalink

SQLAlchemy 2.0.23 is now available.

Release 2.0.27 fixes a single regression caused by a fix for the asyncpg dialect, where an exception catch was catching an object reference that wasn't present.

Links to the detailed changelog for 2.0.27 is at Changelog.

SQLAlchemy 2.0.27 is available on the Download Page.

SQLAlchemy 2.0.26 Released
permalink

SQLAlchemy 2.0.26 is now available.

Release 2.0.26 has a wide array of bugfixes across almost all the dialects, the ORM, Core components, as well as typing and example fixes.

Links to the detailed changelog for 2.0.26 is at Changelog.

SQLAlchemy 2.0.26 is available on the Download Page.

SQLAlchemy 2.0.25 Released
permalink

SQLAlchemy 2.0.25 is now available.

This release includes a fix for an issue found in the asyncio system, where an engine that's been disposed using the Engine.dispose() method, as would be done when moving the engine across a process boundary, then used again for new connectivity, would inadvertently use a threading.Lock internally which can cause deadlocks when used in an asyncio context.

The release also includes a "preview" backport of the asyncio-compatible dialect for Oracle using the newly introduced asyncio support in the oracledb DBAPI library.

Links to the detailed changelog for 2.0.25 is at Changelog.

SQLAlchemy 2.0.25 is available on the Download Page.

SQLAlchemy 1.4.51 Released
permalink

SQLAlchemy 1.4.51 is now available.

This release includes a fix for an issue found in the asyncio system, where an engine that's been disposed using the Engine.dispose() method, as would be done when moving the engine across a process boundary, then used again for new connectivity, would inadvertently use a threading.Lock internally which can cause deadlocks when used in an asyncio context.

The complete changelog for 1.4.51 is at Changelog.

SQLAlchemy 1.4.51 is available on the Download Page.

SQLAlchemy 2.0.24 Released
permalink

SQLAlchemy 2.0.24 is now available.

Release 2.0.24 includes a significant number of bug fixes and improvements. Changes to be particularly aware of include a fix to the URL.render_as_string() method to repair for escaping of particular characters that previously would not "round trip" through a URL->string->URL loop, full pep-484 typing has been implemented for the sqlalchemy.sql.functions module, and the async_fallback() function used for test suites is now deprecated.

Links to the detailed changelog for 2.0.24 is at Changelog.

SQLAlchemy 2.0.24 is available on the Download Page.