0.1.2
- Enhancement: Implement
createGraphandcreateGraphFactoryFIR checkers for better error diagnostics on erroneous type arguments. - Enhancement: Add
ContributesBinding.rankinterop support with Anvil. - Enhancement: Check Kotlin version compatibility. Use the
metro.version.check=falseGradle property to disable these warnings if you're feeling adventurous. - Fix: Fix class-private qualifiers on multibinding contributions in other modules not being recognized in downstream graphs.
- Fix: Fix member injectors not getting properly visited in graph validation.
- Fix: Fix a bug where
Map<Key, Provider<Value>>multibindings weren't always unwrapped correctly. - Fix: Fix
Map<Key, Provider<Value>>type keys not correctly interpreting the underlying type key asMap<Key, Value>. - Change: Change
InstanceFactoryto a value class. - Change: Make
providerOfuseInstanceFactoryunder the hood.
Special thanks to @JoelWilcox, @bnorm, @japplin, @kevinguitar, and @erawhctim for contributing to this release!
What's Changed
- More doc updates by @ZacSweers in #273
- Add interop support for anvil ignoreQualifier by @japplin in #276
- Move Anvil tests to Kotlin test infrastructure by @bnorm in #277
- Fix typo in interop docs by @erawhctim in #283
- Misc small fixes by @ZacSweers in #286
- Fix member injector graph validation by @ZacSweers in #287
- Implement CreateGraphChecker by @ZacSweers in #290
- Add ContributesBinding.rank interop support by @JoelWilcox in #288
- Implement kotlin compatibility checks in Gradle by @ZacSweers in #291
- Include metro version in metadata by @ZacSweers in #292
- Update plugin spotless to v7.0.3 by @renovate in #296
- Improve ContextualTypeKey unwrapping by @ZacSweers in #298
- Update kotlinx-coroutines monorepo to v1.10.2 by @renovate in #299
- Remove KSP from the :compiler by @ZacSweers in #300
- Make InstanceFactory a value class by @ZacSweers in #297
- Fix map typekey resolution by @ZacSweers in #301
- Make providerOf use InstanceFactory under the hood by @ZacSweers in #302
New Contributors
- @erawhctim made their first contribution in #283
Full Changelog: 0.1.1...0.1.2