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 <dependency name> 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](https://github.com/time-rs/time) from 0.3.15 to 0.3.26.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/time-rs/time/releases">time's releases</a>.</em></p>
<blockquote>
<h2>v0.3.26</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.25</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.24</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.23</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.22</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.21</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.20</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.19</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.18</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.17</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
<h2>v0.3.16</h2>
<p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p>
<blockquote>
<h2>0.3.26 [2023-08-18]</h2>
<p>This release contains only a single change. <code>serde</code> is required to be a version prior to 1.0.171.
This is due to the decision by the maintainer of <code>serde</code> 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 <code>time</code> 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.</p>
<h2>0.3.25 [2023-08-02]</h2>
<h3>Fixed</h3>
<ul>
<li>Methods such as <code>Time::replace_milliseconds</code> would panic on some out-of-range values. This has
been fixed.</li>
</ul>
<h2>0.3.24 [2023-07-30]</h2>
<h3>Added</h3>
<ul>
<li>The <code>subsecond</code> component is taken into account when parsing the <code>unix_timestamp</code> component. If
data is conflicting, the <code>subsecond</code> value takes precedence.</li>
<li>Parsing a <code>Time</code> with only the <code>hour</code> component is now supported. The <code>minute</code> and <code>second</code>, and
<code>subsecond</code> components are assumed to be zero.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The minimum supported Rust version is now 1.67.0.</li>
<li>The debug output for <code>Parsed</code> has been improved.</li>
<li>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.</li>
<li>When parsing a <code>Time</code>, an error is returned if components are present but not consecutive. For
example, if <code>hours</code> and <code>seconds</code> are present, <code>minutes</code> will not be assumed to be zero.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>The implementation of <code>Duration::checked_div</code> could return a slightly incorrect result in some
cases. This has been fixed.</li>
</ul>
<h2>0.3.23 [2023-07-08]</h2>
<h3>Added</h3>
<ul>
<li><code>Date::next_occurrence</code></li>
<li><code>Date::prev_occurrence</code></li>
<li><code>Date::nth_next_occurrence</code></li>
<li><code>Date::nth_prev_occurrence</code></li>
<li><code>Weekday::nth_prev</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/time-rs/time/commit/500f8e4517cb89f0aa80087130ed2f8b8349f162"><code>500f8e4</code></a> Remove support for serde with pre-built binaries</li>
<li><a href="https://github.com/time-rs/time/commit/a98fe2de9e185f3e570c816d2e34b113a3a21583"><code>a98fe2d</code></a> v0.3.25 release</li>
<li><a href="https://github.com/time-rs/time/commit/b74ebe8c50f64154d2b144d995b7228711ee7fee"><code>b74ebe8</code></a> Use new feature of <code>deranged</code></li>
<li><a href="https://github.com/time-rs/time/commit/d671910cb2ee118941680c0023ccaf243613a5dd"><code>d671910</code></a> Avoid panicking on out-of-range value</li>
<li><a href="https://github.com/time-rs/time/commit/cdc85da6dc05481b2cd0382701dd08a8e4ee6e81"><code>cdc85da</code></a> v0.3.24 release</li>
<li><a href="https://github.com/time-rs/time/commit/227b6f804942a1dca77db766be509c2b7f17eba5"><code>227b6f8</code></a> Gate methods as necessary</li>
<li><a href="https://github.com/time-rs/time/commit/80601003b3fbc993dc23e65d5c7c476970ba9053"><code>8060100</code></a> Fix implementation of <code>Duration::checked_div</code></li>
<li><a href="https://github.com/time-rs/time/commit/a9fea9f02d494e7bee90eb172e54c980638c199d"><code>a9fea9f</code></a> Use ranged integers internally for <code>Duration</code></li>
<li><a href="https://github.com/time-rs/time/commit/04936eedae4b437f2693427561a7dafc1f5f5056"><code>04936ee</code></a> Use <code>ensure_ranged!</code> for <code>UtcOffset</code></li>
<li><a href="https://github.com/time-rs/time/commit/7e95cb21fc5971058d9fafea77c43de816476489"><code>7e95cb2</code></a> Use ranged integers internally for <code>Time</code></li>
<li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.3.15...v0.3.26">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps time from 0.3.15 to 0.3.26.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
500f8e4Remove support for serde with pre-built binariesa98fe2dv0.3.25 releaseb74ebe8Use new feature ofderangedd671910Avoid panicking on out-of-range valuecdc85dav0.3.24 release227b6f8Gate methods as necessary8060100Fix implementation ofDuration::checked_diva9fea9fUse ranged integers internally forDuration04936eeUseensure_ranged!forUtcOffset7e95cb2Use ranged integers internally forTimeDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)