Version 1.37.0 (2022-09-28)
What's Changed
🚨 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.
🎉 New Features / Improvements
- feat(consumer): support multiple balance strategies by @Jacob-bzx in #2339
- feat(producer): transactional API by @ryarnyah in #2295
- feat(mocks): support key in MockFetchResponse. by @Skandalik in #2328
🐛 Fixes
- fix: avoid panic when Metadata.RefreshFrequency is 0 by @Jacob-bzx in #2329
- fix(consumer): avoid pushing unrelated responses to paused children by @pkoutsovasilis in #2317
- fix: prevent metrics leak with cleanup by @auntan in #2340
- fix: race condition(may panic) when closing consumer group by @Jacob-bzx in #2331
- fix(consumer): default ResetInvalidOffsets to true by @dnwe in #2345
- Validate the
Config
when creating a mock producer/consumer by @joewreschnig in #2327
📦 Dependency updates
- chore(deps): bump module github.com/pierrec/lz4/v4 to v4.1.16 by @dnwe in #2335
- chore(deps): bump golang.org/x/net digest to bea034e by @dnwe in #2333
- chore(deps): bump golang.org/x/sync digest to 7f9b162 by @dnwe in #2334
- chore(deps): bump golang.org/x/net digest to f486391 by @dnwe in #2348
- chore(deps): bump module github.com/shopify/toxiproxy/v2 to v2.5.0 by @dnwe in #2336
- chore(deps): bump module github.com/klauspost/compress to v1.15.11 by @dnwe in #2349
- chore(deps): bump module github.com/pierrec/lz4/v4 to v4.1.17 by @dnwe in #2350
🔧 Maintenance
- chore(ci): bump kafka-versions to latest by @dnwe in #2346
- chore(ci): bump go-versions to N and N-1 by @dnwe in #2347
New Contributors
- @Jacob-bzx made their first contribution in #2329
- @pkoutsovasilis made their first contribution in #2317
- @Skandalik made their first contribution in #2328
- @auntan made their first contribution in #2340
- @ryarnyah made their first contribution in #2295
Full Changelog: v1.36.0...v1.37.0