fix(deps): update koin to v4.2.2#229
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
353f6c6 to
4766fe8
Compare
9179f00 to
5a75f16
Compare
834a06e to
1acd9ac
Compare
1acd9ac to
c1ec4a0
Compare
c1ec4a0 to
4a7504e
Compare
|
4a7504e to
a245640
Compare
a245640 to
c248f85
Compare
c248f85 to
80ed437
Compare
|
80ed437 to
3727fca
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
4.0.4→4.2.24.0.4→4.2.24.0.4→4.2.2Release Notes
InsertKoinIO/koin (io.insert-koin:koin-android)
v4.2.2: Koin 4.2.2Compare Source
Maintenance release for the 4.2.x line — resolver regression fixes from the 4.2.0
CoreResolverV2rewrite, ViewModel/scope fixes, a Ktor request-scope fix, plus new tvOS support and an R8/ProGuard guide.Bug Fixes
Stacked params no longer shadow qualified dependencies (#2370, #2408) — A value passed via
parametersOfcould be returned for aget(named(...))request of the same type, shadowing the qualified definition. Qualified lookups are now registry-only and never read the parameter stack — parameters carry no qualifier, so they can't satisfy a qualified request.Root factory no longer resolves its scoped dependencies from
_root_(#2379) — When a non-single factory defined in the root scope was resolved from a child scope,CoreResolverV2resolved its scoped dependencies against_root_instead of the requesting scope. Linked-scope resolution now runs the factory against the requesting scope (single instances keep their root-bound semantics, preserving #2325).viewModelScopeFactoryscope is linked to its parent (#2299) — A ViewModel scope created viaviewModelScopeFactory()was not linked to the originating scope, so dependencies declared in the parent couldn't be resolved. The created scope is now linked to its parent (except when the parent is root).Tolerate non-
Stringenvironment properties (#2348) — Loading environment/system properties whose values aren'tStringthrewClassCastExceptiondue to an unchecked map cast. Non-Stringvalues are now preserved asAnyand onlyStringkeys are required.Unique Ktor request-scope ids under concurrency (#2410) — Concurrent requests could collide on request-scope ids. Ids are now generated from a monotonic counter seeded once at startup. Thanks @lfavreli-betclic!
Actionable errors for
SavedStateHandle/viewModelScope { }(#2044, #2417) — ResolvingSavedStateHandlewithout the proper extras, or usingviewModelScope { }without theviewModelScopeFactory()option, now produces a clear, actionable error message instead of an opaque failure.Added
tvOS targets for
koin-core-viewmodel(#2426) —koin-core-viewmodelnow publishestvosArm64,tvosX64, andtvosSimulatorArm64, unblocking ViewModel usage on tvOS.Consumer R8/ProGuard rules + guide — Android and ViewModel artifacts now ship consumer R8/ProGuard rules in their AARs, and a new R8 / ProGuard guide documents keep rules for minified builds.
Improvements
bind()/binds()—bind/bindsnow append secondary types in O(1) instead of reallocating the type list per binding, removing quadratic cost when a definition declares many bindings. No user-visible behavior change.Documentation
entryProvider(#2336) — Added guidance on using Koin with the typedentryProviderin the Navigation 3 reference.Contributors
Thanks to the following contributors for this release:
v4.2.1: Koin 4.2.1Compare Source
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 whereAndroidParametersHolderis stacked on the factory scope byKoinViewModelFactoryandSavedStateHandleis 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 forrunOnKoinStartedon JVM. Fixed by restoring the original JVM class name via@JvmName/@JvmMultifileClassannotations.Fix scope
_closedconcurrency issue (#2389) — TheScope._closedflag was not volatile, which could cause stale reads under concurrent access.Improvements
Improved Scope resolution error messages —
CoreResolverV2now provides clearer error messages when scope resolution fails, making it easier to diagnose misconfigured scopes.Added
apiCheckto CI — Binary compatibility validation (kotlinx.binary-compatibility-validator) now runs on every PR to prevent future ABI breaks.Documentation
parametersOftype-collision warning (#2328) — Added a caution note explaining that when a value passed viaparametersOfhas 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:
v4.2.0Compare Source
Kotlin 2.3.20
New Features
Performance & Stability
Bug Fixes
Breaking Changes
Dependencies
v4.1.1Compare Source
Koin 4.1.1 Changelog
🐛 Bug Fixes
💥 Breaking Changes for Internal
🚀 Features & Improvements
⚡ Performance & Core
📚 Library Updates
📦 Publication
🔧 Development
👥 Contributors
https://github.com/arnaudgiuliani - Project Lead & Core Developer
https://github.com/rfaturriza - Community Contributor
New Contributors
Full Changelog: InsertKoinIO/koin@4.1.0...4.1.1
v4.1.0Compare Source
What's Changed
@OptInand@Suppressby @GrzegorzBobryk in #1996AndroidManifest.xmlfiles by @GrzegorzBobryk in #2191KoinExtensioninterface in doc by @synix in #2056New Contributors
Full Changelog: InsertKoinIO/koin@4.0.4...4.1.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.