Injector

Latest version: v0.22.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.22.0

------

Date: 2024-07-08

Added:

- Added support for injecting `PEP 593 <https://peps.python.org/pep-0593/>`_
`Annotated <https://docs.python.org/3/library/typing.html#typing.Annotated>`_

Removed:

- Dropped Python 3.7 support

0.21.0

------

- Improved the documentation, thanks to jonathanmach and Jakub Wilk
- Fixed a thread-safety regression
- Improved the type annotations, thanks to David Pärsson
- Fixed singleton scope behavior with parent/child injectors, thanks to David Pärsson
- Stopped using a deprecated test function, thanks to ljnsn

0.20.1

------

- Added support for PEP 604 union types (Python 3.10+), thanks to David Pärsson
- Fixed building with pypandoc 1.8+, thanks to Søren Fuglede Jørgensen

0.20.0

------

- Fixed handling of Union combined with Annotated, thanks to Tobias Nilsson
- Fixed AssitedBuilder/child Injector interaction, thanks to Erik Cederberg
- Made get_bindings() and injections work even if a injectee's return type
annotation is a forward reference that can't be resolved

Backwards incompatible:

- Dropped Python 3.6 support

0.19.0

------

- Added the license to the source distribution, thanks to Joshua Adelman
- Added Python 3.9 and 3.10 support, this includes fixing Python 3.10 compatibility, thanks to Torge Matthies
- Improved the documentation, thanks to Takahiro Kojima
- Improved the source distribution so that it can be used to build and install wheels, thanks to Janusz Skonieczny
- Added requirements files for easier development, thanks to Greg Eremeev

Backwards incompatible:

- Removed Python 3.5 support

0.18.4

------

- Fixed a bug where only one of multiple NoInject annotations was interpreted

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.