chore(deps): update dependency fmt to v11.2.0 - #540
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Stale pull request message. Please comment to remove stale tag. Otherwise this pr will be closed soon. |
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.2.0Release Notes
fmtlib/fmt (fmt)
v11.2.0Compare Source
Added the
sspecifier forstd::error_code. It allows formatting an errormessage as a string. For example:
prints
(The actual message is platform-specific.)
Fixed formatting of
std::chrono::local_timeandtmhttps://github.com/fmtlib/fmt/issues/381538https://github.com/fmtlib/fmt/issues/4350ues/4350).
For example (godbolt):
is now formatted consistenly across platforms.
Added diagnostics for cases when timezone information is not available.
For example:
now gives a compile-time error.
Deprecated
fmt::localtimein favor ofstd::localtime.Fixed compilation with GCC 15 and C++20 modules enabled
https://github.com/fmtlib/fmt/pull/43474347). Thanks @tkhyn.
Fixed handling of named arguments in format specs
https://github.com/fmtlib/fmt/issues/436043https://github.com/fmtlib/fmt/pull/4361ull/4361). Thanks @dinomight.
Added error reporting for duplicate named arguments
https://github.com/fmtlib/fmt/pull/43674367). Thanks @dinomight.
Fixed formatting of
longwithFMT_BUILTIN_TYPES=0https://github.com/fmtlib/fmt/issues/437543https://github.com/fmtlib/fmt/issues/4394ues/4394).
Optimized
text_styleusing bit packinghttps://github.com/fmtlib/fmt/pull/43634363). Thanks @LocalSpook.
Added support for incomplete types (https://github.com/fmtlib/fmt/issues/3180,
https://github.com/fmtlib/fmt/pull/43834383). Thanks @LocalSpook.
Fixed a flush issue in
fmt::printwhen using libstdc++https://github.com/fmtlib/fmt/issues/43984398).
Fixed
fmt::printlnusage withFMT_ENFORCE_COMPILE_STRINGand legacycompile-time chechttps://github.com/fmtlib/fmt/pull/44074407).
Thanks @madmaxoft.
Removed legacy header
fmt/core.hfrom docshttps://github.com/fmtlib/fmt/pull/442144https://github.com/fmtlib/fmt/pull/4422ull/4422). Thanks @krzysztofkortas.
Worked around limitations of
__builtin_strlenduring constant evaluationhttps://github.com/fmtlib/fmt/issues/442344https://github.com/fmtlib/fmt/pull/4429ull/4429). Thanks @BRevzin.
Worked around a bug in MSVC v141 (https://github.com/fmtlib/fmt/issues/4412,
https://github.com/fmtlib/fmt/pull/44134413). Thanks @hirohira9119.
Removed the
fmt_detailnamespacehttps://github.com/fmtlib/fmt/issues/43244324).
Removed specializations of
std::is_floating_pointin testshttps://github.com/fmtlib/fmt/issues/44174417).
Fixed a CMake error when setting
CMAKE_MODULE_PATHin the pedantic modehttps://github.com/fmtlib/fmt/pull/44264426). Thanks @rlalik.
Updated the Bazel config (https://github.com/fmtlib/fmt/pull/4400).
Thanks @Vertexwahn.
v11.1.4Compare Source
Fixed ABI compatibility with earlier 11.x versions on Windows
https://github.com/fmtlib/fmt/issues/43594359).
Improved the logic of switching between fixed and exponential format for
float(https://github.com/fmtlib/fmt/issues/3649).Moved
is_compiled_stringto the public APIhttps://github.com/fmtlib/fmt/issues/43424342). Thanks @SwooshyCueb.
Simplified implementation of
operator""_cfhttps://github.com/fmtlib/fmt/pull/43494349). Thanks @LocalSpook.
Fixed
__builtin_strlendetection (https://github.com/fmtlib/fmt/pull/4329).Thanks @LocalSpook.
Fixed handling of BMI paths with the Ninja generator
https://github.com/fmtlib/fmt/pull/43444344). Thanks @tkhyn.
Fixed gcc 8.3 compile errors (https://github.com/fmtlib/fmt/issues/4331,
https://github.com/fmtlib/fmt/pull/43364336). Thanks @sergiud.
Fixed a bogus MSVC warning (https://github.com/fmtlib/fmt/pull/4356).
Thanks @dinomight.
v11.1.3Compare Source
Fixed compilation on GCC 9.4 (https://github.com/fmtlib/fmt/issues/4313).
Worked around an internal compiler error when using C++20 modules with GCC
14.2 and earlihttps://github.com/fmtlib/fmt/issues/42954295).
Worked around a bug in GCC 6 (https://github.com/fmtlib/fmt/issues/4318).
Fixed an issue caused by instantiating
formatter<const T>https://github.com/fmtlib/fmt/issues/430343https://github.com/fmtlib/fmt/pull/4325ull/4325). Thanks @timsong-cpp.
Fixed formatting into
std::ostreambuf_iteratorwhen using format stringcompilatihttps://github.com/fmtlib/fmt/issues/430943https://github.com/fmtlib/fmt/pull/4312ull/4312). Thanks @phprus.
Restored a constraint on the map formatter so that it correctly reports as
unformattable when the element https://github.com/fmtlib/fmt/pull/43264326).
Thanks @timsong-cpp.
Reduced the size of format specs (https://github.com/fmtlib/fmt/issues/4298).
Readded
args()tofmt::format_contexthttps://github.com/fmtlib/fmt/issues/430743https://github.com/fmtlib/fmt/pull/4310ull/4310). Thanks @Erroneous1.
Fixed a bogus MSVC warning (https://github.com/fmtlib/fmt/issues/4314,
https://github.com/fmtlib/fmt/pull/43224322). Thanks @ZehMatt.
Fixed a pedantic mode error in the CMake config
https://github.com/fmtlib/fmt/pull/43274327). Thanks @rlalik.
v11.1.2Compare Source
Fixed ABI compatibility with earlier 11.x versions
https://github.com/fmtlib/fmt/issues/42924292).
Added
wchar_tsupport to thestd::bitsetformatterhttps://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.1Compare Source
Fixed ABI compatibility with earlier 11.x versions
https://github.com/fmtlib/fmt/issues/42784278).
Defined CMake components (
coreanddoc) to allow docs to be installedseparatehttps://github.com/fmtlib/fmt/pull/42764276).
Thanks @carlsmedstad.
v11.1.0Improved 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::writerAPI 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
_BitIntformatting 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
nspecifier for tuples and pairshttps://github.com/fmtlib/fmt/pull/41074107). Thanks @someonewithpc.
Added support for tuple-like types to
fmt::joinhttps://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_sizehttps://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_towork 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_wrapperhttps://github.com/fmtlib/fmt/pull/416341https://github.com/fmtlib/fmt/pull/4164ull/4164). Thanks @yfeldblum and @phprus.
Added experimental padding support (glibc
strftimeextension) to%m,%jand
%Y(https://github.com/fmtlib/fmt/pull/4161). Thanks @KKhanhH.Made microseconds formatted as
usinstead ofµsif 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::appendersatisfystd::output_iteratorconcepthttps://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_viewhttps://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_FILESYSTEMfor 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 doublehttps://github.com/fmtlib/fmt/issues/424542https://github.com/fmtlib/fmt/pull/4246ull/4246). Thanks @jsirpoma.
Added support for UTF-32 code units greater than
0xFFFFin 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_stringtakefmt::basic_memory_bufferby const referencehttps://github.com/fmtlib/fmt/issues/426142https://github.com/fmtlib/fmt/pull/4262ull/4262). Thanks @sascha-devel.
Added
fmt::dynamic_format_arg_store::sizehttps://github.com/fmtlib/fmt/pull/42704270). Thanks @hannes-harnisch.
Removed the ability to control locale usage via an undocumented
FMT_STATIC_THOUSANDS_SEPARATORin favor ofFMT_USE_LOCALE.Renamed
FMT_EXCEPTIONStoFMT_USE_EXCEPTIONSfor 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.