igorwojda / android-showcase

💎 Android application following best practices: Kotlin, Coroutines, JetPack, Clean Architecture, Feature Modules, Tests, MVVM, DI, Static Analysis...
MIT License
6.48k stars 895 forks source link

Update koin to v4 (major) #531

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.insert-koin:koin-androidx-navigation (source) 3.5.6 -> 4.0.0 age adoption passing confidence
io.insert-koin:koin-android (source) 3.5.6 -> 4.0.0 age adoption passing confidence

Release Notes

InsertKoinIO/koin (io.insert-koin:koin-androidx-navigation) ### [`v4.0.0`](https://redirect.github.com/InsertKoinIO/koin/releases/tag/4.0.0) [Compare Source](https://redirect.github.com/InsertKoinIO/koin/compare/3.5.6...4.0.0) #### What's Changed - Add Lazy concrete implementation & missing "plus" operator by [@​cpaleop](https://redirect.github.com/cpaleop) in [https://github.com/InsertKoinIO/koin/pull/1756](https://redirect.github.com/InsertKoinIO/koin/pull/1756) - flatten: use loop and ArrayDeque instead of recursion by [@​hoc081098](https://redirect.github.com/hoc081098) in [https://github.com/InsertKoinIO/koin/pull/1801](https://redirect.github.com/InsertKoinIO/koin/pull/1801) - 3.6 - full upgrade environment by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1839](https://redirect.github.com/InsertKoinIO/koin/pull/1839) - Add watchos support by [@​suau](https://redirect.github.com/suau) in [https://github.com/InsertKoinIO/koin/pull/1751](https://redirect.github.com/InsertKoinIO/koin/pull/1751) - fix(flatten): use `LinkedHashSet` instead of `HashSet` by [@​hoc081098](https://redirect.github.com/hoc081098) in [https://github.com/InsertKoinIO/koin/pull/1841](https://redirect.github.com/InsertKoinIO/koin/pull/1841) - Fix CI: update `examples/gradle/versions.gradle` kotlin to 1.9.23 by [@​hoc081098](https://redirect.github.com/hoc081098) in [https://github.com/InsertKoinIO/koin/pull/1846](https://redirect.github.com/InsertKoinIO/koin/pull/1846) - update quickstart hyperlink for KMP by [@​wiryadev](https://redirect.github.com/wiryadev) in [https://github.com/InsertKoinIO/koin/pull/1852](https://redirect.github.com/InsertKoinIO/koin/pull/1852) - koin-compose: use rememberUpdatedState with ParametersDefinition, optimized KoinApplication, KoinContext, KoinIsolatedContext by [@​hoc081098](https://redirect.github.com/hoc081098) in [https://github.com/InsertKoinIO/koin/pull/1768](https://redirect.github.com/InsertKoinIO/koin/pull/1768) - Checkmodules deprecation by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1867](https://redirect.github.com/InsertKoinIO/koin/pull/1867) - makes lazy modules & extension engine stable by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1868](https://redirect.github.com/InsertKoinIO/koin/pull/1868) - 3.6.0 compose viewmodel - KMP by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1875](https://redirect.github.com/InsertKoinIO/koin/pull/1875) - Instance Factory isolation fix by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1905](https://redirect.github.com/InsertKoinIO/koin/pull/1905) - Module Mapping isolation fix by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1915](https://redirect.github.com/InsertKoinIO/koin/pull/1915) - \[maintenance] androidContext readability by [@​GrzegorzBobryk](https://redirect.github.com/GrzegorzBobryk) in [https://github.com/InsertKoinIO/koin/pull/1655](https://redirect.github.com/InsertKoinIO/koin/pull/1655) - \[maintenance] toLowerCase deprecation by [@​GrzegorzBobryk](https://redirect.github.com/GrzegorzBobryk) in [https://github.com/InsertKoinIO/koin/pull/1653](https://redirect.github.com/InsertKoinIO/koin/pull/1653) - Multiplatform ViewModel API by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1924](https://redirect.github.com/InsertKoinIO/koin/pull/1924) - update `rememberKoinModules` usage sample by [@​wiryadev](https://redirect.github.com/wiryadev) in [https://github.com/InsertKoinIO/koin/pull/1856](https://redirect.github.com/InsertKoinIO/koin/pull/1856) - Split VM / Nav API - Retrograde to composeNavigation = "2.8.0-alpha02" by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1953](https://redirect.github.com/InsertKoinIO/koin/pull/1953) - Restoring CheckModules as deprecated code by [@​pedrofsn](https://redirect.github.com/pedrofsn) in [https://github.com/InsertKoinIO/koin/pull/1939](https://redirect.github.com/InsertKoinIO/koin/pull/1939) - Fix SLF4J logger by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1954](https://redirect.github.com/InsertKoinIO/koin/pull/1954) - \[Breaking] KoinApplication reworked to start/stop on Compose cycle by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1960](https://redirect.github.com/InsertKoinIO/koin/pull/1960) - Retained scope id fix by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1961](https://redirect.github.com/InsertKoinIO/koin/pull/1961) - Fix CMP NavBackStack argument unboxing by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1962](https://redirect.github.com/InsertKoinIO/koin/pull/1962) - Catch Koin injection error only - Fix [#​1932](https://redirect.github.com/InsertKoinIO/koin/issues/1932) by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1970](https://redirect.github.com/InsertKoinIO/koin/pull/1970) - update stately fix - fix [#​1887](https://redirect.github.com/InsertKoinIO/koin/issues/1887) by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1971](https://redirect.github.com/InsertKoinIO/koin/pull/1971) - Clean up and optimise core internals core by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1972](https://redirect.github.com/InsertKoinIO/koin/pull/1972) - \[Experimental] Koin fu dsl - proposal for function oriented DSL by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1973](https://redirect.github.com/InsertKoinIO/koin/pull/1973) - fix scope compose regression [#​1900](https://redirect.github.com/InsertKoinIO/koin/issues/1900) [#​1844](https://redirect.github.com/InsertKoinIO/koin/issues/1844) [#​1557](https://redirect.github.com/InsertKoinIO/koin/issues/1557) by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1975](https://redirect.github.com/InsertKoinIO/koin/pull/1975) - Add RequestScope UUID to avoid collision over local hashcode by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1976](https://redirect.github.com/InsertKoinIO/koin/pull/1976) - Verify API - allow declare parameter injection type to be verified by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1977](https://redirect.github.com/InsertKoinIO/koin/pull/1977) - Revert KoinApplication to be more compose natural style by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1981](https://redirect.github.com/InsertKoinIO/koin/pull/1981) - add onKoinStartup function to help start with AndroidX startup by [@​arnaudgiuliani](https://redirect.github.com/arnaudgiuliani) in [https://github.com/InsertKoinIO/koin/pull/1984](https://redirect.github.com/InsertKoinIO/koin/pull/1984) - Fix formatting issue by [@​SarahDelCastillo](https://redirect.github.com/SarahDelCastillo) in [https://github.com/InsertKoinIO/koin/pull/1980](https://redirect.github.com/InsertKoinIO/koin/pull/1980) - Update kotlin.md by [@​brianbritto](https://redirect.github.com/brianbritto) in [https://github.com/InsertKoinIO/koin/pull/1958](https://redirect.github.com/InsertKoinIO/koin/pull/1958) - fix: subsequent instrumented tests failing by [@​wagarcdev](https://redirect.github.com/wagarcdev) in [https://github.com/InsertKoinIO/koin/pull/1957](https://redirect.github.com/InsertKoinIO/koin/pull/1957) - Fix a small typo by [@​yuk1ty](https://redirect.github.com/yuk1ty) in [https://github.com/InsertKoinIO/koin/pull/1920](https://redirect.github.com/InsertKoinIO/koin/pull/1920) - docs: Fix typo in android.md by [@​FireLord](https://redirect.github.com/FireLord) in [https://github.com/InsertKoinIO/koin/pull/1917](https://redirect.github.com/InsertKoinIO/koin/pull/1917) - Update koin.md - Added missing project koin-test-junit4 to BOM by [@​jpicklyk](https://redirect.github.com/jpicklyk) in [https://github.com/InsertKoinIO/koin/pull/1914](https://redirect.github.com/InsertKoinIO/koin/pull/1914) - Add testing description for Context Isolation by [@​igorwojda](https://redirect.github.com/igorwojda) in [https://github.com/InsertKoinIO/koin/pull/1909](https://redirect.github.com/InsertKoinIO/koin/pull/1909) - update ScopeAlreadyCreatedException.kt by [@​JunJaBoy](https://redirect.github.com/JunJaBoy) in [https://github.com/InsertKoinIO/koin/pull/1912](https://redirect.github.com/InsertKoinIO/koin/pull/1912) - Use explicit Gradle DependencyHandlerEnvorderPlatform by [@​dragetd](https://redirect.github.com/dragetd) in [https://github.com/InsertKoinIO/koin/pull/1865](https://redirect.github.com/InsertKoinIO/koin/pull/1865) - Update kmp.md by [@​GabrielBrasileiro](https://redirect.github.com/GabrielBrasileiro) in [https://github.com/InsertKoinIO/koin/pull/1916](https://redirect.github.com/InsertKoinIO/koin/pull/1916) #### New Contributors - [@​cpaleop](https://redirect.github.com/cpaleop) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1756](https://redirect.github.com/InsertKoinIO/koin/pull/1756) - [@​suau](https://redirect.github.com/suau) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1751](https://redirect.github.com/InsertKoinIO/koin/pull/1751) - [@​SarahDelCastillo](https://redirect.github.com/SarahDelCastillo) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1980](https://redirect.github.com/InsertKoinIO/koin/pull/1980) - [@​brianbritto](https://redirect.github.com/brianbritto) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1958](https://redirect.github.com/InsertKoinIO/koin/pull/1958) - [@​wagarcdev](https://redirect.github.com/wagarcdev) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1957](https://redirect.github.com/InsertKoinIO/koin/pull/1957) - [@​yuk1ty](https://redirect.github.com/yuk1ty) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1920](https://redirect.github.com/InsertKoinIO/koin/pull/1920) - [@​FireLord](https://redirect.github.com/FireLord) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1917](https://redirect.github.com/InsertKoinIO/koin/pull/1917) - [@​jpicklyk](https://redirect.github.com/jpicklyk) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1914](https://redirect.github.com/InsertKoinIO/koin/pull/1914) - [@​dragetd](https://redirect.github.com/dragetd) made their first contribution in [https://github.com/InsertKoinIO/koin/pull/1865](https://redirect.github.com/InsertKoinIO/koin/pull/1865) **Full Changelog**: https://github.com/InsertKoinIO/koin/compare/3.5.6...4.0.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.