v0.6.0
v0.6.0 [June 28, 2025]
This version provides significantly improved DX/UX. While the project is still evolving, the metadata handling system previously lacked essential functionality and contained critical issues. This release addresses most of the critical bugs affecting developer experience.
Thank you very much.
Added
- Automatic metadata capture helpers
- New
LogMetadata.create()function with automatic source location capture using@src()builtin - Added convenience functions
here(),hereWithTimestamp(), andhereWithThreadId()for ergonomic metadata creation
- New
- Comprehensive formatting test example (
formatting_test.zig) - documentation suite
- Configuration reference with all available options
- Custom formatting guide with templates and placeholders
- Complete API reference documentation
Fixed
- Fixed automatic metadata capture helpers to show correct caller source location instead of helper definition location
- Changed API:
nexlog.here(@src())instead ofnexlog.here() - Source location now correctly captured from call site, not helper function definition
- Changed API:
- Fixed ISO8601 timestamp formatting producing invalid output like
[+2022-+1-+1T00:00:00Z]- now correctly generates[2022-01-01T00:00:00Z] - Hostname placeholder implementation for better cross-platform compatibility
Changed
- Enhanced custom formatting system validation
- Verified custom template functionality with user-defined formats
- Confirmed support for multiple level formats (upper, lower, short variants)