github.com/lmittmann/tint
v1.2.0
#1335 most downloaded on Go modules
lmittmann/tint
What this package is like to depend on
Last release 1 months ago
12 Jul 2026
Release timing varies
gaps range from 8 days to 8 months
Some releases are documented
notes for 10 of 22 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
45 releases · first in 2023
4 releases in the last 12 months
see the full history below
Release timeline
45 releases · Mar 2023 to Jul 2026Releases
latest 45-
v1.2.012 Jul 2026Release notes
Open source →tint.NewHandleris now deprecated in favor of the newtint.NewTextHandler. Existing code keeps working, and go fix (Go 1.26+) upgrades call sites automatically.What's Changed
- Avoid throwaway time rounding by @scop in #102
- fix formating of
[]bytevalues by @lmittmann in #103 - refactor: rename NewHandler to NewTextHandler by @lmittmann in #109
New Contributors
Full Changelog: v1.1.3...v1.2.0
-
v1.1.4-0.20260209221614-dcba16d07a7d09 Feb 2026 pre-releaseNothing published for this version
-
v1.1.4-0.20260203123140-ccd13bcc86ba03 Feb 2026 pre-releaseNothing published for this version
-
v1.1.302 Feb 2026 -
v1.1.207 Jun 2025Release notes
Open source →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.2-0.20250607094151-401cb97c781207 Jun 2025 pre-releaseNothing published for this version
-
v1.1.127 May 2025Release notes
Open source →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
- Fix time attribute formatting to match
-
v1.1.1-0.20250527205515-30257b8aa10827 May 2025 pre-releaseNothing published for this version
-
v1.1.1-0.20250526204149-ebaca5f4181926 May 2025 pre-releaseNothing published for this version
-
v1.1.019 May 2025Release notes
Open source →This release adds a much-requested feature: function
tint.Attr(color uint8, attr slog.Attr)writes colored attributes. Liketint.Err, which writes red-colored errors,tint.Attrcan 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
- Add colored attributes:
-
v1.0.8-0.20250317101113-926f731a644a17 Mar 2025 pre-releaseNothing published for this version
-
v1.0.728 Jan 2025Release notes
Open source →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.616 Dec 2024Release notes
Open source →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
- Only convert to
-
v1.0.6-0.20241210092753-de437d07ca4510 Dec 2024 pre-releaseNothing published for this version
-
v1.0.6-0.20240910141457-7c923ea3709510 Sep 2024 pre-releaseNothing published for this version
-
v1.0.510 Jul 2024 -
v1.0.5-0.20240710160440-368de753ea2a10 Jul 2024 pre-releaseNothing published for this version
-
v1.0.5-0.20240616095052-069f95f6740216 Jun 2024 pre-releaseNothing published for this version
-
v1.0.5-0.20240118221531-c4b42929a2f818 Jan 2024 pre-releaseNothing published for this version
-
v1.0.418 Jan 2024Release notes
Open source →What's Changed
- Fixed struct attribute name output by @lmittmann in #57
Full Changelog: v1.0.3...v1.0.4
-
v1.0.329 Oct 2023Release notes
Open source →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 - 2027ee7 Fixed invocation of
-
v1.0.214 Sep 2023Nothing published for this version
-
v1.0.121 Aug 2023Nothing published for this version
-
v1.0.1-0.20230821131734-8c0ec83f53dc21 Aug 2023 pre-releaseNothing published for this version
-
v1.0.1-0.20230820113947-3be6284b2d9420 Aug 2023 pre-releaseNothing published for this version
-
v1.0.1-0.20230814074740-d74d683d990614 Aug 2023 pre-releaseNothing published for this version
-
v1.0.1-0.20230813111950-42cbc13e225913 Aug 2023 pre-releaseNothing published for this version
-
v1.0.008 Aug 2023Nothing published for this version
-
v0.3.5-0.20230717080047-984efd4d6cde17 Jul 2023 pre-releaseNothing published for this version
-
v0.3.5-0.20230705205352-681f12a50de305 Jul 2023 pre-releaseNothing published for this version
-
v0.3.5-0.20230622084016-7c2115a5c2f222 Jun 2023 pre-releaseNothing published for this version
-
v0.3.5-0.20230605133438-661beec5cb4705 Jun 2023 pre-releaseNothing published for this version
-
v0.3.423 May 2023Nothing published for this version
-
v0.3.311 May 2023Nothing published for this version
-
v0.3.221 Apr 2023Nothing published for this version
-
v0.3.118 Apr 2023Nothing published for this version
-
v0.3.015 Apr 2023Nothing published for this version
-
v0.2.012 Apr 2023Nothing published for this version
-
v0.1.204 Apr 2023Nothing published for this version
-
v0.1.103 Apr 2023Nothing published for this version
-
v0.1.1-0.20230327214716-ec75932abc3127 Mar 2023 pre-releaseNothing published for this version
-
v0.1.027 Mar 2023Nothing published for this version
-
v0.0.0-20230326213142-ad3abb0c487f26 Mar 2023 pre-releaseNothing published for this version
-
v0.0.0-20230324173940-b7a73f4aaaf824 Mar 2023 pre-releaseNothing published for this version
-
v0.0.0-20230323213316-c02ed30614a023 Mar 2023 pre-releaseNothing published for this version