5.20.1 — 2026-10-24¶
← 5.21.0 | 5.20.0 → | ↑ 5.x series
Changed¶
Adapters - MySQL¶
- asyncmy Replaces asyncmy2 - The
asyncextras ofarchipy-mysqlandarchipy-starrocksdepend onasyncmy>=0.2.17instead of the deprecatedasyncmy2.- Both packages provide the
asyncmymodule, so the adapters are unchanged asyncmy2andasyncmyconflict when installed together; uninstallasyncmy2when upgrading an existing environment
- Both packages provide the
Models - Errors¶
- Typed Error Details - Bare
dicttype hints on the error models are parametrized.
Helpers - Typing¶
- Parametrized Generics - Bare
list,dictandCallabletype hints in helpers and decorators are parametrized.
Adapters - Typing¶
- Parametrized Generics - Bare
dictandlisttype hints in the email, Keycloak and Redis adapters are parametrized.
Adapters - Redis¶
- Typed Ports - Pub/sub and pipeline ports use
redis-pyclasses, and hash mapping, items and keys useredis.typingencodable types.
Adapters - ScyllaDB¶
- Typed Driver Objects - Session, cluster, result set and prepared statement are typed with the Cassandra driver classes.
Adapters - Temporal¶
- Typed Client -
Anyand stub return types are replaced withtemporalioclient types.
Adapters - Keycloak¶
- Typed Representations - Role, group, organization, client scope, protocol mapper and component representations are
TypedDicttypes.
Fixed¶
Adapters - Keycloak¶
- Mixin and Port Return Types - Aligned the return types of the auth, roles, users and clients mixins and ports so
typasses.
Chore¶
- Bandit False Positives - Added
# nosecmarkers for B104 (METRICS_PULL_HOSTbind-all default), B311 (retry jitter) and B106 (OAuth token-type URN) so the code scanning alerts close.
Dependencies¶
Dependencies - Lower Bounds¶
- Lower Bounds Match uv.lock - Raised lower bounds to the locked versions.
fastapi>=0.162.0,grpcio>=1.84.1,grpcio-health-checking>=1.84.1,sqlalchemy>=2.1.6,cachetools>=7.2.4,httpx2>=2.16.0,pydantic-settings>=2.16.1,boto3>=1.43.118- Dev groups:
ruff>=0.17.2,ty>=0.0.91,coverage>=7.17.0,validate-pyproject>=0.27, mkdocs packages and type stubs