Skip to content

@ronshapiro ronshapiro released this Feb 3, 2017 · 955 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.
Assets 2
You can’t perform that action at this time.