- Release notes 1.15.3:
* Bumped bundled {fmt} library to 11.2.0 by @gabime in #3399
* Fixed incorrect behavior in dup_filter_sink when reporting skipped messages by @SleepingSoul in #3390
* Fixed MSVC C4530 warning when exceptions are disabled by @roeas in #3393
* Added support for modifying max-size and max-files in rotating_file_sink after creation by @gabime in #3397
* Added spdlog::register_or_replace(new_logger) to safely replace existing loggers in the registry by @gabime in #3398
* Fixed broken links to the wiki and local references by @cgringmuth in #3377 and #3378, and by @non-descriptive in #3381
- Release notes 1.15.2:
* Upgraded bundled {fmt} to version 11.1.4 (faa0a7a)
* Fixed#3360, discovered by OSS-Fuzz regarding the %D format flag, in #3361
* Fixed#3352: %z (UTC offset) on Apple and POSIX.1-2024-conforming platforms by @toh-ableton in #3366
* Updated README with ALT Linux installation instructions by @lubyagin in #3338
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=118
- Release notes 1.15.1:
* Update bundled fmt version to 11.1.3 by @gabime in #3332
* Use fwrite_unlocked() if available by @gabime in #3276 and #3318
* On-demand truncation for basic file sinks by @matteodelseppia in #3280
* Allow manual rotation of rotating_file_sink by @hjs-ast in #3269
* Make null_sink final by @gabime in #3267
* Fix: Add explicit fmt:: and std:: to avoid ambiguous calls by @LiAuTraver in #3259
* Fix: Pass /utf-8 only when the compiler is MSVC by @miyanyan in #3260
* Fix: Support bin_to_hex() when using std::format by @koniarik in #3315
* Support custom environment variables for load_env_levels by @ken-matsui in #3327
* Fix: Added a lock to rotate_now() by @matteodelseppia in #3281
* Fix: Update to_string_view function for fmt 11.1 by @chenrui333 in #3301
* Fix: Remove unused to_string_view overload in fmt >= 11.1 by @jdrouhard in #3314
* Fix: Use string_view_literals to resolve issues #3287 and #3233 by @yalov in #3291
* Fix: Added a lock to set_color_mode(..) in ansicolor_sink by @gabime in #3323
* Fix: Corrected comment in daily_file_sink by @F1F88 in #3249
* Fix: Compatibility with fmtlib 11.1.1 by @yachoor in #3331
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=114
- Release notes 1.15.0:
* Update bundled fmt to 11.0.2 by @gabime in #3236
* Add wide character formatting and output support to console in wincolor_sink. by @DominikGrabiec in #3092
* Allow customization of syslog_sink by @Silex in #3124
* make example compatible with fmt 11 by @ziyao233 in #3130
* Fix building with FMT_ENFORCE_COMPILE_STRING by @AJIOB in #3137
* fix: set /Zc:__cplusplus and /MP to MSVC only by @zjyhjqs in #3139
* V1.x : fixed "suggest override" errors for gcc 8.5 and gcc 9.1 by @esmirno in #3158
* Add info about max_files in the docstrings of hourly/daily file sinks by @themightyoarfish in #3170
* use std::lock_guard instead of std::unique_lock by @wsehjk in #3179
* fix/issue-3101: fix the issue where mdc ignores SPDLOG_NO_TLS by @Allen-20180115 in #3184
* Update mdc.h error message by @gabime in #3185
* [docs] Update conan install command in README by @uilianries in #3172
* Update CMakeLists.txt, Fix spelling errors by @zgzhengSEU in #3193
* Fix warning - extra ';' for -Wextra-semi by @hydai in #3198
* Improve Cross-Platform Build Instructions in Documentation by @Mq-b in #3229
* Exchange promise for condition_variable when flushing (fixes#3221) by @Oipo in #3228
* Ensure flush callback gets called in move-assign operator by @Oipo in #3232
* Make flush async again in async logger to prevent crashes and hangs by @gabime in #3235
* Update README.md by @gabime in #3240
* utf8_to_wstrbuf now handles invalid utf8 sequences by @captainurist in #3244 and #3245
* Added tsan option to CMake and CI by @gabime in #3237 and #3247 /pull/3244
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=110
- 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