Releases: IBM/sarama
Version 1.45.1 (2025-03-02)
What's Changed
π New Features / Improvements
- feat(producer): add MaxBufferBytes to limit retry buffer size by @wanwenli in #3088
- feat(producer): add sync pool for channel reuse by @kasimtj in #3109
- feat: exponential backoff for clients (KIP-580) by @wanwenli in #3099
π Fixes
- fix(sasl): add nilguard around token to prevent panic by @hoo47 in #3076
- fix(test): consumer group fetch request messages by @stsmurf in #3081
- fix: remove redundant nil check by @knbr13 in #3089
- fix(consumer): add recovery from no leader partitions by @liutao365 in #3101
- produce: set MaxTimestamp by @rockwotj in #3108
π¦ Dependency updates
- chore(deps): bump go.opentelemetry.io/otel from 1.24.0 to 1.29.0 in /examples/interceptors by @dependabot in #3071
- chore(deps): bump the otel group across 1 directory with 2 updates by @dependabot in #3072
- chore(deps): bump the golang-x group across 1 directory with 2 updates by @dependabot in #3098
π§ Maintenance
- chore(deps): prevent otel upgrades for now by @dnwe in #3069
- chore: add version constant for kafka 3.7.2 by @dnwe in #3073
- chore(ci): fetch kafka 4.0 via tar.gz rather than git by @dnwe in #3079
- fix(ci): tighten up github workflows by @dnwe in #3080
- chore(ci): analyse actions in codeql by @dnwe in #3085
- chore(ci): bump golangci-lint version to v1.63.4 by @dnwe in #3090
- feat(ci): add dedicated staticcheck run by @dnwe in #3091
New Contributors
- @hoo47 made their first contribution in #3076
- @stsmurf made their first contribution in #3081
- @knbr13 made their first contribution in #3089
- @liutao365 made their first contribution in #3101
- @rockwotj made their first contribution in #3108
- @kasimtj made their first contribution in #3109
Full Changelog: v1.45.0...v1.45.1
Version 1.45.0 (2025-01-07)
Note
The go.mod directive has been bumped to 1.21 as the minimum version of Go required for the module. This was necessary to continue to receive updates from some of the third party dependencies that Sarama makes use of for compression.
What's Changed
π Fixes
π¦ Dependency updates
- chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.11 by @dependabot in #2999
- chore(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 in the golang-org-x group by @dependabot in #3054
π§ Maintenance
- chore: bump minimum go to 1.21 by @dnwe in #3048
- chore(test): tag all unittests as !integration by @dnwe in #3047
- chore(test): include kafka 4.0.0 in FV testing by @dnwe in #3045
- fix(ci): restore the Kafka 4.0.0 FV by @dnwe in #3055
Full Changelog: v1.44.0...v1.45.0
Version 1.44.0 (2024-12-27)
Note
The go.mod directive has been bumped to 1.20 as the minimum version of Go required for the module. This was necessary to continue to receive updates from some of the third party dependencies that Sarama makes use of for compression.
What's Changed
π New Features / Improvements
- feat: update go directive to 1.20 by @mauri870 in #2933
- feat(producer): add retry buffer tuning option to prevent OOM by @wanwenli in #3026
- feat(admin): implement leader election api by @chengjoey in #3030
π Fixes
π¦ Dependency updates
- chore(deps): bump the golang-org-x group across 1 directory with 2 updates by @dependabot in #3010
- chore(deps): bump golang.org/x/crypto from 0.28.0 to 0.31.0 in the go_modules group by @dependabot in #3041
- chore(deps): bump the golang-org-x group across 1 directory with 2 updates by @dependabot in #3040
- chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.21 to 4.1.22 by @dependabot in #3038
- chore(deps): bump the go_modules group across 2 directories with 1 update by @dependabot in #3035
- chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 in /examples/consumergroup in the go_modules group by @dependabot in #3033
- chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 in /examples/txn_producer in the go_modules group by @dependabot in #3034
- chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 in /examples/interceptors in the go_modules group by @dependabot in #3032
- chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.31.0 in /examples/exactly_once in the go_modules group by @dependabot in #3031
- chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #3020
π§ Maintenance
- chore: add newer kafka versions and bump Go in CI by @dnwe in #2969
- fix(lint): resolve IDENTICAL_BRANCHES issue in broker by @frzifus in #2992
- chore: add version consts for 3.8.1+3.9.0 by @dnwe in #3011
- fix(client): refactor duplicated replica+partition logic by @Trinoooo in #2925
- chore(deps): bump golang.org/x/net to v0.33.0 by @dnwe in #3044
New Contributors
- @mauri870 made their first contribution in #2933
- @frzifus made their first contribution in #2992
- @pierDipi made their first contribution in #2995
- @wanwenli made their first contribution in #3026
- @Trinoooo made their first contribution in #2925
- @chengjoey made their first contribution in #3030
Full Changelog: v1.43.3...v1.44.0
Version 1.43.3 (2024-08-12)
What's Changed
π Fixes
- fix: declare assignor variable for examples & clean up log format by @kumakichi in #2909
- fix(consumer): maintain ordering of offset commit requests by @prestona in #2947
- fix(producer): treat ErrKafkaStorageError as retriable by @richardartoul in #2939
π¦ Dependency updates
- chore(deps): bump the golang-org-x group across 1 directory with 2 updates by @dependabot in #2956
- chore(deps): bump github.com/eapache/go-resiliency from 1.6.0 to 1.7.0 by @dependabot in #2944
- chore(deps): bump github.com/klauspost/compress from 1.17.8 to 1.17.9 by @dependabot in #2926
π§ Maintenance
π Documentation
- fix(doc): correct JVM's config name corresponding to MaxWaitTime by @abhipranay in #2893
New Contributors
- @abhipranay made their first contribution in #2893
- @kumakichi made their first contribution in #2909
- @richardartoul made their first contribution in #2939
Full Changelog: v1.43.2...v1.43.3
Version 1.43.2 (2024-04-25)
What's Changed
π Fixes
π¦ Dependency updates
- chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by @dependabot in #2866
- chore(deps): bump the golang-org-x group with 2 updates by @dependabot in #2853
- chore(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8 by @dependabot in #2857
- chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /examples/txn_producer in the go_modules group by @dependabot in #2865
- chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /examples/consumergroup in the go_modules group by @dependabot in #2867
- chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /examples/exactly_once in the go_modules group by @dependabot in #2868
- chore(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 in /examples/interceptors in the go_modules group by @dependabot in #2869
Full Changelog: v1.43.1...v1.43.2
Version 1.43.1 (2024-03-27)
What's Changed
π Fixes
- fix: message.max.bytes should default to 1048576 not 1 MB by @puellanivis in #2804
- fix: add locking around broker throttle timer to prevent race condition by @chengsha in #2826
π¦ Dependency updates
- chore(deps): bump go.opentelemetry.io/otel/sdk from 1.23.1 to 1.24.0 in /examples/interceptors by @dependabot in #2816
- chore(deps): bump the golang-org-x group with 1 update by @dependabot in #2825
- chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #2822
- chore(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdoutmetric from 1.23.1 to 1.24.0 in /examples/interceptors by @dependabot in #2815
New Contributors
Full Changelog: v1.43.0...v1.43.1
Version 1.43.0 (2024-02-22)
Note
The go.mod directive has been bumped to 1.19 as the minimum version of Go required for the module. This was necessary to continue to receive updates from some of the third party dependencies that Sarama makes use of for compression.
What's Changed
π New Features / Improvements
- feat: update go directive to 1.19 by @dnwe in #2795
- feat: add BuildSpnFunc to GSSAPIConfig for allow custom spn by @fooofei in #2807
π Fixes
- Use %v formatting words and remove unnecessary newline by @puellanivis in #2802
π¦ Dependency updates
- chore(deps): bump github.com/klauspost/compress from 1.16.7 to 1.17.6 by @dependabot in #2784
- chore(deps): bump github.com/eapache/go-resiliency from 1.5.0 to 1.6.0 by @dependabot in #2810
- chore(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7 by @dependabot in #2811
π§ Maintenance
New Contributors
- @puellanivis made their first contribution in #2802
- @fooofei made their first contribution in #2807
Full Changelog: v1.42.2...v1.43.0
Version 1.42.2 (2024-02-09)
What's Changed
Note
The go.mod directive has been bumped to 1.18 as the minimum version of Go required for the module. This was necessary to continue to receive updates from some of the third party dependencies that Sarama makes use of for compression.
π New Features / Improvements
- feat: update go directive to 1.18 by @dnwe in #2713
- feat: return KError instead of errors in AlterConfigs and DescribeConfig by @zhuliquan in #2472
π Fixes
- fix: don't waste time for backoff on member id required error by @lzakharov in #2759
- fix: prevent ConsumerGroup.Close infinitely locking by @maqdev in #2717
π¦ Dependency updates
- chore(deps): bump golang.org/x/net from 0.17.0 to 0.18.0 by @dependabot in #2716
- chore(deps): bump golang.org/x/sync to v0.5.0 by @dependabot in #2718
- chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.18 to 4.1.19 by @dependabot in #2739
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 by @dependabot in #2748
- chore(deps): bump the golang-org-x group with 1 update by @dependabot in #2734
- chore(deps): bump the golang-org-x group with 2 updates by @dependabot in #2764
- chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.19 to 4.1.21 by @dependabot in #2763
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/exactly_once by @dependabot in #2749
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/consumergroup by @dependabot in #2750
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/sasl_scram_client by @dependabot in #2751
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/interceptors by @dependabot in #2752
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/http_server by @dependabot in #2753
- chore(deps): bump github.com/eapache/go-resiliency from 1.4.0 to 1.5.0 by @dependabot in #2745
- chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /examples/txn_producer by @dependabot in #2754
- chore(deps): bump go.opentelemetry.io/otel/sdk from 1.19.0 to 1.22.0 in /examples/interceptors by @dependabot in #2767
- chore(deps): bump the golang-org-x group with 1 update by @dependabot in #2793
- chore(deps): bump go.opentelemetry.io/otel/exporters/stdout/stdoutmetric from 0.42.0 to 1.23.1 in /examples/interceptors by @dependabot in #2792
π§ Maintenance
β Other Changes
New Contributors
- @maqdev made their first contribution in #2717
- @zhuliquan made their first contribution in #2472
Full Changelog: v1.42.1...v1.42.2
Version 1.42.1 (2023-11-07)
What's Changed
π Fixes
- fix: make fetchInitialOffset use correct protocol by @dnwe in #2705
- fix(config): relax ClientID validation after 1.0.0 by @dnwe in #2706
Full Changelog: v1.42.0...v1.42.1
Version 1.42.0 (2023-11-02)
What's Changed
π Fixes
- Asynchronously close brokers during a RefreshBrokers by @bmassemin in #2693
- Fix data race on Broker.done channel by @prestona in #2698
- fix: data race in Broker.AsyncProduce by @lzakharov in #2678
- Fix default retention time value in offset commit by @prestona in #2700
- fix(txmgr): ErrOffsetsLoadInProgress is retriable by @dnwe in #2701
π§ Maintenance
- chore(ci): improve ossf scorecard result by @dnwe in #2685
- chore(ci): add kafka 3.6.0 to FVT and versions by @dnwe in #2692
β Other Changes
- chore(ci): ossf scorecard.yml by @dnwe in #2683
- fix(ci): always run CodeQL on every commit by @dnwe in #2689
- chore(doc): add OpenSSF Scorecard badge by @dnwe in #2691
New Contributors
- @bmassemin made their first contribution in #2693
- @lzakharov made their first contribution in #2678
Full Changelog: v1.41.3...v1.42.0