Skip to content

v1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Mar 14:13
· 4 commits to main since this release

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