Kotlin 2.0.20-RC Released
The Kotlin 2.0.20-RC brings a range of new features, enhancements, and deprecations as Kotlin continues to evolve toward the full 2.0 release. Key updates include:
- Data Class Copy Function Visibility: The .copy() function in data classes will now have the same visibility as the constructor, with migration warnings introduced.
- Context Receivers: Gradual deprecation of context receivers, which will be replaced by context parameters in future releases.
- Kotlin Multiplatform: Static accessors for source sets are now available, improving IDE experience and usability.
- Kotlin/Native: Experimental support for concurrent marking in the garbage collector, aimed at reducing GC pause times.
- Kotlin/Wasm: Migration from default to named exports, with warnings now upgraded to errors.
- Compose Compiler: Various improvements, including the default enablement of strong skipping mode for better performance and stability.
GitHub Changelog
Kotlinlang.org: What's new in Kotlin 2.0.20-RC
The Kotlin 2.0.20-RC brings a range of new features, enhancements, and deprecations as Kotlin continues to evolve toward the full 2.0 release. Key updates include:
- Data Class Copy Function Visibility: The .copy() function in data classes will now have the same visibility as the constructor, with migration warnings introduced.
- Context Receivers: Gradual deprecation of context receivers, which will be replaced by context parameters in future releases.
- Kotlin Multiplatform: Static accessors for source sets are now available, improving IDE experience and usability.
- Kotlin/Native: Experimental support for concurrent marking in the garbage collector, aimed at reducing GC pause times.
- Kotlin/Wasm: Migration from default to named exports, with warnings now upgraded to errors.
- Compose Compiler: Various improvements, including the default enablement of strong skipping mode for better performance and stability.
GitHub Changelog
Kotlinlang.org: What's new in Kotlin 2.0.20-RC
GitHub
Release Kotlin 2.0.20-RC · JetBrains/kotlin
2.0.20-RC
Analysis. API
KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Backend. Wasm
KT-69876 K2 Compile exception: Only IrBlockBody together with kotlinx seri...
Analysis. API
KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Backend. Wasm
KT-69876 K2 Compile exception: Only IrBlockBody together with kotlinx seri...
🔥5🤮1
Context Receivers → Context Parameters migration plan:
Kotlin 2.0.20 – new warning in build introduced:
Kotlin 2.1.0 – Disable warning globally https://youtrack.jetbrains.com/issue/KT-8087
Kotlin 2.1.20 – Removing Context Receivers from compiler
Kotlin 2.2.0 – Context Parameters introduced behind flag https://youtrack.jetbrains.com/issue/KT-67119
Plan for people heavily using Context Receivers, and don’t want to refactor out them completely:
1. Stay on Kotlin 2.0.1x until 2.1.0 released
2. Migrate to 2.1.0 up to 2.1.1x
2. Migrate to 2.2.0
Kotlin 2.0.20 – new warning in build introduced:
CONTEXT_RECEIVERS_DEPRECATED
, with -Werror
we have to manually suppress it for each fileKotlin 2.1.0 – Disable warning globally https://youtrack.jetbrains.com/issue/KT-8087
freeCompilerArgs.add("-Xsuppress-warning=CONTEXT_RECEIVERS_DEPRECATED”)
Kotlin 2.1.20 – Removing Context Receivers from compiler
Kotlin 2.2.0 – Context Parameters introduced behind flag https://youtrack.jetbrains.com/issue/KT-67119
Plan for people heavily using Context Receivers, and don’t want to refactor out them completely:
1. Stay on Kotlin 2.0.1x until 2.1.0 released
2. Migrate to 2.1.0 up to 2.1.1x
2. Migrate to 2.2.0
YouTrack
Make it possible to suppress warnings globally in compiler (via command-line option) : KT-8087
It should be possible to suppress several warnings. It may support regexps, e.g. suppress=UNUSED_.+, suppress=UNUSED_PARAMETER|PLATFORM_CLASS_MAPPED_TO_KOTLIN…
100👍14🤮1
Kotlin 2.0.20-RC2 Released with a bunch of fixes, try now!
GitHub
Release Kotlin 2.0.20-RC2 · JetBrains/kotlin
Changelog
Backend. Wasm
KT-70591 To much sources that don't exist inside SourceMap file
Compiler
KT-70186 Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0
KT-69835 K2 / Native: ko...
Backend. Wasm
KT-70591 To much sources that don't exist inside SourceMap file
Compiler
KT-70186 Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0
KT-69835 K2 / Native: ko...
3🔥2🎉2🤮1
Kotlin 2.0.20 Released!
• Data class copy function now matches constructor visibility.
• Static accessors for multiplatform source sets are introduced.
• Concurrent marking in Kotlin/Native’s GC is now possible.
• The @ExperimentalWasmDsl annotation location changed.
• Gradle 8.6–8.8 supported.
• Option to share JVM artifacts between projects as class files
• Compose compiler update.
• UUID support in the common Kotlin standard library.
Details
GitHub Changelog
• Data class copy function now matches constructor visibility.
• Static accessors for multiplatform source sets are introduced.
• Concurrent marking in Kotlin/Native’s GC is now possible.
• The @ExperimentalWasmDsl annotation location changed.
• Gradle 8.6–8.8 supported.
• Option to share JVM artifacts between projects as class files
• Compose compiler update.
• UUID support in the common Kotlin standard library.
Details
GitHub Changelog
Kotlin Help
What's new in Kotlin 2.0.20 | Kotlin
52👍11🤮1
https://www.youtube.com/watch?v=E8CtE7qTb-Q
1.5h documentary about Kotlin. Interviews with Kotlin team members
1.5h documentary about Kotlin. Interviews with Kotlin team members
YouTube
Beyond The Success Of Kotlin / The Documentary by EngX
Almost 15 years ago, a small engineering team at JetBrains embarked on what seemed like a crazy endeavor — to create their own programming language and succeed with it. In the early 2010s, Java was one of the most popular languages, used by millions of engineers.…
63🔥11❤6🤮1
Kotlin Roadmap September Update
I’m very existed to see this item implemented:
🆕 Library ecosystem: Introduce default warnings/errors for Kotlin functions that return non-unit values that are unused
I’m very existed to see this item implemented:
🆕 Library ecosystem: Introduce default warnings/errors for Kotlin functions that return non-unit values that are unused
Kotlin Help
Kotlin roadmap | Kotlin
1🔥5🤮1
Kotlin 2.1.0-Beta1
I didn’t find anything too exciting, so here is the change log:
https://github.com/JetBrains/kotlin/releases/tag/v2.1.0-Beta1
What’s new in Kotlin 2.1.0-Beta1
https://kotlinlang.org/docs/whatsnew-eap.html
2.1.0-Beta1
(click to copy version to test it)I didn’t find anything too exciting, so here is the change log:
https://github.com/JetBrains/kotlin/releases/tag/v2.1.0-Beta1
What’s new in Kotlin 2.1.0-Beta1
https://kotlinlang.org/docs/whatsnew-eap.html
GitHub
Release Kotlin 2.1.0-Beta1 · JetBrains/kotlin
Changelog
Analysis. API
New Features
KT-68603 KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results
KT-69961 resolveToCallCandidates should support properties
KT-69960 resolve...
Analysis. API
New Features
KT-68603 KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results
KT-69961 resolveToCallCandidates should support properties
KT-69960 resolve...
👍5🤮1
Koin 4.0 released
Koin 4.0 brings major updates with Kotlin 2.0.20 as a new baseline, focusing on Kotlin Multiplatform, Android, and Compose. Key improvements include true UUID generation across platforms, internal optimizations with better performance, a revamped ViewModel API now supporting multiplatform, and Compose lifecycle handling. The release also introduces the experimental “Koin-Fu” project to rethink the DSL and AndroidX Startup support for faster app loading. Deprecated APIs have been removed or replaced for a cleaner experience.
Just be aware of funky Koin defaults
Koin 4.0 brings major updates with Kotlin 2.0.20 as a new baseline, focusing on Kotlin Multiplatform, Android, and Compose. Key improvements include true UUID generation across platforms, internal optimizations with better performance, a revamped ViewModel API now supporting multiplatform, and Compose lifecycle handling. The release also introduces the experimental “Koin-Fu” project to rethink the DSL and AndroidX Startup support for faster app loading. Deprecated APIs have been removed or replaced for a cleaner experience.
Just be aware of funky Koin defaults
Medium
Koin 4.0 — Official Release
The Koin team is excited to announce the release of Koin 4.0, a major update that brings improvements for Kotlin, Compose & Android
🤮1