Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: davmf/pinject

Tags

v0.10.2

Toggle v0.10.2's commit message
Since v0.10.2:

* Fixed bug: allows binding specs containing only provider methods.

v0.10.1

Toggle v0.10.1's commit message
Since v0.10:

* Fixed bug: allows omitting custom named 'configure' binding spec method.

v0.10

Toggle v0.10's commit message
Since v0.9:

* Added default ``__eq__()`` to ``BindingSpec``, so that DAG binding spec dependencies can have equal but not identical dependencies.
* Allowed customizing ``configure()`` and ``dependencies()`` binding spec method names.
* Deprecated ``@injectable`` in favor of ``@inject``.
* Added partial injection.
* Added ``require`` arg to allow binding spec ``configure`` methods to declare but not define bindings.
* Sped up tests (and probably general functionality) by 10x.
* Documented more design decisions.
* Added ``@copy_args_to_internal_fields`` and ``@copy_args_to_public_fields``.
* Renamed ``InjectableDecoratorAppliedToNonInitError`` to ``DecoratorAppliedToNonInitError``.

v0.9

Toggle v0.9's commit message
Last (anticipated) release before 1.0.

Since v0.8:

* Added validation of python types of public args.
* Improved error messages for all Pinject-raised exceptions.
* Added use_short_stack_traces arg to ``new_object_graph()``.
* Allowed multiple ``@provides`` on single provider method.

v0.8

Toggle v0.8's commit message
Initial release.

Still to come before 1.0:
* Better error messages for Pinject-raised exceptions.
* Declared (but not defined) binding dependencies.