From 0506a5733db809150cbb239e15aa65e63f93d5f2 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 24 Jun 2022 09:04:56 -0700 Subject: [PATCH] Update changelog --- ChangeLog.rst | 75 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 67 insertions(+), 8 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 3c3b0015..0dcc66d2 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -2,7 +2,9 @@ ----------- * Added experimental ``std::filesystem::path`` formatting support - (`#2902 `_, + (`#2865 `_, + `#2902 `_, + `#2917 `_, `#2918 `_). For example (`godbolt `__): @@ -21,6 +23,18 @@ Thanks `@phprus (Vladislav Shchapov) `_. +* Added a ``std::thread::id`` formatter to ``fmt/std.h``. + For example (`godbolt `__): + + .. code:: c++ + + #include + #include + + int main() { + fmt::print("Current thread id: {}\n", std::this_thread::get_id()); + } + * Added ``fmt::styled`` that applies a text style to an individual argument (`#2793 `_). For example (`godbolt `__): @@ -47,15 +61,20 @@ Thanks `@rbrugo (Riccardo Brugo) `_. * Made ``fmt::print`` overload for text styles correctly handle UTF-8 - (`#2701 `_). + (`#2681 `_, + `#2701 `_). Thanks `@AlexGuteniev (Alex Guteniev) `_. +* Switched to an internal floating point formatter for all decimal formats. + In particular this results in consistent rounding on all platforms and + removing the ``s[n]printf`` fallback for decimal FP formatting. + * Improved the implementation of `Dragonbox `_, the algorithm used for the default floating-point formatting (`#2713 `_, `#2750 `_). - Thanks `@jk-jeon (Junekey Jeon) `_ + Thanks `@jk-jeon (Junekey Jeon) `_. * Implemented escaping of wide strings in ranges (`#2904 `_). @@ -70,6 +89,15 @@ (`#2787 `_). Thanks `@BRevzin (Barry Revzin) `_. +* Fixed handling of maps with element types other than ``std::pair`` + (`#2944 `_). + Thanks `@BrukerJWD (Jonathan W) `_. + +* Made tuple formatter enabled only if elements are formattable + (`#2939 `_, + `#2940 `_). + Thanks `@jehelset `_. + * Made ``fmt::join`` compatible with format string compilation (`#2719 `_, `#2720 `_). @@ -92,9 +120,19 @@ Thanks `@arogge (Andreas Rogge) `_. * Removed a redundant buffer resize when formatting to ``std::ostream`` - (`#2843 `_). + (`#2842 `_, + `#2843 `_). Thanks `@jcelerier (Jean-Michaƫl Celerier) `_. +* Made precision computation for strings consistent with width + (`#2888 `_). + +* Fixed handling of locale separators in floating point formatting + (`#2830 `_). + +* Made sign specifiers work with ``__int128_t`` + (`#2773 `_). + * Improved support for systems such as CHERI with extra data stored in pointers (`#2932 `_). Thanks `@davidchisnall (David Chisnall) `_. @@ -134,43 +172,65 @@ * Fixed various warnings and compilation issues (`#2408 `_, `#2507 `_, + `#2697 `_, `#2715 `_, + `#2717 `_, `#2722 `_, `#2724 `_, `#2725 `_, `#2726 `_, `#2728 `_, `#2732 `_, + `#2738 `_, `#2742 `_, + `#2744 `_, + `#2745 `_, `#2746 `_, `#2754 `_, `#2755 `_, + `#2757 `_, `#2758 `_, `#2761 `_, `#2762 `_, `#2763 `_, `#2765 `_, + `#2769 `_, `#2770 `_, + `#2771 `_, + `#2777 `_, `#2779 `_, `#2782 `_, `#2783 `_, + `#2794 `_, `#2796 `_, `#2797 `_, `#2801 `_, `#2802 `_, + `#2808 `_, `#2818 `_, `#2819 `_, + `#2829 `_, + `#2835 `_, + `#2848 `_, + `#2860 `_, `#2861 `_, `#2882 `_, + `#2886 `_, + `#2891 `_, `#2892 `_, + `#2895 `_, + `#2896 `_, `#2903 `_, + `#2906 `_, + `#2908 `_, `#2909 `_, + `#2920 `_, `#2922 `_, `#2927 `_, `#2929 `_, + `#2936 `_, `#2937 `_, - `#2938 `_, - `#2940 `_). + `#2938 `_). Thanks `@matrackif `_ `@Tobi823 (Tobias Hellmann) `_, `@ivan-volnov (Ivan Volnov) `_, @@ -190,8 +250,7 @@ `@Agga `_, `@madmaxoft (Mattes D) `_, `@JurajX (Juraj) `_, - `@phprus (Vladislav Shchapov) `_, - `@jehelset `_. + `@phprus (Vladislav Shchapov) `_. 8.1.1 - 2022-01-06 ------------------