This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Update all dependencies #23
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
v3->v50.21.0->0.25.00.4.26->0.4.423.2.16->4.0.04.0.0->6.0.00.1.4->0.1.51.0.26->1.1.41.4.0->1.5.01.1.4->2.0.01.9.1->1.11.30.11.11->0.12.02f1633d->eced4e51.0.171->1.0.2281.0.102->1.0.1453.6.0->3.23.00.1.6->0.1.94.3.0->8.0.0Release Notes
actions/checkout (actions/checkout)
v5Compare Source
v4Compare Source
url-helper.tsnow leverages well-known environment variables by @jww3 in https://github.com/actions/checkout/pull/1941isGhesby @jww3 in https://github.com/actions/checkout/pull/1946sharkdp/bat (bat)
v0.25.0Compare Source
Features
bat --squeeze-blank/bat -swill now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)bat --squeeze-limitto set the maximum number of empty consecutive when using--squeeze-blank, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)PrettyPrinter::squeeze_empty_linesto support line squeezing for bat as a library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)#!/usr/bin/env bun#2913 (@sharunkumar)bat --strip-ansi={never,always,auto}to remove ANSI escape sequences from bat's input, see #2999 (@eth-p)--binary=as-textfor printing binary content, see issue #2974 and PR #2976 (@einfachIrgendwer0815)--completion <shell>, see issue #2057 and PR #3126 (@einfachIrgendwer0815)Bugfixes
NO_COLORsupport, see #2767 (@acuteenvy)timedependency caused by standard library regression #3045 (@cyqsimon)$LESSOPENsupport, see #2805 (@Anomalocaridid)Other
zshcompletion, see #2772 (@okapia)bat, see #2995 (@akinomyoga)Syntaxes
cmd-help: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp).xshfiles withxonshsyntax that is Python, see #2840 (@anki-code).jsoncwithjsonsyntax, see #2795 (@mxaddict).jsonldfiles withjsonsyntax, see #3037 (@vorburger).textprotofiles withProtoBufsyntax, see #3038 (@vorburger).geojsonfiles withjsonsyntax, see #3084 (@mvaaltola).aws/{config,credentials}, see #2795 (@mxaddict)/etc/wireguard/*.conf, see #2874 (@cyqsimon)*.mkdfiles toMarkdownsyntax, see issue #3060 and PR #3061 (@einfachIrgendwer0815)/etc/pacman.conf#2961 (@cyqsimon)uv.lockwithTOMLsyntax, see #3132 (@fepegar)Themes
batas a librarysyntax_mapping::SyntaxMapping#2755 (@cyqsimon)SyntaxMapping::get_syntax_foris now correctly publicSyntaxMapping::{empty,builtin}are removed; useSyntaxMapping::newinsteadSyntaxMapping::mappingsis replaced bySyntaxMapping::{builtin,custom,all}_mappingsController::run_with_error_handler's error handlerFnMut, see #2831 (@rhysd)theme::themefor choosing an appropriate theme based on theterminal's color scheme, see #2896 (@bash)
HighlightingAssets::default_theme. Usetheme::default_themeinstead.PrettyPrinter::print_with_writerfor custom output destinations, see #3070 (@kojix2)v0.24.0Compare Source
Features
BAT_PAGING, see #2629 (@einfachIrgendwer0815)--features lessopen) support forLESSOPENandLESSCLOSE. See #1597, #1739, #2444, #2602, and #2662 (@Anomalocaridid)Bugfixes
morenot being found on Windows when provided viaBAT_PAGER, see #2570, #2580, and #2651 (@mataha)--map-syntaxto be case insensitive #2520serde_yamlto0.9. See #2627 (@Raghav-Bell)LineRange::fromandLineRange::parse_range, see #2674, #2698 (@skoriop)-ppoverride--pagingand vice versa when passed as a later argument, see #2660 (@J-Kappes)Other
is-terminalcrate instead ofatty, see #2530 (@nickelc)Syntaxes
os-releasewithbashsyntax, see #2587 (@cyqsimon)ContainerfilewithDockerfilesyntax, see #2606 (@einfachIrgendwer0815)kshfiles withbashsyntax, see #2633 (@johnmatthiggins)sariffiles withJSONsyntax, see #2695 (@rhysd)ronfiles withrustsyntax, see #2427 (@YeungOnion).dpkg-newand.dpkg-tmpto ignored suffixe, see #2595 (@scop)*.jsonl=>json, see #2539 (@WinterCore)Juliasyntax, see #2553 (@dependabot)NSISsupport, see #2577 (@idleberg)ssh-config, see #2697 (@mrmeszaros)*.debdiff=>diff, see #2947 (@jacg)batas a libraryController::run()andController::run_with_error_handler(), see #2618 (@Piturnah)v0.23.0Compare Source
Features
-Sand--chop-long-linesflags as aliases for--wrap=never. See #2309 (@johnmatthiggins)--nonprintable-notation=caretto support showing non-printable characters using caret notation. See #2429 (@einfachIrgendwer0815)Bugfixes
bat cache --clearnot clearing the--targetdir if specified. See #2393 (@miles170)Other
cachesubcommand, see #2399 (@cyqsimon)Syntaxes
todo.txtsyntax, see #2375 (@BANOnotIT)requirements.txtsyntax, see #2361 (@Freed-Wu)pdm.lockwithTOMLsyntax, see #2410Todo.txt: Fix highlighting of contexts and projects at beginning of done.txt, see #2411cmd-help: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)Themes
batas a libraryPrettyPrinter::headercorrectly displays a header with the filename, see #2378 and #2406 (@cstyles)v0.22.1Compare Source
Bugfixes
batuse cases starts working again. See #2308 (@Enselic)v0.22.0Compare Source
Features
Bugfixes
PAGER=batcat. See #2235 (@johnmatthiggins)--no-paging/-Poverride--paging=...if passed as a later arg, see #2201 (@themkat)--map-syntaxand--ignored-suffixnow works together, see #2093 (@czzrr)Other
Syntaxes
fstabdump and pass fields, see #2246 (@yuvalmo)Command Helpsyntax, see #2255Julia: Fix syntax highlighting for function name starting withstruct, see #2230LiveScript, see #2291.mtsand.ctsfiles with theTypeScriptsyntax. See #2236 (@kidonng)batas a librarybat::PrettyPrinter::syntaxes()iterate over newbat::Syntaxstruct instead of&syntect::parsing::SyntaxReference. See #2222 (@Enselic)chronotope/chrono (chrono)
v0.4.42: 0.4.42Compare Source
What's Changed
wasm32-linuxsupport by @arjunr2 in #1707tzdataparsing by @ldm0 in #1679?Sizedbound to related methods ofDelayedFormat::write_toby @Huliiiiii in #1721from_timestamp_secsmethod toDateTimeby @jasonaowen in #1719v0.4.41Compare Source
What's Changed
subsec_microsandsubsec_millismethods toTimeDeltaby @ggoetz in #1668NaiveDateTime::UNIX_EPOCHby @robertbastian in #1670as_seconds_f32andas_seconds_f64forTimeDeltaby @ggoetz in #1671num_days_in_monthmethod toDateliketrait by @aslilac in #1673WeekdaySet, a collection ofWeekdaythat isCopyby @Kinrany in #1676v0.4.40: 0.4.40Compare Source
What's Changed
write_toforDelayedFormatby @tugtugtug in #1654v0.4.39: 0.4.39Compare Source
What's Changed
from_timestamp_nanos()by @sgoll in #1591NaiveWeekmethods by @bragov4ik in #1600PartialEq,Eq,Hash,CopyandCloneonNaiveWeekby @DSeeLP in #1618#[inline]tonum_daysby @CommanderStorm in #1627v0.4.38Compare Source
This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient
days_sincemethod for theWeekdaytype.Chrono 0.4.38 also removes the long deprecated
rustc-serializefeature. Support forrustc-serializewill 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)forDateTimeinstead of a manual implementation. It is reverted in this release.Removals
rustc-serializefeature (#1548, thanks @workingjubilee)Additions
Weekday::days_since(#1249, based on #216 by @clarfonthey)TimeDelta::checked_mulandTimeDelta::checked_div(#1565, thanks @Zomtir)Fixes
CopyforDateTimeif offset isCopy(#1573)Internal
test_encodable_jsonandtest_decodable_jsonfunctions (#1550)cargo hack check(#1553)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.37Compare Source
Version 0.4.36 introduced an unexpected breaking change and was yanked. In it
LocalResultwas renamed toMappedLocalTimeto avoid the impression that it is aResulttype 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 nameMappedLocalTimethe 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.36Compare Source
This release un-deprecates the methods on
TimeDeltathat 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:Additions
DateTime::with_time()(#1510)Deprecations
TimeDeltadeprecations (#1543)TimeStamp::timestamp_subsec_nanos, which was missed in the 0.4.35 release (#1486)Documentation
Internal
CopyandSendimpls (#1492, thanks @erickt)NaiveDateunit tests (#1500, thanks @Zomtir)LocalResulttoTzResolution, add alias (#1501)NaiveDate::from_yof(#1518)DateTime::date_naiveandNaiveDate::diff_months(#1530)unwrapin UnixLocaltype (#1533)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.35Compare 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. TheNaiveDateTimetype 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 theDateTime<Utc>type, or from theTimeZonetrait.Converting from
NaiveDateTimetoDateTime<Utc>is simple with.and_utc(), and in the other direction with.naive_utc().The panicking constructors of
TimeDelta(the new name of theDurationtype) 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
NaiveDatenow includes a niche. So nowOption<NaiveDate>,Option<NaiveDateTime>andOption<DateTime<Tz>>are the same size as their base types.format::Numericandformat::Fixedare marked asnon_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
DateTime::{from_timestamp_micros, from_timestamp_nanos}(#1234)Parsed(#1465)Deprecations
NaiveDateTime(#1473)TimeDelta(#1450)Changes/fixes
NonZeroI32insideNaiveDate(#1207)format::Numericandformat::Fixedasnon_exhaustive(#1430)Parsedfixes to error values (#1439)overflowing_naive_localinDateTime::checked_add*(#1333)Parsed::set_*(#1465)Documentation
Parsed(#1439)Internal
internalsmodule (#1428, #1429, #1431, #1432, #1433, #1438)x86_64-unknown-illumosinstead of Solaris (#1437)cargo hack checkon Linux (#1442)parse_internal(#1459)SerdeError(#1458)NaiveDate::from_isoywda bit (#1464)Thanks to all contributors on behalf of the chrono team, @djc and @pitdicker!
v0.4.34Compare Source
Notable changes
Durationtype toTimeDelta. This removes the confusion between chrono's type and the laterDurationtype in the standard library. It will remain available under the old name as a type alias for compatibility.Localis 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.Displayformat ofTimeDeltais 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
TimeDelta::milliseconds(#1385, thanks @danwilliams)DurationExceedsTimestampinDurationRound(#1403, thanks @joroKr21)%X(chronotope/pure-rust-locales#12, #1420)GetTimeZoneInformationForYear(#1017)Additions
TimeDelta::try_milliseconds(#1385, thanks @danwilliams)TimeDelta::new(#1337)StrftimeItems::{parse, parse_to_owned}and more documentation (#1184)format::Locale(via chronotope/pure-rust-locales#8)Changes
DurationtoTimeDelta, add type alias (#1406)TimeDeltamethods const (#1337)NaiveDate,NaiveWeek,NaiveTimeandNaiveDateTimeconst where possible (#1337)DateTimeconst where possible (#1400)Displayformat ofTimeDeltaconform better to ISO 8601 (#1328)Documentation
timestamp_micros's Example doc (#1338 via #1386, thanks @emikitas)TimeDeltaconstructors (#1385, thanks @danwilliams)Internal
mainbranch, work on 0.5 happens in the0.5.xbranch (#1390, #1402).impl Arbitrary for DateTimeand set up CI test (#1336)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.
This PR was generated by Mend Renovate. View the repository job log.