Metro Hits 1.0.0 – Compile-Time Dependency Injection Framework for Kotlin
ZacSweers has announced the first stable release of Metro, a compile-time dependency injection framework for Kotlin, marking its runtime APIs as stable unless marked experimental. The 1.0.0 release includes new features, error message improvements, and bug fixes related to binding diagnostics and code generation. The framework has also been tested with recent versions of Kotlin, IntelliJ, and Android Studio.
- ▪Metro 1.0.0 is the first stable release of the compile-time dependency injection framework for Kotlin.
- ▪The release includes API stability for runtime components unless annotated as experimental.
- ▪New features include an optional @Origin.context property and improved error messaging for missing bindings.
- ▪Bug fixes address diagnostic reporting issues when generateContributionProviders is enabled.
- ▪Metro has been tested with Kotlin 2.3.21, IntelliJ 2026.1.1, and Android Studio Panda 4 and Quail canaries.
Opening excerpt (first ~120 words) tap to expand
ZacSweers / metro Public Uh oh! There was an error while loading. Please reload this page. Notifications You must be signed in to change notification settings Fork 95 Star 1.2k Code Issues 20 Pull requests 5 Discussions Actions Security and quality 0 Insights Additional navigation options Code Issues Pull requests Discussions Actions Security and quality Insights Releases 1.0.0 1.0.0 Latest Latest Compare Choose a tag to compare Sorry, something went wrong. Filter Loading Sorry, something went wrong. Uh oh! There was an error while loading. Please reload this page.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.