Skip to content

chore(deps): Bump koin-version from 4.1.1 to 4.2.1#77

Merged
alexandreferris merged 1 commit intomainfrom
dependabot/gradle/koin-version-4.2.1
Apr 14, 2026
Merged

chore(deps): Bump koin-version from 4.1.1 to 4.2.1#77
alexandreferris merged 1 commit intomainfrom
dependabot/gradle/koin-version-4.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

Bumps koin-version from 4.1.1 to 4.2.1.
Updates io.insert-koin:koin-ktor from 4.1.1 to 4.2.1

Release notes

Sourced from io.insert-koin:koin-ktor's releases.

Koin 4.2.1

Support for Compile Safety with Koin Compiler 1.0.0-RC1

Bug Fixes

  • Fix stacked-params lookup on linked scopes (#2387) — The 4.2.0 resolver rewrite (CoreResolverV2) walked linked scopes but dropped the per-parent stacked-parameters check that 4.1.x performed via recursion. This broke patterns where AndroidParametersHolder is stacked on the factory scope by KoinViewModelFactory and SavedStateHandle is then resolved from a child ViewModel scope. Linked-scope resolution now also checks stacked params on each parent scope.

  • Restore ABI compatibility for runOnKoinStarted (#2391) — The 4.2.0 release inadvertently broke binary compatibility for runOnKoinStarted on JVM. Fixed by restoring the original JVM class name via @JvmName/@JvmMultifileClass annotations.

  • Fix scope _closed concurrency issue (#2389) — The Scope._closed flag was not volatile, which could cause stale reads under concurrent access.

Improvements

  • Improved Scope resolution error messagesCoreResolverV2 now provides clearer error messages when scope resolution fails, making it easier to diagnose misconfigured scopes.

  • Added apiCheck to CI — Binary compatibility validation (kotlinx.binary-compatibility-validator) now runs on every PR to prevent future ABI breaks.

Documentation

  • parametersOf type-collision warning (#2328) — Added a caution note explaining that when a value passed via parametersOf has the same type as the requested definition, Koin returns the value directly and skips the factory block. Suggests using a wrapper type as a workaround.

Contributors

Thanks to the following contributors for this release:

Koin 4.2.1-RC1

Bug Fixes

  • Fix ABI break on runOnKoinStarted (#2391) — The 4.2.0 refactor to move waitAllStartJobs to common code changed the JVM symbol for runOnKoinStarted from KoinWaitExtKt to KoinWaitExt_jvmKt, causing NoSuchMethodError at runtime for libraries compiled against 4.1.x. Fixed by adding @file:JvmName("KoinWaitExtKt") and @file:JvmMultifileClass to restore the original symbol.

  • Improved scope resolution error messages (#2379) — NoDefinitionFoundException now 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 apiCheck to CI — The binary-compatibility-validator plugin was already configured but not running on PRs. apiCheck is now part of the CI build workflow, preventing accidental ABI breaks in future releases.
  • Updated .api dump files for all modules to reflect the current public API surface.

Still in progress for 4.2.1 final

  • PR #2389@Volatile on Scope._closed for concurrency fix
  • PR #2358 — Fix ClassCastException reading environment properties (#2348)
  • Documentation updates: #2339, #2336, #2328, #2218

4.2.0

... (truncated)

Commits
  • e7d9f0a 4.2.1 fixes
  • 4ff59ae bump 4.2.1
  • dea6fe7 Doc #2328 - parametersOf type-collision warning
  • 711fa1f Fix #2387 - CoreResolverV2 lost stacked-params lookup on linked scopes
  • b055036 Merge pull request #2389 from inemtsev/fix/scope-closed-volatile
  • e31f489 added tests for scoped ViewModel & SavedStateVM
  • d16503e rezvert back jvmToolchain
  • 4df4e4c 4.2.1-RC1 - Improve Scope resolution error message
  • 5e6c035 4.2.1-RC1 bump
  • 290f744 fix: restore ABI compatibility for runOnKoinStarted + add apiCheck to CI
  • Additional commits viewable in compare view

Updates io.insert-koin:koin-test from 4.1.1 to 4.2.1

Release notes

Sourced from io.insert-koin:koin-test's releases.

Koin 4.2.1

Support for Compile Safety with Koin Compiler 1.0.0-RC1

Bug Fixes

  • Fix stacked-params lookup on linked scopes (#2387) — The 4.2.0 resolver rewrite (CoreResolverV2) walked linked scopes but dropped the per-parent stacked-parameters check that 4.1.x performed via recursion. This broke patterns where AndroidParametersHolder is stacked on the factory scope by KoinViewModelFactory and SavedStateHandle is then resolved from a child ViewModel scope. Linked-scope resolution now also checks stacked params on each parent scope.

  • Restore ABI compatibility for runOnKoinStarted (#2391) — The 4.2.0 release inadvertently broke binary compatibility for runOnKoinStarted on JVM. Fixed by restoring the original JVM class name via @JvmName/@JvmMultifileClass annotations.

  • Fix scope _closed concurrency issue (#2389) — The Scope._closed flag was not volatile, which could cause stale reads under concurrent access.

Improvements

  • Improved Scope resolution error messagesCoreResolverV2 now provides clearer error messages when scope resolution fails, making it easier to diagnose misconfigured scopes.

  • Added apiCheck to CI — Binary compatibility validation (kotlinx.binary-compatibility-validator) now runs on every PR to prevent future ABI breaks.

Documentation

  • parametersOf type-collision warning (#2328) — Added a caution note explaining that when a value passed via parametersOf has the same type as the requested definition, Koin returns the value directly and skips the factory block. Suggests using a wrapper type as a workaround.

Contributors

Thanks to the following contributors for this release:

Koin 4.2.1-RC1

Bug Fixes

  • Fix ABI break on runOnKoinStarted (#2391) — The 4.2.0 refactor to move waitAllStartJobs to common code changed the JVM symbol for runOnKoinStarted from KoinWaitExtKt to KoinWaitExt_jvmKt, causing NoSuchMethodError at runtime for libraries compiled against 4.1.x. Fixed by adding @file:JvmName("KoinWaitExtKt") and @file:JvmMultifileClass to restore the original symbol.

  • Improved scope resolution error messages (#2379) — NoDefinitionFoundException now 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 apiCheck to CI — The binary-compatibility-validator plugin was already configured but not running on PRs. apiCheck is now part of the CI build workflow, preventing accidental ABI breaks in future releases.
  • Updated .api dump files for all modules to reflect the current public API surface.

Still in progress for 4.2.1 final

  • PR #2389@Volatile on Scope._closed for concurrency fix
  • PR #2358 — Fix ClassCastException reading environment properties (#2348)
  • Documentation updates: #2339, #2336, #2328, #2218

4.2.0

... (truncated)

Commits
  • e7d9f0a 4.2.1 fixes
  • 4ff59ae bump 4.2.1
  • dea6fe7 Doc #2328 - parametersOf type-collision warning
  • 711fa1f Fix #2387 - CoreResolverV2 lost stacked-params lookup on linked scopes
  • b055036 Merge pull request #2389 from inemtsev/fix/scope-closed-volatile
  • e31f489 added tests for scoped ViewModel & SavedStateVM
  • d16503e rezvert back jvmToolchain
  • 4df4e4c 4.2.1-RC1 - Improve Scope resolution error message
  • 5e6c035 4.2.1-RC1 bump
  • 290f744 fix: restore ABI compatibility for runOnKoinStarted + add apiCheck to CI
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Apr 13, 2026
@dependabot dependabot bot requested a review from a team as a code owner April 13, 2026 21:20
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Apr 13, 2026
Bumps `koin-version` from 4.1.1 to 4.2.1.

Updates `io.insert-koin:koin-ktor` from 4.1.1 to 4.2.1
- [Release notes](https://github.com/InsertKoinIO/koin/releases)
- [Commits](InsertKoinIO/koin@4.1.1...4.2.1)

Updates `io.insert-koin:koin-test` from 4.1.1 to 4.2.1
- [Release notes](https://github.com/InsertKoinIO/koin/releases)
- [Commits](InsertKoinIO/koin@4.1.1...4.2.1)

---
updated-dependencies:
- dependency-name: io.insert-koin:koin-ktor
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.insert-koin:koin-test
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/koin-version-4.2.1 branch from fa9224f to 4145689 Compare April 14, 2026 08:20
@alexandreferris alexandreferris merged commit 9bc7d48 into main Apr 14, 2026
3 checks passed
@alexandreferris alexandreferris deleted the dependabot/gradle/koin-version-4.2.1 branch April 14, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant