This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
Releases: google/pinject
Releases · google/pinject
Version 0.15.3
Publishes v0.15.3 as a release on GitHub.
Version 0.12: Python 3 Supported!
Version 0.10.2
Since v0.10.1:
- Fixed bug: allows binding specs containing only provider methods.
Version 0.10.1
Since v0.10:
- Fixed bug: allows omitting custom named 'configure' binding spec method.
Version 0.10
Since v0.9:
- Added default
__eq__()
toBindingSpec
, so that DAG binding spec dependencies can have equal but not identical dependencies. - Allowed customizing
configure()
anddependencies()
binding spec method names. - Deprecated
@injectable
in favor of@inject
. - Added partial injection.
- Added
require
arg to allow binding specconfigure
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
toDecoratorAppliedToNonInitError
.
Version 0.9
Last (anticipated) release before v1.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.
Version 0.8
Initial release.
Still to come before v1.0:
- Better error messages.
- Declaring (but not defining) required bindings.