Skip to content

Releases: python-injector/injector

Release list

0.24.0

Choose a tag to compare

@davidparsson davidparsson released this 09 Jan 12:13
6de2990

What's Changed

New Contributors

Full Changelog: 0.23.0...0.24.0

0.23.0

Choose a tag to compare

@davidparsson davidparsson released this 28 Nov 19:31
a1e5488

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.