New
- [IR] Add support for generating metadata-visible classes entirely in IR, allowing Metro to move much of its current FIR code gen entirely to IR.
- This is enabled by default (and only possible) on Kotlin
2.4.20-dev-6138or newer and can be configured via thegenerateClassesInIroption. Do not try to enable this on older versions, your builds will fail and you will be sad.
- This is enabled by default (and only possible) on Kotlin
Fixes
- [FIR] Fix supertype merging not accounting for
replacescoming from binding container contributions.
Changes
- Test Kotlin
2.4.20-dev-6138. - Test IntelliJ
2026.2EAPs.
Contributors
Special thanks to the following contributors for contributing to this release!
Consider sponsoring Metro's development
What's Changed
- Update metro bootstrap by @ZacSweers in #2428
- Add play sdk verification by @ZacSweers in #2429
- Kotlin 2.4.20-dev-6138 compat by @ZacSweers in #2407
- minor: update dokka generate command for agents by @hossain-khan in #2432
- Fix supertype merging not handling replaces from containers by @kevinguitar in #2434
Full Changelog: 1.2.0...1.2.1