Skip to content

0.10.2

Choose a tag to compare

@ZacSweers ZacSweers released this 28 Jan 22:10
· 1060 commits to main since this release

Enhancements

  • [FIR] Add a diagnostic warning for @IntoSet callables returning collections, as these probably intended to use @ElementsIntoSet.
  • [IR] Automatically patch #1556 issues between Kotlin versions [2.3.0 - 2.3.20-Beta2) for any klib-using compilation or JVM compilation that enables the -Xannotations-in-metadata compiler option (which isn't enabled by default). This auto-patching is best effort and a fix in kotlinx is targeting 2.3.20-Beta2. If you have any issues, it can be disabled via the patchKlibParams Gradle DSL property.

Fixes

  • [IR] Don't try class binding lookups for nullable types. These must always be explicitly provided.
  • [IR] Disambiguate return-type overloads of generated @Binds functions for @Contributes annotations that contribute multiple interfaces of the same simple name but different package name.
  • [IR] Skip assisted parameters when validating parameter type matching on native compilations.

What's Changed

Full Changelog: 0.10.1...0.10.2