Skip to content

Comments

Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.7.1-0.6.x-compat#290

Open
renovate[bot] wants to merge 1 commit intomodernfrom
renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x
Open

Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.7.1-0.6.x-compat#290
renovate[bot] wants to merge 1 commit intomodernfrom
renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 14, 2024

This PR contains the following updates:

Package Change Age Confidence
org.jetbrains.kotlinx:kotlinx-datetime 0.5.00.7.1-0.6.x-compat age confidence

Release Notes

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

v0.7.1-0.6.x-compat

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-0.6.x-compat

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)

v0.6.0

  • Introduce the widely requested API for locale-invariant parsing and formatting (#​343)
  • Completely overhaul the KDoc-based documentation (#​347)
  • Breaking change: forbid parsing Instant values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native (#​369)
  • Breaking change: use the fully qualified name of classes in the JSON serializers (#​308)
  • Fix Proguard emitting warning about missing kotlinx-serialization classes when serialization is not used (#​336)
  • Reimplement the timezone database handling for Native targets from scratch (#​286, #​327)
  • Support Android NDK targets (#​344)
  • Small tweaks and fixes.
Changelog relative to version 0.6.0-RC.2
  • Completely overhaul the KDoc-based documentation (#​347)
  • Breaking change: forbid parsing Instant values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native (#​369)
  • Improve error descriptiveness in some cases (#​360, #​371)
  • Remove stat usages to comply with Apple's new publishing requirements (#​385)
  • Fix parsing of formats where optional is directly between numbers (#​362)
  • Forbid empty and duplicate month, day-of-week, and AM/PM marker names in datetime formats (#​362)

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update 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 requested a review from r0adkll as a code owner May 14, 2024 20:58
@renovate renovate bot added the renovate Automated PR from renovate bot label May 14, 2024
@renovate renovate bot enabled auto-merge (squash) May 14, 2024 20:58
@github-actions
Copy link

github-actions bot commented May 14, 2024

Messages
📖 This PR has been checked by Danger

Generated by 🚫 Danger Kotlin against e80de5d

@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 6 times, most recently from d2be636 to 3570aa2 Compare May 21, 2024 02:03
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 8 times, most recently from 0a7b5b7 to 246bfa0 Compare May 30, 2024 00:10
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 5 times, most recently from 40f1bfb to ca039c6 Compare June 3, 2024 18:25
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 4 times, most recently from f4c191e to df92f9f Compare June 13, 2024 22:02
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 3 times, most recently from cfa690d to 78a8275 Compare June 21, 2024 08:53
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 2 times, most recently from 3c9c7ec to cb88704 Compare August 14, 2024 19:20
@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 3 times, most recently from e73a62e to eea5970 Compare August 26, 2024 15:52
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 5 times, most recently from 2d11c54 to 7f25468 Compare September 4, 2024 14:55
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 4 times, most recently from f0ffa23 to 9669a52 Compare September 9, 2024 13:21
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 2 times, most recently from fd34797 to 10decba Compare September 13, 2024 19:53
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch 6 times, most recently from c06911b to 2003095 Compare February 10, 2025 14:11
@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 2003095 to 27dabb0 Compare March 3, 2025 17:47
@renovate renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-datetime-0.x branch from 27dabb0 to 820ad10 Compare June 24, 2025 16:46
@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 820ad10 to e80de5d Compare July 7, 2025 20:51
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Automated PR from renovate bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants