Skip to content

Commit 8b5a5ca

Browse files
authored
Update README and the changelog for 0.4.0 (#218)
1 parent fea8ce8 commit 8b5a5ca

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

3+
## 0.4.0
4+
5+
- Add the `LocalTime` class for representing time-of-day ([#57](https://github.com/Kotlin/kotlinx-datetime/pull/57)). Thank you, @bishiboosh!
6+
- Provide `LocalTime#toSecondOfDay`, `LocalTime.fromSecondOfDay`, and various other functions for compact representation of `LocalTime` ([#204](https://github.com/Kotlin/kotlinx-datetime/pull/204)). Thank you, @vanniktech!
7+
- Provide `LocalDate#toEpochDays`, `LocalDate.fromEpochDays` for representing a `LocalDate` as a single number ([#214](https://github.com/Kotlin/kotlinx-datetime/pull/214)).
8+
- Rename `Clock.todayAt` to `Clock.todayIn` for naming consistency ([#206](https://github.com/Kotlin/kotlinx-datetime/pull/206)).
9+
- Update the Kotlin dependency to 1.7.0.
10+
311
## 0.3.3
412

513
- Just updated Kotlin dependency to 1.7.0-Beta and kotlinx.serialization to 1.3.2

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ kotlin {
321321
sourceSets {
322322
commonMain {
323323
dependencies {
324-
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.3.2")
324+
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
325325
}
326326
}
327327
}
@@ -332,7 +332,7 @@ kotlin {
332332

333333
```groovy
334334
dependencies {
335-
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.3.2")
335+
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
336336
}
337337
```
338338

@@ -372,7 +372,7 @@ Add a dependency to the `<dependencies>` element. Note that you need to use the
372372
<dependency>
373373
<groupId>org.jetbrains.kotlinx</groupId>
374374
<artifactId>kotlinx-datetime-jvm</artifactId>
375-
<version>0.3.2</version>
375+
<version>0.4.0</version>
376376
</dependency>
377377
```
378378

0 commit comments

Comments
 (0)