Skip to content

v3.0.0

Choose a tag to compare

@mafredri mafredri released this 05 Jun 08:48
· 3 commits to main since this release
284c50f

Breaking Changes ⚠️

Logging calls of the form

logger.Info(ctx, "dug a hole", "depth", depth, "diameter", diameter)

Are no longer supported. You must always pass slog.Field values explicitly.

What's Changed

  • chore: use golang.org/x/term by @coadler in #183
  • chore: bump golang.org/x/term from 0.10.0 to 0.11.0 by @dependabot[bot] in #184
  • chore: bump cloud.google.com/go/logging from 1.7.0 to 1.8.1 by @dependabot[bot] in #186
  • Revert "Revert "fix: Use SyscallConn for isTTY which is safe during f… by @coadler in #187
  • feat: add more prominent failure notice on slogtest error by @spikecurtis in #190
  • fix: add additional severity field to stackdriver by @mafredri in #194
  • feat: ignore context.Canceled by default in slogtest by @spikecurtis in #207
  • ci: fix lint, fmt and upload artifacts by @mafredri in #218
  • feat: add IgnoreErrorFn to slogtest options by @spikecurtis in #217
  • fix!: handle sql/driver.Valuer types properly in slogjson by @ethanndickson in #219
  • perf: human log sink performance bump via reduction of allocs/total allocated memory by @cstyan in #220
  • fix!: don't panic, only accept typed log Fields by @spikecurtis in #222
  • chore: update to v3 by @spikecurtis in #223
  • fix: render error types as strings in human log sink by @dannykopping in #224

New Contributors

Full Changelog: v1.6.1...v3.0.0