@ronshapiro ronshapiro released this Oct 10, 2017 · 333 commits to master since this release

Assets 2
  • The following kind of bindings are now inlined in the generated components and do not need a Provider wrapper object (unless they are scoped or otherwise requested as a Provider).
    • Multibound Sets and Maps
      • If you have Guava on your classpath, these will be implemented using ImmutableSet/ImmutableMap too
    • Optional bindings
    • @Binds bindings
    • @BindsInstance bindings
    • Component dependencies
    • Subcomponent Builders
    • All members injection methods on a component
  • Unused Provider objects 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