- Release notes 1.14.0:
* Updated bundled fmt to version 10.2.1.
* Mapped Diagnostic Context (MDC) support by @massimiliano96 in #2907.
DC is a simple map of key->string values stored in thread local storage whose content will be printed by the loggers.
* Add milliseconds support to stopwatch by @brodao2 in #3034
* Add std::string_view overloads for logger accessor by @BenLeadbetter in #3023
* Make async_logger::flush() synchronous - wait for the flush operation to complete before returning by @walkerlala in #3049
* Use _stat() on Windows to be more UTF8 friendly by @liubing in #2978
* Add details about how compile time macros work by @egaban in #2981
* Fix typos found by codespell by @DimitriPapadopoulos in #3011
* Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed by @cohdan in #3009
* Fix the problem of compilation failure under MINGW by @NU-LL in #3022
* Add missing include in circular_q.h by @magnus-nomono in #3026
* Fix#3038 by @Tomas-Zhu in #3044
* Don't remove previous defaullt logger from registry in set_default_logger. Fix#3016
* Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. by @shaharv in #3048
* Updated INSTALL.md has to better reflect compiler info. #3052
* Fixed README.md example by @darallium in #3066
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=98
- Removed patch 2823.patch because mismatch with new release
- Release notes 1.13.0:
* Qt Sink: Allow for darker colors for light backgrounds (#2817). Thanks to @krawq.
* Set CMAKE_BUILD_TYPE only for single-config generators (#2839). Thanks to @moritz-h.
* Provide spdlog_header_only in build directory export (#2846). Thanks to @robertmaynard.
* Add SPDLOG_TO_VERSION to compare spdlog version (#2853). Thanks to @kegechen.
* Support async_overflow_policy::discard_new (#2876). Thanks to @walkerlala.
* Make syslog_sink.h's syslog_prio_from_level protected (#2918). Thanks to @shannonbooth.
* Fix OS availability check of pthread_threadid_np for iOS (#2897). Thanks to @lowdesertpunk.
* Add .git-blame-ignore-revs to ignore clang-format related commits (#2899). Thanks to @lowdesertpunk.
* Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR (#2901). Thanks to @kkraus14.
- Bugfixes:
* Check fd_ is not nullptr in file_helper to prevent possible crash if disk is full (#2972).
* Fix encoding issue in qt_sinks (#2862). Thanks to @neothenil and @tt4g .
* Fix wrong thread_id (TID) in systemd_sink.h (#2919). Thanks to @M010.
* Update example.cpp to fix the vector issue in bin_example (#2963). Thanks to @zhuzhzh.
* Fix MSVC compile flag for no exceptions (#2974). Thanks to @Programicus.
* Fix bug in circular_q::size() (#2820).
* Fix link to fmt license file (#2967).
- Maintenance:
* Added and updated various tests for circular_q.
* Removed obsolete part from CMake configuration files (#2871). Thanks to @albert-github.
* Removed policy_max from cmake_minimum_required(..).
* Updated clang-format to google style and updated various formatting scripts.
* Bumped to catch2 v3.5.0.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=94
mismatch
- Removed e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch as [boo#1199306] is now integrated.
- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
lower than (new) 3
* CMake improvement regarding cmake_minimum_required and policy.
* Avoid c-style casting in stdout sinks.
* Support for FMT_STRING compile time checking.
- Added additional building options
* Ability to add sinks to a logger after its creation
* Replaced set_async_mode(..) with factory template.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=88
* Support for external fmtlib versions 10.x (#2694). Thanks @H1X4Dev and @mguludag.
* Better support for std::format (#2359, #2544, #2680, #2688). Thanks @eli-b , @sylveon and @bachittle.
* Added new qt color sink. Logs to QTextEdit widget with some nice colors.
* Update #include to a deprecated fmt header (#2545) .Thanks @kromain.
* Fixes and impovements to dup_filter_sink (#2549, #2563). Thanks @zydxhs and @zhuyadong.
* Fix unnecessary empty backtrace begin/end logs (#2568). Thanks @koldi.
* Fixed variable name in msvc_sink (#2573). Thanks @naddu77.
* Add system includes (SPDLOG_SYSTEM_INCLUDES) cmake option (#2575). Thanks @dpayne.
* Improve dequeue of the async queue (@2587, #2588 ). Thanks @alokpr.
* Fix tcp_client sink for FreeBSD (#2590). Thanks @segoon.
* Support linux/musl libc (#2589). Thanks @kraj.
* Support newlib C library configurations without tm_gmtoff field (#2600). Thanks @igrr.
* Fix type of event id in win_eventlog_sink (#2598). Thanks @Tagl.
* Fix -Wshadow warnings in spdlog::sinks::dist_sink (#2599). Thanks @robinlinden.
* Spelling corrections (#2606, #2732). Thanks @albert-github and @zencatalyst.
* Add sync() function to file_helper (#2343). Thanks @espkk.
* Add a trivial callback_sink (#2610). Thanks @maghorbani.
* Fix unexpected delimiter at start of line in to_hex formatter (#2627). Thanks @starsunyzl.
* Fix MinGW build issue on example (#2642). Thanks @zEuS0390.
* Add optional TID definition to the systemd sink (#2619). Thanks @chardin-cpi.
* Added apply_logger_env_levels() (#2648, #2649). Thanks @afshinpir.
* Support utf8 in msvc_sink (#2651). Thanks @Demonese.
* Better handling of utf to wchar (66407f5).
* Use catch v3 for tests (#2656, (#2659). Thanks @xvitaly and @seker.
* New kafka sink (#2655). Thanks @vbirds and @SpriteOvO.
* Fix os namespace in systemd_sink.h (#2668). Thanks @MyNameIsLame.
* Enable systemd_sink tests in linux pipeline (#2669). Thanks @MyNameIsLame.
* Fix stdout_sink_base::log's fflush() behaviour inconsistency (#2646). Thanks @25077667.
* Fix for missing pthread_threadid_np in macOS < 10.6 and PowerPC (#2715). Thanks @barracuda156.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=83
* patch 0ca574ae168820da0268b3ec7607ca7b33024d05.patch add support for a changed symbol in fmt 1.10.0
* patch v1.11.0_removed_brackets_for_fmt_10.diff removes duplicate brackets from unit tests
* patch tt4g-fix-2735.diff solves the failing tests due to a now redundant workaround
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=81
* Bump fmt to version 8.1.1.
* Added file event handlers.
* Fixed rotating file sink: when disk is full log rotation resulted zero size log files.
* Added new udp_sink.
* Improved file name for hourly file sink.
* Added code location information for error handler.
* Fixed qt_sinks ctor.
* List Debian instructions in the README.
* Updated to latest Travis CI Build Status.
* Fixed unhandled errors in udp sink.
* CMake improvement regarding cmake_minimum_required and policy.
* Fixed mongo_sink compile in older gcc versions.
* Remove mutable keyword from mutex_ member in of sinks.
* Fix typos.
* Fixed udp sink build on FreeBSD
* Avoid c-style casting in stdout sinks.
* Fixed tweakme.h compile error under msvcs when SPDLOG_FUNCTION is defined #2182. Thanks @Light3039 .
* Fixed compiling errors on AIX #2181. Thanks @lisr .
* Fixed runtime when build with -fsanitize=cfi #1972. Thanks @bansan85 .
* Remove extraneous semicolon #2190. Thanks @sylveon.
* Added example how to replace default logger.
* Fixed usage of ranges and to_hex in the same compile unit.
* Reduce warnings with pedantic compiler -Wuseless-cast.
* Support using std::span in to_hex.
* Reset current size if rotated files on open #2234.
* Allow forward-declaration of level_enum.
* Call localtime() only if pattern_formatter really needs it.
* Removed unneeded spaces from code.
* Added a few missing files/directories to the gitignore.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=52
- Added baselibs.conf for bi-arch support
I did this change because of an upcoming version of MangoHud (possibly 0.6.6) which will introduce libspdlog1 as a new dependency.
Since MangoHud supports bi-arch distribution this requirement must also be met by all of it's dependencies.
This way some can use MangoHud on 32bit applications running on a 64bit OS without switching the package architecture beforehand.
Because bi-arch was not supported by this library I added it hereby. :)
Kind regards,
Imo
OBS-URL: https://build.opensuse.org/request/show/928821
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=51
- Update to version 1.9.2
* Fixed clang compiler errors when using spdlog in c++20.
* Fixed the Qt sinks to accurately trim the newline chars.
* Improved and simplified Qt sinks implementation.
* Fixed macro SPDLOG_LEVEL_NAME_xxx to always translate to the
spdlog namespace.
* Fixed typo in readme.
* Fixed the MongoDB sink compilation in c++11.
* Fixed double include of same file in thread_pool.h .
* Ensure that the CMake exported package is relocatable.
* Remove std::distance usage for possible performance gain.
* Support of inclusion of bin_to_hex.h in any order with
spdlog.h.
* Fixed install instructions for "header only" dir.
OBS-URL: https://build.opensuse.org/request/show/911918
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=50
- Update to version 1.9.0
What's new:
* Support for {fmt} lib version 8.x.
* New MongoDB sink.
* New QTextEdit and QPlainTextEdit sinks.
Fixes and Improvements:
* Made mutex member variable mutable.
* Changed c-style casts to reinterpret casts in tcp_client.
* Rethrnow non std exceptions.
* Small code improvement (std::find).
* Added support for CMake policy CMP0077.
* Allow compilation with nvc++ (and possibly PGI).
* Fixed C++20 build resulting in deprecated implicit copy
assignment operator warning.
* Use std::function for the global error handler.
* Fixed dup sink compile warnings in older compilers with
back_inserter.
* Added a color-terminal type to the color terminals list - to
show colors in in RISC-V64 machines.
- Drop spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch
(merged upstream)
OBS-URL: https://build.opensuse.org/request/show/907416
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=47
- Update to version 1.8.3
* New hourly file sink . Creates new file every hour. Can be
limited to retain only the last N files.
* New daily sink filename custom formatting. Users now can
pass custom strftime pattern to the log filename. For
example: daily_logger_format_mt.
* Add SPDLOG_DISABLE_DEFAULT_LOGGER as a CMake option.
* Improve color terminal detection.
* Ensure SPDLOG_FMT_EXTERNAL is honored in the bench program.
* Skip CMake module mode when finding fmt.
* Open files with "ab" mode even if truncating to better
support logrotate.
* Fix compiling error and typo in hourly file sink.
* Add constexpr to SPDLOG_LEVEL_NAMES declaration.
* Initializer list style consistency.
* Fix call to non-constexpr function.
* Better numeric_limits<>::max/min fix when
SPDLOG_WCHAR_TO_UTF8_SUPPORT is defined.
* Simplified wincolor sink code and intensify the red and
yellow colors.
* Set default value to registry::err_handler_ to resolve
Klocwork warning.
* Formatter bench: Fix compilation by avoiding function name
decay mechanics.
* Fix warning whe the compilation flag -Wswitch-default is
present.
OBS-URL: https://build.opensuse.org/request/show/881222
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=42