Skip to content

Releases: lmittmann/tint

v1.1.3

02 Feb 17:19
3a1d4c3

Choose a tag to compare

What's Changed

  • fix: reset color after tint.Attr for all levels by @FIL033 in #101

New Contributors

Full Changelog: v1.1.2...v1.1.3

v1.1.2

07 Jun 22:15
401cb97

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.1...v1.1.2

v1.1.1

28 May 08:56
30257b8

Choose a tag to compare

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 when ReplaceAttr is present by @lmittmann in #96

Full Changelog: v1.1.0...v1.1.1

v1.1.0

19 May 19:06
c6e7ac5

Choose a tag to compare

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

Full Changelog: v1.0.7...v1.1.0

v1.0.7

28 Jan 09:07
2f95434

Choose a tag to compare

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.6

16 Dec 15:25
bd5634c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.5...v1.0.6

v1.0.5

11 Jul 07:33
368de75

Choose a tag to compare

What's Changed

  • Preserve tint.Err attribute key by @kwargs in #66

New Contributors

Full Changelog: v1.0.4...v1.0.5

v1.0.4

18 Jan 22:09
88f9530

Choose a tag to compare

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

29 Oct 19:17
2027ee7

Choose a tag to compare

Changelog

  • 2027ee7 Fixed invocation of Options.ReplaceAttr (#47)
  • 0c0d0cf Fixed wrong group prefix for error attribute (#45)

Full Changelog: v1.0.2…v1.0.3

v1.0.2

15 Sep 06:51
ccda5f8

Choose a tag to compare

Changelog

  • f895639 Fixed wrong display of the source in presence of a ReplaceAttr (#39)
  • ccda5f8 Fixed wrong level type in ReplaceAttr (#40)

Full Changelog: v1.0.1…v1.0.2