The Daily Kotlin
1.36K subscribers
50 photos
1 video
1 file
434 links
Kotlin Chats in Telegram:
RU https://kug.community/
EN https://kug.community/en

Kotlin news and tips | Runs by @HeapyHop
Download Telegram
Koin 4.0 released

Koin 4.0 brings major updates with Kotlin 2.0.20 as a new baseline, focusing on Kotlin Multiplatform, Android, and Compose. Key improvements include true UUID generation across platforms, internal optimizations with better performance, a revamped ViewModel API now supporting multiplatform, and Compose lifecycle handling. The release also introduces the experimental “Koin-Fu” project to rethink the DSL and AndroidX Startup support for faster app loading. Deprecated APIs have been removed or replaced for a cleaner experience.

Just be aware of funky Koin defaults
Ktor 3.0 Released

- Migration to kotlinx.io
- Client for Kotlin/Wasm
- SSE Client/Server

New plugins:
- The BOMRemover plugin allows you to remove Byte Order Mark (BOM) from the response body.
- The CallId client plugin allows you to trace client requests by using unique call IDs.

Migration Guide from 2.2.x to 3.0.x

Changelog Github
Changelog Ktor.io
Kotlin 2.1.0-Beta2

2.1.0-Beta2 (click to copy version to test it)

- @SubclassOptInRequired - to require opt-in from library clients when implementing interface/extending class
- Guard conditions in when with a subject
- Non-local break and continue
- Multidollar interpolation: improved handling of $ in string literals.
- New Gradle DSL for compiler options in multiplatform projects is stable
- Improved overload resolution for functions with generic types
- Improved K2 kapt implementation
- Update LLVM version to 16.0.0 for Kotlin/Native
- Kotlin/Wasm and Kotlin/JS improvments
- Extra compiler checks! (opt-in)
- Compose compiler updates

Kotlinlang.org: What's new in Kotlin 2.1.0-Beta2
GitHub Changelog
Kotlin Multiplatform Development Roadmap for 2025

TL;DR;

- Compose Multiplatform improvements
- Standalone KMP IDE
- Direct Kotlin-to-Swift export
- Library authoring improvements
- Library publishing improvements
- Search for multiplatform libraries on the web
- Amper feature complete for KMP
- Gradle improvements
Kotlin continue growing, Java losing 3rd place

https://github.blog/news-insights/octoverse/octoverse-2024/