Skip to content

Releases: coder/slog

v3.0.0-rc1

23 Dec 11:37
348ac12

Choose a tag to compare

v3.0.0-rc1 Pre-release
Pre-release

What's Changed

Full Changelog: v3.0.0-rc0...v3.0.0-rc1

v3.0 Release Candidate

23 Dec 10:58
99abaf9

Choose a tag to compare

Pre-release

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.

Full List

  • 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

New Contributors

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

v1.6.1

31 Jul 18:55
v1.6.1
ea050d3

Choose a tag to compare

What's Changed

Full Changelog: v1.6.0...v1.6.1

v1.6.0

31 Jul 18:21
v1.6.0
2e3b402

Choose a tag to compare

What's Changed

  • chore: bump golang.org/x/crypto from 0.9.0 to 0.11.0 by @dependabot in #179
  • chore: bump github.com/muesli/termenv from 0.15.1 to 0.15.2 by @dependabot in #178
  • chore: migrate to go.opentelemetry.io tracing by @coadler in #181

Full Changelog: v1.5.4...v1.6.0

v1.5.4

30 May 16:47
c17dfd2

Choose a tag to compare

c17dfd2 (HEAD -> main, tag: v1.5.4, origin/main, origin/HEAD) Support keysAndArgs API of stdlib slog (#173)
2202bcf fix: Use SyscallConn for isTTY which is safe during file close (#167)
aa14d1b chore: bump cloud.google.com/go from 0.26.0 to 0.110.2 (#175)
fd83a35 chore: bump golang.org/x/crypto (#174)

v1.5.0

09 May 02:48
68327e2

Choose a tag to compare

Switch human logger from JSON to logfmt (#170)

v1.4.1

08 Aug 20:26
26f2029

Choose a tag to compare

chore: Remove IgnoreErrors check for test logger (#109)

v1.4.0

08 Aug 20:26

Choose a tag to compare

fix: use proper Sink API in README example

v1.3.0

16 Dec 17:33
f7a90d8

Choose a tag to compare

  • Simplified API #79

v1.2.0

15 Dec 23:26
a13a242

Choose a tag to compare

  • Improve reflection encoding #74
  • Improved assert API #76 #74
  • Improved assert diffs #77