Koin 4.2.1-RC1
Bug Fixes
-
Fix ABI break on
runOnKoinStarted(#2391) — The 4.2.0 refactor to movewaitAllStartJobsto common code changed the JVM symbol forrunOnKoinStartedfromKoinWaitExtKttoKoinWaitExt_jvmKt, causingNoSuchMethodErrorat runtime for libraries compiled against 4.1.x. Fixed by adding@file:JvmName("KoinWaitExtKt")and@file:JvmMultifileClassto restore the original symbol. -
Improved scope resolution error messages (#2379) —
NoDefinitionFoundExceptionnow displays the full scope chain that was searched and indicates which scope qualifier is missing a definition, making scope resolution issues much easier to diagnose.
CI / Tooling
- Added
apiCheckto CI — The binary-compatibility-validator plugin was already configured but not running on PRs.apiCheckis now part of the CI build workflow, preventing accidental ABI breaks in future releases. - Updated
.apidump files for all modules to reflect the current public API surface.