From e31f2b3d03c566cbd0266bbc788a7d7dada7bd95 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 1 Dec 2019 09:27:28 -0800 Subject: [PATCH] Update changelog --- ChangeLog.rst | 54 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 06827007..3526e928 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -15,8 +15,8 @@ prints ``3.141592653589793``. -* Made the fast binary to decimal floating-point formatter the default and - sligthly improved its performance. {fmt} is now 15x faster than libc++'s +* Made the fast binary to decimal floating-point formatter the default, + simplified it and improved performance. {fmt} is now 15x faster than libc++'s ``std::ostringstream``, 11x faster than ``printf`` and 10% faster than double-conversion on dtoa-benchmark: @@ -48,6 +48,10 @@ Thanks `@orivej (Orivej Desh) `_. +* Made floating-point formatting output consistent with ``printf``/iostreams + (`#1336 `_, + `#1417 `_). + * Added support for 128-bit integers (`#1287 `_): @@ -64,6 +68,9 @@ (`#1351 `_). Thanks `@tankiJong (Tanki Zhang) `_. +* Made compile time in the header-only mode ~20% faster by reducing the number + of template instantiations. + * Added an overload of ``fmt::join`` that works with tuples (`#1322 `_, `#1330 `_): @@ -113,10 +120,35 @@ Thanks `@dlaugt (Daniel Laügt) `_. +* Fixed handling of types with deleted implicit rvalue conversion to + ``const char**`` (`#1421 `_): + + .. code:: c++ + + struct mystring { + operator const char*() const&; + operator const char*() &; + operator const char*() const&& = delete; + operator const char*() && = delete; + }; + mystring str; + fmt::print("{}", str); // now compiles + +* Locale-specific number formatting now uses grouping + (`#1394 `_). + Thanks `@skrdaniel `_. + * Enums are now mapped to correct underlying types instead of ``int`` (`#1286 `_). Thanks `@agmt (Egor Seredin) `_. +* Added ``basic_format_parse_context`` for consistency with C++20 + ``std::format`` and deprecated ``basic_parse_context``. + +* Fixed handling of UTF-8 in precision + (`#1390 `_). + Thanks `@tajtiattila (Attila Tajti) `_. + * {fmt} can now be installed on Linux, macOS and Windows with `Conda `__ using its `conda-forge `__ @@ -136,14 +168,18 @@ `#1291 `_, `#1296 `_, `#1332 `_, - `#1337 `_). + `#1337 `_, + `#1418 `_). Thanks `@waywardmonkeys (Bruce Mitchener) `_, `@pauldreik (Paul Dreik) `_, `@jackoalan (Jack Andersen) `_. * Fixed compile-time format string checks for user-defined types - (`#1292 `_). + (`#1292 `_). + +* Worked around a false positive in ``unsigned-integer-overflow`` sanitizer + (`#1377 `_). * Fixed various warnings and compilation issues (`#1273 `_, @@ -170,9 +206,13 @@ `#1362 `_, `#1364 `_, `#1370 `_, + `#1371 `_, + `#1388 `_, `#1397 `_, `#1414 `_, - `#1416 `_). + `#1416 `_, + `#1427 `_, + `#1433 `_). Thanks `@hhb `_, `@gsjaardema (Greg Sjaardema) `_, `@gabime (Gabi Melman) `_, @@ -184,7 +224,9 @@ `@denizevrenci (Deniz Evrenci) `_ `@leonklingele `_, `@chronoxor (Ivan Shynkarenka) `_, - `@kent-tri `_. + `@kent-tri `_, + `@0x8000-0000 (Florin Iucha) `_, + `@marti4d (Chris Martin) `_. 6.0.0 - 2019-08-26 ------------------