Skip to content

Releases: lmittmann/tint

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 15 Sep 06:51
ccda5f8

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鈥1.0.2

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 10:08
8c0ec83

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鈥1.0.1

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Aug 20:47
8d8bb7d

With the release of Go1.21, package tint becomes stable and is now available as v1.

Note, that tint@v1 only works with Go1.21+ as it requires the new log/slog std package.

Changelog

Full Changelog: v0.3.4鈥1.0.0

v0.3.4

Choose a tag to compare

@github-actions github-actions released this 23 May 20:04

Changelog

Full Changelog: v0.3.3鈥0.3.4

v0.3.3

Choose a tag to compare

@lmittmann lmittmann released this 14 May 11:04

Changelog

  • d1df6e1 updated NewHandler(io.Writer) to NewHandler(io.Writer, *Options)
  • a6123dc Bump slog

Full Changelog: v0.3.2鈥0.3.3

v0.3.2

Choose a tag to compare

@lmittmann lmittmann released this 21 Apr 07:01
3ce584b

Changelog

New Contributors

@karlmutch made their first contribution in #19

Full Changelog: v0.3.1鈥0.3.2

v0.3.1

Choose a tag to compare

@lmittmann lmittmann released this 18 Apr 16:59
de3a3f8

Changelog

Full Changelog: v0.3.0鈥0.3.1

v0.3.0

Choose a tag to compare

@lmittmann lmittmann released this 15 Apr 16:18
33d6906

This release adds ReplaceAttr and AddSource to Options to allow customisations to the written logs analogous to slog.HandlerOptions. Options can now be used as a drop-in replacement for slog.HandlerOptions.

Changelog

New Contributors

@bersace made their first contribution in #13

Full Changelog: v0.2.0鈥0.3.0

v0.2.0

Choose a tag to compare

@lmittmann lmittmann released this 12 Apr 17:34

Changelog

  • 515ba77 Added Options.NoColor to suppress color output
  • 063adea Added benchmark
  • eac1418 Fixed logging of non-tint.Err errors #12
  • 40fbcc9 Fixed handling of custom levels #8

Full Changelog: v0.1.2鈥0.2.0