ermakov-oleg / serpyco-rs

Fast Python dataclasses serialization
MIT License
30 stars 2 forks source link

Bump chrono from 0.4.22 to 0.4.24 #49

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps chrono from 0.4.22 to 0.4.24.

Release notes

Sourced from chrono's releases.

0.4.24

This is a small maintenance release with accumulated fixes and improvements.

  • Fix doc on Days::new() to refer to days, not months (#874, thanks to @​brotskydotcom)
  • Clarify out of range value for from_timestamp_opt() (#879, thanks to @​xmo-odoo)
  • Add format_localized() for NaiveDate (#881, thanks to @​mseele)
  • Fix bug in Add/Sub Days, add tests with DST timezone (#878)
  • Make NaiveTime::MIN public (#890)
  • Fix from_timestamp_millis() implementation and add more tests (#885)
  • Fix typo in docstrings (#897, thanks to @​dandxy89)
  • Add test proving that #903 is fixed in 0.4.x head (#905, thanks to @​umanwizard)
  • Add from_timestamp_micros() function (#906, thanks to @​umanwizard)
  • Check cargo-deny in CI (#909)
  • Derive Hash for most pub types that also derive PartialEq (#938, thanks to @​bruceg)
  • Update deprecated methods in from_utc() example (#939, thanks to @​greg-el)
  • Fix panic in DateTime::checked_add_days() (#942, thanks to @​Ekleog)
  • More documentation for dates before 1 BCE or after 9999 CE (#950, thanks to @​cgit)
  • Improve FixedOffset docs (#953, thanks to @​klnusbaum)
  • Add chrono-fuzz to CI and update its libfuzzer-sys dependency (#968, thanks to @​LingMan)
  • Fixes to parsing and calculation of week numbers (#966, thanks to @​raphaelroosz)
  • Make iana-time-zone a target specific dependency (#980, thanks to @​krtab)
  • Make eligible functions const (#984, thanks to @​tormeh)

Thanks to all contributors from the chrono team, @​esheppa and @​djc.

0.4.23 is the next 0.4 release of the popular chrono date and time library for Rust. After the 0.4.20-0.4.22 series that brought chrono back to life after a long hiatus, development has been fairly quiet, allowing us to start planning changes for the 0.5.0 release. As such, we've started deprecating some APIs that are likely to be removed in 0.5. If you have any feedback on these changes, please let us know in the issue tracker!

Deprecations

  • Deprecate methods that have an _opt() alternative (#827)
  • Deprecate usage of the Date<Tz> type (#851)

Features

  • Optimize RFC 3339 (and RFC 2822) encoding (#844, thanks to @​conradludgate)
  • Addition and subtraction with the Days type (#784)
  • Add NaiveDateTime::from_timestamp_millis(_opt) (#818, thanks to @​Pscheidl -- backported in #823)
  • Allow for changing TZ variable and cache it for Local timezone (#853)
  • Add optional support for the arbitrary::Arbitrary trait (#849, thanks to @​greyblake and @​asayers)

Fixes

  • Support tzdb location on AIX (#826)
  • Fix warnings in documentation (#847)

On behalf of @​esheppa and @​djc, thanks to all contributors!

Commits
  • daa86a7 Check benchmarks in CI
  • b1e0963 Bump rust-cache action to v2
  • 64c5d77 Bump version to 0.4.24
  • f5c5ac4 Make eligible functions const.
  • fb2f259 Make iana-time-zone a target specific dependency
  • cf2a2f9 factor calculations to weeks_from function and add tests
  • 8197700 apply same fix to parsing and add failing test cases as per issue #961
  • a9b1ec4 fix ordinal week calculation
  • f9f3c78 Fix panic in DateTime::checked_add_days
  • cd0e3b0 chrono-fuzz: Update libfuzzer-sys dependency from 0.3 to 0.4
  • 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 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)