Skip to content

Dagger 2.40

Compare
Choose a tag to compare
@danysantiago danysantiago released this 27 Oct 23:03
· 876 commits to master since this release

What’s New in Hilt

New Changes

  • Flip the runtime flag default so that the fix is off and remove the compiler option for the Fragment.getContext() fix to make it easier to roll out the fix. This does not change the current default behavior of having the fix be off. (1c24b97, e61ff72)
  • Turn ON enableAggregatingTask by default in Hilt (90ea6a6)

Bug fixes

  • EarlyEntryPoints#get() will now throw if there are no @EarlyEntryPoint annotated interfaces. (b5ef01c)
  • Avoid using UAST implementation classes in Lint checkers. (44e1f05)
  • Fix an issue where @OptionalInject activity/fragment classes could not be used with non-Hilt ViewModels. (8ef08fa)