0.10.2
Enhancements
- [FIR] Add a diagnostic warning for
@IntoSetcallables 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-metadatacompiler option (which isn't enabled by default). This auto-patching is best effort and a fix in kotlinx is targeting2.3.20-Beta2. If you have any issues, it can be disabled via thepatchKlibParamsGradle 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
@Bindsfunctions for@Contributesannotations 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
- Update dependency pymdown-extensions to v10.20.1 by @renovate[bot] in #1727
- Don't look up class bindings for nullable types by @ZacSweers in #1730
- Enable some new compiler options by @ZacSweers in #1707
- Small compiler option fixes by @ZacSweers in #1731
- Disambiguate names of generated contributed binding function names by @ZacSweers in #1732
- Validate fakeOverride compatibility by @ZacSweers in #1733
- Add docs for compiler version override usage by @ZacSweers in #1734
- Skip assisted parameters when validating mirror matches by @ZacSweers in #1738
- Doc included build setup by @ZacSweers in #1741
- Automatically patch #1556 issues by @ZacSweers in #1742
- More unused cleanup by @ZacSweers in #1744
- Update atomicfu by @ZacSweers in #1743
- Extract build-logic by @ZacSweers in #1745
- Add suspicious IntoSet diagnostic by @ZacSweers in #1746
- Update dependency org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-navigation3 to v2.10.0-alpha08 by @renovate[bot] in #1747
- Limit jvm param patching to certain conditions by @ZacSweers in #1748
- Update kotlinInject.anvil to v0.1.7 by @renovate[bot] in #1750
- Update plugin spotless to v8.2.1 by @renovate[bot] in #1752
- Update ksp monorepo to v2.3.5 by @renovate[bot] in #1757
- Update plugin com.gradle.develocity to v4.3.2 by @renovate[bot] in #1755
Full Changelog: 0.10.1...0.10.2