Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2023

This PR contains the following updates:

Package Change Age Confidence
org.jetbrains.kotlinx:kotlinx-datetime 0.6.0 -> 0.7.1-0.6.x-compat age confidence
org.jetbrains.kotlinx:kotlinx-datetime 0.4.0 -> 0.7.1-0.6.x-compat age confidence

Release Notes

Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)

v0.7.1

  • Add kotlinx.datetime.Instant and kotlinx.datetime.Clock type aliases to, respectively, kotlin.time.Instant and kotlin.time.Clock to make migration more convenient.
  • Add a fallback timezone database implementation for Darwin that uses the Foundation framework if the timezone database is unavailable on the filesystem (#​485).
  • Restore binary compatibility in string format definitions utilizing dates on the JVM (#​545).

v0.7.0

Breaking changes:

  • Remove kotlinx.datetime.Instant and kotlinx.datetime.Clock in favor of kotlin.time.Instant (#​506). See https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant for a description of what to do if this causes problems.
  • Unify the range of admissible LocalDate and LocalDateTime values on all platforms (#​432).
  • Rename dayOfMonth to day, monthNumber to month (#​84).
  • Make DayOfWeek and Month no longer type aliases to java.time.DayOfWeek and java.time.Month (#​96).
  • Make "UTC" and not "Z" be the timezone identifier for TimeZone.UTC (#​474).
  • Accept "z" in TimeZone.of, with the same meaning as "Z" (#​529).
  • Add DateTimeFormat-based KSerializer implementations for datetime entities, and change the default serializers to be based on toString/parse pairs (#​415).

Additions:

  • Add java.io.Serializable implementations for most of the entities in the library (#​143). Thanks for spotting and fixing a potential vulnerability, @​lukellmann!
  • Add LocalDateRange, a range of LocalDate values (#​190). Thanks, @​PeterAttardo!
  • Add YearMonth and YearMonthRange (#​457).

Tweaks and fixes:

  • Support obtaining the system timezone on old Debian-based distributions (#​430).
  • Fix not being able to parse some valid timezone identifiers using the timeZoneId() directive (#​444).
  • Use the grammar defined in RFC 9557 for parsing timezone identifiers in the timeZoneId() directive, allowing parsing values not present in the timezone database (#​531).
  • Improved error messages when formatting an invalid DateTimeComponents value (#​471).
  • Set the JPMS dependency on kotlinx.serialization.core to be optional (#​496).

v0.6.2

  • Add the Wasm/WASI target support (#​366). Thanks, @​igoriakovlev!
  • Add TimeSource.asClock (#​164). Thanks, @​hfhbd!
  • Implement parsing and formatting day-of-year (#​414)
  • Improve the precision of NSDate to Instant conversions (#​427)
  • Deprecate DatePeriod.plus and DateTimePeriod.plus with a warning (#​381)
  • Deprecate Clock.asTimeSource with a warning (#​372)
  • Fix a bug in module-info preventing using kotlinx.datetime.format together with JPMS (#​438). Thanks, @​cdelabou!
  • Small tweaks and fixes.

v0.6.1

  • Prohibit parsing non-ASCII digits as numbers in DateTimeFormat (#​405)
  • More accurately determine which files represent time zones and which don't on Linux and Darwin (#​395)
  • Fix a regression that occasionally considered the right boundary of a time overlap to be a part of it on Native (#​399)
  • Introduce various small improvements to the timezone handling on Windows (#​390)
  • On Linux, allow not having any /etc/localtime set, defaulting to TimeZone.UTC as the system time zone (#​426)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from d006cba to 4524f22 Compare January 9, 2024 20:34
@renovate renovate bot changed the title Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.5.0 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 May 14, 2024
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from 4524f22 to b2bd094 Compare May 14, 2024 20:09
@renovate renovate bot changed the title Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 Aug 20, 2024
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from b2bd094 to f08e9f2 Compare August 20, 2024 15:04
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from f08e9f2 to 71d887b Compare December 2, 2024 11:46
@renovate renovate bot changed the title Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.2 Feb 10, 2025
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from 71d887b to b155f64 Compare February 10, 2025 18:09
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 2 times, most recently from 317856f to 8ffc5e8 Compare February 18, 2025 18:57
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from 8ffc5e8 to d7fd043 Compare February 18, 2025 19:03
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from d7fd043 to 6114a18 Compare June 24, 2025 19:45
@renovate renovate bot changed the title Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.2 Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.7.0-0.6.x-compat Jun 24, 2025
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from 6114a18 to dfd116b Compare July 7, 2025 19:32
@renovate renovate bot changed the title Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.7.0-0.6.x-compat Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.7.1-0.6.x-compat Jul 7, 2025
@Tiebe Tiebe closed this Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant