Update dependency io.insert-koin:koin-android to v3.3.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
io.insert-koin:koin-android (source) | dependencies | minor |
3.1.2 -> 3.3.0
|
Release Notes
InsertKoinIO/koin
v3.3.0
[koin-android]
-
[UPDATED]
- lib update -androidx.appcompat:appcompat:1.5.1
-
[UPDATED]
- lib update -androidx.activity:activity-ktx:1.5.1
-
[UPDATED]
- lib update -androidx.fragment:fragment-ktx:1.5.3
-
[UPDATED]
- lib update -androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1
-
[UPDATED]
- lib update -androidx.lifecycle:lifecycle-common-java8:2.5.1
-
[UPDATED]
- All Koin ViewModel API to use latestViewModelProvider
extras API ViewModel 2.5.1 . API Signature have been changed to keep the existing API. Such API propagates all extras directly toSavedStateHandle
. AddedownerProducer: () -> ViewModelStoreOwner
, andextrasProducer: (() -> CreationExtras)?
parameters to main function. -
[FIXED]
- FixSavedStateHandle
injection and lifecycle follow up with newKoinViewModelFactory
-
[UPDATED]
- Sandbox app updated to check new API -
[DEMRECATED]
- allstateViewModel()
API functions + all related internals -
[DEMRECATED]
- any use ofstate: BundleDefinition
property in favor ofextrasProducer: (() -> CreationExtras)
. Functions still works, but a conversion from bundle to extras is needed -
[NEW]
-activityViewModel()
andgetActivityViewModel()
added to replace thesharedViewModel
functions -
[DEMRECATED]
- allsharedViewModel()
fucntions in favor ofactivityViewModel()
functions -
[UPDATED]
- Compile SDK level to 32 -
[UPDATED]
- Updated generic APIviewModelForClass
functions to allow usage ofkey
.state
parameters kept, but need conversi onto extras
[koin-android-compat]
-
[UPDATED]
- Updated with new ViewModel API internals
[koin-androidx-navigation]
-
[UPDATED]
- Updated with new ViewModel API internals. AddedownerProducer: () -> ViewModelStoreOwner
, andextrasProducer: (() -> CreationExtras)?
parameters
v3.2.3
-
[FIXED]
- Fix Broken Scope API and revert backAndroidScopeComponent
with related API inActivity
&Fragment
. ReworkedactivityScope()
,activityRetainedScope()
andfragmentScope()
. Removed Deprecations. #1443 #1448 -
[FIXED]
- Fix NavGraph scope resolution #1446
v3.2.2
-
[FIXED]
[core]
- Java 8 Compat fix -
[MERGE]
[test]
- Java 8 Compat fix #1437
v3.2.1
-
[NEW]
- Version split for Koin core & Android, to allow sperate track on core & android topics (dedicated Github milestones & Git branches/tag) -
[UPDATED]
[core]
- lib update -co.touchlab:stately-concurrency:1.2.2
-
[UPDATED]
[android]
- lib update -androidx.appcompat:appcompat:1.4.2
-
[MERGE]
- #1409 - Android Test Instrumentation Contribution -
[MERGE]
- #1394 - Scope Documentation Fix -
[FIXED]
[test]
-koin-test
gradle metadata -
[FIXED]
[android]
-koin-android
gradle metadata -
[MERGE]
- #1382 - CreateEagerInstances() available forkoinApplication
function -
[FIXED]
[androidx-navigation]
- addqualifier
tokoinNavGraphViewModel
function - Port of #1397 -
[FIXED]
[android]
- Open ViewModel with KClass access for generic uses - #1402, #1384 -
[UPDATED]
[android]
- New Android Scope API - https://insert-koin.io/docs/reference/koin-android/scope - #1399, #1356, #1328, #1385, #1414 -
[BREAKING]
[android]
- Deprecate Android Scope API to avoid use lazy delegate API
v3.2.0
The repository has been splitted for the following sub projects.
-
koin-ktor
- https://github.com/InsertKoinIO/koin-ktor -
koin-androidx-compose
- https://github.com/InsertKoinIO/koin-compose
This allow independant version tracking and updates.
v3.1.6
-
[FIXED]
[core]
- fix #1146 duplicate bindings with getAll() -
[FIXED]
[android]
- Require ComponentActivity instead of AppCompatActivity in LifecycleViewModelScopeDelegate for FragmentScenario support -
[FIXED]
[ktor]
- Fix #1263 Ktor scope closing with ApplicationStopped event listening -
[FIXED]
[android]
- fix #1207 #1308 - Realign ViewModel API with Google viewModels() API to better register on factories -
[FIXED]
[ktor]
- downgrade to Ktor 1.6.5 due to link to Kotlin 1.6.x (further versions will follow 3.2.x branch with independant koin-ktor module project)
v3.1.5
-
[FIXED]
[android]
- #1240 - ViewModel scope instance creation fixed -
[FIXED]
[android]
- #1232 & #1207 - Android minimum dependencies is clean up and should avoid indirect library crash -
[ADDED]
[android]
- #1250 - Android instrumented test doc -
[FIXED]
[core]
- #1213 - withInstance() mock instance fixed -
[FIXED]
[core]
- #1248 - fix createeagerInstances() to be seperated back of modules() -
[FIXED]
[core]
- checkKoinModules API is fixed / deprecate old signatures -
[FIXED]
[androidx-compose]
- ViewModelStoreOwner property fixed for Compose -
[UPDATED]
[androidx-compose]
- Compose 1.0.5 -
[FIXED]
[android]
- fixed scope delegate property to help create scope later for fragment, and bind with parent activity scope
v3.1.4
-
[FIXED]
[core]
- #1149 - Nullable parameter resolution -
[FIXED]
[docs]
- Documentation fixes #1170 #1160 #1152 #1155 #1169 #1231 #1234 #1222 #1079 -
[FIXED]
[core]
- Bean scope error message fix #1166 -
[FIXED]
[core]
- Java Compat nullable API fix #1175 -
[FIXED]
[core]
- String quotes fix #1199 -
[FIXED]
[android]
- Koin Graph ViewModel added parameters API #1202 -
[FIXED]
[core]
- Dynamic feature module loading #1095 -
[FIXED]
[kmm]
- Apple Silicon Support #1192 -
[FIXED]
[core]
- backport getSource scope API as deprecated fix #1211 -
[FIXED]
[test]
- CheckKoinModules & CheckModules API cleaned up & fixed with right parameters #1197 #1194 -
[FIXED]
[android]
- stateViewModel API rolledback #1214
v3.1.3
-
[UPDATED]
[core]
- Update to Kotlin 1.5.30 -
[UPDATED]
[android]
- Update to latest android ktx -
[UPDATED]
[android-compose]
- update to jetpack compose 1.0.3 -
[FIXED]
[android]
- ViewModel instances are now reinjected into Koin Android scopes -
[FIXED]
[android]
- Activity/Fragment are now available in their own scopes (no need of explicit inject from the source) -
[ADDED]
[android]
- new koin-androidx-navigation package, offeringby koinNavGraphViewModel()
to allow scope a ViewModel for a given navigation graph - https://insert-koin.io/docs/reference/koin-android/viewmodel#navigation-graph-viewmodel-updated-in-313 -
[DEMRECATED]
[android]
-by stateViewModel()
is deprecated.state
parameter is not needed anymore. It's now merged intoviewModel()
, to inject SavedStateHandle -
[FIXED]
[android]
- Fix from Koin 2.x. ViewModel API get back theowner
property, to allow specify from where we are instanciating ViewModel. -
[ADDED]
[test]
- Introduce newcheckKoinModules
and DSL to help verify modules - https://insert-koin.io/docs/reference/koin-test/checkmodules -
[DEMRECATED]
[test]
- deprecate oldcheckModules
function, in favor of new APIcheckKoinModules
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by RenovateBot