v0.6.0 #5
DMsuDev
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🚀 Vigil v0.6.0
This release introduces deferred log file creation, granular per-logger asynchronous settings, a comprehensive consumer integration test suite, and build system optimizations across supported compilers.
💥 Breaking Changes & Migration Guide
Public logging macros and preprocessor constants have been renamed to standardize the API surface and prevent symbol collisions.
VIGIL_LOG_Prefix for Logging Macros: Convenience macros now explicitly use theVIGIL_LOG_prefix.VIGIL_LOG_LEVEL_*toVIGIL_LEVEL_*.🔄 Migration Mapping
VIGIL_INFO(...)VIGIL_LOG_INFO(...)VIGIL_WARN(...)VIGIL_LOG_WARN(...)VIGIL_ERROR(...)VIGIL_LOG_ERROR(...)VIGIL_TRACE(...)VIGIL_LOG_TRACE(...)VIGIL_LOG_LEVEL_INFOVIGIL_LEVEL_INFOVIGIL_LOG_LEVEL_WARNVIGIL_LEVEL_WARN✨ What's New & Improvements
🚀 Key Features
LazyFileSink): Defers physical log file creation on disk until the first log message is dispatched, preventing empty log files.LogConfignow supports individualAsyncenabling andAsyncQueueSizeoverrides per logger instance.spdlogthread pool setup is now deferred viaEnsureAsyncThreadPool.🧪 Integration Testing & Quality
Consumer Integration Test Suite (
VIGIL_CONSUMER_TESTS): Addedctest --build-and-testharnesses covering all supported integration patterns:add_subdirectory().FetchContent.find_package(Vigil CONFIG).Expanded Coverage: Dedicated unit tests for assertions (
VIGIL_VERIFY,VIGIL_ASSERT), lifecycle hooks (OnMessage,OnLevelChange,OnFlush,OnShutdown), and isolated test paths.🛠️ Build System (CMake)
/MP).fmtusage validation whenever installation targets are enabled.🐛 Bug Fixes
vigil/assert.hinlog_system.hto preventReleasebuild compilation errors.debugger.hto the installed header set (VIGIL_INTERNAL_HEADERS).New Contributors
Full Changelog: v0.5.1...v0.6.0
This discussion was created from the release v0.6.0.
All reactions