Kotlin 2.4.0-Beta1 has been released
๐ฅณ Stable context-parameters!
https://kotlinlang.org/docs/whatsnew-eap.html
https://github.com/JetBrains/kotlin/releases/tag/v2.4.0-Beta1
๐ฅณ Stable context-parameters!
https://kotlinlang.org/docs/whatsnew-eap.html
https://github.com/JetBrains/kotlin/releases/tag/v2.4.0-Beta1
Kotlin Help
What's new in Kotlin 2.5.0-Beta1 | Kotlin
Read the Kotlin Early Access Preview release notes and try the latest experimental Kotlin features before they are officially released.
โค5๐ฅ2๐คฎ2
I've been using
If you'd like proper, configurable DSL highlighting in IntelliJ, upvote this ticket: KTIJ-34906 โ Uniform and configurable color for DSLs
@DslMarker for quite a while just to highlight my DSLs โ see the screenshots for before/after. Obviously a dirty hack, but it worked surprisingly well (until it didn't: KT-81567).If you'd like proper, configurable DSL highlighting in IntelliJ, upvote this ticket: KTIJ-34906 โ Uniform and configurable color for DSLs
๐1๐1
Stacks for Kotlin: Design Notes and Local Lifetimes for Kotlin: Design Notes
Then Stacks build on it to make
local parameters let the compiler prove a value won't escape a call. That single primitive unlocks: non-local return without inline, stack-allocated vararg, view types that can't outlive their source, builders that statically prevent receiver leaks.Then Stacks build on it to make
suspend just one of many possible suspension mechanisms. Each coroutine-like API (`Sequence`, Flow, deeply-recursive) gets its own typed continuation instead of fighting over the single global one. @RestrictsSuspension becomes obsolete. KT-3480 fixes itself. DeepRecursiveFunction shrinks 9ร.GitHub
Stacks for Kotlin: Design Notes ยท Kotlin KEEP ยท Discussion #486
This is a discussion of the design notes for Stacks for Kotlin. These notes summarize ongoing research on a library providing primitives for creating and working with first-class call-stacks, a fea...
๐ฅ4๐คฎ1
Mellum2
Now open source on Hugging Face, Mellum2 is a 12B-parameter LLM built for:
โข Routing and orchestration
โข RAG pipelines
โข Sub-agents
โข Natural language and coding tasks
Powered by a new mixture-of-experts (MoE) architecture and optimized for ultra-low-latency inference.
Now open source on Hugging Face, Mellum2 is a 12B-parameter LLM built for:
โข Routing and orchestration
โข RAG pipelines
โข Sub-agents
โข Natural language and coding tasks
Powered by a new mixture-of-experts (MoE) architecture and optimized for ultra-low-latency inference.
The JetBrains Blog
Mellum2 Goes Open Source: A Fast Model for AI Workflows - The JetBrains Blog
Trained from scratch and designed for practical deployment, Mellum2 is built for routing, Q&A, sub-agents, and private AI use in software engineering systems. Today, weโre open-sourcing Mellum2
๐ฅ6
Kotlin 2.4.0 has been released! ๐
https://github.com/JetBrains/kotlin/releases/tag/v2.4.0
https://kotlinlang.org/docs/whatsnew24.html
https://github.com/JetBrains/kotlin/releases/tag/v2.4.0
https://kotlinlang.org/docs/whatsnew24.html
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release Kotlin 2.4.0 ยท JetBrains/kotlin
Changelog
Analysis API
KT-83867 OVERLOAD_RESOLUTION_AMBIGUITY false positive with assertEquals in IJ repo
KT-83723 [Analysis API] Enable experimental KDoc resolver by default
KT-83388 Analysis API...
Analysis API
KT-83867 OVERLOAD_RESOLUTION_AMBIGUITY false positive with assertEquals in IJ repo
KT-83723 [Analysis API] Enable experimental KDoc resolver by default
KT-83388 Analysis API...
๐ฅ8๐2๐คฏ1๐คฎ1
๐ฅ2
Kotlin
https://github.com/JetBrains/kotlin/releases/tag/v2.4.20-Beta1
Major changes:
1. Context parameters going Stable. Explicit context arguments move to Stable โ the headline of the release. KT-86089
2. Companion blocks & extensions. A new language capability landing across the whole toolchain: resolution, reflection (call/callBy), light classes, REPL/scripts, metadata. Enable it with the new (off-by-default) flag
3. Native: incremental compilation on by default. K/N builds are finally faster out of the box. KT-86657
4.
5. PowerAssert heading to initial release. Runtime ABI stabilized, runtime dependency added automatically. KT-86170 KT-85250
6. Lombok-style logging on Kotlin classes: @Slf4j, @Log4j2, @JBossLog, @Flogger, @CommonsLog, @XSlf4j, plus @Log and @ToString. KT-81622 KT-85762
7. Collection literals moving forward. Under
8. Name-based destructuring. Stabilization of the only-syntax variant (targeting 2.5). KT-86201
9. Kotlin/JS catches up. ES2015 syntax in the js() function, KDoc export to .d.ts, @JsExport for annotation classes. KT-21626 KT-56493
10. Stdlib. Common atomic types and a new StackTraceRecoverable interface. KT-62423 KT-86595
Bonus: official deprecation of the K1 compiler has begun (KT-75372), and experimental language version 2.6 was added (KT-85667).
2.4.20-Beta1https://github.com/JetBrains/kotlin/releases/tag/v2.4.20-Beta1
Major changes:
1. Context parameters going Stable. Explicit context arguments move to Stable โ the headline of the release. KT-86089
2. Companion blocks & extensions. A new language capability landing across the whole toolchain: resolution, reflection (call/callBy), light classes, REPL/scripts, metadata. Enable it with the new (off-by-default) flag
-Xcompanion-blocks-and-extensions. KT-84289 KT-851873. Native: incremental compilation on by default. K/N builds are finally faster out of the box. KT-86657
4.
when via invokedynamic on JVM 21+ by default. More compact bytecode, fewer synthetic classes. KT-780795. PowerAssert heading to initial release. Runtime ABI stabilized, runtime dependency added automatically. KT-86170 KT-85250
6. Lombok-style logging on Kotlin classes: @Slf4j, @Log4j2, @JBossLog, @Flogger, @CommonsLog, @XSlf4j, plus @Log and @ToString. KT-81622 KT-85762
7. Collection literals moving forward. Under
-Xcollection-literals: type inference in delegate expressions, support in annotations, of operator via companion block. KT-842958. Name-based destructuring. Stabilization of the only-syntax variant (targeting 2.5). KT-86201
9. Kotlin/JS catches up. ES2015 syntax in the js() function, KDoc export to .d.ts, @JsExport for annotation classes. KT-21626 KT-56493
10. Stdlib. Common atomic types and a new StackTraceRecoverable interface. KT-62423 KT-86595
Bonus: official deprecation of the K1 compiler has begun (KT-75372), and experimental language version 2.6 was added (KT-85667).
GitHub
Release Kotlin 2.4.20-Beta1 ยท JetBrains/kotlin
Changelog
Analysis API
KT-85418 Implement an API for accessing deserialized file annotations in Analysis API
KT-74448 K2. False positive MISSING_DEPENDENCY_SUPERCLASS in LinkedListTest.kt, kotlinx...
Analysis API
KT-85418 Implement an API for accessing deserialized file annotations in Analysis API
KT-74448 K2. False positive MISSING_DEPENDENCY_SUPERCLASS in LinkedListTest.kt, kotlinx...
๐ฅ7
Kotlin
https://github.com/JetBrains/kotlin/releases/tag/v2.4.10-RC
As usual, a bug-fix release โ but there's one interesting change I noticed:
Since the Kotlin Toolchain uses
The package itself (e.g.
A
2.4.10-RChttps://github.com/JetBrains/kotlin/releases/tag/v2.4.10-RC
As usual, a bug-fix release โ but there's one interesting change I noticed:
Since the Kotlin Toolchain uses
kotlin as its command name, the current kotlin command (which is the compiler) is being renamed to kotlinr. 2.4.10 is the first release that ships both: kotlin and kotlinr.The package itself (e.g.
brew install kotlin, sdk install kotlin) will be renamed to kotlinc. So the future end state for the ecosystem:
sdk install kotlin # install kotlin toolchain, command: kotlin
sdk install kotlinc # install kotlin compiler, command: kotlinr
A
kotlinc package but a kotlinr executable โ confusing, right?GitHub
Release Kotlin 2.4.10-RC ยท JetBrains/kotlin
Changelog
Compiler
KT-86939 JVM: IllegalStateException "No value for annotation parameter" when using const val in nested Java annotation array argument
KT-83766 K2: Wrong sourcePsi is s...
Compiler
KT-86939 JVM: IllegalStateException "No value for annotation parameter" when using const val in nested Java annotation array argument
KT-83766 K2: Wrong sourcePsi is s...
๐ค9๐ฅ1
Some updates to new features timelines:
KEEP-0449: Companion extensions and blocks - experimental 2.5.0, stable 2.6.0 (preliminary)
KEEP-0462: Rich Errors, aka Error Union Types - experimental 2.5.0
KEEP-0450: Typed Delegate Access - experimental 2.5.20
KEEP-0449: Companion extensions and blocks - experimental 2.5.0, stable 2.6.0 (preliminary)
KEEP-0462: Rich Errors, aka Error Union Types - experimental 2.5.0
KEEP-0450: Typed Delegate Access - experimental 2.5.20
GitHub
KEEP/proposals/KEEP-0449-companions-block-extension.md at main ยท Kotlin/KEEP
Kotlin Evolution and Enhancement Process. Contribute to Kotlin/KEEP development by creating an account on GitHub.
๐ฅ5๐ค1