KMP-NativeCoroutines

Library to use Kotlin Coroutines from Swift code in KMP apps

MIT License

Stars
1K
Committers
3

Bot releases are hidden (Show)

KMP-NativeCoroutines - v1.0.0-ALPHA-11

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.22
KMP-NativeCoroutines - v1.0.0-ALPHA-10-kotlin-1.9.0-Beta

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.9.0-Beta
  • Dropped support for the legacy JS compiler
KMP-NativeCoroutines - v1.0.0-ALPHA-10

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated kotlinx.coroutines to 1.7.1
KMP-NativeCoroutines - v1.0.0-ALPHA-9

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Plugin

  • Fixed issue with @OptIn annotations (#111)

Kotlin

  • Updated kotlinx.coroutines to 1.7.0
  • Added support for watchosDeviceArm64 target
KMP-NativeCoroutines - v1.0.0-ALPHA-8

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Plugin

  • Updated KSP to 1.0.11
  • Fixed an issue where the KSP plugin wasn't being configured (#95)
  • Fixed NullPointerException caused by annotations with default arguments (#105)

Kotlin

  • Updated Kotlin to 1.8.21

Swift Concurrency

  • Migrated to withTaskCancellationHandler(operation:onCancel:) (#107)
KMP-NativeCoroutines - v1.0.0-ALPHA-7

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Fixed issue with generic variance (#101)
KMP-NativeCoroutines - v1.0.0-ALPHA-6

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.20
KMP-NativeCoroutines - v1.0.0-ALPHA-5

Published by rickclephas over 1 year ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.10
  • Added support for MutableStateFlow value setter (#93)
KMP-NativeCoroutines - v1.0.0-ALPHA-4

Published by rickclephas almost 2 years ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.0
  • Added support for KMM-ViewModel CoroutineScopes
KMP-NativeCoroutines - v0.13.3

Published by rickclephas almost 2 years ago

Kotlin

  • Updated Kotlin to 1.8.0
KMP-NativeCoroutines - v1.0.0-ALPHA-3

Published by rickclephas almost 2 years ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.0-RC2
KMP-NativeCoroutines - v1.0.0-ALPHA-2

Published by rickclephas almost 2 years ago

Note: checkout the updated README and migration steps.

Kotlin

  • Updated Kotlin to 1.8.0-RC
  • Added @NativeCoroutinesState annotation (see README)
KMP-NativeCoroutines - v1.0.0-ALPHA-1

Published by rickclephas almost 2 years ago

Note: checkout the updated README and migration steps.

KSP

  • The plugin is now using KSP to generate code (#71)

Kotlin

  • Updated Kotlin to 1.8.0-Beta
  • The signatures of NativeSuspend and NativeFlow have changed (#49)
  • Native declarations are now annotated with @ObjCName dropping the Native suffix from the ObjC/Swift name (#74)
  • The NativeValue and NativeReplayCache properties have been renamed to Value and ReplayCache (#74)

Swift Concurrency

  • The signatures of NativeSuspend and NativeFlow have changed (#49)
  • Renamed asyncStream(for:) to asyncSequence(for:) (#49)
  • asyncSequence(for:) now returns an AsyncSequence instead of an AsyncStream (#49)
  • A CancellationError will be thrown instead of a KotlinCancellationException (#49)
  • asyncSequence(for:) now applies back pressure to the Flow collection (#49)

Combine

  • The signatures of NativeSuspend and NativeFlow have changed (#49)

RxSwift

  • The signatures of NativeSuspend and NativeFlow have changed (#49)
KMP-NativeCoroutines - v0.13.2

Published by rickclephas almost 2 years ago

Kotlin

  • Updated Kotlin to 1.7.21
KMP-NativeCoroutines - v0.13.1

Published by rickclephas about 2 years ago

Kotlin

  • Updated Kotlin to 1.7.20
KMP-NativeCoroutines - v0.13.0

Published by rickclephas about 2 years ago

Kotlin

  • Updated kotlinx.coroutines to 1.6.4
  • Breaking: dropped support for the old memory manager and -native-mt versions of kotlinx.coroutines

Combine

  • Fixed concurrency issue (#75)

RxSwift

  • Fixed SPM platform versions (#76). Thanks @shepeliev!
KMP-NativeCoroutines - v0.12.6

Published by rickclephas over 2 years ago

Kotlin

  • Updated to Kotlin 1.7.10
KMP-NativeCoroutines - v0.12.5

Published by rickclephas over 2 years ago

Kotlin

  • Updated kotlinx.coroutines to 1.6.3
KMP-NativeCoroutines - v0.12.4

Published by rickclephas over 2 years ago

Kotlin

  • Fixed issue with embeddable compiler jar not applying the compiler plugin (#67)
KMP-NativeCoroutines - v0.12.3

Published by rickclephas over 2 years ago

Kotlin

  • Updated to Kotlin 1.7.0