Skip to content

v5.1.0

Compare
Choose a tag to compare
@odygrd odygrd released this 21 Jul 11:55
· 195 commits to master since this release
  • Fix unit tests on FreeBSD (#496)
  • Resolved unused variable warning on MSVC.
  • Updated CMake to avoid adding -fno-exceptions to the entire target when QUILL_NO_EXCEPTIONS=ON (#499)
  • Fix an issue where timestamps were incorrectly calculated when using quill::Timezone::LocalTime. This bug affected timezones that did not have an exact hour difference from UTC, leading to incorrect timestamp calculations. (#498)
  • The newline character \n is now considered printable by default and will no longer be sanitized. Users can now include new lines in their logs directly. In versions 4.4.1 and earlier, \n was not sanitized, and this behavior is restored in this update, eliminating the need for a custom check_printable_char function in BackendOptions.
  • On Windows, when colors are enabled in ConsoleSink, GetConsoleScreenBufferInfo may fail in the debug console. Previously, this would result in an error being displayed but no logs being written. This issue is now resolved: the error is reported once, and logs will be written to the console without colors.
  • Improved performance of StringFromTime and TimestampFormatter used by the backend worker thread.
  • Replaced std::mutex with a spinlock, resulting in minor performance improvement for backend worker. This change also avoids including <mutex> in the frontend, particularly when following the recommended_usage
    example
  • Update bundled libfmt to 11.0.2