0.7.5
- New: Add Guice interop. This is largely focused on Guice's
Providertype, annotations, and existing interop with jakarta.inject annotations.metro { includeGuice() } - Enhancement: Improve IR caching layer with supertype caching.
- Enhancement: Add diagnostic to check for
Arrayproperties in map key annotations that unwrap values. - Enhancement: Add diagnostic to check multibinds map keys are valid (primitives, strings,
KClass, annotation classes, not arrays). - Enhancement: Improve multibinding star project checks.
- Enhancement: Nudge
@Bindsfunctions towardprivatevisibility like@Providesfunctions now that it's fully supported. - Fix: Don't treat
las an illegal char in name allocating. This was supposed to be;. - Fix: Ensure all reserved properties by child graphs get properties in parents. Previously, there were some cases for bindings that were unused in the parent and otherwise did not meet the criteria for having a backing property would get missed in binding property collection.
- Fix: Fix compiler crash when injecting a target type with star generics.
- Fix: Fix
ClassCastExceptionwhen accessing aProvidercontributed from adagger.Module. - Split
javaxandjakartainterop APIs into separate artifacts from dagger for reuse.
Special thanks to @jonamireh for contributing to this release!
What's Changed
- Fix order check of toSafeIdentifier by @ZacSweers in #1322
- Refactor provider symbol handling by @ZacSweers in #1324
- Fix ClassCastException when accessing a Provider contributed from a dagger.Module by @jonamireh in #1321
- fix(deps): update ktor monorepo to v3.3.2 by @renovate[bot] in #1328
- fix(deps): update dependency androidx.navigation:navigation-compose to v2.9.6 by @renovate[bot] in #1330
- Update to AGP 8.13.0 by @ZacSweers in #1136
- Refactor type conversion + add guice interop by @ZacSweers in #1333
- Add the design doc by @ZacSweers in #1336
- Guice module interop + IrCache by @ZacSweers in #1335
- fix(deps): update ksp monorepo to v2.3.2 by @renovate[bot] in #1337
- fix(deps): update compose.jb to v1.9.3 by @renovate[bot] in #1334
- Ensure parent-unused, unscoped properties are reserved if child graphs expect by @jonamireh in #1332
- Fix crash on star injections by @ZacSweers in #1338
- Misc improvements to multibinding diagnostics by @ZacSweers in #1339
Full Changelog: 0.7.4...0.7.5