Releases: lmittmann/tint
Releases · lmittmann/tint
v1.1.3
v1.1.2
What's Changed
- Fix cloned handlers to use same mutex by @arthurpitman in #97
New Contributors
- @arthurpitman made their first contribution in #97
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Bug-fix release with performance improvements for time value handling.
What's Changed
- Fix time attribute formatting to match
slog.TextHandlerby @lmittmann in #94 - Simplify
Optionsstorage in handler by @lmittmann in #95 - Fix uncolored
tint.AttrwhenReplaceAttris present by @lmittmann in #96
Full Changelog: v1.1.0...v1.1.1
v1.1.0
This release adds a much-requested feature: function tint.Attr(color uint8, attr slog.Attr) writes colored attributes. Like tint.Err, which writes red-colored errors, tint.Attr can be used with other slog handlers (e.g. slog.JSONHandler) and does not emit raw ANSI codes.
What's Changed
- Add colored attributes:
tint.Attr(color, attr)by @lmittmann in #93 - workflows: Simplify Go checks by @lmittmann in #92
Full Changelog: v1.0.7...v1.1.0
v1.0.7
What's Changed
- Don't escape ANSI colors in log values by @lmittmann in #87
- Fix panic on
<nil>values by @lmittmann in #88
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- Only convert to
anyonKindAnyvalues by @database64128 in #83 - Skip
TestReplaceAttrwithout faketime by @database64128 in #84 - Avoid allocating
tintErrortwice by @database64128 in #82
New Contributors
- @database64128 made their first contribution in #83
Full Changelog: v1.0.5...v1.0.6
v1.0.5
v1.0.4
What's Changed
- Fixed struct attribute name output by @lmittmann in #57
Full Changelog: v1.0.3...v1.0.4