This release contains only a single change. serde is required to be a version prior to 1.0.171.
This is due to the decision by the maintainer of serde to include pre-built binaries that are
executed without the end user's knowledge. As of the time of publishing, the included binary has not
even been reproduced. This is a security risk, and the time project strongly opposes this
decision. While this may break some users' builds due to conflicting versions, it is a necessary
step to ensure the security.
0.3.25 [2023-08-02]
Fixed
Methods such as Time::replace_milliseconds would panic on some out-of-range values. This has
been fixed.
0.3.24 [2023-07-30]
Added
The subsecond component is taken into account when parsing the unix_timestamp component. If
data is conflicting, the subsecond value takes precedence.
Parsing a Time with only the hour component is now supported. The minute and second, and
subsecond components are assumed to be zero.
Changed
The minimum supported Rust version is now 1.67.0.
The debug output for Parsed has been improved.
When parsing, invalid values are now rejected sooner. Previously, the entire input would be parsed
before being rejected in the final step. Now, invalid values are rejected as soon as they are
encountered. This affects the error variant returned, which may cause minor breakage for any code
(incorrectly) relying on the exact error variant.
When parsing a Time, an error is returned if components are present but not consecutive. For
example, if hours and seconds are present, minutes will not be assumed to be zero.
Fixed
The implementation of Duration::checked_div could return a slightly incorrect result in some
cases. This has been fixed.
0.3.23 [2023-07-08]
Added
Date::next_occurrence
Date::prev_occurrence
Date::nth_next_occurrence
Date::nth_prev_occurrence
Weekday::nth_prev
... (truncated)
Commits
500f8e4 Remove support for serde with pre-built binaries
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps time from 0.3.22 to 0.3.26.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
500f8e4
Remove support for serde with pre-built binariesa98fe2d
v0.3.25 releaseb74ebe8
Use new feature ofderanged
d671910
Avoid panicking on out-of-range valuecdc85da
v0.3.24 release227b6f8
Gate methods as necessary8060100
Fix implementation ofDuration::checked_div
a9fea9f
Use ranged integers internally forDuration
04936ee
Useensure_ranged!
forUtcOffset
7e95cb2
Use ranged integers internally forTime
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show