State of JVM ecosystem on GitHub
๐ค22โค2๐1๐ฑ1๐คฎ1
Gradle 8.7 Released
- Embedded Kotlin upgrade to 1.9.22
- Java 22 support
Total 81 issues fixed
Checksums
- Embedded Kotlin upgrade to 1.9.22
- Java 22 support
Total 81 issues fixed
gradle wrapper --gradle-version 8.7 \
--distribution-type bin \
--gradle-distribution-sha256-sum 544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d
Checksums
๐ฅ7๐1๐คฎ1
It's never too late to consider updating projects to version 2.0.0-RC1 and conducting tests.
https://github.com/JetBrains/kotlin/releases/tag/v2.0.0-RC1
https://youtrack.jetbrains.com/issues/KT
https://github.com/JetBrains/kotlin/releases/tag/v2.0.0-RC1
https://youtrack.jetbrains.com/issues/KT
GitHub
Release Kotlin 2.0.0-RC1 ยท JetBrains/kotlin
Changelog
Analysis. API
Fixes
KT-65616 K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUS
KT-64241 K2: Unresolved calls to functions in scripts depending on in...
Analysis. API
Fixes
KT-65616 K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUS
KT-64241 K2: Unresolved calls to functions in scripts depending on in...
๐ฅ9๐1๐คฎ1
Try K2 Today!
K2 compiler migration guide๏ปฟ
K2 compiler migration guide๏ปฟ
Kotlin Help
K2 compiler migration guide | Kotlin
๐ฅ5๐คฏ1๐คฎ1๐ฉ1
K2 Compiler Performance Benchmarks and How to Measure Them on Your Projects
Simple as downloading and running radle project and pointing it to project folder
Simple as downloading and running radle project and pointing it to project folder
๐คฎ1
Kotlin turns 13 ๐ช๏ธ๏ธ๏ธ๏ธ
๐36๐4๐ฑ4๐1๐คฎ1
Kotlin 2.0.20-RC Released
The Kotlin 2.0.20-RC brings a range of new features, enhancements, and deprecations as Kotlin continues to evolve toward the full 2.0 release. Key updates include:
- Data Class Copy Function Visibility: The .copy() function in data classes will now have the same visibility as the constructor, with migration warnings introduced.
- Context Receivers: Gradual deprecation of context receivers, which will be replaced by context parameters in future releases.
- Kotlin Multiplatform: Static accessors for source sets are now available, improving IDE experience and usability.
- Kotlin/Native: Experimental support for concurrent marking in the garbage collector, aimed at reducing GC pause times.
- Kotlin/Wasm: Migration from default to named exports, with warnings now upgraded to errors.
- Compose Compiler: Various improvements, including the default enablement of strong skipping mode for better performance and stability.
GitHub Changelog
Kotlinlang.org: What's new in Kotlin 2.0.20-RC๏ปฟ
The Kotlin 2.0.20-RC brings a range of new features, enhancements, and deprecations as Kotlin continues to evolve toward the full 2.0 release. Key updates include:
- Data Class Copy Function Visibility: The .copy() function in data classes will now have the same visibility as the constructor, with migration warnings introduced.
- Context Receivers: Gradual deprecation of context receivers, which will be replaced by context parameters in future releases.
- Kotlin Multiplatform: Static accessors for source sets are now available, improving IDE experience and usability.
- Kotlin/Native: Experimental support for concurrent marking in the garbage collector, aimed at reducing GC pause times.
- Kotlin/Wasm: Migration from default to named exports, with warnings now upgraded to errors.
- Compose Compiler: Various improvements, including the default enablement of strong skipping mode for better performance and stability.
GitHub Changelog
Kotlinlang.org: What's new in Kotlin 2.0.20-RC๏ปฟ
GitHub
Release Kotlin 2.0.20-RC ยท JetBrains/kotlin
2.0.20-RC
Analysis. API
KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Backend. Wasm
KT-69876 K2 Compile exception: Only IrBlockBody together with kotlinx seri...
Analysis. API
KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Backend. Wasm
KT-69876 K2 Compile exception: Only IrBlockBody together with kotlinx seri...
๐ฅ5๐คฎ1
Context Receivers โ Context Parameters migration plan:
Kotlin 2.0.20 โ new warning in build introduced:
Kotlin 2.1.0 โ Disable warning globally https://youtrack.jetbrains.com/issue/KT-8087
Kotlin 2.1.20 โ Removing Context Receivers from compiler
Kotlin 2.2.0 โ Context Parameters introduced behind flag https://youtrack.jetbrains.com/issue/KT-67119
Plan for people heavily using Context Receivers, and donโt want to refactor out them completely:
1. Stay on Kotlin 2.0.1x until 2.1.0 released
2. Migrate to 2.1.0 up to 2.1.1x
2. Migrate to 2.2.0
Kotlin 2.0.20 โ new warning in build introduced:
CONTEXT_RECEIVERS_DEPRECATED
, with -Werror
we have to manually suppress it for each fileKotlin 2.1.0 โ Disable warning globally https://youtrack.jetbrains.com/issue/KT-8087
freeCompilerArgs.add("-Xsuppress-warning=CONTEXT_RECEIVERS_DEPRECATEDโ)
Kotlin 2.1.20 โ Removing Context Receivers from compiler
Kotlin 2.2.0 โ Context Parameters introduced behind flag https://youtrack.jetbrains.com/issue/KT-67119
Plan for people heavily using Context Receivers, and donโt want to refactor out them completely:
1. Stay on Kotlin 2.0.1x until 2.1.0 released
2. Migrate to 2.1.0 up to 2.1.1x
2. Migrate to 2.2.0
YouTrack
Make it possible to suppress warnings globally in compiler (via command-line option) : KT-8087
It should be possible to suppress several warnings. It may support regexps, e.g. suppress=UNUSED_.+, suppress=UNUSED_PARAMETER|PLATFORM_CLASS_MAPPED_TO_KOTLINโฆ
100๐14๐คฎ1
Kotlin 2.0.20-RC2 Released with a bunch of fixes, try now!
GitHub
Release Kotlin 2.0.20-RC2 ยท JetBrains/kotlin
Changelog
Backend. Wasm
KT-70591 To much sources that don't exist inside SourceMap file
Compiler
KT-70186 Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0
KT-69835 K2 / Native: ko...
Backend. Wasm
KT-70591 To much sources that don't exist inside SourceMap file
Compiler
KT-70186 Kotlin 2.0.20-Beta2: Unexpected number of type arguments: 0
KT-69835 K2 / Native: ko...
3๐ฅ2๐2๐คฎ1