New features:
- Fixes #5165: Support nullable type annotations when using the flag
-Adagger.nullableTypeAnnotations=enabled.
For more details see https://dagger.dev/dev-guide/compiler-options#nullable-type-annotations. (4bedb4b) - Fixes #5087: When using the Hilt Gradle plugin, you
can now disable fastInit mode from the command line,
e.g.-Pdagger.hilt.fastInit=false. For more details see https://dagger.dev/hilt/flags#fast-init. (0f7642b) - Introduced parameterless
@Bindsmethods to explicitly bind@Injectconstructors. For more details see https://dagger.dev/dev-guide/#parameterless-binds. (4c81e94)
Potential breaking changes:
- When using the Hilt Gradle plugin, an error is now reported if a user sets a plugin-controlled flag (previously the plugin just ignored the user’s input). (a119ba6)
- Multidex support is removed. minSDK for Hilt is now 23, matching AndroidX
(https://issuetracker.google.com/380448311) (1990bd1)
Bug fixes:
- Fixes #1290: Enabled Guava BetaApi checks (5b8b2bd)
- Fixes #5190, #5180, #5177: Updated Kotlin version ton 2.3.21 (7daaec5)
- Fixes #5160: Deferred ViewModelMetadata processing on error types or missing @AssistedFactory (59827c6)
- Fixes missing originating element attachments in a few Hilt processors to ensure correct incremental compilation tracking. (2930ca8)
- Fixes Dagger multibinding duplicate masking across Map components (compile-time validation)
Adds strict compile-time detection for duplicate map multibinding keys across component boundaries. This is enabled via the-Adagger.mapMultibindingDuplicateDetectionFix=ENABLED. This option isDISABLEDby default to maintain backward compatibility. See Compiler Options for more details. (504397e)