Skip to content

Releases: python-injector/injector

0.24.0

09 Jan 12:13
6de2990

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.23.0...0.24.0

0.23.0

28 Nov 19:31
a1e5488

Choose a tag to compare

Added:

  • Allow injecting Annotated types into classes, thanks to Filip Nešťák.
  • Fixed Annotated type support in @provider methods, thanks to Satwik Agrawal.
  • multibind() now accepts types and providers, not just instances. Thanks to Eiríkur Torfason.

Backwards incompatible:

  • Changed so that the scope provided to multibind() applies to the individual bound types, within the collection. Previously the scope was applied to the collection, the list or dict instance. Thanks to Eiríkur Torfason.