spdlog v1.5.0 Release Notes

Release Date: 2020-01-13 // about 4 years ago
  • ๐Ÿ†• New features

    • โž• Added ringbuffer sink. Thanks @eudoxos (#1307).
    • ๐ŸŒฒ Auto create the required logging directories if they not exist (9b7812a).
    • โšก๏ธ Update bundled fmt to version 6.1.2.
    • โž• Addded the ! modifier to truncate the result if the field size exceeds the specified width (see wiki for details)

    ๐Ÿ›  Fixes and improvements

    • ๐Ÿ›  Fix build failure on clang 7 with libc++. Thanks @jktjkt (a03f9eb).
    • ๐Ÿ›  Fix some spelling errors. Thanks @flopp .
    • ๐Ÿ›  Fix - compilation when using external fmt library. Thanks @dvhwgumby for reporting (#1273).
    • ๐Ÿ›  Fix location of CMake config info. Thanks @dvhwgumby for reporting (#1274)
    • ๐Ÿ›  Fix missing include (9a68bd8).
    • CMake code duplication improvement. Thanks @bencsikandrei (#1283)
    • โœ… CMake improvments in tests . Thanks @Andrei-Florin BENCSIK (2cc620e)
    • โœ‚ Remove unused variable. Thanks @masmullin2000 (#1285)
    • Fix tests to Use _FILE_OFFSET_BITS=64 when building on Linux 32-bit systems. Thanks @yipdw (#1288).
    • ๐Ÿ‘Œ Improve systemd journald support. Thanks @jktjkt (#1292).
    • ๐Ÿ‘Œ Improve log macros. Thanks @pck (#1294).
    • โœ‚ Removed lazy argument evaluation from macros (#163).
    • Some micro optimizations (79468cf, 3ee4f28, bf40855).
    • ๐Ÿ‘ Correctly guard SetHandleInformation API call to better support compiling for UWP. Thanks @sylveon (#1296).
    • Exclude from compilation prevent_child_fd() if SPDLOG_PREVENT_CHILD_FD not defined (57085c8)
    • CMake - Added tweakme options to CMakeLists.txt (18edb8b).
    • Removed SPDLOG_NO_DATETIME option.
    • ๐Ÿ›  Fix meson tests build . Thanks vedranmiletic fore reporting (#1295, c081919, 4a4f13b, 436ce16).
    • Use #include" <spdlog/.*> instead of spdlog/.* across the codebase. Thanks @RedDwarf69 (#1304).
    • ๐Ÿ›  Fix struct tm doesn't have tm_gmtoff in ISO C. Thanks @lancesun (ff3e6c7, #1306)
    • Always cache gmt offset (de2c07a).
    • โšก๏ธ Optimize backtracer operator= (255f7f2).
    • ๐Ÿ›  Fix some clang-tidy warnings (93008b2, bff8572, 3999613).
    • ๐Ÿ›  Fix compiler error in os-inl.h min/max on Windows (#1302).
    • โœ‚ Remove redundant semicolon. Thanks @inhzus (#1311).
    • ๐Ÿ›  Fix compiler warnings. Thanks @0x8000-0000 (#1331).
    • Fix missing include header in `spdlog/sinks/daily_file_sink.h. Thanks @afoolsbag for reporting (#1332).
    • ๐Ÿ›  Fix elapsed time larger than 6 digits ignores alignment width. Thanks @ivan236634452 for reporting (#1327).
    • ๐Ÿ— Set version for shared library in meson build. Thanks @lgbaldoni (#1337).
    • ๐Ÿ‘Œ Improved dist_sink ctor. Thanks @mmakhalaf for reporting (#1298).
    • Fix #1325. Added SPDLOG_FMT_EXTERNAL_HO option. Thanks @steffenb7333 for reporting.
    • ๐Ÿ›  Fix #1340 (missing include). Thanks @jeanga for reporting.
    • ๐Ÿ›  Fix compile on Win10 with Cygwin. Thanks @frfrankkopp and @tt4g (#1347).
    • ๐Ÿ›  Fixed #1348. Thanks @ficzerepeti for reporting.
    • CMakeLists.txt allow overriding the cpp standard to higher than 11
    • ๐Ÿ›  Fix a small problem in the basic example. Thanks @mike239x (#1367).
    • ๐Ÿ›  Fix invalid meson option. Thanks @segfault-magnet (#1370).
    • meson: add fallback to fmt dependency #1378. Thanks @idanko
    • โšก๏ธ Update docs: spdlog now available in conan center, bincrafters repo is deprecated #1387. Thanks @gocarlos .