Skip to content

Releases: samber/slog-sampling

v1.6.0

25 Mar 14:13

Choose a tag to compare

Upgrading min Go version from 1.21 to 1.22. We moved from math/rand to math/rand/v2 for a x50 perf improvement on random number generation.

What's Changed

  • perf: skip crypto/rand in threshold middleware when Rate is 0 or 1 by @robinbraemer in #42
  • feat: add IncludeDroppedCount option to threshold middleware by @robinbraemer in #45
  • perf: avoid eager generator call in UnlimitedBuffer.GetOrInsert by @robinbraemer in #43
  • test: add comprehensive tests for all sampling middlewares by @samber in #46
  • test: add benchmarks for all middleware, counters, matchers, buffers by @samber in #47
  • feat/improve tests by @samber in #48

Other

  • Bump github.com/samber/slog-multi from 1.7.0 to 1.7.1 by @dependabot[bot] in #41

New Contributors

Full Changelog: v1.5.5...v1.6.0

v1.5.5

02 Feb 18:12

Choose a tag to compare

What's Changed

  • Bump github.com/samber/lo from 1.47.0 to 1.49.0 by @dependabot[bot] in #21
  • Bump github.com/samber/lo from 1.49.0 to 1.49.1 by @dependabot[bot] in #22
  • Bump github.com/samber/slog-multi from 1.3.3 to 1.4.0 by @dependabot[bot] in #23
  • Bump golangci/golangci-lint-action from 6 to 7 by @dependabot[bot] in #24
  • Bump github.com/samber/lo from 1.49.1 to 1.50.0 by @dependabot[bot] in #25
  • Bump golangci/golangci-lint-action from 7 to 8 by @dependabot[bot] in #26
  • Bump github.com/samber/lo from 1.50.0 to 1.51.0 by @dependabot[bot] in #27
  • Bump github.com/samber/slog-common from 0.18.1 to 0.19.0 by @dependabot[bot] in #29
  • Bump github.com/samber/slog-multi from 1.4.0 to 1.4.1 by @dependabot[bot] in #28
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #30
  • Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #31
  • Bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #32
  • Bump github.com/samber/slog-multi from 1.4.1 to 1.5.0 by @dependabot[bot] in #34
  • Bump actions/setup-go from 5 to 6 by @dependabot[bot] in #33
  • Bump github.com/samber/lo from 1.51.0 to 1.52.0 by @dependabot[bot] in #35
  • Bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #38
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #37
  • Bump github.com/samber/slog-multi from 1.5.0 to 1.6.0 by @dependabot[bot] in #36
  • Bump github.com/samber/slog-multi from 1.6.0 to 1.7.0 by @dependabot[bot] in #39
  • chore(deps): upgrading samber/slog-common by @samber in #40

Full Changelog: v1.5.4...v1.5.5

v1.5.4

12 Jan 21:15

Choose a tag to compare

Upgrade dependencies

v1.5.3

24 Dec 10:38

Choose a tag to compare

Upgrade deps

v1.5.2

11 Nov 10:22

Choose a tag to compare

upgrading dependencies

v1.5.1

01 Oct 18:41

Choose a tag to compare

What's Changed

  • chore: upgrading some deps to remove golang.org/x/exp by @samber in #7

v1.5.0

10 Jul 13:47

Choose a tag to compare

feat: When the name is empty, WithGroup returns the receiver

v1.4.3

04 Jun 16:50

Choose a tag to compare

upgrade deps

v1.4.2

15 Apr 07:00

Choose a tag to compare

upgrade samber/slog-common

v1.4.1

14 Apr 00:32

Choose a tag to compare

upgrade samber/slog-common