Kotlin 2.0.20 begins a change to the information class copy perform. At present, if you create an information class utilizing a personal
constructor, the mechanically generated .copy()
perform doesn’t present the identical visibility. In future Kotlin releases, the default visibility of the .copy()
perform would be the identical because the constructor. Kotlin 2.2.20 begins this migration plan by issuing warnings in code the place the visibility will change sooner or later.
Moreover, Kotlin 2.0.20 provides assist for Gradle variations 8.6 to eight.8, and introduces a brand new possibility for sharing JVM artifacts between Gradle initiatives as class information.
For Kotlin Multiplatform improvement, Kotlin 2.0.20 affords enhancements to supply set administration in multiplatform initiatives together with deprecation of compatibility with some Gradle plugins on account of current modifications in Gradle.