Skip to content

Commit

Permalink
Advance version to 0.5.0, prepare changelog, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-g committed Dec 1, 2023
1 parent 8dc7e2e commit c349b7e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 0.5.0

- Update Kotlin dependency to 1.9.21, kotlinx.serialization to 1.6.2
- Add support of Wasm-Js target through Js interop with the same js-joda library as in Js ([#315](https://github.com/Kotlin/kotlinx-datetime/pull/315))
- Prevent secondary outputs of Java 9 compilation getting packed into jar ([#305](https://github.com/Kotlin/kotlinx-datetime/pull/305))

## 0.4.1

- Update Kotlin dependency to 1.8.21, kotlinx.serialization to 1.5.1
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ val localDateTimeTwoDaysLater = instantTwoDaysLater.toLocalDateTime(timeZone)
The implementation of date/time types, such as `Instant`, `LocalDateTime`, `TimeZone` and so on, relies on:

- in JVM: [`java.time`](https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html) API;
- in JS: [`js-joda`](https://js-joda.github.io/js-joda/) library;
- in Js and Wasm-Js: [`js-joda`](https://js-joda.github.io/js-joda/) library;
- in Native: based on the [ThreeTen backport project](https://www.threeten.org/threetenbp/)
- time zone support is provided by [date](https://github.com/HowardHinnant/date/) C++ library;

Expand All @@ -303,7 +303,7 @@ The implementation of date/time types, such as `Instant`, `LocalDateTime`, `Time
The library is published to Maven Central.

The library is compatible with the Kotlin Standard Library not lower than `1.5.0`.
The library is compatible with the Kotlin Standard Library not lower than `1.9.0`.

If you target Android devices running **below API 26**, you need to use Android Gradle plugin 4.0 or newer
and enable [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
Expand All @@ -324,7 +324,7 @@ kotlin {
sourceSets {
commonMain {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
}
}
}
Expand All @@ -335,7 +335,7 @@ kotlin {

```groovy
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.5.0")
}
```

Expand Down Expand Up @@ -375,7 +375,7 @@ Add a dependency to the `<dependencies>` element. Note that you need to use the
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-datetime-jvm</artifactId>
<version>0.4.1</version>
<version>0.5.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx1G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.java.installations.fromEnv=JDK_8

group=org.jetbrains.kotlinx
version=0.4.1
version=0.5.0
versionSuffix=SNAPSHOT

defaultKotlinVersion=1.9.21
Expand Down

0 comments on commit c349b7e

Please sign in to comment.