Skip to content

Releases: lmittmann/tint

v1.2.0

Choose a tag to compare

@lmittmann lmittmann released this 12 Jul 13:40
42bfdac

tint.NewHandler is now deprecated in favor of the new tint.NewTextHandler. Existing code keeps working, and go fix (Go 1.26+) upgrades call sites automatically.

What's Changed

New Contributors

  • @scop made their first contribution in #102

Full Changelog: v1.1.3...v1.2.0

v1.1.3

Choose a tag to compare

@lmittmann lmittmann released this 02 Feb 17:19
3a1d4c3

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

Choose a tag to compare

@lmittmann lmittmann released this 07 Jun 22:15
401cb97

What's Changed

New Contributors

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

v1.1.1

Choose a tag to compare

@lmittmann lmittmann released this 28 May 08:56
30257b8

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

Choose a tag to compare

@lmittmann lmittmann released this 19 May 19:06
c6e7ac5

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

Choose a tag to compare

@lmittmann lmittmann released this 28 Jan 09:07
2f95434

What's Changed

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

v1.0.6

Choose a tag to compare

@lmittmann lmittmann released this 16 Dec 15:25
bd5634c

What's Changed

New Contributors

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

v1.0.5

Choose a tag to compare

@lmittmann lmittmann released this 11 Jul 07:33
368de75

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

Choose a tag to compare

@lmittmann lmittmann released this 18 Jan 22:09
88f9530

What's Changed

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

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 29 Oct 19:17
2027ee7

Changelog

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

Full Changelog: v1.0.2鈥1.0.3