NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4631 most downloaded on PyPI
Async database support for Python.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 8 months
Some releases are documented
notes for 17 of 43 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
43 releases · first in 2019
Drop support for Python 3.7 and add support for Python 3.12 ([#583][#583])
This release improves isolation of connections and transactions across concurrent tasks:
This release improves isolation of connections and transactions across concurrent tasks:
@db.transaction decorator uses the calling task's connectionThese changes improve the consistency of behavior and fix bugs where connections and transactions were not properly isolated such as: https://github.com/encode/databases/issues/123, https://github.com/encode/databases/issues/125, https://github.com/encode/databases/issues/134, https://github.com/encode/databases/issues/155, https://github.com/encode/databases/issues/424, and https://github.com/encode/databases/issues/452.
In most cases, these changes should not be breaking. However, if using an open transaction across tasks, the active connection (db.connection()) now needs to be explicitly passed to each task. See the new documentation for an example.
No module named 'asyncmy.connection' (#553)One column per quarter.
Fixed breaking changes in SQLAlchemy cursor; supports >=1.4.42,<1.5 (#513).
>=1.4.42,<1.5 (#513).typing.Optional where applicable (#510).Pinned SQLAlchemy <=1.4.41 to avoid breaking changes (#520).
<=1.4.41 to avoid breaking changes (#520).Allow string indexing into Record
Transaction (#493)Add _mapping property to the result set interface
Revert the change of Record type to Sequence from Mapping(#408) to maintain backward compatibility
Record type to Sequence from Mapping(#408) to maintain backward compatibilitySupport for Unix domain in connections
asyncmy MySQL driver (#382)Record type to Sequence (#408)Support dialect+driver for default database drivers like postgresql+asyncpg
dialect+driver for default database drivers like postgresql+asyncpg (#396)dialect+driver for default database drivers like postgresql+asyncpg (#396)Reset counter for failed connections
Make database connect and disconnect calls idempotent
connect and disconnect calls idempotent (#379)in_ and notin_ queries in SQLAlchemy 1.4 (#378)connect and disconnect calls idempotent (#379)in_ and notin_ queries in SQLAlchemy 1.4 (#378)## 0.5.0 (August 26th, 2021) ### Added * Support SQLAlchemy 1.4 (#299) ### Fixed * Fix concurrent transactions
## 0.4.3 (March 26th, 2021) ### Fixed * Pin SQLAlchemy to <1.4.*
Fix memory leak with asyncpg for SQLAlchemy generic functions
Changelog:
Removed psycopg2 and pymysql from the direct package dependencies to avoid non-binary builds
Changelog:
Use backend native fetch_val() implementation when available
Changelog:
Build queries before acquiring the lock. #199
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →