Lagom

Latest version: v2.7.5

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

Scan your dependencies

Page 2 of 12

2.5.0

Enhancements
* Add support for pydantic v2. Thanks to rickythefox

Bug Fixes
None

Backwards incompatible changes
None

2.4.2

Enhancements
None

Bug Fixes
* Awaitable singleton no longer raises RuntimeError on second usage - thanks to thiromi

Backwards incompatible changes
None

2.4.1

Enhancements
None

Bug Fixes
* Fixes BC breaking change in UnresolvableType definition released in 2.4.0.

Backwards incompatible changes
None

2.4.0

Enhancements
* Better error messages when UnresolvableType is raised. The dependency chain is now printed. Thanks to bastienexertier via 235

Bug Fixes
None

Backwards incompatible changes
None

2.3.0

Enhancements
* Request level singletons can now depend on the request in the fastapi integration. Added in 231 thanks to alkimake.

Bug Fixes
None

Backwards incompatible changes
None

2.2.0

Enhancements
* Adds working version of experimental AsyncContextContainer. This is the async version of the ContextContainer. At this
point the code and interface should be considered unstable although every effort to avoid breaking it will be taken.
* Binding a function to a ContextContainer (or the new AsyncContextContainer) automatically wraps the bound function in
a "with"

Bug Fixes
* Fixed bug in ContextContainer where singletons lived longer than the `with` block.

Backwards incompatible changes
None

Page 2 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.