Releases: python-injector/injector
Releases · python-injector/injector
0.24.0
What's Changed
- Drop Python 2 wheel support by @davidparsson in #300
- Bump urllib3 from 2.5.0 to 2.6.0 by @dependabot[bot] in #301
- Bump urllib3 from 2.6.0 to 2.6.3 by @dependabot[bot] in #302
- Fix
AttributeError: __metadata__on Python 3.13 by @kamyarghajar in #304 - Add test for #303 by @davidparsson in #305
- Test Python 3.14 as well by @davidparsson in #306
- Use covariant types for multibind collections/mappings by @davidparsson in #307
- Update changelog by @davidparsson in #308
- Bump version to 0.24.0 by @davidparsson in #309
New Contributors
- @kamyarghajar made their first contribution in #304
Full Changelog: 0.23.0...0.24.0
0.23.0
Added:
- Allow injecting Annotated types into classes, thanks to Filip Nešťák.
- Fixed Annotated type support in
@providermethods, thanks to Satwik Agrawal. multibind()now accepts types and providers, not just instances. Thanks to Eiríkur Torfason.
Backwards incompatible:
- Changed so that the
scopeprovided tomultibind()applies to the individual bound types, within the collection. Previously the scope was applied to the collection, thelistordictinstance. Thanks to Eiríkur Torfason.