Avoid underflow in DateIter::nth, ensuring correct behavior.
Avoid overflow when deserializing timestamps.
Handle out-of-bounds data when deserializing.
Don't assume that the format being deserialized was generated by the serializer; this previously
led to some valid values being parsed incorrectly and others being rejected.
No longer silence errors when deserializing UtcOffset.
OffsetDateTime::from_unix_timestamp_nanos and UtcDateTime::from_unix_timestamp_nanos correctly
return None for all out-of-range values, rather than unexpectedly panicking in some situations.
OffsetDateTime::checked_to_offset and UtcDateTime::checked_to_offset correctly return None
for all out-of-range values, rather than unexpectedly panicking in some situations.
PrimitiveDateTime has been renamed to PlainDateTime.
Duration has been renamed to SignedDuration.
Iteration is now possible over Date, Month, and Weekday. Relevant iterator methods have been
overridden to ensure maximum performance.
For both PlainDateTime and SignedDuration, a non-deprecated type alias has been added for
backwards compatibility. The new names should be preferred.
Changed
The associated metadata type (for powerfmt implementations) for various types has been changed
to () and made public. This guarantees that no additional metadata will be present.
There are no publicly-facing changes in this release. It solely works around the cookie crate
relying on an implementation detail of time that was never part of the public API (and thus
subject to semver guarantees). The internal API has been reverted to the extent necessary for
cookie to compile. This measure is temporary; the internal change will be re-applied in an
yet-to-be-determined future release.
Subsecond values in the time! macro are parsed using the textual representation, ensuring
accuracy. Previously, they were parsed using the floating point representation, which could result
in a loss of precision and even invalid values.
The date! macro could previously create an invalid value that would then panic at compile time.
The macro now emits a proper error instead.
When parsing an invalid format description, an edge case would inadvertently panic. This now
returns an error as intended.
Added
Support default values when parsing
Configuration
📅 Schedule: (in timezone Europe/Berlin)
Branch creation
At any time (no schedule defined)
Automerge
Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
🚦 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Release Notes
time-rs/time (time)v0.3.55
Compare Source
Fixed
led to some valid values being parsed incorrectly and others being rejected.
return None for all out-of-range values, rather than unexpectedly panicking in some situations.
for all out-of-range values, rather than unexpectedly panicking in some situations.
v0.3.54
Compare Source
Added
overridden to ensure maximum performance.
For both PlainDateTime and SignedDuration, a non-deprecated type alias has been added for
backwards compatibility. The new names should be preferred.
Changed
to () and made public. This guarantees that no additional metadata will be present.
Performance
v0.3.53
Compare Source
There are no publicly-facing changes in this release. It solely works around the cookie crate
relying on an implementation detail of time that was never part of the public API (and thus
subject to semver guarantees). The internal API has been reverted to the extent necessary for
cookie to compile. This measure is temporary; the internal change will be re-applied in an
yet-to-be-determined future release.
v0.3.52
Compare Source
Fixed
accuracy. Previously, they were parsed using the floating point representation, which could result
in a loss of precision and even invalid values.
The macro now emits a proper error instead.
returns an error as intended.
Added
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.