Releases: maldoinc/wireup
Releases · maldoinc/wireup
v0.7.1
- Fix service registration with qualifiers when using factory functions
- Fix register_all_in_module not picking up classes from modules containing only init.py
- Default impl is now a documented feature
- register_all_in_module now can also accept a regex pattern
- Added new load_module function to help with factory service registration edge cases
Full Changelog: v0.7.0...v0.7.1
v0.7.0
- Add fastapi integration (https://github.com/maldoinc/wireup/pull/16[)](https://github.com/maldoinc/wireup/commit/eaeabfeb37d8f908c17d2bfd894287eb4f42a382)
- Override passed kw args when autowiring; Fixes #12
- Make Wire() raise in fastapi with unknown services; Fixes #14
- Fix interference with fastapi depends when not being used in a wireup context
- Add option to override services (https://github.com/maldoinc/wireup/pull/13[)](https://github.com/maldoinc/wireup/commit/ca68dd2931fe93d7b109c425903ccc8288deac57)
- Add clear_initialized_objects method
- Documentation updates
v0.6.2
v0.6.1
Bugfix release
- Fix bug preventing from setting attrs of proxied object
- Fix bug where services registered through factories would not be warmed up
- Fix abstract and get type hints
- Fix container.register to not obstruct the decorated type
- Fix container.get returning proxies for interfaces when instantiated class already exists
- Use graphlib2 only in Py38, newer versions use python's native graphlib
- Make AnnotatedParameter reader work with multiple annotations. Now having the wireup annotation as the first one is no longer necessary.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
v0.5.0
v0.4.0
- Performance improvements
- Add transient service lifetime
- Pass mypy checks on strictest setting
- Add py.typed
- Revamp dependency initialization context to allow manual service registration in addition to parameters
- Python 3.12 support
Full Changelog: v0.3.0...v0.4.0
0.3.0
v0.2.0
Initial release
v0.1.0 Update docs link