github square/kotlinpoet 2.1.0

19 hours ago

Thanks to @ForteScarlet, @TrevorSStone, @RaoPrashanth, @damianw, @ansehoon1999, @TheMrMilchmann for contributing to this release.

  • New: Kotlin 2.1.10.
  • New: KSP 2.1.10-1.0.30.
  • Fix: Support delegates on anonymous classes. (#2034)
  • Fix: Prevent aliased imports from colliding with existing imports. (#2052)
  • Fix: TypeName.MUTABLE_MAP_ENTRY now correctly uses the MutableEntry nested class name. (#2061)
  • Fix: Use the same aliased import for both the nullable and non-nullable versions of a type. (#2068)
  • Fix: Allow zero methods in a functional interface if it has a superinterface. (#2075)

Don't miss a new kotlinpoet release

NewReleases is sending notifications on new releases.