Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Dec 28, 2023
1 parent 47c8f63 commit 305747d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 10.2.0 - TBD

- Added support for the `%j` specifier (the number of days) for
`std::chrono::duration` (https://github.com/fmtlib/fmt/issues/3643,
https://github.com/fmtlib/fmt/pull/3732). Thanks @intelfx.

- Added support for the chrono suffix for days and changed
the suffix for minutes from "m" to the correct "min"
(https://github.com/fmtlib/fmt/pull/3664).
Expand All @@ -19,6 +23,26 @@
(https://github.com/fmtlib/fmt/issues/3725,
https://github.com/fmtlib/fmt/pull/3727). Thanks @cschreib.

- Added a formatter for `std::source_location`
(https://github.com/fmtlib/fmt/pull/3730). For example
([godbolt](https://godbolt.org/z/YajfKjhhr)):

```c++
#include <fmt/chrono.h>

int main() {
fmt::print("{}\n", std::source_location::current());
}
```

prints

```
/app/example.cpp:5:51: int main()
```

Thanks @felix642.

- Added a formatter for `std::bitset`
(https://github.com/fmtlib/fmt/pull/3660).
For example ([godbolt](https://godbolt.org/z/bdEaGeYxe)):
Expand All @@ -34,6 +58,23 @@

Thanks @muggenhor.

- Added the generic representation (`g`) to `std::filesystem::path`
(https://github.com/fmtlib/fmt/issues/3715,
https://github.com/fmtlib/fmt/pull/3729). For example:

```c++
#include <filesystem>
#include <fmt/std.h>

int main() {
fmt::print("{:g}\n", std::filesystem::path("C:\\foo"));
}
```

prints `"C:/foo"` on Windows.

Thanks @js324.

- Added synchronization with the underlying output stream when writing to
the Windows console
(https://github.com/fmtlib/fmt/pull/3668,
Expand Down

0 comments on commit 305747d

Please sign in to comment.