Skip to content

build(deps): bump chrono from 0.4.33 to 0.4.34#374

Merged
gifnksm merged 1 commit into
mainfrom
dependabot/cargo/chrono-0.4.34
Feb 13, 2024
Merged

build(deps): bump chrono from 0.4.33 to 0.4.34#374
gifnksm merged 1 commit into
mainfrom
dependabot/cargo/chrono-0.4.34

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 12, 2024

Bumps chrono from 0.4.33 to 0.4.34.

Release notes

Sourced from chrono's releases.

0.4.34

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

  • Fix the formatting of timestamp_micros's Example doc (#1338 via #1386, thanks @​emikitas)
  • Specify branch for GitHub Actions badge and fix link (#1388)
  • Don't mention some deprecated methods in docs (#1395)
  • Remove stray documentation from main (#1397)
  • Improved documentation of TimeDelta constructors (#1385, thanks @​danwilliams)

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!

Commits
  • dc19606 Prepare 0.4.34
  • 58a2149 Add StrftimeItems::parse_to_owned
  • 59eeb8c Add StrftimeItems::parse
  • 79de122 Add more documentation to StrftimeItems::new_with_locale
  • 5b7cf85 Add more documentation to StrftimeItems::new
  • be6af79 Make Display format of TimeDelta conform better to ISO 8601
  • d1cf0e9 Add test for issue 651
  • 0ef34e4 Extend test to more distant dates
  • fc67f3e Remove obsolete test
  • acb693a Windows: rewrite using GetTimeZoneInformationForYear
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 12, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (544a66c) 79.29% compared to head (4def13f) 79.29%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #374   +/-   ##
=======================================
  Coverage   79.29%   79.29%           
=======================================
  Files          33       33           
  Lines        1811     1811           
  Branches     1811     1811           
=======================================
  Hits         1436     1436           
  Misses        285      285           
  Partials       90       90           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gifnksm
Copy link
Copy Markdown
Owner

gifnksm commented Feb 13, 2024

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 13, 2024

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@gifnksm
Copy link
Copy Markdown
Owner

gifnksm commented Feb 13, 2024

@dependabot rebase

@gifnksm gifnksm enabled auto-merge February 13, 2024 02:11
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.33 to 0.4.34.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](chronotope/chrono@v0.4.33...v0.4.34)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/chrono-0.4.34 branch from 8019267 to 4def13f Compare February 13, 2024 02:12
@gifnksm gifnksm merged commit 742e3f9 into main Feb 13, 2024
@gifnksm gifnksm deleted the dependabot/cargo/chrono-0.4.34 branch February 13, 2024 03:00
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.

1 participant