diff --git a/CHANGELOG.md b/CHANGELOG.md index b040dbc70..4e28a44b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG +## 0.2.1 + +#### Fixes + +- Fixed the library being incompatible with kotlinx.serialization 1.2.0 and above ([#118](https://github.com/Kotlin/kotlinx-datetime/issues/118)). + +#### Features + +- `watchosX64` target support. In practice, this means the ability to run projects that depend on this library in the iOS Simulator for Apple Watch. + ## 0.2.0 #### Fixes diff --git a/README.md b/README.md index 185a15418..5135d3511 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ kotlin { sourceSets { commonMain { dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0") + implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1") } } } @@ -279,7 +279,7 @@ kotlin { ```groovy dependencies { - implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.0") + implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.2.1") } ``` @@ -319,7 +319,7 @@ Add a dependency to the `` element. Note that you need to use the org.jetbrains.kotlinx kotlinx-datetime-jvm - 0.2.0 + 0.2.1 ``` diff --git a/core/build.gradle.kts b/core/build.gradle.kts index e5b8fa9ea..bde3e8b3e 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -36,6 +36,7 @@ kotlin { target("watchosArm32") target("watchosArm64") target("watchosX86") + target("watchosX64") target("tvosArm64") target("tvosX64") } diff --git a/gradle.properties b/gradle.properties index c8230af1d..d53346736 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,10 @@ org.gradle.jvmargs=-Xmx1G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 group=org.jetbrains.kotlinx -version=0.2.0 +version=0.2.1 versionSuffix=SNAPSHOT -serializationVersion=1.1.0 +serializationVersion=1.2.1 kotlin.mpp.enableGranularSourceSetsMetadata=true kotlin.mpp.enableCompatibilityMetadataVariant=true diff --git a/serialization/build.gradle.kts b/serialization/build.gradle.kts index 432f00a8a..b2949a42d 100644 --- a/serialization/build.gradle.kts +++ b/serialization/build.gradle.kts @@ -19,6 +19,7 @@ kotlin { target("watchosArm32") target("watchosArm64") target("watchosX86") + target("watchosX64") target("tvosArm64") target("tvosX64") }