v1.37.0
版本发布时间: 2022-09-28 07:33:06
IBM/sarama最新发布版本:v1.43.3(2024-08-13 02:25:57)
What's Changed
:rotating_light: Breaking Changes
- Due to a change in github.com/klauspost/compress v1.15.10, Sarama v1.37.0 requires Go 1.17 going forward, unfortunately due to an oversight this wasn't reflected in the go.mod declaration at time of release.
:tada: New Features / Improvements
- feat(consumer): support multiple balance strategies by @Jacob-bzx in https://github.com/Shopify/sarama/pull/2339
- feat(producer): transactional API by @ryarnyah in https://github.com/Shopify/sarama/pull/2295
- feat(mocks): support key in MockFetchResponse. by @Skandalik in https://github.com/Shopify/sarama/pull/2328
:bug: Fixes
- fix: avoid panic when Metadata.RefreshFrequency is 0 by @Jacob-bzx in https://github.com/Shopify/sarama/pull/2329
- fix(consumer): avoid pushing unrelated responses to paused children by @pkoutsovasilis in https://github.com/Shopify/sarama/pull/2317
- fix: prevent metrics leak with cleanup by @auntan in https://github.com/Shopify/sarama/pull/2340
- fix: race condition(may panic) when closing consumer group by @Jacob-bzx in https://github.com/Shopify/sarama/pull/2331
- fix(consumer): default ResetInvalidOffsets to true by @dnwe in https://github.com/Shopify/sarama/pull/2345
- Validate the
Config
when creating a mock producer/consumer by @joewreschnig in https://github.com/Shopify/sarama/pull/2327
:package: Dependency updates
- chore(deps): bump module github.com/pierrec/lz4/v4 to v4.1.16 by @dnwe in https://github.com/Shopify/sarama/pull/2335
- chore(deps): bump golang.org/x/net digest to bea034e by @dnwe in https://github.com/Shopify/sarama/pull/2333
- chore(deps): bump golang.org/x/sync digest to 7f9b162 by @dnwe in https://github.com/Shopify/sarama/pull/2334
- chore(deps): bump golang.org/x/net digest to f486391 by @dnwe in https://github.com/Shopify/sarama/pull/2348
- chore(deps): bump module github.com/shopify/toxiproxy/v2 to v2.5.0 by @dnwe in https://github.com/Shopify/sarama/pull/2336
- chore(deps): bump module github.com/klauspost/compress to v1.15.11 by @dnwe in https://github.com/Shopify/sarama/pull/2349
- chore(deps): bump module github.com/pierrec/lz4/v4 to v4.1.17 by @dnwe in https://github.com/Shopify/sarama/pull/2350
:wrench: Maintenance
- chore(ci): bump kafka-versions to latest by @dnwe in https://github.com/Shopify/sarama/pull/2346
- chore(ci): bump go-versions to N and N-1 by @dnwe in https://github.com/Shopify/sarama/pull/2347
New Contributors
- @Jacob-bzx made their first contribution in https://github.com/Shopify/sarama/pull/2329
- @pkoutsovasilis made their first contribution in https://github.com/Shopify/sarama/pull/2317
- @Skandalik made their first contribution in https://github.com/Shopify/sarama/pull/2328
- @auntan made their first contribution in https://github.com/Shopify/sarama/pull/2340
- @ryarnyah made their first contribution in https://github.com/Shopify/sarama/pull/2295
Full Changelog: https://github.com/Shopify/sarama/compare/v1.36.0...v1.37.0