Skip to content

0.0.16

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 21:18
· 1 commit to main since this release

Changed

  • Built against Kotlin 2.4.21. The compiler plugin supports Kotlin 2.4.10 and 2.4.2x compilers.
  • ContributesServiceFir, ContributesFeatureFlagFir, ContributesRobotFir, and DevelopmentAppComponentFir take Metro's CompatContext as a constructor parameter.

Fixed

  • Fix NoSuchMethodError crashes on Kotlin 2.4.20 and newer caused by FIR API changes to FirResolvedQualifier, FirProvidedDeclarationsForMetadataService, and KtFakeSourceElementKind.PluginGenerated.
  • Generated @ContributesRobot provider names now include the robot's qualified class identity, so robots with the same simple name in different packages no longer collide.
  • @ContributesService no longer generates IR whose ServiceCreator.create and KClass.java calls keep an unsubstituted type parameter as their type, which Kotlin 2.4.20 and newer reject during IR validation.