Skip to content

Dagger 2.9

Compare
Choose a tag to compare
@ronshapiro ronshapiro released this 03 Feb 19:03
· 2553 commits to master since this release
  • Faster compilation! With google-java-format 1.2, we have helped to fix a few performance bottlenecks which should result in less time in annotation proceessing for Dagger
  • Added @BindsInstance for component builders to easily bind instances that are constructed outside of the graph
  • Producers: Added ProducerMonitor.ready(), which is called when all of a producer's inputs are available
  • Removed @Provides(type = ...) usage. Use the annotations in dagger.multibindings instead. @Produces.type was also removed
  • "Prefer to run the dagger processor" warnings are now off by default.
  • New Validation
    • All binding methods are now validated, even if they are unused in a particular @Component
    • @Component.dependencies can no longer include @Modules.