Opened 13 months ago

Closed 12 months ago

Last modified 8 months ago

#22153 closed enhancement (fixed)

fmt-12.0.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New major version.

Change History (4)

comment:1 by Bruce Dubbs, 12 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: new → assigned

comment:2 by Bruce Dubbs, 12 months ago

12.0.0 - 2025-09-17

  • Optimized the default floating point formatting
  • Added constexpr support to fmt::format.
  • Added FMT_STATIC_FORMAT that allows formatting into a string of the exact required size at compile time.
  • Improved C++20 module support
  • Switched to using estimated display width in precision.
  • Fix interaction between debug presentation, precision, and width for strings
  • Implemented allocator propagation on basic_memory_buffer move
  • Fixed an ambiguity between std::reference_wrapper<T> and format_as formatters
  • Removed the following deprecated APIs:
    • has_formatter: use is_formattable instead,
    • basic_format_args::parse_context_type, basic_format_args::formatter_type and similar aliases in context types,
    • wide stream overload of fmt::printf,
    • wide stream overloads of fmt::print that take text styles,
    • is_*char traits,
    • fmt::localtime.
  • Deprecated wide overloads of fmt::fprintf and fmt::sprintf.
  • Improved diagnostics for the incorrect usage of fmt::ptr
  • Made handling of ANSI escape sequences more efficient
  • Fixed a buffer overflow on all emphasis flags set
  • Fixed an integer overflow for precision close to the max int value.
  • Fixed compatibility with WASI
  • Fixed back_insert_iterator detection, preventing a fallback on slower path that handles arbitrary iterators
  • Fixed handling of invalid glibc FILE buffers
  • Added wchar_t support to the std::byte formatter
  • Changed component prefix from fmt- to fmt_ for compatibility with NSIS/CPack on Windows, e.g. fmt-doc changed to `fmt_doc
  • Added the FMT_CUSTOM_ASSERT_FAIL macro to simplify providing a custom fmt::assert_fail implementation
  • Switched to FMT_THROW on reporting format errors so that it can be overriden by users when exceptions are disabled
  • Improved master project detection and disabled install targets when using {fmt} as a subproject by default
  • Made various code improvements
  • Added Conan instructions to the docs
  • Removed Bazel files to avoid issues with downstream packaging
  • Added more entries for generated files to .gitignore
  • Fixed various warnings and compilation issues

comment:3 by Bruce Dubbs, 12 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at commits

ae758ceb96 Update to ruby-3.4.6.
49eaeb2ad9 Update to fmt-12.0.0.
a0341274a6 Update to pavucontrol-6.2.
83c37eae39 Update to gtkmm-4.20.0.

comment:4 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.