Skip to content

Commit

Permalink
Bump version to 1.0.0-ALPHA-31
Browse files Browse the repository at this point in the history
  • Loading branch information
rickclephas committed May 22, 2024
1 parent dfe5183 commit 84993bb
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 28 deletions.
2 changes: 1 addition & 1 deletion KMPNativeCoroutinesAsync.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KMPNativeCoroutinesAsync'
s.version = '1.0.0-ALPHA-30'
s.version = '1.0.0-ALPHA-31'
s.summary = 'Swift library for Kotlin Coroutines with Swift Async/Await'

s.homepage = 'https://github.com/rickclephas/KMP-NativeCoroutines'
Expand Down
2 changes: 1 addition & 1 deletion KMPNativeCoroutinesCombine.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KMPNativeCoroutinesCombine'
s.version = '1.0.0-ALPHA-30'
s.version = '1.0.0-ALPHA-31'
s.summary = 'Swift library for Kotlin Coroutines with Combine'

s.homepage = 'https://github.com/rickclephas/KMP-NativeCoroutines'
Expand Down
2 changes: 1 addition & 1 deletion KMPNativeCoroutinesCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KMPNativeCoroutinesCore'
s.version = '1.0.0-ALPHA-30'
s.version = '1.0.0-ALPHA-31'
s.summary = 'Swift library for Kotlin Coroutines'

s.homepage = 'https://github.com/rickclephas/KMP-NativeCoroutines'
Expand Down
2 changes: 1 addition & 1 deletion KMPNativeCoroutinesRxSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'KMPNativeCoroutinesRxSwift'
s.version = '1.0.0-ALPHA-30'
s.version = '1.0.0-ALPHA-31'
s.summary = 'Swift library for Kotlin Coroutines with RxSwift'

s.homepage = 'https://github.com/rickclephas/KMP-NativeCoroutines'
Expand Down
43 changes: 20 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

A library to use Kotlin Coroutines from Swift code in KMP apps.

> [!IMPORTANT]
> Looking to upgrade from the 0.x releases? Checkout the [migration steps](MIGRATING_TO_V1.md).
## Why this library?

Both KMP and Kotlin Coroutines are amazing, but together they have some limitations.
Expand All @@ -26,22 +23,22 @@ This library solves both of these limitations 😄.

## Compatibility

The latest version of the library uses Kotlin version `1.9.24`.
The latest version of the library uses Kotlin version `2.0.0`.
Compatibility versions for older and/or preview Kotlin versions are also available:

| Version | Version suffix | Kotlin | KSP | Coroutines |
|----------------|-------------------|:----------:|:----------:|:----------:|
| _latest_ | -kotlin-2.0.0-RC3 | 2.0.0-RC3 | 1.0.20 | 1.8.1 |
| **_latest_** | **_no suffix_** | **1.9.24** | **1.0.20** | **1.8.1** |
| 1.0.0-ALPHA-28 | _no suffix_ | 1.9.23 | 1.0.20 | 1.8.0 |
| 1.0.0-ALPHA-25 | _no suffix_ | 1.9.22 | 1.0.17 | 1.8.0 |
| 1.0.0-ALPHA-23 | _no suffix_ | 1.9.21 | 1.0.16 | 1.7.3 |
| 1.0.0-ALPHA-21 | _no suffix_ | 1.9.20 | 1.0.14 | 1.7.3 |
| 1.0.0-ALPHA-18 | _no suffix_ | 1.9.10 | 1.0.13 | 1.7.3 |
| 1.0.0-ALPHA-17 | _no suffix_ | 1.9.0 | 1.0.12 | 1.7.3 |
| 1.0.0-ALPHA-12 | _no suffix_ | 1.8.22 | 1.0.11 | 1.7.2 |
| 1.0.0-ALPHA-10 | _no suffix_ | 1.8.21 | 1.0.11 | 1.7.1 |
| 1.0.0-ALPHA-7 | _no suffix_ | 1.8.20 | 1.0.10 | 1.6.4 |
| Version | Version suffix | Kotlin | KSP | Coroutines |
|----------------|-------------------|:---------:|:----------:|:----------:|
| **_latest_** | **_no suffix_** | **2.0.0** | **1.0.21** | **1.8.1** |
| 1.0.0-ALPHA-30 | _no suffix_ | 1.9.24 | 1.0.20 | 1.8.1 |
| 1.0.0-ALPHA-28 | _no suffix_ | 1.9.23 | 1.0.20 | 1.8.0 |
| 1.0.0-ALPHA-25 | _no suffix_ | 1.9.22 | 1.0.17 | 1.8.0 |
| 1.0.0-ALPHA-23 | _no suffix_ | 1.9.21 | 1.0.16 | 1.7.3 |
| 1.0.0-ALPHA-21 | _no suffix_ | 1.9.20 | 1.0.14 | 1.7.3 |
| 1.0.0-ALPHA-18 | _no suffix_ | 1.9.10 | 1.0.13 | 1.7.3 |
| 1.0.0-ALPHA-17 | _no suffix_ | 1.9.0 | 1.0.12 | 1.7.3 |
| 1.0.0-ALPHA-12 | _no suffix_ | 1.8.22 | 1.0.11 | 1.7.2 |
| 1.0.0-ALPHA-10 | _no suffix_ | 1.8.21 | 1.0.11 | 1.7.1 |
| 1.0.0-ALPHA-7 | _no suffix_ | 1.8.20 | 1.0.10 | 1.6.4 |

You can choose from a couple of Swift implementations.
Depending on the implementation you can support as low as iOS 9, macOS 10.9, tvOS 9 and watchOS 3:
Expand All @@ -65,8 +62,8 @@ Make sure to always use the same versions for all the libraries!
For Kotlin just add the plugin to your `build.gradle.kts`:
```kotlin
plugins {
id("com.google.devtools.ksp") version "1.9.24-1.0.20"
id("com.rickclephas.kmp.nativecoroutines") version "1.0.0-ALPHA-30"
id("com.google.devtools.ksp") version "2.0.0-1.0.21"
id("com.rickclephas.kmp.nativecoroutines") version "1.0.0-ALPHA-31"
}
```
and make sure to opt in to the experimental `@ObjCName` annotation:
Expand All @@ -82,7 +79,7 @@ The Swift implementations are available via the Swift Package Manager.
Just add it to your `Package.swift` file:
```swift
dependencies: [
.package(url: "https://github.com/rickclephas/KMP-NativeCoroutines.git", exact: "1.0.0-ALPHA-30")
.package(url: "https://github.com/rickclephas/KMP-NativeCoroutines.git", exact: "1.0.0-ALPHA-31")
],
targets: [
.target(
Expand Down Expand Up @@ -114,9 +111,9 @@ Or add it in Xcode by going to `File` > `Add Packages...` and providing the URL:

If you use CocoaPods add one or more of the following libraries to your `Podfile`:
```ruby
pod 'KMPNativeCoroutinesAsync', '1.0.0-ALPHA-30' # Swift Concurrency implementation
pod 'KMPNativeCoroutinesCombine', '1.0.0-ALPHA-30' # Combine implementation
pod 'KMPNativeCoroutinesRxSwift', '1.0.0-ALPHA-30' # RxSwift implementation
pod 'KMPNativeCoroutinesAsync', '1.0.0-ALPHA-31' # Swift Concurrency implementation
pod 'KMPNativeCoroutinesCombine', '1.0.0-ALPHA-31' # Combine implementation
pod 'KMPNativeCoroutinesRxSwift', '1.0.0-ALPHA-31' # RxSwift implementation
```
> [!NOTE]
> The version for CocoaPods should not contain the Kotlin version suffix (e.g. `-new-mm` or `-kotlin-1.6.0`).
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {

allprojects {
group = "com.rickclephas.kmp"
version = "1.0.0-ALPHA-30-kotlin-2.0.0-RC3"
version = "1.0.0-ALPHA-31"

repositories {
mavenCentral()
Expand Down

0 comments on commit 84993bb

Please sign in to comment.