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

Update chrono requirement from =0.4.35 to =0.4.38 #47

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2024

Updates the requirements on chrono to permit the latest version.

Release notes

Sourced from chrono's releases.

v0.4.38

This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.

Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.

In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.

Removals

Additions

Fixes

  • Return error when rounding with a zero duration (#1474, thanks @​Dav1dde)
  • Manually implement Copy for DateTime if offset is Copy (#1573)

Internal

  • Inline test_encodable_json and test_decodable_json functions (#1550)
  • CI: Reduce combinations in cargo hack check (#1553)
  • Refactor formatting code (#1335)
  • Optimize number formatting (#1558)
  • Only package files needed for building and testing (#1554)

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

Changelog

Sourced from chrono's changelog.

ChangeLog for Chrono

This documents notable changes to Chrono up to and including version 0.4.19. For later releases, please review the release notes on GitHub.

0.4.19

  • Correct build on solaris/illumos

0.4.18

  • Restore support for x86_64-fortanix-unknown-sgx

0.4.17

  • Fix a name resolution error in wasm-bindgen code introduced by removing the dependency on time v0.1

0.4.16

Features

  • Add %Z specifier to the FromStr, similar to the glibc strptime (does not set the offset from the timezone name)

  • Drop the dependency on time v0.1, which is deprecated, unless the oldtime feature is active. This feature is active by default in v0.4.16 for backwards compatibility, but will likely be removed in v0.5. Code that imports time::Duration should be switched to import chrono::Duration instead to avoid breakage.

0.4.15

Fixes

0.4.14 YANKED

Features

  • Add day and week iterators for NaiveDate (@​gnzlbg & @​robyoung)
  • Add a Month enum (@​hhamana)
  • Add locales. All format functions can now use locales, see the documentation for the unstable-locales feature.
  • Fix Local.from_local_datetime method for wasm

Improvements

... (truncated)

Commits
  • 352a352 Prepare 0.4.38
  • 46d44d6 Manually implement Copy for DateTime if offset is Copy
  • 760eb66 Update windows-bindgen requirement from 0.55 to 0.56
  • 391187f Return error when rounding with zero duration
  • ffc75e5 Add TimeDelta::checked_mul and TimeDelta::checked_div
  • f8cecbe Make Weekday::num_days_from public, rename to days_since.
  • 0cfc405 Optimize number formatting
  • 74ba83b Take pad by value
  • 78e79db Match on tuples in format_fixed
  • f3d76c7 Match on tuples in format_numeric
  • Additional commits viewable in compare view

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 the dependencies Pull requests that update a dependency file label May 21, 2024
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/chrono-eq-0.4.38 branch from dedd44e to 06dd6f4 Compare May 21, 2024 03:15
@fslongjin fslongjin closed this Oct 20, 2024
@fslongjin fslongjin deleted the dependabot/cargo/chrono-eq-0.4.38 branch October 20, 2024 17:11
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 20, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ambiguous dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant