Lagom

Latest version: v2.7.5

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

Scan your dependencies

Page 5 of 12

1.2.0

Enhancements
* FastAPI integration now provides request level singletons.
* [EXPERIMENTAL] Integration to click CLI package added

Bug Fixes
None
Backwards incompatible changes
* Internal detail: The type hints for FunctionSpec from the caching reflector are now all non-mutable.
The implementation is not changed but the immutable hints should prevent state based bugs.

1.1.0

Enhancements
* Classes can now be passed to container.partial and container.magic_partial. Thanks to BrentSouza via PR 132.
* Decorators now preserve function docs.
* Decorators now communicate that the return type of the decorated function is preserved.

Bug fixes
* Stop unnecessary function call to parent definitions.

Backwards incompatible changes
None

1.0.0

1.0.0beta.4

Bugfixes
* Fix ridiculous bug which meant pydantic was implicitly required.

1.0.0beta.3

Bugfixes
* Undoes changes to injectable as this caused potential issues.

1.0.0beta.2

Enhancements
* Various performance enhancements.
* Bytes and Bytearray now in the non resolveable by default types.
* Fastapi & flask integrations now make the request available for injection
* Raise better exceptions if injectable is accidentally used.

Bug fixes
None

Backwards incompatible changes
* Framework integrations now require ExtendableContainer rather than readable. For most
use cases this will require not change.
* Experimental django container is now modified to use a normal container and an integration
class.

Page 5 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.