Repository navigation
Fixes
- [FIR] Fix compat with Kotlin
2.5.20dev builds around inherited member injection. - [IR] Fix graph extensions creating separate instances of inherited class binding containers. Extensions now reuse the parent instance and can share set and map getters.
- [IR] Fix a
NoSuchMethodErrorwhen reporting diagnostics without a source location on Kotlin2.4.20and newer. - [IR] Fix providers for parent-owned bindings retaining child graphs. Generated provider lambdas now capture the owning ancestor directly.
- [IR] Add an opt-in
fix-empty-smap-rangescompiler option to fix empty Kotlin SMAP line ranges (1#1,0:1) in synthetic files. See the Kotlin issue and R8 fix.
Changes
- [compat] Support Kotlin
2.5.20-dev-2623. - Update androidx.tracing to
2.0.5. - Update Kotlin Toolchain usage docs.
Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
What's Changed
- Update IDE version mappings by @ZacSweers in #3030
- Update ktor monorepo to v3.6.1 by @renovate[bot] in #3026
- Update plugin jmh to v0.7.4 by @renovate[bot] in #3027
- Update Metro bootstrap to v1.5.1 by @renovate[bot] in #3028
- Update dependency com.google.googlejavaformat:google-java-format to v2 by @renovate[bot] in #3033
- Update tracing to v2.0.5 by @renovate[bot] in #2996
- Fix graph extensions creating separate instances of containers by @raosangi in #3031
- Fix a 2.4.20 compat issue by @ZacSweers in #3034
- Update ksp monorepo to v2.3.13 by @renovate[bot] in #3032
- Update Kotlin Toolchain installation instructions by @sockeye-d in #3036
- Update IDE version mappings by @ZacSweers in #3037
- Update IDE version mappings by @ZacSweers in #3040
- Update dependency python-dateutil to v4 by @renovate[bot] in #3041
- Update dependency com.autonomousapps:graph-support to v0.13.0 by @renovate[bot] in #3038
- Update dependency zensical to v0.0.74 by @renovate[bot] in #3035
- Update dependency mkdocs-git-revision-date-localized-plugin to v1.6.3 by @renovate[bot] in #3043
- Update dependency lunr to v0.8.1 by @renovate[bot] in #3042
- Fix child graph retention by @Plastix in #3044
- Improve 2.5.20 support by @ZacSweers in #3047
- Update IDE version mappings by @ZacSweers in #3048
- Fix empty Kotlin SMAP line ranges which crashes R8 9.5.28 by @Plastix in #3046
New Contributors
- @raosangi made their first contribution in #3031
- @sockeye-d made their first contribution in #3036
- @Plastix made their first contribution in #3044
Full Changelog: 1.5.1...1.5.2