InsertKoinIO / koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
https://insert-koin.io
Apache License 2.0
8.78k stars 699 forks source link

Add Wasm support #1634

Open ygdrasil-io opened 11 months ago

ygdrasil-io commented 11 months ago

Is your feature request related to a problem? Please describe. We would like to experiment the replacment of an old IoC system to Koin. https://github.com/korlibs/korge/issues/1702 But the required Wasm target is not supported by koin.

Describe the solution you'd like Add Wasm target.

Describe alternatives you've considered Disabling Wasm as target but that will be counterproductive as we need to assess the technology.

Target Koin project koin-core

arnaudgiuliani commented 10 months ago

I will be happy to help. Wasm target has also been demanded in the community

arnaudgiuliani commented 8 months ago

@ygdrasil-io would be available to test dedicated release?

joreilly commented 8 months ago

I have a few samples that use Wasm as well....would also be happy to test

On Mon, 30 Oct 2023, 17:58 Arnaud Giuliani, @.***> wrote:

@ygdrasil-io https://github.com/ygdrasil-io would be available to test dedicated release?

— Reply to this email directly, view it on GitHub https://github.com/InsertKoinIO/koin/issues/1634#issuecomment-1785766231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAABRHRFL777XZPXGR4VBKTYB7TEFAVCNFSM6AAAAAA3LTC3QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVG43DMMRTGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

arnaudgiuliani commented 8 months ago

oh yeah, thanks @joreilly

mkonkel commented 7 months ago

I am building compose Multiplatform app with the wasm, is there possibility to test the proposed solution?

nowiwr01w commented 7 months ago

@arnaudgiuliani hi, can we test it with Compose Multiplatform for Web (Wasm)?

arnaudgiuliani commented 7 months ago

I need a separated branch build for it. I will post here the RC releases that will be published

sunildhiman90 commented 7 months ago

We are waiting for Wasm support. When new version will be released with Wasm support?

lekalina commented 7 months ago

+1

arnaudgiuliani commented 6 months ago

We are waiting for Wasm support. When new version will be released with Wasm support?

actively on it :)

will soon publish a rc version for wasm

wagnod commented 6 months ago

+1

mahramane commented 6 months ago

I am also waiting for Koin-wasm :)

nowiwr01w commented 6 months ago

+++++

cryptrr commented 6 months ago

+1. Having good dependency support for kotlin-wasm will revolutionize the web.

nowiwr01w commented 6 months ago

@arnaudgiuliani How is it going?

mdsadique-inam commented 6 months ago

+1

dimagor555 commented 6 months ago

+1

andres04 commented 6 months ago

Any news?

stephen2earth commented 5 months ago

Any update?

arnaudgiuliani commented 5 months ago

3.6.0-wasm-alpha1 is out 🎉

https://github.com/InsertKoinIO/koin/blob/3.6.0-wasm/projects/core/koin-core/build.gradle.kts#L19

c4software commented 4 months ago

Hi @arnaudgiuliani could you update the 3.6.0 version to use the newer ComposePlugin 1.6.0-rc2 tag?

The previous one is binary incompatible with rc1 and up and causing problems during the build of iOS target.

See https://github.com/JetBrains/compose-multiplatform/issues/4277#issuecomment-1945922199

arnaudgiuliani commented 4 months ago

Ok, yes 👍

hoc081098 commented 4 months ago

Compose 1.6.0 released.

arnaudgiuliani commented 4 months ago

good news. Let's see fot official release. But it will land in Koin 3.6 branch

sureshmaidaragi1919 commented 4 months ago

Is koin started supporting Jetpack compose v1.6.0?, I tried accessing 3.6.0-alpha3 seeing below issue

Screenshot 2024-03-06 at 6 32 11 PM

joreilly commented 4 months ago

The koin-compose version is 1.2.0-alpha3 (example of it's use in https://github.com/joreilly/ClimateTraceKMP)

arnaudgiuliani commented 3 months ago

will update 3.6 soon :)