mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-26 14:40:55 +02:00
Update changelog
This commit is contained in:
39
ChangeLog.md
39
ChangeLog.md
@@ -3,6 +3,34 @@
|
|||||||
- Optimized the default floating point formatting
|
- Optimized the default floating point formatting
|
||||||
(https://github.com/fmtlib/fmt/issues/3675).
|
(https://github.com/fmtlib/fmt/issues/3675).
|
||||||
|
|
||||||
|
- Improved C++20 module support (https://github.com/fmtlib/fmt/pull/4451,
|
||||||
|
https://github.com/fmtlib/fmt/pull/4459).
|
||||||
|
Thanks @arBmind, @tkhyn.
|
||||||
|
|
||||||
|
- Added `constexpr` support to `fmt::format`. For example:
|
||||||
|
|
||||||
|
```c++
|
||||||
|
using namespace fmt::literals;
|
||||||
|
std::string s = fmt::format(""_cf, 42);
|
||||||
|
```
|
||||||
|
|
||||||
|
now works at compile time provided that `std::string` supports `constexpr`
|
||||||
|
(https://github.com/fmtlib/fmt/pull/4456). Thanks @msvetkin.
|
||||||
|
|
||||||
|
- Switched to using estimated display width in precision. For example:
|
||||||
|
|
||||||
|
```c++
|
||||||
|
fmt::print("{:.4}\n1234\n", "🐱🐱🐱");
|
||||||
|
```
|
||||||
|
|
||||||
|
prints
|
||||||
|
|
||||||
|
. Thanks @nikhilreddydev.
|
||||||
|
|
||||||
- Fixed an ambiguity between `std::reference_wrapper<T>` and `format_as`
|
- Fixed an ambiguity between `std::reference_wrapper<T>` and `format_as`
|
||||||
formatters (https://github.com/fmtlib/fmt/issues/4424,
|
formatters (https://github.com/fmtlib/fmt/issues/4424,
|
||||||
https://github.com/fmtlib/fmt/pull/4434). Thanks @jeremy-rifkin.
|
https://github.com/fmtlib/fmt/pull/4434). Thanks @jeremy-rifkin.
|
||||||
@@ -10,15 +38,24 @@
|
|||||||
- Removed deprecated `basic_format_args::parse_context_type` and
|
- Removed deprecated `basic_format_args::parse_context_type` and
|
||||||
`basic_format_args::formatter_type`.
|
`basic_format_args::formatter_type`.
|
||||||
|
|
||||||
|
- Improved diagnostics for the incorrect usage of `fmt::ptr`
|
||||||
|
(https://github.com/fmtlib/fmt/pull/4453). Thanks @TobiSchluter.
|
||||||
|
|
||||||
|
- Fixed an integer overflow for precision close to the max `int` value.
|
||||||
|
|
||||||
- Changed component prefix from `fmt-` to `fmt_` for compatibility with
|
- Changed component prefix from `fmt-` to `fmt_` for compatibility with
|
||||||
NSIS/CPack on Windows, e.g. `fmt-doc` changed to `fmt_doc`
|
NSIS/CPack on Windows, e.g. `fmt-doc` changed to `fmt_doc`
|
||||||
(https://github.com/fmtlib/fmt/pull/4442). Thanks @n-stein.
|
(https://github.com/fmtlib/fmt/pull/4442). Thanks @n-stein.
|
||||||
|
|
||||||
|
- Various code improvements (https://github.com/fmtlib/fmt/pull/4445,
|
||||||
|
https://github.com/fmtlib/fmt/pull/4448). Thanks @LocalSpook and @tchaikov.
|
||||||
|
|
||||||
- Updated `.gitignore` (https://github.com/fmtlib/fmt/pull/4355).
|
- Updated `.gitignore` (https://github.com/fmtlib/fmt/pull/4355).
|
||||||
Thanks @dinomight.
|
Thanks @dinomight.
|
||||||
|
|
||||||
- Fixed various warnings and compilation issues
|
- Fixed various warnings and compilation issues
|
||||||
(https://github.com/fmtlib/fmt/pull/4356). Thanks @dinomight.
|
(https://github.com/fmtlib/fmt/pull/4356,
|
||||||
|
https://github.com/fmtlib/fmt/pull/4447). Thanks @dinomight and @dodomorandi.
|
||||||
|
|
||||||
# 11.2.0 - 2025-05-03
|
# 11.2.0 - 2025-05-03
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user