Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Renovate] Update Rust crate chrono to 0.4.34 #1209

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
chrono dependencies patch 0.4.33 -> 0.4.34

Release Notes

chronotope/chrono (chrono)

v0.4.34: 0.4.34

Compare Source

Notable changes

  • In chrono 0.4.34 we finished the work to make all methods const where doing so is supported by rust 1.61.
  • We renamed the Duration type to TimeDelta. This removes the confusion between chrono's type and the later Duration type in the standard library. It will remain available under the old name as a type alias for compatibility.
  • The Windows implementation of Local is rewritten. The new version avoids panics when the date is outside of the range supported by windows (the years 1601 to 30828), and gives more accurate results during DST transitions.
  • The Display format of TimeDelta is modified to conform better to ISO 8601. Previously it converted all values greater than 24 hours to a value with days. This is not correct, as doing so changes the duration from an 'accurate' to a 'nominal' representation to use ISO 8601 terms.

Fixes

Additions

Changes

  • Rename Duration to TimeDelta, add type alias (#​1406)
  • Make TimeDelta methods const (#​1337)
  • Make remaining methods of NaiveDate, NaiveWeek, NaiveTime and NaiveDateTime const where possible (#​1337)
  • Make methods on DateTime const where possible (#​1400)
  • Make Display format of TimeDelta conform better to ISO 8601 (#​1328)

Documentation

Internal

  • Switch branch names: 0.4.x releases are the main branch, work on 0.5 happens in the 0.5.x branch (#​1390, #​1402).
  • Don't use deprecated method in impl Arbitrary for DateTime and set up CI test (#​1336)
  • Remove workaround for Rust < 1.61 (#​1393)
  • Bump codecov/codecov-action from 3 to 4 (#​1404)
  • Remove partial support for handling -0000 offset (#​1411)
  • Move TOO_LONG error out of parse_internal (#​1419)

Thanks to all contributors on behalf of the chrono team, @​djc and @​pitdicker!


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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 11, 2024
@renovate renovate bot added the rust Pull requests that update Rust code label Feb 11, 2024
Copy link
Contributor

Filename                            Stmts    Miss  Cover    Missing
--------------------------------  -------  ------  -------  -------------------------------------
src/version.rs                         69       0  100.00%
src/utilities.rs                       94       7  92.55%   22-26, 64-77, 145
src/complain.rs                       238      11  95.38%   30-75
src/main.rs                             3       3  0.00%    22-24
src/macros.rs                          23       0  100.00%
src/running.rs                          8       0  100.00%
src/increment_version.rs              179      26  85.47%   31-47, 115-117, 136, 142-147, 253-270
src/application.rs                     35      35  0.00%    32-146
src/changelog/ronlog.rs               227     162  28.63%   27-288, 354, 395-401
src/changelog/fragment.rs             128       2  98.44%   138, 146
src/changelog/comment_changes.rs      275     275  0.00%    25-473
src/pattern/io_processor.rs            56      56  0.00%    77-173
src/pattern/writer.rs                 125      51  59.20%   136-141, 148-156, 190-202, 234-264
src/pattern/buffer.rs                  33       0  100.00%
src/graphing/agd.rs                   228       2  99.12%   356, 378
src/graphing/graph.rs                 219       0  100.00%
src/cff/cffreference.rs               109       0  100.00%
src/cff/cff_create.rs                 226       2  99.12%   237-245
src/traits/read_file.rs                56      56  0.00%    46-153
src/traits/colour_message.rs           19       0  100.00%
src/traits/convert_buffer.rs           30       0  100.00%
src/traits/file_formats.rs             25       0  100.00%
src/traits/to_stderr.rs                 6       0  100.00%
src/traits/append_as_line.rs           12       0  100.00%
src/traits/prefer.rs                    5       0  100.00%
TOTAL                                2428     688  71.66%

@kevinmatthes kevinmatthes enabled auto-merge (squash) February 11, 2024 09:41
@kevinmatthes kevinmatthes merged commit a3d8bf5 into main Feb 11, 2024
27 checks passed
@kevinmatthes kevinmatthes deleted the renovate/chrono-0.x branch February 11, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant