Notable/breaking changes
- [Jakarta support] Remove deprecated Factory create methods that take a
javax.inject.Provider
. This means components built with an older Dagger version but with factory dependencies from a newer Dagger version will no longer compile. If you run into this, the Dagger version compiling the component must be upgraded. (3412e6c) - [Jakarta support] Disallow providing or injecting
dagger.internal.Provider
. Also disallow injections of raw Provider in Maps, for both javax and dagger Providers. (962bb33) - [Dagger]: Usages of
@Multibinds
and@ElementsIntoSet
in Kotlin sources must now use Set/Map from thekotlin.collections
package rather than thejava.util
package.
Bug fixes
- [Jakarta support] Add support for Jakarta annotations to Hilt. (9001b55)
- [Jakarta support] Fixed #4572. Fix issue with
jakarta.inject.Provider
support where in certain cases requests for aMap<K, Provider<V>>
would fail to compile. (f4e8003) - [Dagger] Remove private modifier from fields/methods within generated Dagger component's private implementation classes (see #4544). (79f8633)
- [Hilt] Partially Fixed #4423: Fix project isolation violation when checking that Hilt libraries are applied along the Gradle plugin. (91450da)