diff --git a/docs/img/sponsors/stream-logo-2x.png b/docs/img/sponsors/stream-logo-2x.png deleted file mode 100644 index 1c62a1129..000000000 Binary files a/docs/img/sponsors/stream-logo-2x.png and /dev/null differ diff --git a/docs/img/sponsors/stream-logo.png b/docs/img/sponsors/stream-logo.png deleted file mode 100644 index f796afd14..000000000 Binary files a/docs/img/sponsors/stream-logo.png and /dev/null differ diff --git a/docs/resources/articles.md b/docs/resources/articles.md deleted file mode 100644 index 5f042cbe8..000000000 --- a/docs/resources/articles.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: Articles ---- - -* [Dagger is dead. Long live Koin](https://www.linkedin.com/pulse/dagger-dead-long-live-koin-yordan-olave-cordero) -* [Testing a Koin application with KotlinTest](https://dev.to/kerooker/testing-koin-applications-with-kotlintest-1iip) -* [Ready for Koin 2.0](https://medium.com/koin-developers/ready-for-koin-2-0-2722ab59cac3) -* [Migration from Dagger2 to Koin](https://proandroiddev.com/migrating-from-dagger2-to-koin-3b2b3f5285e9) -* [From Dagger to Koin, a step-by-step migration guide](https://medium.com/@giuliani.arnaud/the-thermosiphon-app-from-dagger-to-koin-step-by-step-a09af7f5b5b1) -* [Koin in Feature Modules Project](https://proandroiddev.com/koin-in-feature-modules-project-6329f069f943) -* [A brief look at Koin on Android](https://overflow.buffer.com/2018/09/13/a-brief-look-at-koin-on-android/) -* [Bye bye Dagger](https://medium.com/@charbgr/bye-bye-dagger-1494118dcd41) -* [Testing with Koin](https://proandroiddev.com/testing-with-koin-ade8a46eb4d) -* [Painless Android testing with Room & Koin](https://android.jlelse.eu/painless-android-testing-with-room-koin-bb949eefcbee) -* [Unlock your Android ViewModel power with Koin](https://medium.com/@giuliani.arnaud/unlock-your-android-viewmodel-power-with-koin-23eda8f493be) -* [Using dependency injection with Koin](https://medium.com/mindorks/using-dependency-injection-with-koin-bee0b461714a) -* [Push SparkJava to the next level](https://medium.com/koin-developers/pushing-sparkjava-to-the-next-level-with-koin-ed1f0b80953e) ([Kotlin Weekly issue 73](http://mailchi.mp/kotlinweekly/kotlin-weekly-73), [DZone.com](https://dzone.com/articles/push-sparkjava-to-the-next-level-with-koin) ) -* [When Koin met Ktor ...](https://medium.com/koin-developers/when-koin-met-ktor-c3b2395662bf) ([Kotlin Weekly issue 72](https://us12.campaign-archive.com/?u=f39692e245b94f7fb693b6d82&id=3135ae0cf5)) -* [Android Dependency Injection – Why we moved from Dagger 2 to Koin?](https://www.nan-labs.com/blog/android-dependency-injection-moved-dagger-2-koin/) -* [Moving from Dagger to Koin - Simplify your Android development](https://medium.com/@giuliani.arnaud/moving-from-dagger-to-koin-simplify-your-android-development-e8c61d80cddb) - ([Kotlin Weekly issue 66](http://mailchi.mp/kotlinweekly/kotlin-weekly-66?e=e8a57c719f) & [Android Weekly issue 282](http://androidweekly.net/issues/issue-282)) -* [Kotlin Weekly #64](http://mailchi.mp/kotlinweekly/kotlin-weekly-64?e=e8a57c719f) -* [Better dependency injection for Android](https://proandroiddev.com/better-dependency-injection-for-android-567b93353ad) \ No newline at end of file diff --git a/docs/resources/index.md b/docs/resources/index.md deleted file mode 100644 index 79e0feb14..000000000 --- a/docs/resources/index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Koin Developer Hub ---- - -* [What’s next with Koin? — 2.2 & 3.0 releases](https://medium.com/koin-developers/whats-next-with-koin-2-2-3-0-releases-6c5464ae5e3d) -* [Unboxing Koin 2.1](https://medium.com/koin-developers/unboxing-koin-2-1-7f1133ebb790) -* [Ready for Koin 2.0](https://medium.com/koin-developers/ready-for-koin-2-0-2722ab59cac3) -* [News from the trenches, What's next for Koin?](https://medium.com/koin-developers/news-from-the-trenches-whats-next-for-koin-994791d572d5) -* [Koin 1.0.0 Unleashed](https://medium.com/koin-developers/koin-1-0-0-unleashed-dcc15b293a3a) -* [Opening Koin 1.0.0 Beta](https://medium.com/koin-developers/opening-the-koin-1-0-0-beta-version-99cb8be1c308) -* [On the road to Koin 1.0](https://medium.com/koin-developers/on-the-road-to-koin-1-0-0-a624af55d07) -* [Koin 0.9.2 — Maintenance fixes, new branding, roadmap for 1.0.0 & some other nice announces](https://medium.com/koin-developers/koin-0-9-2-maintenance-fixes-new-branding-roadmap-for-1-0-0-some-other-nice-announces-94f14648e4ad) -* [Koin 0.9.1 - Bug fixes & Improvements](https://medium.com/koin-developers/koin-0-9-1-bug-fixes-improvements-bug-fixes-d257cd2766fa) -* [Koin 0.9.0 - Getting close to stable](https://medium.com/koin-developers/koin-0-9-0-getting-close-to-stable-release-74df9bb9e181) -* [Unlock your Android ViewModel power with Koin](https://medium.com/@giuliani.arnaud/unlock-your-android-viewmodel-power-with-koin-23eda8f493be) -* [koin 0.8.2 Improvements bugfixes and crash fix](https://medium.com/koin-developers/koin-0-8-2-improvements-bugfixes-and-crash-fix-6b6809fc1dd2) -* [Koin release 0.8.0](https://medium.com/koin-developers/koin-released-in-0-8-0-welcome-to-koin-spark-koin-android-architecture-f6270a7d4808) - diff --git a/docs/resources/videos.md b/docs/resources/videos.md deleted file mode 100644 index 0ffee2327..000000000 --- a/docs/resources/videos.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Talk and Conferences ---- - -* [Dependency Injection For Kotlin apps with Koin, Kotlin London 2019, London](https://www.youtube.com/watch?v=z_wTkxSKzzY) -* [Dependency Injection from zero to hero with Koin, Kotliners 2019 & Budapest, Hungary](https://www.youtube.com/watch?v=mt9yoWScgb8&list=PLnYRVL0Cw1FSUJ-WdhV2Ija9kA9q0qP3e&index=6) -* [Dependency Injection from zero to hero with Koin, Kotliners 2019 & Budapest, Hungary](https://www.youtube.com/watch?v=mt9yoWScgb8&list=PLnYRVL0Cw1FSUJ-WdhV2Ija9kA9q0qP3e&index=6) -* [Dependency Injection from zero to hero with Koin, AndroidMakers 2019 & Paris, France](https://www.youtube.com/watch?v=chCsNkjotfc) -* [Simplify your Android development with Koin - Mobilization @ Lodz 2018, Poland](https://www.youtube.com/watch?v=KzQbJFVjr9w&t=1s) -* [Talking Kotlin - Dependency injection with Koin - 2018](http://talkingkotlin.com/dependency-injection-with-koin/) -* [L'injection de poireaux avec Koin - AndroidLeaks ep42 (French)](https://androidleakspodcast.com/2018/08/05/episode-42-linjection-de-poireaux-avec-koin/) -* [Insert Koin. Mobile Fest 2018, Kiev, Ukraine (Russian)](https://youtu.be/HrTz5jToQkk) diff --git a/docs/setup/koin.md b/docs/setup/koin.md index 5e18503be..85cbe572c 100644 --- a/docs/setup/koin.md +++ b/docs/setup/koin.md @@ -14,6 +14,8 @@ Here are the currently available versions: |----------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| | koin-bom | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-bom)](https://mvnrepository.com/artifact/io.insert-koin/koin-bom) | | koin-core | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core)](https://mvnrepository.com/artifact/io.insert-koin/koin-core) | +| koin-core-viewmodel | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core-viewmodel)](https://mvnrepository.com/artifact/io.insert-koin/koin-core-viewmodel) | +| koin-core-viewmodel-navigation | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core--viewmodel-navigation)](https://mvnrepository.com/artifact/io.insert-koin/koin-core-viewmodel-navigation) | | koin-core-coroutines | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core-coroutines)](https://mvnrepository.com/artifact/io.insert-koin/koin-core-coroutines) | | koin-test | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-test)](https://mvnrepository.com/artifact/io.insert-koin/koin-test) | | koin-android | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-android)](https://mvnrepository.com/artifact/io.insert-koin/koin-android) | @@ -22,6 +24,8 @@ Here are the currently available versions: | koin-androidx-navigation | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-androidx-navigation)](https://mvnrepository.com/artifact/io.insert-koin/koin-androidx-navigation) | | koin-androidx-workmanager | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-androidx-workmanager)](https://mvnrepository.com/artifact/io.insert-koin/koin-androidx-workmanager) | | koin-compose | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-compose)](https://mvnrepository.com/artifact/io.insert-koin/koin-compose) | +| koin-compose-viewmodel | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-compose-viewmodel)](https://mvnrepository.com/artifact/io.insert-koin/koin-compose-viewmodel) | +| koin-compose-viewmodel-navigation| [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-compose-viewmodel-navigation)](https://mvnrepository.com/artifact/io.insert-koin/koin-compose-viewmodel-navigation) | | koin-androidx-compose | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-androidx-compose)](https://mvnrepository.com/artifact/io.insert-koin/koin-androidx-compose) | | koin-androidx-compose-navigation | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-androidx-compose-navigation)](https://mvnrepository.com/artifact/io.insert-koin/koin-androidx-compose-navigation) | | koin-ktor | [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-ktor)](https://mvnrepository.com/artifact/io.insert-koin/koin-ktor) | @@ -169,7 +173,7 @@ dependencies { ``` :::info -From now you can continue on Koin Tutorials to learn about using Koin: [Kotlin Multiplatform App Tutorial](/docs/quickstart/kmp) +From now you can continue on Koin Tutorials to learn about using Koin: [Kotlin Multiplatform App Tutorial](/docs/quickstart/kmm) ::: ### **Ktor** diff --git a/docs/support/index.md b/docs/support/index.md deleted file mode 100644 index 2257aa91f..000000000 --- a/docs/support/index.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Roadmap & Support -custom_edit_url: null ---- - -The Koin team is leading its development with open-source and community-driven approach since the beginning, and propose commercial services to secure your development. - -## Releases Cycle - -We drive our developments with release cycles of 6 months to follow Kotlin language and library updates in a consistent manner. We will use beta periods of 6 weeks or more, to help gather first feedbacks. - -Once a new version is released, we start the Community support phase for 6 months minimum. During that phase, we are actively gathering feedbacks, following all updates impacting our framework, like librairies, Kotling Android, Ktor and others frameworks versions. - -## Establishing Roadmap with Structured Versions - -The first big thing for the Koin project is organizing release cycles to establish a clear vision on versions deployment, and to help you anticipate updates and new features. We need a clear version tracking: `Major.Minor.Patch` - -- Patch version: fixes only, minor dependency library updates -- Minor version: New features & deprecations -- Major features: New Impacting features, deprecations & hard breaking - -We now drive our developments with release cycles of 6 months to follow Kotlin language and library updates in a consistent manner. We will use beta periods of 6 weeks to help gather first feedbacks. - -## Community or Commercial Support - -Behind our will to build a vision with a roadmap, we also know that many companies are engaging their business while they are using Koin to build their solutions and applications. - -[Kotzilla](https://www.kotzilla.io/), the company of the authors of Koin, propose strong corporate support: [long-term support versions](https://www.kotzilla.io/support/). - -## Roadmap for 2022 - -Here is our current roadmap: - -![](/img/roadmap_2022.png) - -- Koin 3.1 (Q1) -- Koin 3.2 (Q2) -- Koin 3.3 (Q4) -- Koin Annotations 1.0 (Q2) - - - diff --git a/docs/upgrade/migrate.md b/docs/upgrade/migrate.md deleted file mode 100644 index 44dbbd86e..000000000 --- a/docs/upgrade/migrate.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: Migration Guide ---- - -The new branch of Koin 3.x is bringing latest features & fixes. It brings Multiplatform, Jetpack Compose and much more. You can use it even if you don't use those features, to benefit from the latest fixes. - -## Migrating to latest version 🚀 - -### Koin v2 - -#### Android & AndroidX Module - -The following modules are available for Android. Be sure to use the `koin-androidx` modules, as there are based on the latest AndroidX library support: - -```groovy -// Koin AndroidX Scope features -implementation "io.insert-koin:koin-androidx-scope:$koin_version" -// Koin AndroidX ViewModel features -implementation "io.insert-koin:koin-androidx-viewmodel:$koin_version" -// Koin AndroidX Fragment features -implementation "io.insert-koin:koin-androidx-fragment:$koin_version" -// Koin AndroidX WorkManager -implementation "io.insert-koin:koin-androidx-workmanager:$koin_version" -// Koin AndroidX Jetpack Compose -implementation "io.insert-koin:koin-androidx-compose:$koin_version" -// Koin AndroidX Experimental features -implementation "io.insert-koin:koin-androidx-ext:$koin_version" -``` - -### Koin v3 - -The new Koin core is now Multiplatform. You can use it even if your project is not Kotlin Multiplatform. - -#### Reimporting for new API - -If you have seen unresolved Koin API import, you can try to remove/reimport the used API as some packages has been moved in the Koin core module. See new section - -#### Kotlin Core & JVM features - -KoinComponent and linked extension have been moved to package `org.koin.core.component`. Please reimport related APIs (`KoinComponent`,`inject`, `get`...). - -Java/JVM Specific API are isolated in `koin-core-jvm` part of Koin core. Here are the following components: - -- PropertyRegistry: - - `saveProperties` - - `loadPropertiesFromFile` - - `loadEnvironmentProperties` - -- KoinJavaComponent - -- KoinApplication: - - `fileProperties` - - `environmentProperties` - -- Scope extensions for Java: - - `org.koin.core.scope.ScopeJVMKt` - -#### Android Modules - -In v3, the `koin-android` modules is using AndroidX API, and merge also all Scope/Fragment/ViewModel API. You don't need anymore to specify `koin-androidx-fragment`, `koin-androidx-viewmodel` or `koin-androidx-scope` as there are all in the `koin-android` module: - -```groovy -// Koin main features for Android (Scope,ViewModel ...) -implementation "io.insert-koin:koin-android:$koin_version" -// Koin Java Compatibility -implementation "io.insert-koin:koin-android-compat:$koin_version" -// Koin for Jetpack WorkManager -implementation "io.insert-koin:koin-androidx-workmanager:$koin_version" -// Koin for Jetpack Compose -implementation "io.insert-koin:koin-androidx-compose:$koin_version" -``` - -Java Compat API has been extracted in `koin-android-compat` module. diff --git a/docs/upgrade/whats-new.md b/docs/upgrade/whats-new.md deleted file mode 100644 index 5614358e5..000000000 --- a/docs/upgrade/whats-new.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: What's new? ---- - - -You can access all changelog with the following links per project: - -- [Koin](https://github.com/InsertKoinIO/koin/blob/main/CHANGELOG.md) -- [Koin for Ktor](https://github.com/InsertKoinIO/koin-ktor/blob/main/CHANGELOG.md) -- [Koin for Compose](https://github.com/InsertKoinIO/koin-compose/blob/main/CHANGELOG.md) -- [Koin Annotations](https://github.com/InsertKoinIO/koin-annotations/blob/main/CHANGELOG.md)