Releases: samber/slog-sampling
Releases · samber/slog-sampling
v1.6.0
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
- @robinbraemer made their first contribution in #42
Full Changelog: v1.5.5...v1.6.0
v1.5.5
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
Upgrade dependencies
v1.5.3
Upgrade deps
v1.5.2
upgrading dependencies
v1.5.1
v1.5.0
feat: When the name is empty, WithGroup returns the receiver
v1.4.3
upgrade deps
v1.4.2
upgrade samber/slog-common
v1.4.1
upgrade samber/slog-common