Skip to content

Releases

Version 1.62.0 (2026-11-20)

Choose a tag to compare

@dnwe dnwe released this 20 Nov 00:02
3c1a067

Important

If you build a MetadataRequest yourself, an empty non-nil Topics (such as []string{}) at version 1 or above now asks for no topics, returning only the brokers and controller, as the Kafka protocol defines. Set Topics to nil to fetch all topics. NewMetadataRequest still treats an empty list as all topics. See #3810.

What's Changed

πŸŽ‰ New Features / Improvements

  • feat(producer): add context aware SyncProducer sends by @FireBurn in #3844
  • feat(protocol): support KIP-890 TRANSACTION_ABORTABLE by @dnwe in #3855

πŸ› Fixes

  • fix(broker): validate ApiVersions response header by @dnwe in #3803
  • fix(admin): refresh controller before each retry by @dnwe in #3793
  • fix(admin): retry group calls while coordinator loads by @dnwe in #3794
  • fix(offset): let PartitionOffsetManager.Close return by @dnwe in #3808
  • fix(consumer): don't exhaust Retry.Max on a switch by @dnwe in #3796
  • fix(admin): open brokers under the client lock by @dnwe in #3795
  • fix(admin): retry DeleteRecords like Java by @dnwe in #3797
  • fix(protocol): don't send an unclean election as ElectLeaders v0 by @hsdfat in #3852
  • fix(admin): retry DescribeConsumerGroups like Java by @dnwe in #3798
  • fix(admin): return ErrClosedClient from list calls by @dnwe in #3799
  • fix(producer): flush partial batches on Close by @dnwe in #3800
  • fix(producer): keep flushing batch ahead on retry by @dnwe in #3801
  • fix(producer): don't use up a retry after recovery by @dnwe in #3802
  • fix(offset): keep a reset made during two commits by @dnwe in #3807
  • fix(offset): back off between final commit attempts by @dnwe in #3806
  • fix(client): don't join an all-topics refresh by name by @dnwe in #3811
  • fix(client): don't let leader epochs go backwards by @dnwe in #3812
  • fix(offset): build commit requests in one place by @dnwe in #3809
  • fix(client): find the controller with no topics by @dnwe in #3810
  • fix(consumer): report joined generation in user data by @dnwe in #3816
  • fix(consumer): skip topics the cluster lacks in balance by @dnwe in #3817
  • fix(protocol): add missing ConfigSource values by @sebxt in #3842
  • fix(admin): add KIP-373 ACL operations and User resource type by @sebxt in #3846
  • fix: make broker throttle waits interruptible on close by @liuzengh in #3711
  • fix(producer): only refresh metadata before a retry when it is stale by @omkar619-dev in #3849
  • fix(admin): surface the ListGroups error code in ListConsumerGroups by @fadiroot in #3819
  • fix(protocol): require Kafka 2.2 for ElectLeaders by @dnwe in #3854
  • fix: resolve gohawk lock and race findings by @dnwe in #3853
  • fix(protocol): decode compressed batches with more records than bytes by @hsdfat in #3851
  • fix(offset): avoid deadlock when closing during a blocked commit by @hsdfat in #3753

πŸ“¦ Dependency updates

  • chore(deps): bump github.com/klauspost/compress from 1.20.1 to 1.20.4 by @dependabot[bot] in #3862
  • chore(deps): bump github.com/xdg-go/scram from 1.2.0 to 1.4.0 in /examples/sasl_scram_client by @dependabot[bot] in #3860
  • fix(deps): update module golang.org/x/sync to v0.25.0 by @renovate[bot] in #3832
  • chore(deps): update dependency golangci/golangci-lint to v2.15.0 by @renovate[bot] in #3863
  • chore(deps): update docker/bake-action action to v7.5.0 by @renovate[bot] in #3870
  • chore(deps): bump the golang-x group across 1 directory with 2 updates by @dependabot[bot] in #3864
  • chore(deps): update module golang.org/x/crypto to v0.59.0 by @renovate[bot] in #3871
  • chore(deps): update ossf/scorecard-action action to v2.5.0 by @renovate[bot] in #3872
  • examples: bump deps for compliance by @dnwe in #3874
  • fix(deps): update module golang.org/x/net to v0.63.0 by @renovate[bot] in #3831
  • chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.31 to 4.1.33 by @dependabot[bot] in #3830
  • chore(deps): update ossf/scorecard-action action to v2.6.0 by @renovate[bot] in #3882

πŸ”§ Maintenance

  • chore: apply errorsastype modernizer by @dnwe in #3804
  • chore: refresh examples go.mod and go mod tidy by @dnwe in #3840
  • chore(ci): update Staticcheck for Go 1.27 export data by @DCjanus in #3847
  • test: update gzip fixtures for zero modification time by @DCjanus in #3867
  • ci: label pull requests by change size by @DCjanus in #3868
  • ci: adjust pr-size boundaries by @dnwe in #3869
  • chore(docs): fix typos in examples and changelog by @dnwe in #3878
  • test: answer on every mock broker by @dnwe in #3879
  • test(offset): check Close commits marked offsets by @dnwe in #3814
  • test(functional): cover a failed sync under a Java leader by @dnwe in #3823
  • test(producer): make retry shutdown test deterministic by @JamesMGreene in #3857
  • chore(docs): update changelog for 1.62.0 by @dnwe in #3883

New Contributors

Full Changelog: v1.61.1...v1.62.0

Version 1.61.1 (2026-09-27)

Choose a tag to compare

@dnwe dnwe released this 27 Sep 14:33

What's Changed

πŸ› Fixes

  • fix(protocol): add tagged field to alter configs config entries by @prestona in #3773
  • fix(producer): number idempotent batches at flush by @dnwe in #3762
  • fix: several correctness bugs in the txnmgr compared with Java by @dnwe in #3764
  • fix(producer): keep resent batches muted on retry by @dnwe in #3765
  • fix(producer): bump idempotent epoch once per batch by @dnwe in #3768
  • fix(consumer): notify before releasing on abort by @dnwe in #3771
  • fix(consumer): recheck closed after taking lock by @dnwe in #3772
  • fix(client): metadata and broker lifecycle races by @dnwe in #3774
  • fix: only abandon the current broker worker by @dnwe in #3777
  • fix(consumer): fetch stable offsets for read_committed by @dnwe in #3779
  • fix(txn): retry every retriable transaction error by @dnwe in #3783
  • fix(txn): epoch bump follow-ups by @dnwe in #3766
  • fix(txn): commit transactional offsets correctly by @dnwe in #3780
  • fix(broker): enforce MaxOpenRequests before writing by @dnwe in #3782
  • fix(consumer): keep member id across cooperative rejoin by @dnwe in #3763
  • fix(consumer): cooperative rejoin and coordinator move by @dnwe in #3769
  • fix(consumer): preferred read replica fallbacks by @dnwe in #3785

πŸ“¦ Dependency updates

  • fix(deps): update module github.com/klauspost/compress to v1.20.1 - autoclosed by @renovate[bot] in #3786
  • chore(deps): update dependency golangci/golangci-lint to v2.14.0 by @renovate[bot] in #3776
  • fix(deps): update module github.com/pierrec/lz4/v4 to v4.1.31 by @renovate[bot] in #3788

πŸ“ Documentation

  • docs(consumer): commit before revoke without autocommit by @dnwe in #3784

βž• Other Changes

  • test(functional): cover admin AlterConfig by @dnwe in #3775
  • test(admin): answer FindCoordinator on both brokers by @dnwe in #3778

Full Changelog: v1.61.0...v1.61.1

Version 1.61.0 (2026-09-22)

Choose a tag to compare

@dnwe dnwe released this 22 Sep 00:16
4d07ef2

What's Changed

πŸŽ‰ New Features / Improvements

  • feat(consumer): support cooperative rebalancing by @dnwe in #3696
  • feat: support KIP-848 ConsumerGroupDescribe API by @shilohlee98 in #3748
  • examples: add cooperative-sticky assignor to consumergroup by @dnwe in #3760

πŸ› Fixes

  • fix(client): only deregister the broker registered under that ID by @hsdfat in #3752
  • fix(consumer): stop roundrobin balancer looping on an unsubscribed topic by @lenamonj in #3740
  • fix(producer): drain pending responses immediately once channel closes by @navi89mai in #3729
  • fix: prevent race in asyncProducer retryHandler by @dloebl in #3733
  • fix(protocol): return ErrUnsupportedVersion for absent broker API keys by @wxldonnaBJ in #3741

πŸ“¦ Dependency updates

  • chore(deps): update dependency golangci/golangci-lint to v2.13.2 by @renovate[bot] in #3732
  • chore(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.0 by @dependabot[bot] in #3743
  • chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.29 to 4.1.30 by @dependabot[bot] in #3751
  • chore(deps): update dependency vearutop/teststat to v0.1.29 by @renovate[bot] in #3730
  • chore(deps): bump the golang-x group across 1 directory with 3 updates by @dependabot[bot] in #3749
  • chore(deps): update docker/bake-action action to v7.4.0 - autoclosed by @renovate[bot] in #3756
  • chore(deps): update docker/setup-buildx-action action to v4.4.1 by @renovate[bot] in #3757

πŸ”§ Maintenance

  • fix(test): capture logs without replacing the global Logger by @official-burak in #3737
  • test(functional): cover cooperative Java interoperability by @dnwe in #3754

πŸ“ Documentation

New Contributors

Full Changelog: v1.60.2...v1.61.0

Version 1.60.2 (2026-08-24)

Choose a tag to compare

@dnwe dnwe released this 23 Aug 23:29

What's Changed

πŸ› Fixes

  • fix: correct JoinGroup v8 selection threshold to V3_2_0_0 by @mpicque in #3722

πŸ“¦ Dependency updates

  • chore(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by @dependabot[bot] in #3706
  • chore(deps): bump github.com/pierrec/lz4/v4 from 4.1.27 to 4.1.28 by @dependabot[bot] in #3705
  • chore(deps): update module golang.org/x/crypto to v0.55.0 by @renovate[bot] in #3707
  • fix(deps): update module github.com/stretchr/testify to v1.12.0 by @renovate[bot] in #3713
  • fix(deps): update module github.com/stretchr/testify to v1.12.1 by @renovate[bot] in #3719
  • fix(deps): update module github.com/pierrec/lz4/v4 to v4.1.29 by @renovate[bot] in #3718
  • fix(deps): update module golang.org/x/net to v0.58.0 by @renovate[bot] in #3708
  • chore(deps): update docker/setup-buildx-action action to v4.3.0 by @renovate[bot] in #3726

πŸ”§ Maintenance

  • chore(ci): update linters for Go 1.27 by @dnwe in #3725

New Contributors

Full Changelog: v1.60.1...v1.60.2

Version 1.60.1 (2026-07-29)

Choose a tag to compare

@dnwe dnwe released this 29 Jul 19:42
3e29cc9

What's Changed

πŸŽ‰ New Features / Improvements

  • feat(consumer): add rebalance protocol plumbing by @dnwe in #3670
  • feat: add Kafka versions 4.1.2, 4.2.1 and 4.3.1 by @dnwe in #3675
  • feat: raise default Kafka version to 2.8.0 by @dnwe in #3676
  • feat(consumer): add cooperative sticky assignor by @dnwe in #3671
  • feat: add TransactionClusterAdmin for KIP-664 detection APIs by @adrian-januzi in #3669
  • feat(offset): commit revoked partitions on cooperative rebalance by @dnwe in #3688

πŸ› Fixes

  • fix(consumer): preserve pauses across reassignment by @dnwe in #3681
  • fix(producer): wake stranded brokerProducer when partition unmutes by @dnwe in #3692

πŸ“¦ Dependency updates

  • fix(deps): update module github.com/klauspost/compress to v1.19.1 by @renovate[bot] in #3649
  • chore(deps): update ossf/scorecard-action action to v2.4.4 by @renovate[bot] in #3683

πŸ”§ Maintenance

  • refactor(consumer): separate join and sync round by @dnwe in #3680

New Contributors

Full Changelog: v1.60.0...v1.60.1

Version 1.60.0 (2026-07-13)

Choose a tag to compare

@dnwe dnwe released this 13 Jul 19:35
8f58ebd

What's Changed

πŸŽ‰ New Features / Improvements

  • feat: support Metadata V11 by @dnwe in #3636
  • feat: support Produce V10 by @dnwe in #3637
  • feat: support DescribeProducers v0 by @dnwe in #3659
  • feat: support DescribeTransactions v0 by @dnwe in #3661
  • feat: support int64 arrays in flexible protocol by @dnwe in #3662
  • feat: support ListTransactions v0 and v1 by @dnwe in #3663
  • feat: more flexible protocols for kafka28 parity by @dnwe in #3664
  • feat: support KIP-516 topic ids by @dnwe in #3666

πŸ› Fixes

  • fix: correct fetch v12 tagged struct encoding by @dnwe in #3638
  • fix: map new metadata request v8 to kafka 2.3.0 by @fereidani in #3642
  • fix: handle zstd encoder and decoder construction errors by @fereidani in #3643
  • fix: release retry mute on shutdown handoff by @dnwe in #3645
  • fix: order non-idempotent connection retries by @dnwe in #3644

πŸ“¦ Dependency updates

  • chore(deps): bump the golang-x group across 1 directory with 3 updates by @dependabot[bot] in #3660
  • chore(deps): update docker/setup-buildx-action action to v4.2.0 by @renovate[bot] in #3658
  • chore(deps): update docker/bake-action action to v7.3.0 by @renovate[bot] in #3652
  • chore(deps): bump github.com/klauspost/compress from 1.18.6 to 1.19.0 by @dependabot[bot] in #3651
  • chore(deps): update golangci/golangci-lint-action action to v9.3.0 by @renovate[bot] in #3648

βž• Other Changes

New Contributors

Full Changelog: v1.50.3...v1.60.0

Version 1.50.3 (2026-06-15)

Choose a tag to compare

@dnwe dnwe released this 15 Jun 12:05

What's Changed

πŸŽ‰ New Features / Improvements

  • feat: support Fetch v12 by @dnwe in #3609
  • feat: support CreateTopics v6 by @dnwe in #3622
  • feat: support DeleteTopics v5 by @dnwe in #3624
  • feat: support AddPartitionsToTxn v3 by @hindessm in #3625
  • feat: support Produce v9 by @dnwe in #3629
  • feat: support CreatePartitions v3 by @dnwe in #3631
  • feat: expose broker features from ApiVersions v3 by @dnwe in #3633
  • feat: support UpdateFeatures by @dnwe in #3632
  • feat: add OnAssignmentBalanceStrategy, the onAssignment half of the assignor contract by @lizthegrey in #3627
  • feat: support ApiVersions V4 and discover upgradable features in test by @dnwe in #3634

πŸ› Fixes

  • fix: avoid makeslice "len out of range" panics on invalid response by @hindessm in #3612
  • fix: avoid makeslice panic in request decode too by @dnwe in #3613
  • fix(test): wait for leaders after topic create by @dnwe in #3623
  • fix(consumer): don't panic on requeue after unref by @dnwe in #3630

πŸ“¦ Dependency updates

  • chore(deps): update golang-x to v0.53.0 by @renovate[bot] in #3618
  • fix(deps): update module golang.org/x/sys to v0.46.0 - autoclosed by @renovate[bot] in #3617
  • fix(deps): update module golang.org/x/sync to v0.21.0 by @renovate[bot] in #3616
  • fix(deps): update module golang.org/x/net to v0.56.0 by @renovate[bot] in #3626

πŸ”§ Maintenance

  • chore: update default Kafka version to 2.6 by @dnwe in #3608
  • chore: more protocol version placeholders by @hindessm in #3610
  • chore: extend fuzz testing to more types by @dnwe in #3614
  • chore: clean up Int32 array encode/decode by @hindessm in #3619
  • chore: apply Go's modernize fixes by @dnwe in #3621

Full Changelog: v1.50.2...v1.50.3

Version 1.50.2 (2026-06-05)

Choose a tag to compare

@dnwe dnwe released this 05 Jun 16:01
959f157

What's Changed

πŸŽ‰ New Features / Improvements

  • feat(consumer): add support for SyncGroupRequest/Response v5 (KIP-559) by @dnwe in #3591
  • feat(txn): add protocol support for TxnOffsetCommit v3 by @dnwe in #3592
  • feat(txn): support consumer group metadata in TxnOffsetCommit v3 by @dnwe in #3593
  • feat(admin): add protocol support for DeleteRecords v2 (KIP-482) by @dnwe in #3594
  • feat(protocol): add support for DescribeConfigs v3 and v4 by @dnwe in #3596
  • feat(admin): add DescribeConfigs for multiple resources by @dnwe in #3600
  • feat(consumer): option to cap decompressed batch size by @dnwe in #3604

πŸ› Fixes

  • fix(admin): retry ACL and SCRAM ops on stale controller by @dnwe in #3598

πŸ“¦ Dependency updates

  • fix(deps): update module github.com/pierrec/lz4/v4 to v4.1.27 by @renovate[bot] in #3597

Full Changelog: v1.50.1...v1.50.2

Version 1.50.1 (2026-05-27)

Choose a tag to compare

@dnwe dnwe released this 27 May 21:59
bb409c0

What's Changed

πŸ› Fixes

  • fix: correct requiredVersion for V8 JoinGroup and add protocol version placeholders by @dnwe in #3585

Full Changelog: v1.50.0...v1.50.1

Version 1.50.0 (2026-05-27)

Choose a tag to compare

@dnwe dnwe released this 27 May 18:55
33f6602

What's Changed

πŸŽ‰ New Features / Improvements

  • feat: add Java-compatible murmur2 partitioner by @dnwe in #3567
  • feat(protocol): support LeaveGroupRequest/Response v5 (KIP-800) by @dnwe in #3576
  • feat(protocol): support JoinGroupRequest/Response v8 (KIP-800) by @dnwe in #3577
  • feat(consumer_group): set cancellation cause on session context by @prakhar7651 in #3575
  • feat(consumer_group): send KIP-800 reason on JoinGroup and LeaveGroup by @dnwe in #3584
  • feat: add Kafka 4.3.0 version placeholder by @dnwe in #3587
  • feat(admin): support OffsetFetchRequest v8 by @dnwe in #3565

πŸ› Fixes

  • fix(client): don't log ErrNoTopicsToUpdateMetadata every tick by @dnwe in #3566
  • fix(broker): snapshot fetch meters before deferred Mark by @dnwe in #3563
  • fix: prevent len out of range panic on 32bit architectures by @gibmat in #3579
  • fix(offset): retry fetchInitialOffset on top-level coordinator errors by @dnwe in #3574

πŸ“¦ Dependency updates

  • chore(deps): update docker/bake-action action to v7.2.0 by @renovate[bot] in #3568
  • fix(deps): update module golang.org/x/sys to v0.45.0 by @renovate[bot] in #3570
  • chore(deps): update golangci/golangci-lint-action action to v9.2.1 by @renovate[bot] in #3571
  • chore(deps): update module golang.org/x/crypto to v0.52.0 by @renovate[bot] in #3572
  • fix(deps): update module golang.org/x/net to v0.55.0 by @renovate[bot] in #3573
  • chore(deps): update docker/setup-buildx-action action to v4.1.0 by @renovate[bot] in #3578

πŸ”§ Maintenance

  • refactor: replace eapache/queue with generic ring buffer by @dnwe in #3560
  • test(fvt): use a per-message timeout in follower failover test by @dnwe in #3562

New Contributors

Full Changelog: v1.49.0...v1.50.0