Dagger 2.8
ronshapiro
released this
22 Nov 15:48
·
2635 commits
to master
since this release
- Optimized generated
@Component
s! We now inline many calls to@Inject
constructors and@Provides
methods when we don't need aProvider<T>
. - Some optimizations to the
dagger-compiler
java.util.Optional
support for@BindOptionalOf
- Releaseable References API for handling memory pressure for scoped bindings
- Our first release of the
dagger-android
artifact @Provides.Type
is officially deprecated - see their javadoc for the appropriate alternatives. As per our Versioning docs, these will be removed in ~6 months- Bug fixes with optional bindings in subcomponents
- Some generated factories are no longer implemented as
enum
s, reducing code size for Android users