Dagger 2.12
·
2697 commits
to master
since this release
- The following kind of bindings are now inlined in the generated components and do not need a
Providerwrapper object (unless they are scoped or otherwise requested as a Provider).- Multibound
Sets andMaps- If you have Guava on your classpath, these will be implemented using
ImmutableSet/ImmutableMaptoo
- If you have Guava on your classpath, these will be implemented using
- Optional bindings
@Bindsbindings@BindsInstancebindings- Component dependencies
- Subcomponent Builders
- All members injection methods on a component
- Multibound
- Unused
Providerobjects are now removed from components, which should speed up initialization times! - In Dagger Producers, a provision binding that is used in a producers context will no longer be cached.
- Better support for running the dagger compiler with
javac9