Anydi

Latest version: v0.32.2

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

Scan your dependencies

Page 1 of 13

0.32.2

What's Changed
* Add scope validation by antonrh in https://github.com/antonrh/anydi/pull/125


**Full Changelog**: https://github.com/antonrh/anydi/compare/0.32.1...0.32.2

0.32.1

What's Changed
* Check overridden instances while resolving from context by antonrh in https://github.com/antonrh/anydi/pull/124


**Full Changelog**: https://github.com/antonrh/anydi/compare/0.32.0...0.32.1

0.32.0

What's Changed
* **Optimized Instance Creation**: Improved performance by optimizing how instances are created and managed within the container.
* **Refactored Provider Module**: Simplified and restructured the provider module for better maintainability and readability.
* **Added Support for Request-Scoped Instances**: Introduced support for request-scoped dependencies, enabling per-request lifecycle management for dependencies in web applications. [Learn more here](https://anydi.readthedocs.io/en/latest/usage/#request-scoped-instances).

Breaking changes:
* **Updated Container Constructor:** The providers argument in the `Containe`r constructor now accepts a list of providers instead of a dictionary. For example:
python
container = Container(providers=[
Provider(obj=lambda: settings, scope="singleton", interface=Settings)
])

* **Removed dep() Marker**: Use `auto` instead for automatic dependency resolution.



**Full Changelog**: https://github.com/antonrh/anydi/compare/0.31.0...0.32.0

0.31.0

What's Changed
* Add pytest unresolved depenendy log by antonrh in https://github.com/antonrh/anydi/pull/115
* Python 3.8 EOL by antonrh in https://github.com/antonrh/anydi/pull/116


**Full Changelog**: https://github.com/antonrh/anydi/compare/0.30.0...0.31.0

0.30.0

What's Changed
* Change django settings default prefix by antonrh in https://github.com/antonrh/anydi/pull/112
* Python 3.13 support by antonrh in https://github.com/antonrh/anydi/pull/114


**Full Changelog**: https://github.com/antonrh/anydi/compare/0.29.2...0.30.0

0.29.2

What's Changed
* Add dotted path module registration support by antonrh in https://github.com/antonrh/anydi/pull/111


**Full Changelog**: https://github.com/antonrh/anydi/compare/0.29.0...0.29.2

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.