* Sun Jun 15 2025 comrad@opensuse.org
- Updated spdlog to 1.15.3 (CVE-2025-6140 [bsc#1244696])
- 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
* Sun Feb 02 2025 comrad@opensuse.org
- Removed Patch 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch as it is included in 1.15.1.
* Sat Feb 01 2025 comrad@opensuse.org
- Updated spdlog to 1.15.1
- 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
* Fri Dec 27 2024 jengelh@inai.de
- Add 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch
to cope with fmt 11.1
* Thu Nov 21 2024 comrad@opensuse.org
- Updated spdlog to 1.15.0
- 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
* Sat Jul 13 2024 comrad@opensuse.org
- added rpm group
* Sat Jul 13 2024 comrad@opensuse.org
- Factory has libfmt 11 now, updated pkgconfig
* Sat Jul 13 2024 comrad@opensuse.org
- update spec to fix build failure. Option is called SPDLOG_BUILD_EXAMPLE, and has to be
turned off, to avoid upstream issue with libfmt (see https://github.com/gabime/spdlog/issues/3129).
* Tue Jun 11 2024 dmueller@suse.com
- fix build for leap by pulling gcc 13
* Fri May 03 2024 comrad@opensuse.org
- update fmt dependency to verrsion 10.0
Version: 1.11.0-bp155.1.7
* Wed Nov 02 2022 Bernd Ritter <comrad@posteo.de>
- Update to version 1.11.0
* Update to fmt lib version 9.1.0 #2346, #2485, #2512, #2517 . Thanks @sylveon, @YunchengLiu, @tt4g, @tycho and @vitaut
* Fix template instantiation warning #2336 . Thanks @aengusjiang
* Event handlers improvements #2342, #2375 . Thanks @espkk and @kslattery
* Allow modifying the used Android buffer ID #2358. Thanks @tiolan
* Fix clone in async test #2364. Thanks @stkw0
* Custom formatter optimization #2365. Thanks @conr2d
* Fix C++14 builds for gcc 4.x (#2333) #2372 . Thanks @kslattery
* Add minor version to CMake's SOVERSION #2376
* Allow compilation with FMT_ENFORCE_COMPILE_STRING #2381. Thanks @john4744
* Fix pkg-config generation #2383. Thanks @alexshpilkin
* Remove unused code from null_mutex #2385. Thanks @panzhongxian
* Fix redundant std::move #2396. Thanks @polesapart
* Remove the empty file if in first period in hourly logger #2386. Thanks @panzhongxian
* Add reset_overrun_counter() function to the async logging #2399 Thanks @bergen4
* Set C++20 in CMake when SPDLOG_USE_STD_FORMAT option is turned on #2402. Thanks @cookcocck
* Fix mingw test #2415. Thanks @neheb
* Support for any std::chrono::duration type in flush_every(..) #2439. Thanks @LucasChollet
* Fix implicit casting of level_enum #2443. Thanks @ibmibmibm
* Comment fix #2445. Thanks @Hish15
* Fix gcc 4.x build #2449. Thanks @Simon-Janos
* Add openSUSE installation instructions #2468. Thanks @LorenDB
* Fixed missing include file in stopwatch.h #2434. Thanks @fabianbuettner
* Support for omitting source info by defining SPDLOG_NO_SOURCE_LOC #2476. Thanks @nigels-com
* Added SPDLOG_BUILD_PIC build option to CMake #2475. Thanks @nigels-com
* Fix include windows.h #2495. Thanks @panicgh
* Workaround gcc 12 warnings #2498, #2499 . Thanks @offa
* Migrate to Github Actions CI #2500. Thanks @offa
* Replace iterator difference with std::distance #2509 Thanks @kin4stat
* Export targets file to build directory at configure time #2514, #2515. Thanks @puneetmatharu
* MongoDB sink improvements #2519. Thanks @sandorzm
* Fix shadow warning in dist_sink #2431. Thanks @MohammadKanan for reporting.
* Fixed msvc warning C4800 in win_eventlog_sink
* Check IsDebuggerPresent() in msvc_sink before doing actual work #2408. To use old behavior pass false to the msvc_sink constructor. Thanks @DominikGrabiec and @sylveon
- Removed e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch as [boo#1199306] is now integrated.
* Updated baselibs.conf accordingly.
* Mon Oct 24 2022 Jan Engelhardt <jengelh@inai.de>
- Adjust baselibs.conf for #1199306 patch.
- Update descriptions.
* Thu Oct 20 2022 Bernd Ritter <comrad@posteo.de>
- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
[boo#1199306]; changes SONAME to be more distinct
* Wed Oct 19 2022 Bernd Ritter <comrad@posteo.de>
- Limit build choices on catch2-dependency to catch2 2.13.4 and
lower than (new) 3
* Mon Apr 18 2022 Bernd Ritter <comrad@posteo.de>
- Update to version 1.10.0
* 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.
* Fixed issue #2201 (Pattern width is not applied for missing source information).
* Limit max number of rotating files to 200000.
* pattern_formatter: fix reorder-ctor warning.
* Fixed spdlogConfig.cmake when built with SPDLOG_FMT_EXTERNAL_HO.
* Fixed fopen_s(..) error handling when PREVENT_CHILD_FD is defined.
* Fixed compiler error when building on Windows with #define UNICODE.
* Added option to enable formatting of systemd sink.
* Added optional "ident" argument to systemd sink constructor.
* Removed spdlog-1.9.1-use_system_catch2.patch, as it is no longer necessary (after consultation with Luigi Baldoni on this issue).
Version: 0.16.3-bp150.2.4
* Tue Apr 17 2018 jengelh@inai.de
- Remove excess hyping from description.
* Mon Apr 16 2018 adam.majer@suse.de
- run unit tests in the %check target
- install LICENSE as a %license, not a %doc
* Sat Apr 14 2018 aloisio@gmx.com
- Update to version 0.16.3
* Fix sleep issue (#609) under MSVC that happens when changing
the clock backwards (pull #610) - Thanks @joaomoreno
* Ensure that marcos always expand to expressions (pull #604) -
Thanks @sam-lunt
* Add global flush_on function (pull #605) - Thanks @sam-lunt
* Fix conversion warning (#595, pull #596) - Thanks @Broekman
version 0.16.2
* Fixed a bug in extracting log files extension (#589) - Thanks
@fcharlie
version 0.16.1
* Fixed the version strings to 0.16.1 in spdlog.h and
CMakeLists.txt
* Fixed compiler warning in tests - Thanks @horar
version 0.16.0
* Rotating and daily log files keep their extension (e.g
"mylog.3.txt" and not "mylog.txt.3")
* Optional support for printf formatting (enabled using #define
SPDLOG_FMT_PRINTF) - Thanks @fogo
* Async log: increased sleep to to 500ms the worker in loop
when the queue is empty
* Fixed thread safety bug in flush() - added lock on flush in
base_sink
* Breaking change: Removed all *_if functions (trace_if,
debug_if, info_if,..) because they are redundant and
confusing way to preform simple if
* Swallow only std::exceptions. report about, and re-throw
other, unexpected exception types.
* Support msvc_sink on all windows compiler (windebug-sink) -
Thanks @jpcima
* Added facilty param for syslog - Thanks @adubovikov
* correct include path for sink/syslog_sink.h - Thanks @jpcima
* Fix include paths - Thanks @daylanKifky
* Some fixes in the async queue size estimation - Thanks
@Subenle
* Fixed cygwin support
* Adding additional build environments for AppVeyor- Thanks
@rkollataj
* Fix warnings which are caused by C style cast - Thanks
@knowledge4igor
* Make short month names match in length - Thanks @berkus
* Fix typos in code and comments - Thanks @berkus
* Fixed missing i_formatter implementation
* Fix SPDLOG_WCHAR_TO_UTF8_SUPPORT wchar_t logging - Thanks
@hestad
* Added formatter for unix epoch time in seconds (%E format
flag) - Thanks @jasonbeach
* Compiler-dependent line numbering in SPDLOG_TRACE - Thanks
@elelel
* Improved cmake and CMakeLists.txt - Thanks @mrpelotazo and
@Lectem
version 0.14.0
* Upgraded the bundled fmt lib to version 4.0.0
* Fixed crash in async logger in older gcc version 4.8.5
(268222e).
* Fixed various sanitizer warnings.
* Improved Android support (#422, #427).
* Add an optional final qualifier to types (#425) for potential
compiler optimisations.
* Support for Alpine Linux (#435, #436).
* Add wide string to utf8 string support (#442).
* Don't use color escape codes if terminal doesn't support them
bd25f59 .
* Optional message counter feature (#445).
* Fix OSX builds of details/os.h (#447).
* Fix vs 2015 build error (#449).
* UTC support (#451).
* MinGw build fix (#456).
* Add create_async factory functions for async loggers (#459).
* Conditional logging implementation (#460).
* More meaningful thread id for OSX (#463).
* Add set_color to ansicolor_sink (#465).
* Ability to override log level names in the log messages
(#473).
* Added TRACE_IF and DEBUG_IF macro definitions when TRACE_ON
and DEBUG.
* Fixed background color bug in windows terminal (#484).
* Gentoo support (#502).
* Fixed warning for missing enumeration value in tests (#488,
[#490]).
* Fixed numerous typos in code and comments.
version 0.13.0
* Bumped the bundled fmt library to version 3.0.1.
* Fixed issue #333 (unexpected appending of "txt" at the end of
a log filename).
* Fixed issue #396 (custom error handler not called in async
loggers).
* Fixed issue #403 (ambiguous warnings on some compilers).
* Use double-braces in std::array initialisation.
version 0.12.0
* Added %P (process Id) to format string
* Exposed logger sinks via logger->sinks().
* Windows native console color support.
* Fixed vc warning on x64 build
* Better support for for older win32 targets (WinXP/Win2003)
* Fixed issue #300
* Fix issue #315
* Fix issue #317 (Build error on raspberry pi)
* Better cmake support : list spdlog's content in IDEs
* Fix compilation error C2664 on VS2013
* Store thread_id in tls for better performance
* Use the feature checking macros to detect thread_local
support in clang.
* Added option to prevent child processes from inheriting log
file desciptors
* Added SPDLOG_VERSION` macro to spdlog.h
* Replaced static global std::string arrays by Meyer singletons
for better thread safety
version 0.11.0
* sink log levels
* various bug fixes
version 0.10.0
* No exceptions will be thrown while logging (with optional
error handlers).
* FreeBSD support.
* Solaris support.
* syslog disabled by default for faster compilation.
* Bug fixes and improvements.
version 0.9.0
* cosmetic fix in utc_minutes_offset when throwing
* Mon Feb 01 2016 meissner@suse.com
- a c++ header only logging library