1.0.0
-
Add support for a header-only configuration when
FMT_HEADER_ONLY
is defined before includingformat.h
:#define FMT_HEADER_ONLY #include "format.h"
-
Compute string length in the constructor of
BasicStringRef
instead of thesize
method (#79). This eliminates size computation for string literals on reasonable optimizing compilers. -
Fix formatting of types with overloaded
operator <<
forstd::wostream
(#86):fmt::format(L"The date is {0}", Date(2012, 12, 9));
-
Fix linkage of tests on Arch Linux (#89).
-
Allow precision specifier for non-float arguments (#90):
fmt::print("{:.3}\n", "Carpet"); // prints "Car"
-
Fix build on Android NDK (#93)
-
Improvements to documentation build procedure.
-
Remove
FMT_SHARED
CMake variable in favor of standardBUILD_SHARED_LIBS
. -
Fix error handling in
fmt::fprintf
. -
Fix a number of warnings.