-
Notifications
You must be signed in to change notification settings - Fork 5
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 v11.1.2 #68
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Free review on us!CodeRabbit is offering free reviews until Wed Jan 15 2025 to showcase some of the refinements we've made. 🪧 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
2624b5e
to
57c5c87
Compare
57c5c87
to
ab1abd7
Compare
This PR contains the following updates:
11.0.2
->11.1.2
Release Notes
fmtlib/fmt (fmt)
v11.1.2
Compare Source
Fixed ABI compatibility with earlier 11.x versions
https://github.com/fmtlib/fmt/issues/42924292).
Added
wchar_t
support to thestd::bitset
formatterhttps://github.com/fmtlib/fmt/issues/428542https://github.com/fmtlib/fmt/pull/4286ulhttps://github.com/fmtlib/fmt/issues/4289/ihttps://github.com/fmtlib/fmt/pull/4290ib/fmt/pull/4290). Thanks @phprus.
Prefixed CMake components with
fmt-
to simplify usage of {fmt} viaadd_subdirectory
(https://github.com/fmtlib/fmt/issues/4283).Updated docs for meson (https://github.com/fmtlib/fmt/pull/4291).
Thanks @trim21.
Fixed a compilation error in chrono on nvcc
https://github.com/fmtlib/fmt/issues/429742https://github.com/fmtlib/fmt/pull/4301ull/4301). Thanks @breyerml.
Fixed various warnings
https://github.com/fmtlib/fmt/pull/428842https://github.com/fmtlib/fmt/pull/4299ull/4299). Thanks @GamesTrap and @edo9300.
v11.1.1
Compare Source
Fixed ABI compatibility with earlier 11.x versions
https://github.com/fmtlib/fmt/issues/42784278).
Defined CMake components (
core
anddoc
) to allow docs to be installedseparatehttps://github.com/fmtlib/fmt/pull/42764276).
Thanks @carlsmedstad.
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.