Dagger 2.5
ronshapiro
released this
15 Jun 19:45
·
2779 commits
to master
since this release
- Enables
@Binds
usage with multibinding annotations (@IntoSet
,@ElementsIntoSet
, and@IntoMap
) - Adds
@Multibinds
API to replace@Multibindings
interfaces @Component.Builder
methods for abstract modules are no longer allowed- Performance improvements for
@IntoSet
usage. Provided objects are no longer wrapped in a wastefulCollections.singleton()
- Compilation speed improvements for large graphs
@Scope
s are no longer allowed on@Produces
methods- Adds state checking to scoped providers to make sure a circular dependency does not create multiple instances
- Producers optimizations: Each
@Produces
method now generates 1 class instead of 2 - Fix: Requests for Map<K, V> now include both
@Provides @IntoMap
and@Produces @IntoMap
values