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
Kotlin
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-RC2
2.1.20-RC2
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-RC2
GitHub
Release Kotlin 2.1.20-RC2 · JetBrains/kotlin
Changelog
Compiler
KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
KT-75483 Native: redundant unboxing generated with smart cast
KT-75526 Regression in K2 scripting:...
Compiler
KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
KT-75483 Native: redundant unboxing generated with smart cast
KT-75526 Regression in K2 scripting:...
👍5🤮1
Kotlin 2.1.20-RC3
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-RC3
It seems that this release includes only bug fixes
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-RC3
GitHub
Release Kotlin 2.1.20-RC3 · JetBrains/kotlin
Changelog
Compiler
KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
KT-75965 The iOS app did...
Compiler
KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
KT-75965 The iOS app did...
🔥4🤮1
Kotlin Roadmap updated: https://kotlinlang.org/docs/roadmap.html
Kotlin Help
Kotlin roadmap | Kotlin
👍2🔥2🤮1