Have you switched to the K2 mode in IntelliJ IDEA?
Anonymous Poll
33%
Yes
4%
Still testing it
9%
Tried Beta but switched back
5%
Tried Stable but switched back
49%
No
๐3๐คฎ1
Kotlin 2.1.0-RC2
Exciting news for plugin authors: The
Github Changelog
What's new in Kotlin 2.1.0-RC2๏ปฟ
Exciting news for plugin authors: The
kotlin-gradle-plugin-api
is set to become the official API for the Kotlin Gradle Plugin.Github Changelog
What's new in Kotlin 2.1.0-RC2๏ปฟ
GitHub
Release Kotlin 2.1.0-RC2 ยท JetBrains/kotlin
Changelog
Compiler
KT-72345 K2: Method 'get' without @Override annotation not called
KT-73065 CCE with context receivers
KT-72996 false-positive unresolved reference error on an overloaded...
Compiler
KT-72345 K2: Method 'get' without @Override annotation not called
KT-73065 CCE with context receivers
KT-72996 false-positive unresolved reference error on an overloaded...
๐ฅ2๐คฎ1
The journey of providing Kotlin bindings for GitHub Actions
Article about https://github.com/typesafegithub/github-workflows-kt project
Article about https://github.com/typesafegithub/github-workflows-kt project
JVM Advent
The journey of providing Kotlin bindings for GitHub Actions - JVM Advent
Hand-crafting Kotlin bindings is a no-go if we want to provide them at scale. Read the fascinating story of iteration, trial and error.
๐7๐คฎ1
Ktor 3.0.2
A patch release addressing multiple bug fixes related to response corruption, truncated bodies, connection handling, and incorrect headers, along with extended binary encoding support and performance enhancements for Android.
A patch release addressing multiple bug fixes related to response corruption, truncated bodies, connection handling, and incorrect headers, along with extended binary encoding support and performance enhancements for Android.
GitHub
Release 3.0.2 ยท ktorio/ktor
Published 3 December 2024
Bugfixes
ServletResponseBody is corrupted due to the wrong offset (KTOR-7904)
File is not commited after closing writeChannel() of the file (KTOR-7845)
CIO: Response bod...
Bugfixes
ServletResponseBody is corrupted due to the wrong offset (KTOR-7904)
File is not commited after closing writeChannel() of the file (KTOR-7845)
CIO: Response bod...
๐3๐คฎ1
โค21๐8๐คฏ4๐ฅ3๐ฉ3๐2๐คฎ1
Kotlin SDK for Model Context Protocol (server and client)
Now you can provide (or consume) context from your application to LLM using standard protocol.
Now you can provide (or consume) context from your application to LLM using standard protocol.
GitHub
GitHub - modelcontextprotocol/kotlin-sdk: The official Kotlin SDK for Model Context Protocol servers and clients. Maintained inโฆ
The official Kotlin SDK for Model Context Protocol servers and clients. Maintained in collaboration with JetBrains - modelcontextprotocol/kotlin-sdk
๐ฅ4๐คฎ1
Kotlin
This version includes context parameters under the flag
Additionally, context receivers still function in 2.1.20-Beta1 (even though I previously wrote that they wouldnโt).
Also:
- Kotlin K2 compiler: new default kapt plugin
- Gradle: support for version 8.11
https://kotlinlang.org/docs/whatsnew-eap.html
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-Beta1
2.1.20-Beta1
This version includes context parameters under the flag
-Xcontext-parameters
, but there is no IDE support (K2 Mode) in the current stable version of IntelliJ IDEA.
context(userContext: UserContext)
fun testUserInfo() {
println("Hello, world! I'm ${userContext.user.id}!")
}
Additionally, context receivers still function in 2.1.20-Beta1 (even though I previously wrote that they wouldnโt).
Also:
- Kotlin K2 compiler: new default kapt plugin
- Gradle: support for version 8.11
https://kotlinlang.org/docs/whatsnew-eap.html
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-Beta1
Telegram
The Daily Kotlin
Context Receivers โ Context Parameters migration plan:
Kotlin 2.0.20 โ new warning in build introduced: CONTEXT_RECEIVERS_DEPRECATED, with -Werror we have to manually suppress it for each file
Kotlin 2.1.0 โ Disable warning globally https://youtrack.jetโฆ
Kotlin 2.0.20 โ new warning in build introduced: CONTEXT_RECEIVERS_DEPRECATED, with -Werror we have to manually suppress it for each file
Kotlin 2.1.0 โ Disable warning globally https://youtrack.jetโฆ
๐ฅ4๐1๐คฎ1
Kotlin
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.10-RC
2.1.10-RC
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.10-RC
GitHub
Release Kotlin 2.1.10-RC ยท JetBrains/kotlin
Changelog
Compiler
KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
KT-73339 K2: "...
Compiler
KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
KT-73339 K2: "...
๐6๐คฎ1
Kotlin
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.10
2.1.10
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.10
GitHub
Release Kotlin 2.1.10 ยท JetBrains/kotlin
Changelog
Compiler
KT-73858 Compose / iOS: NullPointerException on building
KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
KT-73043 K2 Compiler does not allow references ...
Compiler
KT-73858 Compose / iOS: NullPointerException on building
KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
KT-73043 K2 Compiler does not allow references ...
โค5๐1๐คฎ1
Ktor 3.1.0 Release
Ktor has been released with multiple improvements, and even I contributed a tiny MR that adds a content type for YAML.
Blog
Github
Ktor has been released with multiple improvements, and even I contributed a tiny MR that adds a content type for YAML.
Blog
Github
The JetBrains Blog
Ktor 3.1.0 Release | The Kotlin Blog
Ktor 3.1.0 is here! It introduces exciting new features, performance improvements, and bug fixes.
๐ฅ11๐3๐คฎ1
OpenAI vs. DeepSeek: Which AI Understands Kotlin Better?
Generators Average assessment
DeepSeek-R1 8.79
OpenAI o3-mini 8.70
OpenAI o1 8.62
OpenAI o1-preview 8.60
OpenAI o1-mini 8.40
OpenAI GPT-4o (11.20.2024) 8.40
Anthropic Claude 3.5 Sonnet 8.38
The JetBrains Blog
OpenAI vs. DeepSeek: Which AI Understands Kotlin Better? | The Kotlin Blog
Which AI model understands Kotlin best? We tested DeepSeek-R1, several OpenAI models, and more using Kotlin-specific benchmarks. See how they compare in our analysis.
๐13๐1๐คฎ1