Skip to content

Dagger 2.8

Compare
Choose a tag to compare
@ronshapiro ronshapiro released this 22 Nov 15:48
· 2478 commits to master since this release
  • Optimized generated @Components! We now inline many calls to @Inject constructors and @Provides methods when we don't need a Provider<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 enums, reducing code size for Android users