Skip to content

Dagger 2.4

Compare
Choose a tag to compare
@cgruber cgruber released this 06 Jun 23:18
· 2679 commits to master since this release
  • Adds @Binds API for delegating
    one binding to another
  • Adds @IntoSet, @ElementsIntoSet and @IntoMap to replace @Provides(type = ...) and @Produces(type = ...)
  • Allow injection of Provider<Lazy<Foo>>
  • Report an error if a @Scope annotation is applied to an @Inject constructor
  • Remove the ability to set the production executor on a component builder.
  • Ensure that no binding methods are binding framework types.
  • New format of dependency traces in error messages
  • Fixed bug: Exception when a binding in a parent that is used only in a subcomponent depends on a binding in the subcomponent
  • Update to JavaPoet 1.6.1 and Google Java Format 1.0