Injector

Latest version: v0.22.0

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

Scan your dependencies

Page 3 of 6

0.16.1

------

- Reuploaded to fix incorrectly formatted project description

0.16.0

------

- Added support for overriding injectable parameters with positional arguments (previously only
possible with keyword arguments)
- Fixed crashes caused by typed self in method signatures
- Improved typing coverage

Backwards incompatible:

- Dropped Python 3.4 support
- Removed previously deprecated constructs: with_injector, Injector.install_into, Binder.bind_scope
- Dependencies are no longer injected into Module.configure and raw module functions (previously
deprecated)
- Removed unofficial support for injecting into parent class constructors

0.15.0

------

- Added type information for Injector.create_object() (patch 101 thanks to David Pärsson)
- Made the code easier to understand (patch 105 thanks to Christian Clauss)
- Opted the package into distributing type information and checking it (PEP 561)

0.14.1

------

- Fixed regression that required all noninjectable parameters to be typed

0.14.0

------

- Added NewType support
- Added type hints

Backwards incompatible:

- Passing invalid parameter names to noninjectable() will now result in an error
- Dropped Python 3.3 support

0.13.4

------

- Deprecated with_injector. There's no one migration path recommended, it depends on
a particular case.
- Deprecated install_into.

Page 3 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.