Skip to content

v22.1.0

Compare
Choose a tag to compare
@Tinche Tinche released this 28 Oct 23:55
· 57 commits to main since this release
  • Breaking change: due to limitations in autodetecting context managers (both sync and async), context manager dependencies must be explicitly registered by passing is_context_manager="sync" (or async) to the registration functions.
  • Injection can be customized on a per-parameter basis by annotating a parameter with Annotated[type, incant.Override(...)].
  • Implement support for forced dependencies.
  • Sync context managers may now be dependencies.
  • incanter.a/incant() now handles unfulfilled parameters with defaults properly.
  • Switched to CalVer.