github google/dagger dagger-2.44
Dagger 2.44

latest releases: dagger-2.52, dagger-2.51.1, dagger-2.51...
2 years ago

What’s new In Dagger

Potentially breaking changes

  • Fixes #3531: Removed formatting from dagger.android generated source could be a breaking change for anyone relying on golden files for Dagger’s generated code. (d123efd)

Bug Fixes

  • Fixes #3522: Avoids pre-validating the nearest enclosing type in the InjectProcessingStep. (1d74d1f)

What’s new in Hilt

Potentially breaking changes

  • Added ViewModelLifecycle. This can be injected in the ViewModelComponent and used to register listeners for when ViewModel#onCleared() is called. This change also includes a breaking change for anyone who implemented the ActivityRetainedLifecycle interface themselves. This should be rare though as this interface was not meant to be implemented by users. (55aa4c6)

Bug Fixes

  • Fixes #3478: Fixes an issue in Hilt's Gradle Plugin not configuring the aggregating task correctly on a com.android.test Gradle module. (ea39850)

Don't miss a new dagger release

NewReleases is sending notifications on new releases.