mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Update changelog
This commit is contained in:
parent
427b534054
commit
70d61a0ae3
@ -1,6 +1,20 @@
|
||||
8.0.0 - TBD
|
||||
-----------
|
||||
|
||||
* Enabled compile-time check by default. For example
|
||||
|
||||
.. code:: c++
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
int main() {
|
||||
fmt::print("{:d}", "I am not a number");
|
||||
}
|
||||
|
||||
gives a compile-time error on compilers with C++20 ``consteval`` support
|
||||
(gcc 10+, clang 11+) because ``d`` is not a valid format specifier for a
|
||||
string.
|
||||
|
||||
* Added compile-time formatting
|
||||
(`#2019 <https://github.com/fmtlib/fmt/pull/2019>`_,
|
||||
`#2044 <https://github.com/fmtlib/fmt/pull/2044>`_,
|
||||
@ -133,7 +147,8 @@
|
||||
`#2309 <https://github.com/fmtlib/fmt/pull/2309>`_,
|
||||
`#2318 <https://github.com/fmtlib/fmt/pull/2318>`_,
|
||||
`#2324 <https://github.com/fmtlib/fmt/pull/2324>`_,
|
||||
`#2332 <https://github.com/fmtlib/fmt/pull/2332>`_).
|
||||
`#2332 <https://github.com/fmtlib/fmt/pull/2332>`_,
|
||||
`#2340 <https://github.com/fmtlib/fmt/pull/2340>`_).
|
||||
Thanks `@DanielaE (Daniela Engert) <https://github.com/DanielaE>`_.
|
||||
|
||||
* Made symbols private by default reducing shared library size
|
||||
@ -170,6 +185,21 @@
|
||||
|
||||
Thanks `@kamibo (Camille Bordignon) <https://github.com/kamibo>`_.
|
||||
|
||||
* Implemented the default format for ``std::chrono::system_clock``
|
||||
(`#2319 <https://github.com/fmtlib/fmt/issues/2319>`_,
|
||||
`#2345 <https://github.com/fmtlib/fmt/pull/2345>`_). For example:
|
||||
|
||||
.. code:: c++
|
||||
|
||||
#include <fmt/chrono.h>
|
||||
|
||||
int main() {
|
||||
fmt::print("{}", std::chrono::system_clock::now());
|
||||
}
|
||||
|
||||
prints "2021-06-18 15:22:00" (the output depends on the current date and
|
||||
time). Thanks `@sunmy2019 <https://github.com/sunmy2019>`_.
|
||||
|
||||
* Made more chrono specifiers locale independent by default. Use the ``'L'``
|
||||
specifier to get localized formatting. For example:
|
||||
|
||||
@ -184,6 +214,12 @@
|
||||
fmt::print("{:L}\n", monday); // prints "пн"
|
||||
}
|
||||
|
||||
* Improved locale handling in chrono formatting (
|
||||
`#2337 <https://github.com/fmtlib/fmt/issues/2337>`_,
|
||||
`#2349 <https://github.com/fmtlib/fmt/pull/2349>`_,
|
||||
`#2350 <https://github.com/fmtlib/fmt/pull/2350>`_).
|
||||
Thanks `@phprus (Vladislav Shchapov) <https://github.com/phprus>`_.
|
||||
|
||||
* Deprecated ``fmt/locale.h`` moving the formatting functions that take a
|
||||
locale to ``fmt/format.h`` (``char``) and ``fmt/xchar`` (other overloads).
|
||||
This doesn't introduce a dependency on ``<locale>`` so there is virtually no
|
||||
@ -536,7 +572,9 @@
|
||||
`#2323 <https://github.com/fmtlib/fmt/pull/2323>`_,
|
||||
`#2328 <https://github.com/fmtlib/fmt/issues/2328>`_,
|
||||
`#2329 <https://github.com/fmtlib/fmt/pull/2329>`_,
|
||||
`#2333 <https://github.com/fmtlib/fmt/pull/2333>`_).
|
||||
`#2333 <https://github.com/fmtlib/fmt/pull/2333>`_,
|
||||
`#2338 <https://github.com/fmtlib/fmt/pull/2338>`_,
|
||||
`#2341 <https://github.com/fmtlib/fmt/pull/2341>`_).
|
||||
Thanks `@darklukee <https://github.com/darklukee>`_,
|
||||
`@fagg (Ashton Fagg) <https://github.com/fagg>`_,
|
||||
`@killerbot242 (Lieven de Cock) <https://github.com/killerbot242>`_,
|
||||
@ -569,7 +607,9 @@
|
||||
`@mwinterb <https://github.com/mwinterb>`_,
|
||||
`@sven-herrmann <https://github.com/sven-herrmann>`_,
|
||||
`@jmelas (John Melas) <https://github.com/jmelas>`_,
|
||||
`@twoixter (Jose Miguel Pérez) <https://github.com/twoixter>`_.
|
||||
`@twoixter (Jose Miguel Pérez) <https://github.com/twoixter>`_,
|
||||
`@crbrz <https://github.com/crbrz>`_,
|
||||
`@upsj (Tobias Ribizel) <https://github.com/upsj>`_.
|
||||
|
||||
* Improved documentation
|
||||
(`#1986 <https://github.com/fmtlib/fmt/issues/1986>`_,
|
||||
@ -591,9 +631,12 @@
|
||||
`#2196 <https://github.com/fmtlib/fmt/issues/2196>`_,
|
||||
`#2217 <https://github.com/fmtlib/fmt/pull/2217>`_,
|
||||
`#2247 <https://github.com/fmtlib/fmt/pull/2247>`_,
|
||||
`#2256 <https://github.com/fmtlib/fmt/pull/2256>`_).
|
||||
Thanks `@jgopel (Jonathan Gopel) <https://github.com/jgopel>`_ and
|
||||
`@alexezeder (Alexey Ochapov) <https://github.com/alexezeder>`_.
|
||||
`#2256 <https://github.com/fmtlib/fmt/pull/2256>`_,
|
||||
`#2336 <https://github.com/fmtlib/fmt/pull/2336>`_,
|
||||
`#2346 <https://github.com/fmtlib/fmt/pull/2346>`_).
|
||||
Thanks `@jgopel (Jonathan Gopel) <https://github.com/jgopel>`_,
|
||||
`@alexezeder (Alexey Ochapov) <https://github.com/alexezeder>`_ and
|
||||
`@DanielaE (Daniela Engert) <https://github.com/DanielaE>`_.
|
||||
|
||||
7.1.3 - 2020-11-24
|
||||
------------------
|
||||
|
Loading…
Reference in New Issue
Block a user