chore(deps): update dependency fmt to v11.1.0 #3031
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:
11.0.2
->11.1.0
Release Notes
fmtlib/fmt (fmt)
v11.1.0
Compare Source
Improved C++20 module support
https://github.com/fmtlib/fmt/issues/408140https://github.com/fmtlib/fmt/pull/4083ulhttps://github.com/fmtlib/fmt/pull/4084mthttps://github.com/fmtlib/fmt/pull/4152ibhttps://github.com/fmtlib/fmt/issues/4153tlhttps://github.com/fmtlib/fmt/pull/4169cohttps://github.com/fmtlib/fmt/issues/4190b.https://github.com/fmtlib/fmt/issues/4234ithttps://github.com/fmtlib/fmt/pull/4239ps://github.com/Export all range join overloads fmtlib/fmt#4239).
Thanks @kamrann and @Arghnews.
Reduced debug (unoptimized) binary code size and the number of template
instantiations when passing formatting arguments. For example, unoptimized
binary code size for
fmt::print("{}", 42)
was reduced by ~40% on GCC and~60% on clang (x86-64).
GCC:
(godbolt).
(godbolt).
Clang:
(godbolt).
(godbolt).
Added an experimental
fmt::writer
API that can be used for writing todifferent destinations such as files or strinhttps://github.com/fmtlib/fmt/issues/2354ues/2354).
For example (godbolt):
Added width and alignment support to the formatter of
std::error_code
.Made
std::expected<void, E>
formattablehttps://github.com/fmtlib/fmt/issues/414541https://github.com/fmtlib/fmt/pull/4148ull/4148).
For example (godbolt):
prints
Thanks @phprus.
Made
fmt::is_formattable<void>
SFINAE-friendlyhttps://github.com/fmtlib/fmt/issues/41474147).
Added support for
_BitInt
formatting when using clanghttps://github.com/fmtlib/fmt/issues/400740https://github.com/fmtlib/fmt/pull/4072ulhttps://github.com/fmtlib/fmt/issues/4140/ihttps://github.com/fmtlib/fmt/issues/4173/fhttps://github.com/fmtlib/fmt/pull/4176Require clang >=15 for _BitInt support fmtlib/fmt#4176).
For example (godbolt):
Thanks @Arghnews.
Added the
n
specifier for tuples and pairshttps://github.com/fmtlib/fmt/pull/41074107). Thanks @someonewithpc.
Added support for tuple-like types to
fmt::join
https://github.com/fmtlib/fmt/issues/422642https://github.com/fmtlib/fmt/pull/4230ull/4230). Thanks @phprus.
Made more types formattable at compile time
https://github.com/fmtlib/fmt/pull/41274127). Thanks @AnthonyVH.
Implemented a more efficient compile-time
fmt::formatted_size
https://github.com/fmtlib/fmt/issues/410241https://github.com/fmtlib/fmt/pull/4103ull/4103). Thanks @phprus.
Fixed compile-time formatting of some string types
https://github.com/fmtlib/fmt/pull/40654065). Thanks @torshepherd.
Made compiled version of
fmt::format_to
work withstd::back_insert_iterator<std::vector<char>>
https://github.com/fmtlib/fmt/issues/420642https://github.com/fmtlib/fmt/pull/4211ull/4211). Thanks @phprus.
Added a formatter for
std::reference_wrapper
https://github.com/fmtlib/fmt/pull/416341https://github.com/fmtlib/fmt/pull/4164ull/4164). Thanks @yfeldblum and @phprus.
Added experimental padding support (glibc
strftime
extension) to%m
,%j
and
%Y
(https://github.com/fmtlib/fmt/pull/4161). Thanks @KKhanhH.Made microseconds formatted as
us
instead ofµs
if the Unicode support isdisablhttps://github.com/fmtlib/fmt/issues/40884088).
Fixed an unreleased regression in transcoding of surrogate pairs
https://github.com/fmtlib/fmt/issues/409440https://github.com/fmtlib/fmt/pull/4095ull/4095). Thanks @phprus.
Made
fmt::appender
satisfystd::output_iterator
concepthttps://github.com/fmtlib/fmt/issues/409240https://github.com/fmtlib/fmt/pull/4093ull/4093). Thanks @phprus.
Made
std::iterator_traits<fmt::appender>
standard-conforminghttps://github.com/fmtlib/fmt/pull/41854185). Thanks @CaseyCarter.
Made it easier to reuse
fmt::formatter<std::string_view>
for types withan implicit conversion to
std::string_view
https://github.com/fmtlib/fmt/issues/403640https://github.com/fmtlib/fmt/pull/4055ull/4055). Thanks @Arghnews.
Made it possible to disable
<filesystem>
use viaFMT_CPP_LIB_FILESYSTEM
for compatibility with some video game console SDKs, e.g. Nintendo Switch Shttps://github.com/fmtlib/fmt/issues/4257uehttps://github.com/fmtlib/fmt/pull/4258mthttps://github.com/fmtlib/fmt/pull/4259ib/fmt/pull/4259). Thanks @W4RH4WK and @phprus.
Fixed compatibility with platforms that use 80-bit
long double
https://github.com/fmtlib/fmt/issues/424542https://github.com/fmtlib/fmt/pull/4246ull/4246). Thanks @jsirpoma.
Added support for UTF-32 code units greater than
0xFFFF
in fillhttps://github.com/fmtlib/fmt/issues/42014201).
Fixed handling of legacy encodings on Windows with GCC
https://github.com/fmtlib/fmt/issues/41624162).
Made
fmt::to_string
takefmt::basic_memory_buffer
by const referencehttps://github.com/fmtlib/fmt/issues/426142https://github.com/fmtlib/fmt/pull/4262ull/4262). Thanks @sascha-devel.
Added
fmt::dynamic_format_arg_store::size
https://github.com/fmtlib/fmt/pull/42704270). Thanks @hannes-harnisch.
Removed the ability to control locale usage via an undocumented
FMT_STATIC_THOUSANDS_SEPARATOR
in favor ofFMT_USE_LOCALE
.Renamed
FMT_EXCEPTIONS
toFMT_USE_EXCEPTIONS
for consistency with othersimilar macros.
Improved include directory ordering to reduce the chance of including
incorrect headers when using multiple versions of {fmhttps://github.com/fmtlib/fmt/pull/4116ull/4116). Thanks @cdzhan.
Made it possible to compile a subset of {fmt} without the C++ runtime.
Improved documentation and README
https://github.com/fmtlib/fmt/pull/406640https://github.com/fmtlib/fmt/issues/4117uehttps://github.com/fmtlib/fmt/issues/4203/ihttps://github.com/fmtlib/fmt/pull/4235ib/fmt/pull/4235). Thanks @zyctree and @nikola-sh.
Improved the documentation generator (https://github.com/fmtlib/fmt/pull/4110,
https://github.com/fmtlib/fmt/pull/41154115). Thanks @rturrado.
Improved CI (https://github.com/fmtlib/fmt/pull/4155,
https://github.com/fmtlib/fmt/pull/41514151). Thanks @phprus.
Fixed various warnings and compilation issues
https://github.com/fmtlib/fmt/issues/270827https://github.com/fmtlib/fmt/issues/4091uehttps://github.com/fmtlib/fmt/issues/4109/ihttps://github.com/fmtlib/fmt/issues/4113/fhttps://github.com/fmtlib/fmt/issues/4125tlhttps://github.com/fmtlib/fmt/issues/4129m/https://github.com/fmtlib/fmt/pull/4130huhttps://github.com/fmtlib/fmt/pull/4131/ghttps://github.com/fmtlib/fmt/pull/4132pshttps://github.com/fmtlib/fmt/issues/4133tthttps://github.com/fmtlib/fmt/issues/4144 https://github.com/fmtlib/fmt/issues/41504,https://github.com/fmtlib/fmt/issues/4158/4https://github.com/fmtlib/fmt/pull/4159ishttps://github.com/fmtlib/fmt/issues/4160fmhttps://github.com/fmtlib/fmt/pull/4170lihttps://github.com/fmtlib/fmt/issues/4177/fhttps://github.com/fmtlib/fmt/pull/4187.chttps://github.com/fmtlib/fmt/pull/4188gihttps://github.com/fmtlib/fmt/pull/4194s:https://github.com/fmtlib/fmt/pull/4200hthttps://github.com/fmtlib/fmt/issues/4205 https://github.com/fmtlib/fmt/issues/4207 https://github.com/fmtlib/fmt/pull/420842https://github.com/fmtlib/fmt/pull/4210sshttps://github.com/fmtlib/fmt/issues/4220mthttps://github.com/fmtlib/fmt/issues/4231/fhttps://github.com/fmtlib/fmt/issues/4232ibhttps://github.com/fmtlib/fmt/pull/4233m/https://github.com/fmtlib/fmt/pull/4236huhttps://github.com/fmtlib/fmt/pull/4267:/https://github.com/fmtlib/fmt/pull/4271ttps://github.com/Replace std::forward for clang-tidy fmtlib/fmt#4236,
Use the _MSVC_STL_UPDATE macro to detect STL fmtlib/fmt#4267,
Fix compatibility with older versions of VS fmtlib/fmt#4271).
Thanks @torsten48, @Arghnews, @tinfoilboy, @aminya, @Ottani, @zeroomega,
@c4v4, @kongy, @vinayyadav3016, @sergio-nsk, @phprus and @YexuanXiao.
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.