Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
2.8.0 source code.tar.gz | 2025-07-16 | 1.2 MB | |
2.8.0 source code.zip | 2025-07-16 | 1.5 MB | |
README.md | 2025-07-16 | 1.4 kB | |
Totals: 3 Items | 2.7 MB | 1 |
Compose (Android):
- Bump Compose UI to version 1.8.3
Compose (Multiplatform):
- Bump Compose UI to version 1.8.2
- Bump Kotlin DateTime to 0.7.1
- Bump Kotlin Serialization to 1.9.0
Kotlin DateTime 0.7.x comes with some API changes that have been inherited by the multiplatform calendar which depends on it.
The most important changes are:
- Addition of the YearMonth
type, which replaces the one previously provided by the calendar library. You'll need to replace the imports com.kizitonwose.calendar.core.YearMonth
with kotlinx.datetime.YearMonth
.
- Removal of kotlinx.datetime.Clock
, please use kotlin.time.Clock
instead.
Note that there are some method and field name differences between the YearMonth
previously provided by the library and the new one in the Kotlin DateTime library. The relevant methods and fields are listed below.
com.kizitonwose.calendar.core.YearMonth | kotlinx.datetime.YearMonth |
---|---|
atStartOfMonth() | firstDay |
atEndOfMonth() | lastDay |
lengthOfMonth() | numberOfDays |
atDay() | onDay() |
See the release notes for Kotlin DateTime 0.7.0 for all changes.
Dependencies:
- Bump AGP to 8.11.1