Download Latest Version 4.2.0 source code.tar.gz (669.9 kB)
Email in envelope

Get an email when there's a new version of KOIN

Home / 4.2.0-RC1
Name Modified Size InfoDownloads / Week
Parent folder
4.2.0-RC1 source code.tar.gz 2026-01-30 665.0 kB
4.2.0-RC1 source code.zip 2026-01-30 1.3 MB
README.md 2026-01-30 30.2 kB
Totals: 3 Items   2.0 MB 0

Koin 4.2.0-RC1

This Release Candidate consolidates all features, improvements, and bug fixes from the alpha and beta series. The focus has been on Compose integration stability, scope resolution improvements, Ktor 3.4 DI Bridge, and compiler plugin support.

## Highlights

### Ktor 3.4 DI Bridge Integration

### Navigation 3 Support

### Compose Improvements

### ViewModelScope Updates

  • ⚠️ Breaking ⚠️: ViewModel declarations requiring scope injection must now be inside viewModelScope { } block
  • Improved CoreResolverV2 for proper child scope/ViewModel scope resolution - https://github.com/InsertKoinIO/koin/pull/2340 by @arnaudgiuliani

## Koin Compiler Plugin Support API

### New internal APIs for Koin Annotations compiler plugin:

## Core Improvements

## Bug Fixes

## Dependencies

  • Kotlin 2.3.20-Beta1
  • Ktor 3.4.0
  • Coroutines 1.10.2
  • Compose Multiplatform 1.10.0
  • AndroidX Lifecycle 2.10.0 / JetBrains Lifecycle 2.9.6
  • AndroidX Navigation 2.9.6 / JetBrains Navigation 2.9.1
  • AndroidX Navigation3 1.0.0

## New Modules

  • koin-compose-navigation3 - Navigation 3 integration
  • koin-annotations - Core annotations module
  • koin-dagger-bridge - Dagger to Koin bridge

## Removed

## Breaking ⚠️

  • ViewModel Scope Constructor Injection (still experimental) - ViewModel declarations requiring scope injection must now be declared inside viewModelScope { } block

## Contributors

Thanks to all contributors: @arnaudgiuliani, @nhajratw, @egorikftp, @GrzegorzBobryk, @jvanderwee, @xephosbot, @nazaburo, @luozejiaqun

Full Changelog: https://github.com/InsertKoinIO/koin/compare/4.1.1...4.2.0-RC1

Source: README.md, updated 2026-01-30