mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-07 07:00:49 +03:00
Release 0.9.1
This commit is contained in:
parent
50a3db6b94
commit
4291f0efc1
|
@ -11,14 +11,19 @@ follows `Semantic versioning`_
|
||||||
Development version
|
Development version
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
- Add simplified syntax of kwarg injections for ``Factory`` and ``Singleton``
|
- No featues.
|
||||||
providers: ``Factory(SomeClass, dependency1=injectable_provider_or_value)``.
|
|
||||||
- Add simplified syntax of kwarg injections for ``Callable`` provider:
|
0.9.1
|
||||||
``Callable(some_callable, dependency1=injectable_provider_or_value)``
|
-----
|
||||||
- Add simplified syntax of kwarg injections for ``@inject`` decorator:
|
- Add simplified syntax of kwarg injections for ``di.Factory`` and
|
||||||
``@inject(dependency1=injectable_provider_or_value)``.
|
``di.Singleton`` providers:
|
||||||
- Optimize ``@inject`` decorations when they were made several times for the
|
``di.Factory(SomeClass, dependency1=injectable_provider_or_value)``.
|
||||||
same callback.
|
- Add simplified syntax of kwarg injections for ``di.Callable`` provider:
|
||||||
|
``di.Callable(some_callable, dependency1=injectable_provider_or_value)``
|
||||||
|
- Add simplified syntax of kwarg injections for ``@di.inject`` decorator:
|
||||||
|
``@di.inject(dependency1=injectable_provider_or_value)``.
|
||||||
|
- Optimize ``@di.inject()`` decorations when they were made several times for
|
||||||
|
the same callback.
|
||||||
- Add minor refactorings.
|
- Add minor refactorings.
|
||||||
- Fix of minor documentation issues.
|
- Fix of minor documentation issues.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user