chore(deps): update dependency fmt to v10.2.1 #38
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.
This PR contains the following updates:
10.1.1
->10.2.1
Release Notes
fmtlib/fmt (fmt)
v10.2.1
Compare Source
v10.2.0
Compare Source
Added support for the
%j
specifier (the number of days) forstd::chrono::duration
(https://github.com/fmtlib/fmt/issues/3643,https://github.com/fmtlib/fmt/pull/37323732). Thanks @intelfx.
Added support for the chrono suffix for days and changed
the suffix for minutes from "m" to the correct "mihttps://github.com/fmtlib/fmt/issues/3662uehttps://github.com/fmtlib/fmt/pull/3664mt/pull/3664).
For example (godbolt):
Thanks @Richardk2n.
Fixed an overflow in
std::chrono::time_point
formatting with large dateshttps://github.com/fmtlib/fmt/issues/372537https://github.com/fmtlib/fmt/pull/3727ull/3727). Thanks @cschreib.
Added a formatter for
std::source_location
https://github.com/fmtlib/fmt/pull/37303730).
For example (godbolt):
prints
Thanks @felix642.
Added a formatter for
std::bitset
https://github.com/fmtlib/fmt/pull/36603660).
For example (godbolt):
Thanks @muggenhor.
Added an experimental
nested_formatter
that provides an easy way ofapplying a formatter to one or more subobjects while automatically handling
width, fill and alignment. For example:
prints
Added the generic representation (
g
) tostd::filesystem::path
https://github.com/fmtlib/fmt/issues/371537https://github.com/fmtlib/fmt/pull/3729ull/3729). For example:
prints
"C:/foo"
on Windows.Thanks @js324.
Made
format_as
work with referenceshttps://github.com/fmtlib/fmt/pull/37393739). Thanks @tchaikov.
Fixed formatting of invalid UTF-8 with precision
https://github.com/fmtlib/fmt/issues/32843284).
Fixed an inconsistency between
fmt::to_string
andfmt::format
https://github.com/fmtlib/fmt/issues/36843684).
Disallowed unsafe uses of
fmt::styled
https://github.com/fmtlib/fmt/issues/36253625):
Pass
fmt::styled(...)
as a parameter instead.Added a null check when formatting a C string with the
s
specifierhttps://github.com/fmtlib/fmt/issues/37063706).
Disallowed the
c
specifier forbool
https://github.com/fmtlib/fmt/issues/372637https://github.com/fmtlib/fmt/pull/3734ull/3734). Thanks @js324.
Made the default formatting unlocalized in
fmt::ostream_formatter
forconsistency with the rest of the librahttps://github.com/fmtlib/fmt/issues/3460ues/3460).
Fixed localized formatting in bases other than decimal
https://github.com/fmtlib/fmt/issues/369336https://github.com/fmtlib/fmt/pull/3750ull/3750). Thanks @js324.
Fixed a performance regression in experimental
fmt::ostream::print
https://github.com/fmtlib/fmt/issues/36743674).
Added synchronization with the underlying output stream when writing to
the Windows consohttps://github.com/fmtlib/fmt/pull/3668ulhttps://github.com/fmtlib/fmt/issues/3688/ihttps://github.com/fmtlib/fmt/pull/3689ib/fmt/pull/3689).
Thanks @Roman-Koshelev and @dimztimz.
Changed to only export
format_error
when {fmt} is built as a sharedlibrahttps://github.com/fmtlib/fmt/issues/362636https://github.com/fmtlib/fmt/pull/3627ull/3627). Thanks @phprus.
Made
fmt::streamed
constexpr
.https://github.com/fmtlib/fmt/pull/36503650). Thanks @muggenhor.
Enabled
consteval
on older versions of MSVChttps://github.com/fmtlib/fmt/pull/37573757). Thanks @phprus.
Added an option to build without
wchar_t
support on Windowshttps://github.com/fmtlib/fmt/issues/363136https://github.com/fmtlib/fmt/pull/3636ull/3636). Thanks @glebm.
Improved build and CI configuration
https://github.com/fmtlib/fmt/pull/367936https://github.com/fmtlib/fmt/issues/3701uehttps://github.com/fmtlib/fmt/pull/3702mthttps://github.com/fmtlib/fmt/pull/3749ib/fmt/pull/3749).
Thanks @jcar87, @pklima and @tchaikov.
Fixed various warnings, compilation and test issues
https://github.com/fmtlib/fmt/issues/360736https://github.com/fmtlib/fmt/pull/3610ulhttps://github.com/fmtlib/fmt/pull/3624mthttps://github.com/fmtlib/fmt/pull/3630ibhttps://github.com/fmtlib/fmt/pull/3634fmhttps://github.com/fmtlib/fmt/pull/3638cohttps://github.com/fmtlib/fmt/issues/3645b.https://github.com/fmtlib/fmt/issues/3646ithttps://github.com/fmtlib/fmt/pull/3647pshttps://github.com/fmtlib/fmt/pull/3652 hhttps://github.com/fmtlib/fmt/issues/3654 https://github.com/fmtlib/fmt/pull/366365https://github.com/fmtlib/fmt/issues/3670/3https://github.com/fmtlib/fmt/pull/3680ishttps://github.com/fmtlib/fmt/issues/3694fmhttps://github.com/fmtlib/fmt/pull/3695lihttps://github.com/fmtlib/fmt/pull/3699omhttps://github.com/fmtlib/fmt/issues/3705.chttps://github.com/fmtlib/fmt/issues/3710ubhttps://github.com/fmtlib/fmt/issues/3712gihttps://github.com/fmtlib/fmt/pull/3713tphttps://github.com/fmtlib/fmt/issues/3714 https://github.com/fmtlib/fmt/pull/3716,
https://github.com/fmtlib/fmt/pull/3723s/https://github.com/fmtlib/fmt/issues/3738ulhttps://github.com/fmtlib/fmt/issues/3740/phttps://github.com/fmtlib/fmt/pull/3741/fhttps://github.com/fmtlib/fmt/pull/3743fmhttps://github.com/fmtlib/fmt/issues/3745cohttps://github.com/fmtlib/fmt/pull/3747huhttps://github.com/fmtlib/fmt/pull/3748/ghttps://github.com/fmtlib/fmt/pull/3751tthttps://github.com/fmtlib/fmt/pull/3754 https://github.com/fmtlib/fmt/pull/37558,https://github.com/fmtlib/fmt/issues/376075https://github.com/fmtlib/fmt/pull/3762llhttps://github.com/fmtlib/fmt/issues/3763puhttps://github.com/fmtlib/fmt/pull/3764fmhttps://github.com/fmtlib/fmt/issues/3774lihttps://github.com/fmtlib/fmt/pull/3779/
format_as
converting struct totuple
no longer works fmtlib/fmt#3763,Fix wchar_t to char conversion warnings fmtlib/fmt#3764,
chrono-test failing on i386 and armhf on Ubuntu fmtlib/fmt#3774,
Consistently use
fmt::
when invokingformat_to
. fmtlib/fmt#3779).Thanks @danakj, @vinayyadav3016, @cyyever, @phprus, @qimiko, @saschasc,
@gsjaardema, @lazka, @Zhaojun-Liu, @carlsmedstad, @hotwatermorning,
@cptFracassa, @kuguma, @PeterJohnson, @H1X4Dev, @asantoni, @eltociear,
@msimberg, @tchaikov, @waywardmonkeys.
Improved documentation and README
https://github.com/fmtlib/fmt/issues/208620https://github.com/fmtlib/fmt/issues/3637uehttps://github.com/fmtlib/fmt/pull/3642mthttps://github.com/fmtlib/fmt/pull/3653ibhttps://github.com/fmtlib/fmt/pull/3655fmhttps://github.com/fmtlib/fmt/pull/3661cohttps://github.com/fmtlib/fmt/issues/3673b.https://github.com/fmtlib/fmt/pull/3677/ghttps://github.com/fmtlib/fmt/pull/3737pshttps://github.com/fmtlib/fmt/issues/3742tthttps://github.com/fmtlib/fmt/pull/3744
Fix README file table fmtlib/fmt#3744).
Thanks @idzm, @perlun, @joycebrum, @fennewald, @reinhardt1053, @GeorgeLS.
Updated CI dependencies
https://github.com/fmtlib/fmt/pull/361536https://github.com/fmtlib/fmt/pull/3622ulhttps://github.com/fmtlib/fmt/pull/3623mthttps://github.com/fmtlib/fmt/pull/3666ibhttps://github.com/fmtlib/fmt/pull/3696fmhttps://github.com/fmtlib/fmt/pull/3697cohttps://github.com/fmtlib/fmt/pull/3759huhttps://github.com/fmtlib/fmt/pull/3782/github.com/Bump actions/upload-artifact from 3.1.2 to 4.0.0 fmtlib/fmt#3782).
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.