🤮3👍1
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