Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 18, 2022

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Type Update Change
actions/checkout action major v3 -> v5
bat dependencies minor 0.21.0 -> 0.25.0
chrono dependencies patch 0.4.26 -> 0.4.42
clap dependencies major 3.2.16 -> 4.0.0
dirs dependencies major 4.0.0 -> 6.0.0
edit dependencies patch 0.1.4 -> 0.1.5
flate2 dependencies minor 1.0.26 -> 1.1.4
lazy_static dependencies minor 1.4.0 -> 1.5.0
quit dependencies major 1.1.4 -> 2.0.0
regex dependencies minor 1.9.1 -> 1.11.3
reqwest dependencies minor 0.11.11 -> 0.12.0
rust-apt dependencies digest 2f1633d -> eced4e5
serde (source) dependencies patch 1.0.171 -> 1.0.228
serde_json dependencies patch 1.0.102 -> 1.0.145
tempfile (source) dependencies minor 3.6.0 -> 3.23.0
termsize dependencies patch 0.1.6 -> 0.1.9
which dependencies major 4.3.0 -> 8.0.0

Release Notes

actions/checkout (actions/checkout)

v5

Compare Source

v4

Compare Source

sharkdp/bat (bat)

v0.25.0

Compare Source

Features

Bugfixes

Other

Syntaxes

Themes

bat as a library

  • Changes to syntax_mapping::SyntaxMapping #​2755 (@​cyqsimon)
    • SyntaxMapping::get_syntax_for is now correctly public
    • [BREAKING] SyntaxMapping::{empty,builtin} are removed; use SyntaxMapping::new instead
    • [BREAKING] SyntaxMapping::mappings is replaced by SyntaxMapping::{builtin,custom,all}_mappings
  • Make Controller::run_with_error_handler's error handler FnMut, see #​2831 (@​rhysd)
  • Improve compile time by 20%, see #​2815 (@​dtolnay)
  • Add theme::theme for choosing an appropriate theme based on the
    terminal's color scheme, see #​2896 (@​bash)
    • [BREAKING] Remove HighlightingAssets::default_theme. Use theme::default_theme instead.
  • Add PrettyPrinter::print_with_writer for custom output destinations, see #​3070 (@​kojix2)

v0.24.0

Compare Source

Features

Bugfixes

Other

Syntaxes

bat as a library

  • Add optional output_buffer arg to Controller::run() and Controller::run_with_error_handler(), see #​2618 (@​Piturnah)

v0.23.0

Compare Source

Features

Bugfixes

Other

Syntaxes

Themes

bat as a library

v0.22.1

Compare Source

Bugfixes

  • Bring back pre-processing of ANSI escape characters to so that some common bat use cases starts working again. See #​2308 (@​Enselic)

v0.22.0

Compare Source

Features

Bugfixes

Other

Syntaxes

bat as a library

chronotope/chrono (chrono)

v0.4.42: 0.4.42

Compare Source

What's Changed

v0.4.41

Compare Source

What's Changed

v0.4.40: 0.4.40

Compare Source

What's Changed

v0.4.39: 0.4.39

Compare Source

What's Changed

v0.4.38

Compare Source

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!

v0.4.37

Compare Source

Version 0.4.36 introduced an unexpected breaking change and was yanked. In it LocalResult was renamed to MappedLocalTime to avoid the impression that it is a Result type were some of the results are errors. For backwards compatibility a type alias with the old name was added.

As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with use chrono::LocalResult::*. With 0.4.37 we make the new name MappedLocalTime the alias, but keep using it in function signatures and the documentation as much as possible.

See also the release notes of chrono 0.4.36 from yesterday for the yanked release.

v0.4.36

Compare Source

This release un-deprecates the methods on TimeDelta that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.

New is the DateTime::with_time() method. As an example of when it is useful:

use chrono::{Local, NaiveTime};
// Today at 12:00:00
let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap());

Additions

Deprecations

  • Revert TimeDelta deprecations (#​1543)
  • Deprecate TimeStamp::timestamp_subsec_nanos, which was missed in the 0.4.35 release (#​1486)

Documentation

  • Correct version number of deprecation notices (#​1486)
  • Fix some typos (#​1505)
  • Slightly improve serde documentation (#​1519)
  • Main documentation: simplify links and reflow text (#​1535)

Internal

  • CI: Lint benchmarks (#​1489)
  • Remove unnessary Copy and Send impls (#​1492, thanks @​erickt)
  • Backport streamlined NaiveDate unit tests (#​1500, thanks @​Zomtir)
  • Rename LocalResult to TzResolution, add alias (#​1501)
  • Update windows-bindgen to 0.55 (#​1504)
  • Avoid duplicate imports, which generate warnings on nightly (#​1507)
  • Add extra debug assertions to NaiveDate::from_yof (#​1518)
  • Some small simplifications to DateTime::date_naive and NaiveDate::diff_months (#​1530)
  • Remove unwrap in Unix Local type (#​1533)
  • Use different method to ignore feature-dependent doctests (#​1534)

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

v0.4.35

Compare Source

Most of our efforts have shifted to improving the API for a 0.5 release, for which cleanups and refactorings are landing on the 0.4.x branch.

The most significant changes in this release are two sets of deprecations.

  • We deprecated all timestamp-related methods on NaiveDateTime. The reason is that a timestamp is defined to be in UTC. The NaiveDateTime type doesn't know the offset from UTC, so it was technically wrong to have these methods. The alternative is to use the similar methods on the DateTime<Utc> type, or from the TimeZone trait.

    Converting from NaiveDateTime to DateTime<Utc> is simple with .and_utc(), and in the other direction with .naive_utc().

  • The panicking constructors of TimeDelta (the new name of the Duration type) are deprecated. This was the last part of chrono that defaulted to panicking on error, dating from before rust 1.0.

  • A nice change is that NaiveDate now includes a niche. So now Option<NaiveDate>, Option<NaiveDateTime> and Option<DateTime<Tz>> are the same size as their base types.

  • format::Numeric and format::Fixed are marked as non_exhaustive. This will allow us to improve our formatting and parsing support, and we have reason to believe this breaking change will have little to no impact on users.

Additions

  • Add DateTime::{from_timestamp_micros, from_timestamp_nanos} (#​1234)
  • Add getters to Parsed (#​1465)

Deprecations

  • Deprecate timestamp methods on NaiveDateTime (#​1473)
  • Deprecate panicking constructors of TimeDelta (#​1450)

Changes/fixes

  • Use NonZeroI32 inside NaiveDate (#​1207)
  • Mark format::Numeric and format::Fixed as non_exhaustive (#​1430)
  • Parsed fixes to error values (#​1439)
  • Use overflowing_naive_local in DateTime::checked_add* (#​1333)
  • Do complete range checks in Parsed::set_* (#​1465)

Documentation

Internal

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

v0.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](https://redirect.github

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from b697866 to cefb3a4 Compare August 21, 2022 23:19
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from b072fae to e33f912 Compare September 2, 2022 03:41
@hwittenborn
Copy link
Member

#22 needs to be merged before this, add several deps are changed in that.

@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 314b68f to dd71530 Compare September 13, 2022 01:21
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 0856ca7 to c054f4d Compare September 22, 2022 18:36
@hwittenborn hwittenborn force-pushed the main branch 2 times, most recently from 8e46bcb to 8026ecb Compare September 25, 2022 06:33
@renovate renovate bot force-pushed the renovate/all branch 9 times, most recently from a5c580a to 4223636 Compare October 1, 2022 20:45
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from c38b670 to 0641c2e Compare October 10, 2022 18:47
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 0aff2e4 to d5f72d9 Compare August 1, 2025 00:16
@renovate renovate bot force-pushed the renovate/all branch 6 times, most recently from 3c99f01 to 471ea60 Compare August 12, 2025 20:41
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 402de4f to d65b336 Compare August 24, 2025 18:09
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from ebe1fed to 691386a Compare September 9, 2025 18:15
@renovate renovate bot force-pushed the renovate/all branch 7 times, most recently from 3254d6a to 4d520e3 Compare September 19, 2025 21:50
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from f90a51b to 740affc Compare September 25, 2025 12:46
@renovate
Copy link
Contributor Author

renovate bot commented Sep 25, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants