koin icon indicating copy to clipboard operation
koin copied to clipboard

Add Wasm support

Open ygdrasil-io opened this issue 1 year ago • 27 comments

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

ygdrasil-io avatar Aug 10 '23 14:08 ygdrasil-io

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

arnaudgiuliani avatar Sep 11 '23 10:09 arnaudgiuliani

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

arnaudgiuliani avatar Oct 30 '23 17:10 arnaudgiuliani

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: @.***>

joreilly avatar Oct 30 '23 18:10 joreilly

oh yeah, thanks @joreilly

arnaudgiuliani avatar Oct 30 '23 18:10 arnaudgiuliani

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

mkonkel avatar Dec 02 '23 06:12 mkonkel

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

nowiwr01w avatar Dec 04 '23 12:12 nowiwr01w

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

arnaudgiuliani avatar Dec 06 '23 08:12 arnaudgiuliani

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

sunildhiman90 avatar Dec 14 '23 06:12 sunildhiman90

+1

lekalina avatar Dec 15 '23 19:12 lekalina

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

arnaudgiuliani avatar Dec 18 '23 15:12 arnaudgiuliani

+1

wagnod avatar Dec 19 '23 09:12 wagnod

I am also waiting for Koin-wasm :)

mahramane avatar Dec 23 '23 23:12 mahramane

+++++

nowiwr01w avatar Dec 24 '23 00:12 nowiwr01w

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

cryptrr avatar Dec 25 '23 22:12 cryptrr

@arnaudgiuliani How is it going?

nowiwr01w avatar Dec 26 '23 09:12 nowiwr01w

+1

mdsadiqueinam avatar Jan 03 '24 06:01 mdsadiqueinam

+1

dimagor555 avatar Jan 06 '24 19:01 dimagor555

Any news?

andres04 avatar Jan 06 '24 22:01 andres04

Any update?

stephen2earth avatar Jan 20 '24 13:01 stephen2earth

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

arnaudgiuliani avatar Jan 25 '24 08:01 arnaudgiuliani

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

c4software avatar Feb 21 '24 06:02 c4software

Ok, yes 👍

arnaudgiuliani avatar Feb 23 '24 09:02 arnaudgiuliani

Compose 1.6.0 released.

hoc081098 avatar Feb 28 '24 07:02 hoc081098

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

arnaudgiuliani avatar Feb 28 '24 09:02 arnaudgiuliani

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

sureshmaidaragi1919 avatar Mar 06 '24 13:03 sureshmaidaragi1919

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

joreilly avatar Mar 06 '24 13:03 joreilly

will update 3.6 soon :)

arnaudgiuliani avatar Mar 29 '24 09:03 arnaudgiuliani

3.6.0-Beta5 is out. 4.0.0 will continue with wasm

arnaudgiuliani avatar Jul 24 '24 16:07 arnaudgiuliani