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
- chore: support V5 ListOffsets by @dnwe in #3308
- feat: support DeleteGroups V2 protocol by @hindessm in #3320
- feat: support DeleteTopics V4 protocol by @hindessm in #3321
- feat: support CreateTopics V5 protocol by @hindessm in #3322
- feat: support IncrementalAlterConfigs V1 protocol by @hindessm in #3319
- feat: support DescribeGroups V5 protocol by @hindessm in #3331
- feat: support SyncGroup V4 protocol by @hindessm in #3332
- feat: support LeaveGroup V4 protocol by @hindessm in #3334
- feat: support Heartbeat V4 protocol by @hindessm in #3335
- feat: support JoinGroup V6 protocol by @hindessm in #3339
- feat: support DescribeClientQuotas V1 protocol by @dnwe in #3342
🐛 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
Full Changelog: v1.46.1...v1.46.2