-
Notifications
You must be signed in to change notification settings - Fork 1
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 dependency fmt to v10.2.1 #49
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe update modifies the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- WORKSPACE (1 hunks)
Additional comments not posted (3)
WORKSPACE (3)
39-39
: LGTM!The updated
sha256
value ensures the integrity of the new version of thefmt
library.The code changes are approved.
40-40
: LGTM!The updated
strip_prefix
value aligns with the new version of thefmt
library.The code changes are approved.
42-42
: LGTM!The updated
urls
value ensures that the correct version of thefmt
library is downloaded.The code changes are approved.
This PR contains the following updates:
10.0.0
->10.2.1
Release Notes
fmtlib/fmt (fmt)
v10.2.1
Compare Source
https://github.com/fmtlib/fmt/issues/378537https://github.com/fmtlib/fmt/pull/3786ull/3786). Thanks @saraedum.
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.
Made
fmt::format_int
constexpr
https://github.com/fmtlib/fmt/issues/403140https://github.com/fmtlib/fmt/pull/4032ull/4032). Thanks @dixlorenz.
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).
v10.1.1
Compare Source
std::atomic
andatomic_flag
https://github.com/fmtlib/fmt/pull/357435https://github.com/fmtlib/fmt/pull/3594ull/3594).
Thanks @wangzw and @AlexGuteniev.
formatter<string>
after instantiation when compiled with gcc and C++https://github.com/fmtlib/fmt/issues/3584ues/3584).
https://github.com/fmtlib/fmt/issues/358735https://github.com/fmtlib/fmt/pull/3597ulhttps://github.com/fmtlib/fmt/pull/3605mt/pull/3605).
Thanks @MathewBensonCode.
fmt::to_string
work with types that haveformat_as
overloahttps://github.com/fmtlib/fmt/pull/35753575). Thanks @phprus.
formatted_size
work with integral format specifiers atcompile tihttps://github.com/fmtlib/fmt/pull/35913591).
Thanks @elbeno.
no_unique_address
attribute on clang-clhttps://github.com/fmtlib/fmt/pull/35993599). Thanks @lukester1975.
https://github.com/fmtlib/fmt/issues/359835https://github.com/fmtlib/fmt/pull/3599ull/3599). Thanks @YuHuanTin.
https://github.com/fmtlib/fmt/issues/353035https://github.com/fmtlib/fmt/pull/3571ull/3571). Thanks @joycebrum.
https://github.com/fmtlib/fmt/pull/359135https://github.com/fmtlib/fmt/pull/3592ulhttps://github.com/fmtlib/fmt/pull/3593mthttps://github.com/fmtlib/fmt/pull/3602ib/fmt/pull/3602).
v10.1.0
Compare Source
Optimized format string compilation resulting in up to 40% speed up
in compiled
format_to
and ~4x speed up in compiledformat_to_n
on a concatenation benchmahttps://github.com/fmtlib/fmt/issues/3133uehttps://github.com/fmtlib/fmt/issues/3484/issues/3484).
{fmt} 10.0:
{fmt} 10.1:
Optimized storage of an empty allocator in
basic_memory_buffer
https://github.com/fmtlib/fmt/pull/34853485). Thanks @Minty-Meeo.
Added formatters for proxy references to elements of
std::vector<bool>
andstd::bitset<N>
https://github.com/fmtlib/fmt/issues/356735https://github.com/fmtlib/fmt/pull/3570ull/3570). For example
(godbolt):
Thanks @phprus and @felix642.
Fixed an ambiguous formatter specialization for containers that look
like container adaptors such as
boost::flat_set
https://github.com/fmtlib/fmt/issues/355635https://github.com/fmtlib/fmt/pull/3561ull/3561). Thanks @5chmidti.
Fixed compilation when formatting durations not convertible from
std::chrono::seconds
https://github.com/fmtlib/fmt/pull/34303430). Thanks @patlkli.
Made the
formatter
specialization forchar*
const-correcthttps://github.com/fmtlib/fmt/pull/34323432). Thanks @timsong-cpp.
Made
{}
and{:}
handled consistently during compile-time checkshttps://github.com/fmtlib/fmt/issues/35263526).
Disallowed passing temporaries to
make_format_args
to improve APIsafety by preventing dangling references.
Improved the compile-time error for unformattable types
https://github.com/fmtlib/fmt/pull/34783478). Thanks @BRevzin.
Improved the floating-point formatter
https://github.com/fmtlib/fmt/pull/344834https://github.com/fmtlib/fmt/pull/3450ull/3450).
Thanks @florimond-collette.
Fixed handling of precision for
long double
larger than 64 bits.https://github.com/fmtlib/fmt/issues/353935https://github.com/fmtlib/fmt/issues/3564ues/3564).
Made floating-point and chrono tests less platform-dependent
https://github.com/fmtlib/fmt/issues/333733https://github.com/fmtlib/fmt/issues/3433uehttps://github.com/fmtlib/fmt/pull/3434mt/pull/3434). Thanks @phprus.
Removed the remnants of the Grisu floating-point formatter that has
been replaced by Dragonbox in earlier versions.
Added
throw_format_error
to the public APIhttps://github.com/fmtlib/fmt/pull/35513551). Thanks @mjerabek.
Made
FMT_THROW
assert even if assertions are disabled whencompiling with exceptions disablhttps://github.com/fmtlib/fmt/issues/3418uehttps://github.com/fmtlib/fmt/pull/3439mt/pull/3439). Thanks @BRevzin.
Made
format_as
andstd::filesystem::path
formatter work withexotic code unit typehttps://github.com/fmtlib/fmt/pull/3457ulhttps://github.com/fmtlib/fmt/pull/3476mt/pull/3476). Thanks @gix and @hmbj.
Added support for the
?
format specifier tostd::filesystem::path
and made the default unescaped forconsistency with strings.
Deprecated the wide stream overload of
printf
.Removed unused
basic_printf_parse_context
.Improved RTTI detection used when formatting exceptions
https://github.com/fmtlib/fmt/pull/34683468). Thanks @danakj.
Improved compatibility with VxWorks7
https://github.com/fmtlib/fmt/pull/34673467). Thanks @wenshan1.
Improved documentation
https://github.com/fmtlib/fmt/issues/317431https://github.com/fmtlib/fmt/issues/3423uehttps://github.com/fmtlib/fmt/pull/3454mthttps://github.com/fmtlib/fmt/issues/3458/fhttps://github.com/fmtlib/fmt/pull/3461fmhttps://github.com/fmtlib/fmt/issues/3487m/https://github.com/fmtlib/fmt/pull/3515hub.com/README: Add link to merged clang-tidy check fmtlib/fmt#3515).
Thanks @zencatalyst, @rlalik and @mikecrowe.
Improved build and CI configurations
https://github.com/fmtlib/fmt/issues/344934https://github.com/fmtlib/fmt/pull/3451ulhttps://github.com/fmtlib/fmt/pull/3452mthttps://github.com/fmtlib/fmt/pull/3453ibhttps://github.com/fmtlib/fmt/pull/3459fmhttps://github.com/fmtlib/fmt/issues/3481m/https://github.com/fmtlib/fmt/pull/3486huhttps://github.com/fmtlib/fmt/issues/3489ithttps://github.com/fmtlib/fmt/pull/3496pshttps://github.com/fmtlib/fmt/issues/3517tthttps://github.com/fmtlib/fmt/pull/3523
https://github.com/fmtlib/fmt/pull/3563523,
cmake: fix FMT_PKGCONFIG_DIR path fmtlib/fmt#3563).
Thanks @joycebrum, @glebm, @phprus, @petrmanek, @setoye and @abouvier.
Fixed various warnings and compilation issues
https://github.com/fmtlib/fmt/issues/340834https://github.com/fmtlib/fmt/issues/3424uehttps://github.com/fmtlib/fmt/issues/3444/ihttps://github.com/fmtlib/fmt/pull/3446ibhttps://github.com/fmtlib/fmt/pull/3475fmhttps://github.com/fmtlib/fmt/pull/3482cohttps://github.com/fmtlib/fmt/issues/3492b.https://github.com/fmtlib/fmt/pull/3493/ghttps://github.com/fmtlib/fmt/pull/3508pshttps://github.com/fmtlib/fmt/issues/3509tthttps://github.com/fmtlib/fmt/issues/3533 https://github.com/fmtlib/fmt/pull/354253https://github.com/fmtlib/fmt/issues/3543/3https://github.com/fmtlib/fmt/issues/3540suhttps://github.com/fmtlib/fmt/pull/3544fmhttps://github.com/fmtlib/fmt/issues/3548lihttps://github.com/fmtlib/fmt/pull/3549/fhttps://github.com/fmtlib/fmt/pull/3550ubhttps://github.com/fmtlib/fmt/pull/3552github.com/Remove std::copy usage. fmtlib/fmt#3550,
Add missing inline specifier fmtlib/fmt#3552).
Thanks @adesitter, @hmbj, @Minty-Meeo, @phprus, @TobiSchluter,
@kieranclancy, @alexeedm, @jurihock, @Ozomahtli and @razaqq.
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 was generated by Mend Renovate. View the repository job log.