Skip to content

1.4.5

Latest

Choose a tag to compare

@ZacSweers ZacSweers released this 24 Sep 15:15
· 18 commits to main since this release

Fixes

  • [FIR] Treat @Multibinds declarations as accessors to fix a false positive CONTRIBUTES_TO_COULD_BE_BINDING_CONTAINER warning.
  • [IR] Fix a ClassCastException during member injection when a class declares an injected method before an injected property.
  • [Gradle] Restore ExperimentalMetroGradleApi to the gradle-plugin artifact.

Changes

  • Update a few misc kdocs.
  • Use AnalysisFlags API to detect IDE mode in newer Kotlin versions.
  • [Gradle] Move shared graph report models into the graphs artifact and make graph-viewer an implementation dependency of the Gradle plugin. Model APIs now require opting into @ExperimentalMetroGraphApi. Existing model packages and the public experimental BindingGraph and GraphAnalyzer APIs are preserved.
  • [Gradle] Graph reports now have tasks for individual compilations, such as generateMainMetroGraphHtml. Outputs move to build/reports/metro/{target}/{compilation}/. See migration details.
  • Update androidx.tracing dependency to 2.0.3.
  • Test against Kotlin 2.5.0-Beta1.

Contributors

Special thanks to the following contributors for contributing to this release!

Consider sponsoring Metro's development

What's Changed

Full Changelog: 1.4.4...1.4.5