Injector

Latest version: v0.22.0

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

Scan your dependencies

Page 4 of 6

0.13.3

------

- Fixed a bug with classes deriving from PyQt classes not being able to be
instantiated manually (bug 75, patch 76 thanks to David Pärsson)

0.13.2

------

- Fixed a bug with values shared between Injectors in a hierarchy (bugs 52 and 72)
- Binding scopes explicitly (``Binder.bind_scope``) is no longer necessary and ``bind_scope`` is a no-op now.

0.13.1

------

- Improved some error messages

0.13.0

------

Backwards incompatible:

- Dropped Python 3.2 support
- Dropped Injector use_annotations constructor parameter. Whenever inject is
used parameter annotations will be used automatically.
- Dropped Python 2 support (this includes PyPy)
- Removed provides decorator, use provider instead
- Removed support for passing keyword arguments to inject

0.12.0

------

- Fixed binding inference in presence of * and ** arguments (previously Injector
would generate extra arguments, now it just ignores them)
- Improved error reporting
- Fixed compatibility with newer typing versions (that includes the one
bundled with Python 3.6)

Technically backwards incompatible:

- Forward references as PEP 484 understands them are being resolved now when
Python 3-style annotations are used. See
https://www.python.org/dev/peps/pep-0484/#forward-references for details.

Optional parameters are treated as compulsory for the purpose of injection.

0.11.1

------

- 0.11.0 packages uploaded to PyPI are broken (can't be installed), this is
a fix-only release.

Page 4 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.