github IBM/sarama v1.46.2
Version 1.46.2 (2025-10-10)

19 hours ago

What's Changed

A big focus on improving our support for newer protocol versions in this release, particularly supporting a wider range of flexible versions

🎉 New Features / Improvements

🐛 Fixes

  • fix: update map rather than create a new map by @hindessm in #3302
  • fix: metadata_response valid version range by @hindessm in #3304
  • fix: add V4 as valid CreateTopicsResponse by @dnwe in #3305
  • fix: correct requiredVersion for DescribeLogDirsResponse by @dnwe in #3306
  • fix: extend TestAllocateBodyProtocolVersions for more testing by @dnwe in #3307
  • fix: non-flexible ElectLeadersRequest V0/V1 encode/decode by @hindessm in #3312
  • fix: make alterPartitionReassignmentsBlock consistent by @hindessm in #3313
  • fix: correct decodeRequest bytesRead return value by @hindessm in #3314
  • fix: decoder issues by @hindessm in #3327
  • fix: improve KIP-511 behaviour on older Kafka clusters by @dnwe in #3328
  • fix: return correct error when encoding by @hindessm in #3333
  • fix: correct ApiVersionsResponse handling of ErrUnsupportedVersion by @dnwe in #3337

📦 Dependency updates

  • chore(deps): update ossf/scorecard-action action to v2.4.3 by @renovate[bot] in #3318
  • fix(deps): update module golang.org/x/net to v0.46.0 by @renovate[bot] in #3343

🔧 Maintenance

  • chore: remove redundant insufficient data checks by @hindessm in #3300
  • refactor: use struct rather than map with one entry by @hindessm in #3301
  • chore(ci): adopt gotestsum and re-run flakes by @dnwe in #3311
  • refactor: Flexible encoding/decoding refactoring by @hindessm in #3317
  • chore(fvt): refactor docker-compose and support KRaft by @dnwe in #3323
  • fix(fvt): simplify retry using testify's EventuallyWithT by @dnwe in #3324
  • chore: add 3.9.1 and 4.1.0 version constants and FVT by @dnwe in #3325
  • refactor: get/put for KError by @hindessm in #3326
  • refactor: get/put for throttle time ms time.Duration by @hindessm in #3330
  • chore(fvt): improve testFuncConsumerGroupMember by @dnwe in #3329

➕ Other Changes

  • fix(fvt): check err before usage by @dnwe in #3338

Full Changelog: v1.46.1...v1.46.2

Don't miss a new sarama release

NewReleases is sending notifications on new releases.