v1.14.0
2 new buildtags (3 technically), available to produce smaller binaries if desired:
no_http
(andno_net
as an alias for upcoming use infortio.org/cli
's union withno_tls_fallback
) will remove the http_logging functionality which unfortunately even if not used isn't suppressed by the go linter because of init/globals in net/http (saves about 1.1 Mbytes in binary size)no_json
skips the full json.Marshal mode and manually serialize to json (saves another 130 kbytes or so as of go 1.22.4)
Also a new log.Rune()
for when log.Any("rune", r)
printing the int value isn't what you want - .Rune() produces the unicode character
What's Changed
- Build tags for smaller binaries that don't need net/http or encoding/json (#63)
Also
- Dep updates
- Fixed spelling (codespell) (#62)
Skipping 1.13, I am not superstitious but why risk it ;-)
Full Changelog: v1.12.2...v1.14.0