Notable/breaking changes
- Added support for injecting
jakarta.inject.Provider
. This should be usable anywherejavax.inject.Provider
is usable. Note that this technically comes with a breaking change to disallow providingjakarta.inject.Provider
types in the same way it is disallowed forjavax.inject.Provider
. (caa7e17) - Fixed a number of binding graph related issues.
These fixes can be enabled with,-Adagger.useBindingGraphFix=ENABLED
, but due to this sometimes being a breaking change we’ve set the default behavior to “disabled” for now. We will flip the default to “enabled” in a future release, and eventually remove the flag altogether. Enabling this feature can fix a number of confusing error messages. See https://dagger.dev/dev-guide/compiler-options#useBindingGraphFix for more details.