Releases: lmittmann/tint
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.TextHandler
by @lmittmann in #94 - Simplify
Options
storage in handler by @lmittmann in #95 - Fix uncolored
tint.Attr
whenReplaceAttr
is 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
any
onKindAny
values by @database64128 in #83 - Skip
TestReplaceAttr
without faketime by @database64128 in #84 - Avoid allocating
tintError
twice 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
v1.0.3
v1.0.2
v1.0.1
This is a small bugfix release.
Changelog
- 3be6284 Resolve complains from go-staticchecks. (#28)
- 42cbc13 Fix: Use Attr value for time in the case where a ReplaceAttr func has been passed (#26)
- 8c0ec83 Fix: built-in attributes are not grouped (#30)
- d74d683 Fix: inline Attrs for a group with an empty key (#27)
New Contributors
@jylitalo made their first contribution in #28
@irridia made their first contribution in #26
@abhinav made their first contribution in #30
@telemachus made their first contribution in #27
Full Changelog: v1.0.0…v1.0.1