forked from pool/python-injector
- version update to 0.17.0
* Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind <injector.Binder.multibind>`.
* Added multibinding-specific :func:`provider <injector.provider>` variant: :func:`multiprovider <injector.multiprovider>`
* Deprecated using :func:`provider <injector.provider>` for multibindings
* Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled
* Deprecated :func:`Key <injector.Key>`, :func:`SequenceKey <injector.SequenceKey>` and
:func:`MappingKey <injector.MappingKey>` – use real types or type aliases instead
* Deprecated using single-item lists and dictionaries for multibindings - use real types or type aliases instead
Technically backwards incompatible:
* typing.List and typing.Dict specializations are now explicitly disallowed as :meth:`bind <injector.Binder.bind>`
interfaces and types returned by :func:`provider <injector.provider>`-decorated methods
OBS-URL: https://build.opensuse.org/request/show/718267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=7
40 lines
2.1 KiB
Plaintext
40 lines
2.1 KiB
Plaintext
-------------------------------------------------------------------
|
||
Wed Jul 24 13:38:20 UTC 2019 - pgajdos@suse.com
|
||
|
||
- version update to 0.17.0
|
||
* Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind <injector.Binder.multibind>`.
|
||
* Added multibinding-specific :func:`provider <injector.provider>` variant: :func:`multiprovider <injector.multiprovider>`
|
||
* Deprecated using :func:`provider <injector.provider>` for multibindings
|
||
* Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled
|
||
* Deprecated :func:`Key <injector.Key>`, :func:`SequenceKey <injector.SequenceKey>` and
|
||
:func:`MappingKey <injector.MappingKey>` – use real types or type aliases instead
|
||
* Deprecated using single-item lists and dictionaries for multibindings - use real types or type aliases instead
|
||
Technically backwards incompatible:
|
||
* typing.List and typing.Dict specializations are now explicitly disallowed as :meth:`bind <injector.Binder.bind>`
|
||
interfaces and types returned by :func:`provider <injector.provider>`-decorated methods
|
||
|
||
-------------------------------------------------------------------
|
||
Tue Jun 11 08:26:05 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||
|
||
- update to version 0.16.2
|
||
* Added support for overriding injectable parameters with positional
|
||
arguments (previously only possible with keyword arguments)
|
||
* Fixed crashes caused by typed self in method signatures
|
||
* Dropped Python 3.4 support
|
||
* Removed previously deprecated constructs: with_injector,
|
||
Injector.install_into, Binder.bind_scope
|
||
* Dependencies are no longer injected into Module.configure and
|
||
raw module functions
|
||
* Removed unofficial support for injecting into parent class
|
||
constructors
|
||
|
||
-------------------------------------------------------------------
|
||
Mon Feb 18 09:17:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||
|
||
- Switch to github tarball to get both tests and license file
|
||
|
||
-------------------------------------------------------------------
|
||
Sat Feb 16 10:16:22 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||
|
||
- Initial package (v0.15.0)
|