Kotlin Help
What's new in Kotlin 2.1.20 | Kotlin
๐2๐ฅ2๐คฎ1
๐5๐คฏ3๐คฎ3๐1๐ค1
Creator of the Spring Framework: I basically had no desire to write Java, at all
https://www.youtube.com/watch?v=MQuPfZsiVx8
https://www.youtube.com/watch?v=MQuPfZsiVx8
YouTube
What is your opinion?
Catch Rod Johnson at KotlinConf 2025 ๐ https://kotlinconf.com/speakers/7d983480-a141-4710-bbf5-4b90c23c9b9b/
๐7โค2๐คฎ1
Update on KT-14663 by Mikhail Zarechenskiy:
https://youtrack.jetbrains.com/issue/KT-14663/Support-having-a-public-and-a-private-type-for-the-same-property#focus=Comments-27-11853379.0-0
https://youtrack.jetbrains.com/issue/KT-14663/Support-having-a-public-and-a-private-type-for-the-same-property#focus=Comments-27-11853379.0-0
YouTrack
Support having a "public" and a "private" type for the same property : KT-14663
Description Use case: We often store something as, say, an ArrayList, but expose it as a read-only List, or a MutableList. But internally we want to access it as an ArrayList. There are a few possible solutions to this. One is to explicitly have "public"โฆ
โค2๐คฎ1
In Kotlin version 2.2.0 context parameters are released as Beta ๐
https://blog.jetbrains.com/kotlin/2025/04/update-on-context-parameters/
https://blog.jetbrains.com/kotlin/2025/04/update-on-context-parameters/
Please open Telegram to view this post
VIEW IN TELEGRAM
The JetBrains Blog
Update on Context Parameters | The Kotlin Blog
Context parameters will be replacing context receivers in Kotlin, with version 2.2.0 featuring them as Beta. We are committed to providing an easy migration between both features, including dedicated compiler and IntelliJ IDEA support.
โค5๐3๐ฅ1๐คฎ1
New KSP release with KSP2 enabled by default!
https://github.com/google/ksp/releases/tag/2.1.20-2.0.0
https://github.com/google/ksp/releases/tag/2.1.20-2.0.0
GitHub
Release 2.1.20-2.0.0 ยท google/ksp
What's Changed
Bumped version to 2.0.0 and enabled KSP2 by default!
No-op blockOtherCompilerPlugins #2397
A couple of fixes to compilation avoidance #2401
KSTypeReferenceResolvedImpl.toString(...
Bumped version to 2.0.0 and enabled KSP2 by default!
No-op blockOtherCompilerPlugins #2397
A couple of fixes to compilation avoidance #2401
KSTypeReferenceResolvedImpl.toString(...
๐3๐ฅ2๐คฎ1
Kotlin ๐
๐ Major New Features
๐น Context-Sensitive Resolution (KT-75315, KT-75316, KT-75061)
๐น Context Parameters (KT-74546, KT-72639, KT-75017)
๐น K2 Compiler Enhancements
๐น -Xjvm-default=all-compatibility is now default (KT-71768)
๐น New Annotations: @MustUseValue, @IgnorableValue (KT-74804)
๐น Unnamed Local Variables (KT-74809)
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-Beta1
2.2.0-Beta1
๐ Major New Features
๐น Context-Sensitive Resolution (KT-75315, KT-75316, KT-75061)
๐น Context Parameters (KT-74546, KT-72639, KT-75017)
๐น K2 Compiler Enhancements
๐น -Xjvm-default=all-compatibility is now default (KT-71768)
๐น New Annotations: @MustUseValue, @IgnorableValue (KT-74804)
๐น Unnamed Local Variables (KT-74809)
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-Beta1
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release Kotlin 2.2.0-Beta1 ยท JetBrains/kotlin
Changelog
Analysis API
KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same u...
Analysis API
KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same u...
๐4๐ฅ1๐คฎ1
K2 mode is the default in IntelliJ IDEA 2025.1
https://blog.jetbrains.com/idea/2025/04/k2-mode-in-intellij-idea-2025-1-current-state-and-faq/
https://blog.jetbrains.com/idea/2025/04/k2-mode-in-intellij-idea-2025-1-current-state-and-faq/
The JetBrains Blog
K2 Mode in IntelliJ IDEA 2025.1: Current State and FAQ | The IntelliJ IDEA Blog
Starting with IntelliJ IDEA 2025.1, K2 mode, a new implementation of Kotlin support, will be enabled by default. This change is an important step in the ongoing effort to improve Kotlin support in the
๐6๐คฎ1
- Kotlin
- Mellum Goes Open Source: A Purpose-Built LLM for Developers, Now on Hugging Face โ LLM behind Idea's code completion
- Structuring Ktor Projects Using Domain-Driven Design (DDD) Concepts: A Step-by-Step Guide With a Minimalistic CRM โ Architecture for your next Ktor application
2.1.21-RC2
(with just one fix in Kotlin/JS gradle tooling)- Mellum Goes Open Source: A Purpose-Built LLM for Developers, Now on Hugging Face โ LLM behind Idea's code completion
- Structuring Ktor Projects Using Domain-Driven Design (DDD) Concepts: A Step-by-Step Guide With a Minimalistic CRM โ Architecture for your next Ktor application
The JetBrains Blog
Mellum Goes Open Source: A Purpose-Built LLM for Developers, Now on Hugging Face | The JetBrains Blog
Mellum doesn't pretend to know everything, but it does one thing exceptionally well. We call it a focal model โ small, efficient, and built with a specialized focus.
๐7๐คฎ1
Kotlin
- `context()` and `contextOf<T>()` added to stdlib for context parameters
- jvm target bytecode v24 support (who cares?)
- Kotlin 1.6 and 1.7 language versions retired
- let's try context-sensitive resolution? `-Xcontext-sensitive-resolution`
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-Beta2
2.2.0-Beta2
- `context()` and `contextOf<T>()` added to stdlib for context parameters
- jvm target bytecode v24 support (who cares?)
- Kotlin 1.6 and 1.7 language versions retired
- let's try context-sensitive resolution? `-Xcontext-sensitive-resolution`
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-Beta2
YouTrack
Standard library functions to work with context parameters : KT-72866
See https://github.com/Kotlin/KEEP/blob/context-parameters/proposals/context-parameters.md#standard-library-support 1. The "context" function adds a new value to the context, in an anonymous manner. 2. We also provide a generic way to obtain a value by typeโฆ
โค1๐1๐ฅ1๐คฎ1
Kotlin Poet with support of context parameters released
https://github.com/square/kotlinpoet/releases/tag/2.2.0
https://github.com/square/kotlinpoet/releases/tag/2.2.0
GitHub
Release 2.2.0 ยท square/kotlinpoet
Thanks to @IRus for contributing to this release.
New: Kotlin 2.1.21.
New: KSP 2.1.21-2.0.1.
New: Add support for context parameters. (#2112)
New: Eliminate Guava dependency. (#2110)
New: Migrate ...
New: Kotlin 2.1.21.
New: KSP 2.1.21-2.0.1.
New: Add support for context parameters. (#2112)
New: Eliminate Guava dependency. (#2110)
New: Migrate ...
๐คฎ1
Kotlin
Bug fixes and Gradle 8.14 support
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-RC
2.2.0-RC
(2.2.0 will be released @ KotlinConf?)Bug fixes and Gradle 8.14 support
https://github.com/JetBrains/kotlin/releases/tag/v2.2.0-RC
GitHub
Release Kotlin 2.2.0-RC ยท JetBrains/kotlin
Changelog
Compiler
Fixes
KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
KT-77219 "@Composable annotation is not applicable" on vararg @Composable () ...
Compiler
Fixes
KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
KT-77219 "@Composable annotation is not applicable" on vararg @Composable () ...
๐คฎ1