NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #394 most downloaded on PyPI
Async dependency injection for Python functions
Latest stable
0.6.2
Last release 3 days ago
19 Nov 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
9 months old
14 releases · first in 2026
Drag across the ruler to compare, or tap a release to open it.
Upgrade the locked uv dependencies by @chrisguidry-lock[bot] in #30
Full Changelog: 0.6.1...0.6.2
Add one "All checks passed" job for main's ruleset to require by @chrisguidry in #26
Full Changelog: 0.6.0...0.6.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
One column per month.
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.6.0...0.6.1
Add a Provided default, resolve dependencies through type aliases, and support Python 3.11 through 3.15 by @chrisguidry in #24
Full Changelog: 0.5.0...0.6.0
Big thanks to @twavv for bringing some delicious new DX here, which I'll carry out to Docket soon. You should already be able to use this style on Fas
Big thanks to @twavv for bringing some delicious new DX here, which I'll carry out to Docket soon. You should already be able to use this style on FastMCP!
DB = Annotated[DB, Depends(_get_db)]
def get_user(email: str, db: DB) -> UserResult:
return db.query(...)Full Changelog: 0.4.2...0.5.0
Thank you @JunkaiWang-TheoPhy for your first contribution! 🎉
Thank you @JunkaiWang-TheoPhy for your first contribution! 🎉
Full Changelog: 0.4.1...0.4.2
Thank you @JunkaiWang-TheoPhy for your first contribution! 🎉
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.4.1...0.4.2
Run CI on ubuntu-26.04 instead of ubuntu-latest by @chrisguidry in #14
Full Changelog: 0.4.0...0.4.1
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.4.0...0.4.1
Add CallArgument and Depends bindings on a call-scoped frame by @chrisguidry in https://github.com/chrisguidry/uncalled-for/pull/12
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.3.2...0.4.0
Full Changelog: 0.3.2...0.4.0
Accept bare Dependency subclasses as Annotated metadata by @chrisguidry in https://github.com/chrisguidry/uncalled-for/pull/9
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.3.1...0.3.2
Full Changelog: 0.3.1...0.3.2
After spending more time with class dependencies, it was the wrong design. I'm pulling it for now and reconsidering.
After spending more time with class dependencies, it was the wrong design. I'm pulling it for now and reconsidering.
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.3.0...0.3.1
After spending more time with class dependencies, it was the wrong design. I'm pulling it for now and reconsidering.
Full Changelog: 0.3.0...0.3.1
Dependency classes can now declare their own dependencies as class attributes, resolved automatically before __aenter__ runs:
Dependency classes can now declare their own dependencies as class attributes, resolved automatically before __aenter__ runs:
class UserRepo(Dependency[UserRepo]):
pool: Pool = Depends(get_pool)
async def __aenter__(self) -> UserRepo:
return UserRepo(self.pool) # self.pool already resolved
Works with Depends(), Shared(), and bare Dependency instances. Dependencies on base classes are resolved for concrete children.
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.2.0...0.3.0
Dependency classes can now declare their own dependencies as class attributes, resolved automatically before __aenter__ runs:
class UserRepo(Dependency[UserRepo]):
pool: Pool = Depends(get_pool)
async def __aenter__(self) -> UserRepo:
return UserRepo(self.pool) # self.pool already resolvedWorks with Depends(), Shared(), and bare Dependency instances. Dependencies on base classes are resolved for concrete children.
Full Changelog: 0.2.0...0.3.0
Support dependencies as Annotated type-hint metadata by @chrisguidry in https://github.com/chrisguidry/uncalled-for/pull/3
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.1.2...0.2.0
Full Changelog: 0.1.2...0.2.0
Report concrete type for duplicate single dependencies by @chrisguidry in https://github.com/chrisguidry/uncalled-for/pull/2
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.1.1...0.1.2
Full Changelog: 0.1.1...0.1.2
Use full __aexit__ signature on Dependency by @chrisguidry in https://github.com/chrisguidry/uncalled-for/pull/1
Full Changelog: https://github.com/chrisguidry/uncalled-for/compare/0.1.0...0.1.1
Full Changelog: 0.1.0...0.1.1
Full Changelog: https://github.com/chrisguidry/uncalled-for/commits/0.1.0
Full Changelog: https://github.com/chrisguidry/uncalled-for/commits/0.1.0