Dagger 2.9
·
2880 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
@BindsInstancefor 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 indagger.multibindingsinstead.@Produces.typewas 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.dependenciescan no longer include@Modules.
- All binding methods are now validated, even if they are unused in a particular