The Daily Kotlin
1.61K subscribers
53 photos
1 video
1 file
495 links
Kotlin Chats in Telegram:
RU https://kug.community/
EN https://kug.community/en

Kotlin news and tips
Download Telegram
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


gradle wrapper --gradle-version 8.7 \
--distribution-type bin \
--gradle-distribution-sha256-sum 544c35d6bd849ae8a5ed0bcea39ba677dc40f49df7d1835561582da2009b961d


Checksums
๐Ÿ”ฅ7๐Ÿ‘1๐Ÿคฎ1
First issue of Kotlin Magazine ๐Ÿ”ฅ๏ธ๏ธ๏ธ๏ธ๏ธ๏ธ

Download it here: https://kotlintoday.com/
๐Ÿ”ฅ12๐Ÿ˜10๐ŸŽ‰7๐Ÿ˜ข2๐Ÿ‘1๐Ÿคฎ1
๐Ÿ”ฅ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
๐Ÿคฎ1
Now officially
๐ŸŽ‰38๐Ÿ”ฅ8๐Ÿ‘2๐Ÿคฎ1
Kotlin 2.2
๐Ÿ”ฅ33๐Ÿค”5โค2๐Ÿ˜1๐Ÿคฎ1
Kotlin 27% ๐Ÿš€
Talk
๐Ÿ‘10๐Ÿ‘6๐Ÿ”ฅ4๐Ÿคฎ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๏ปฟ
๐Ÿ”ฅ5๐Ÿคฎ1
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.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
100๐Ÿ‘14๐Ÿคฎ1