SHA256
1
0
forked from pool/fmt

fmt 12.2.0

This commit is contained in:
2026-06-16 16:17:38 +02:00
parent d31f0d22c8
commit 4a3bb64938
4 changed files with 36 additions and 5 deletions
+30
View File
@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Jun 16 14:07:22 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 12.2.0
* Made the <fmt/core.h> header equivalent to <fmt/base.h> by
default. Code that relied on <fmt/core.h> pulling in
<fmt/format.h> must now either include <fmt/format.h> directly
or define `FMT_DEPRECATED_HEAVY_CORE` to opt back in.
* Moved the `std::byte` formatter from <fmt/format.h> to
<fmt/std.h>.
* Removed the `fmt::say` function.
* Deprecated the `std::initializer_list` overload of `fmt::join`
and the array overload of `fmt::vformat_to`.
* Added a separate `fmt::fmt-module` CMake target for C++20
modules.
* Enabled the full Dragonbox lookup cache by default for
floating-point formatting.
* Improved integer formatting performance by ~3%.
* Optimized formatting into back-insert iterators by using bulk
container append/insert methods (e.g. on `std::vector<char>`
and custom string types).
* Made path formatting lossless, preserving ill-formed UTF-16
sequences when converting `std::filesystem::path` to a narrow
string.
* Added support for formatting `std::unexpected`.
* Added support for positional arguments as width and precision
specifiers in `fmt::printf`.
* Promoted `fmt::detail::named_arg` to the public API as
`fmt::named_arg` and deprecated the detail alias.
-------------------------------------------------------------------
Wed Oct 29 17:22:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
+3 -2
View File
@@ -1,7 +1,7 @@
#
# spec file for package fmt
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define sover 12
Name: fmt
Version: 12.1.0
Version: 12.2.0
Release: 0
Summary: A formatting library for C++
License: MIT
@@ -58,6 +58,7 @@ export CXXFLAGS="$CFLAGS"
%install
%cmake_install
rm -v "%buildroot/%_libdir/libfmt-c.a"
%check
# path needs to be exported otherwise unit tests will fail
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.