Skip to content

v1.14.0

Compare
Choose a tag to compare
@ldemailly ldemailly released this 01 Jul 21:59
· 2 commits to main since this release
4f63076

2 new buildtags (3 technically), available to produce smaller binaries if desired:

  • no_http (and no_net as an alias for upcoming use in fortio.org/cli's union with no_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