Skip to content

Upgrading io.insert-koin:koin-test 3 to 4

Breaking3.5.6 → 4.2.2Breaking8Platform2Deprecated3New59Changed49Fixed107Other103

BreakingUpgrade verdict

7 breaking changes and 2 platform requirement changes.

  • getAll no longer sorted by default — Instances come as declared; sort on purpose if needed.
  • Remove toolchain param + gradle 8.9 + remove unused deps.
  • Removed usages of old "compile" gradle dependency configuration in docs.
  • Remove unnecessary workmanager dependency.
Top 5 of 12 that need code or config changes

Adds io.insert-koin:koin-core-annotations 4.2.2.

Breaking7
getAll no longer sorted by default — Instances come as declared; sort on purpose if needed.
Remove toolchain param + gradle 8.9 + remove unused deps.
Removed usages of old "compile" gradle dependency configuration in docs.
Remove unnecessary workmanager dependency.
Breaking ⚠️: ViewModel declarations requiring scope injection must now be inside viewModelScope { } block.
koin-fu module (moved to Koin Annotations plugin) -.
[Breaking] KoinApplication reworked to start/stop on Compose cycle.
Platform2
minSdk raised to 23 for Android.
Add missing minSdk config for koin-compose-viewmodel modules.
Deprecated3
Checkmodules deprecation.
[maintenance] toLowerCase deprecation.
Restoring CheckModules as deprecated code.