diff --git a/ChangeLog.rst b/ChangeLog.rst index f4a66746..fb240af8 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,11 +1,6 @@ 6.2.0 - TBD ----------- -* Moved OS-specific APIs such as ``windows_error`` from ``fmt/format.h`` to - ``fmt/os.h``. You can define ``FMT_DEPRECATED_INCLUDE_OS`` to automatically - include ``fmt/os.h`` from ``fmt/format.h`` for compatibility but this will be - disabled in the next major release. - * Improved error reporting when trying to format an object of a non-formattable type: @@ -29,6 +24,8 @@ if ``S`` is not formattable. +* Reduced library size by ~10%. + * Always print decimal point if ``#`` is specified (`#1476 `_, `#1498 `_).: @@ -39,9 +36,41 @@ now prints ``42.``. +* Implemented the ``'L'`` specifier for locale-specific numeric formatting to + improve compatibility with ``std::format``. The ``'n'`` specifier is now + deprecated and will be removed in the next major release. + +* Moved OS-specific APIs such as ``windows_error`` from ``fmt/format.h`` to + ``fmt/os.h``. You can define ``FMT_DEPRECATED_INCLUDE_OS`` to automatically + include ``fmt/os.h`` from ``fmt/format.h`` for compatibility but this will be + disabled in the next major release. + * Added precision overflow detection in floating-point formatting. -* Improved UTF-8 handling. +* Implemented detection of invalid use of ``fmt::arg``. + +* Used ``type_identity`` to block unnecessary template argument deduction + Thanks Tim Song. + +* Improved UTF-8 handling + (`#1109 `_): + + .. code:: c++ + + fmt::print("┌{0:─^{2}}┐\n" + "│{1: ^{2}}│\n" + "└{0:─^{2}}┘\n", "", "Привет, мир!", 20); + + now prints:: + + ┌────────────────────┐ + │ Привет, мир! │ + └────────────────────┘ + + on systems that support Unicode. + +* Fixed handling of output iterators in ``format_to_n`` + (`#1506 `_). * Switched links to HTTPS in README (`#1481 `_). @@ -53,17 +82,35 @@ Thanks `@federico-busato (Federico) `_, `@chronoxor (Ivan Shynkarenka) `_. +* Improved documentation + (`#1523 `_). + Thanks `@JackBoosY (Jack·Boos·Yu) `_. + * Fixed various warnings and compilation issues (`#1433 `_, `#1470 `_, `#1480 `_, `#1485 `_, - `#1492 `_). + `#1492 `_, + `#1505 `_, + `#1512 `_, + `#1515 `_, + `#1516 `_, + `#1518 `_, + `#1519 `_, + `#1520 `_, + `#1521 `_, + `#1521 `_, + `#1530 `_). Thanks `@marti4d (Chris Martin) `_, `@iPherian `_, `@parkertomatoes `_, `@gsjaardema (Greg Sjaardema) `_, - `@chronoxor (Ivan Shynkarenka) `_. + `@chronoxor (Ivan Shynkarenka) `_, + `@DanielaE (Daniela Engert) `_, + `@torsten48 `_, + `@tohammer (Tobias Hammer) `_, + `@lefticus (Jason Turner) `_. 6.1.2 - 2019-12-11 ------------------