Kotlin 2.0.20 begins a change to the information class copy perform. At present, while you create a knowledge class utilizing a non-public
constructor, the routinely 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 help for Gradle variations 8.6 to eight.8, and introduces a brand new possibility for sharing JVM artifacts between Gradle tasks as class information.
For Kotlin Multiplatform growth, Kotlin 2.0.20 provides enhancements to supply set administration in multiplatform tasks together with deprecation of compatibility with some Gradle plugins as a result of latest modifications in Gradle.