The Daily Kotlin
Gradle 9.0 is approaching, making this an ideal time to test it: ./gradlew wrapper --gradle-version=9.0.0-rc-3 && ./gradlew wrapper The release introduces significant new features that offer something valuable for every developer. Notable changes includeβ¦
Gradle 9.0 is out
https://gradle.org/whats-new/gradle-9/
https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
https://gradle.org/release-checksums/
https://gradle.org/whats-new/gradle-9/
https://docs.gradle.org/current/userguide/upgrading_major_version_9.html
https://gradle.org/release-checksums/
Gradle
Gradle | What's new in Gradle 9.0.0
Gradle 9.0.0 is a new major release which incorporates many features since the version 8.0. It makes Gradle configuration cache the preferred execution mode, provides more clean and actionable error reporting, and also updates Gradle to Kotlin 2 and Groovyβ¦
1π₯6π€6π4π€©2
Detaching GraalVM from the Java Ecosystem Train
β Graal JIT has been discontinued
β Native Image has been discontinued
This leaves Kotlin/Native as the only option for Kotlin and Java developers to build native executables
β Graal JIT has been discontinued
β Native Image has been discontinued
This leaves Kotlin/Native as the only option for Kotlin and Java developers to build native executables
Oracle
Detaching GraalVM from the Java Ecosystem Train
GraalVM for JDK 24 was the final version of GraalVM licensed and supported as part of Oracle Java SE products. Any entitled customers seeking patches or updates to previously released GraalVM versions should download them through My Oracle Support. Customersβ¦
π±9π€―3π’1
JUnit 6 Released with support for suspend methods
So many quality of life improvements!
- Kotlin 2.2 baseline
- JSpecify added to Java APIs (correct nullability information for Java APIs then using from Kotlin)
- Contracts added to asserts, so we would have better smart casts in tests
- Support for Sequence in @TestFactory, @MethodSource, and @FieldSource
Release Notes
Improve Kotlin support #4548
I've created the issue about supporting suspend methods 6 years ago! And it's finally fixedπ
So many quality of life improvements!
- Kotlin 2.2 baseline
- JSpecify added to Java APIs (correct nullability information for Java APIs then using from Kotlin)
- Contracts added to asserts, so we would have better smart casts in tests
- Support for Sequence in @TestFactory, @MethodSource, and @FieldSource
Release Notes
Improve Kotlin support #4548
I've created the issue about supporting suspend methods 6 years ago! And it's finally fixed
Please open Telegram to view this post
VIEW IN TELEGRAM
docs.junit.org
JUnit Release Notes
π9π₯5
Kotlin
https://github.com/JetBrains/kotlin/releases/tag/v2.2.21-RC
kotlinx.rpc
https://github.com/Kotlin/kotlinx-rpc/releases/tag/0.10.0
2.2.21-RChttps://github.com/JetBrains/kotlin/releases/tag/v2.2.21-RC
kotlinx.rpc
0.10.0https://github.com/Kotlin/kotlinx-rpc/releases/tag/0.10.0
GitHub
Release Kotlin 2.2.21-RC Β· JetBrains/kotlin
Changelog
Backend. Wasm
KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (...
Backend. Wasm
KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (...
π₯2
Kotlin
https://github.com/JetBrains/kotlin/releases/tag/v2.2.21
What's new in Kotlin 2.2.21 (and 2.2.20!)
2.2.21https://github.com/JetBrains/kotlin/releases/tag/v2.2.21
What's new in Kotlin 2.2.21 (and 2.2.20!)
GitHub
Release Kotlin 2.2.21 Β· JetBrains/kotlin
Changelog
Backend. Wasm
KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (...
Backend. Wasm
KT-81372 K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3
KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (...
KSP
- KSP version is no longer tied to the Kotlin compiler version
- KSP1 has been deprecated
https://github.com/google/ksp/releases/tag/2.3.0
2.3.0- KSP version is no longer tied to the Kotlin compiler version
- KSP1 has been deprecated
https://github.com/google/ksp/releases/tag/2.3.0
GitHub
Release 2.3.0 Β· google/ksp
What's Changed
KSP1 has been deprecated #2657
KSP is now independent of Kotlin Versions #2658
Full Changelog: 2.2.20-2.0.4...2.3.0
KSP1 has been deprecated #2657
KSP is now independent of Kotlin Versions #2658
Full Changelog: 2.2.20-2.0.4...2.3.0
π₯7π€©2
Kotlin
https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-Beta2
https://kotlinlang.org/docs/whatsnew-eap.html
v2.3.0-Beta2https://github.com/JetBrains/kotlin/releases/tag/v2.3.0-Beta2
https://kotlinlang.org/docs/whatsnew-eap.html
GitHub
Release Kotlin 2.3.0-Beta2 Β· JetBrains/kotlin
Changelog
Analysis API
KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop
Analysis API. Code Compilation
KT-70860 K2...
Analysis API
KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop
Analysis API. Code Compilation
KT-70860 K2...