Skip to content

Releases

v0.21.0

Choose a tag to compare

@RobertIndie RobertIndie released this 31 Jul 04:16
v0.21.0
c5b1bc1

What's Changed

  • [improve] Reduce unnecessary creation of retry topics and DLQ topics (#1459) by @zjxxzjwang
  • [feat] Add offload policies API and tests to pulsaradmin (#1512) by @freeznet
  • [fix] Escape configuration values in UpdateDynamicConfiguration (#1505) by @Demogorgon314
  • [chore] Update Go to 1.25 and update the linter (#1515) by @kellyfj
  • [improve] Implement tls_client_auth for OAuth2 (#1514) by @izumo27
  • [chore] Update Testcontainers and change the Docker dependency to Moby (#1513) by @kellyfj
  • [docs] Add chunking documentation for DLQ/RLQ and integration tests (#1511) by @geniusjoe
  • [fix] Add bounds check for partition index int32 conversion (#1517) by @merlimat

New Contributors

v0.20.0

Choose a tag to compare

@RobertIndie RobertIndie released this 15 Jun 06:00
v0.20.0
1796b8a

What's Changed

  • [test] Add localhost advertised address to standalone startup (#1480) by @RobertIndie
  • [fix] Deliver null-value tombstones instead of discarding them (#1482) by @jcmfernandes
  • [fix] Fix race in grabConn dropping messages before handler registration (#1476) by @aleks-lazic
  • [fix] Add batchIdx to messageID.String() for batched messages (#1491) by @adrianiacobghiula
  • [feat] Add consumer PriorityLevel support (#1487) by @grishaf
  • [fix] Make access to consumer.consumers thread-safe (#1494) by @BewareMyPower
  • [fix] Fix connection panic caused by WaitGroup misuse on close (#1484) by @nodece
  • [test] Fix TestPriorityConsumer (#1495) by @nodece
  • [docs] Enhance ConnectionTimeout and KeepAliveInterval comments (#1488) by @geniusjoe
  • [fix] Add reconnect failure listener and auto-close on max retry exhaustion (#1490) by @PavelZeger
  • [fix] Fix deadlock when increasing partitioned consumers (#1500) by @BewareMyPower
  • [docs] Clarify SendAsync description (#1485) by @MukundaKatta
  • [fix] Remove default case in waitWithContext to prevent busy-spin deadlock (#1503) by @nodece

New Contributors

v0.19.0

Choose a tag to compare

@RobertIndie RobertIndie released this 15 Apr 10:38
v0.19.0
593fccf

What's Changed

  • [fix] Add JSON tag for UpdateAuthData in UpdateOptions (#1450) by @freeznet
  • [feat] Add RemovePersistence methods to namespace admin (#1447) by @freeznet
  • [improve] Add support for PIP-431: creation and last publish timestamps (#1451) by @codelipenghui
  • [docs] Update example code and add log initialization configurations (#1449) by @geniusjoe
  • [docs] Update release process to link release and release notes to the Pulsar website (#1453) by @RobertIndie
  • [improve] Change producer reconnect error logs to warn logs (#1445) by @RobertIndie
  • [feat] Implement ReconsumeLater on regex consumer (#1456) by @jordanfitz
  • [feat] Add support for issuer URL override in client credentials flow (#1463) by @freeznet
  • [feat] Add removal methods for namespace policies (#1465) by @freeznet
  • [feat] Add support for retrieving schema compatibility strategy with options (#1469) by @freeznet
  • [feat] Add remove replication clusters topic API (#1470) by @freeznet
  • [feat] Treat ProducerBlockedQuotaExceededException as retryable and continue reconnecting (#1457) by @geniusjoe
  • [fix] Fix panic when messages size is 0 (#1460) by @unJASON
  • [improve] Make service URL parsing compatible with Go 1.26 (#1468) by @nodece
  • [feat] Add scoped topic policies support (#1471) by @freeznet
  • [fix] Fix consumer not consuming resent chunked messages (#1464) by @geniusjoe

New Contributors

v0.18.0

Choose a tag to compare

@RobertIndie RobertIndie released this 15 Dec 02:33
v0.18.0

What's Changed

  • [improve] Modify the negativeACK structure to reduce memory overhead (#1410) by @gy-deng
  • [feat] Use -1 as sentinel value for namespace and topic admin commands (#1430) by @klevy-toast
  • [fix] Update namespace & topic admin methods to return nil if unset (#1433) by @klevy-toast
  • [test] Add unit test for unloading topic before consuming zero queue messages (#1434) by @crossoverJie
  • [feat] Add timestamp to schema info (#1436) by @freeznet
  • [fix] Fix the issue of unable to parse non-batch messages that with non-empty properties and empty payloads (#1435) by @coderzc
  • [chore] Bump github.com/dvsekhvalnov/jose2go from 1.6.0 to 1.7.0 (#1439) by @dependabot[bot]
  • [fix] Fix partition update failure causing existing producers to close (#1437) by @RobertIndie
  • [feat] Support reloading OAuth2 key file (#1441) by @RobertIndie
  • [chore] Bump golang.org/x/crypto from 0.36.0 to 0.45.0 (#1440) by @dependabot[bot]
  • [fix] Return error when the client transaction coordinator is nil to p… (#1444) by @thomas-bousquet
  • [fix] Enhance zero queue consumer reconnection handling and message permit management (#1443) by @crossoverJie

New Contributors

  • @gy-deng made their first contribution in #1410
  • @coderzc made their first contribution in #1435

v0.17.0

Choose a tag to compare

@RobertIndie RobertIndie released this 17 Oct 10:47
v0.17.0
ed7d498

What's Changed

  • [feat] Add eventTime support in reconsumeLaterWithCustomProperties() (#1400) by @YoungCoderboy
  • [fix] Replace panic with proper error handling in RPC client and lookup service (#1403) by @RobertIndie
  • [fix] DLQ messages lost system properties when sent from reconsumeLater() (#1392) by @geniusjoe
  • [fix] Handle reconnection logic for zero-queue consumer (#1404) by @crossoverJie
  • [fix] Add DLQPolicy.DeadLetterTopicProducerName to preserve producer name in DLQ messages (#1417) by @thomas-bousquet
  • [fix] Fix missing topic in DLQ producer name when using RetryEnable option (#1412) by @geniusjoe
  • [fix] SendAsync now respects context and can timeout during reconnection (#1422) by @RobertIndie
  • [fix] Improve zero-queue consumer support for partitioned topics (#1424) by @crossoverJie
  • [fix] Properties not consistently set in pulsar-admin subscription responses (#1419) by @JamesMurkin
  • [feat] Support Snappy compression type (#1406) by @geniusjoe
  • [feat] Add WithContext() admin client methods (#1425) by @thomas-bousquet
  • [feat] Add support for max topics per namespace (#1413) by @miton18
  • [fix] Allow multiple callbacks with concurrent producer flushes (async publish) (#1409) by @thomas-bousquet
  • [improve] Change pulsar_client_sending_buffers_count metric to client level (#1408) by @BewareMyPower
  • [chore] Upgrade hamba/avro to v2.29.0 (#1414) by @nodece
  • [chore] Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0 (#1415) by @dependabot[bot]
  • [chore] Bump github.com/docker/docker from 27.1.1+incompatible to 28.0.0+incompatible (#1405) by @dependabot[bot]

New Contributors

v0.16.0

Choose a tag to compare

@RobertIndie RobertIndie released this 05 Aug 03:09
v0.16.0
5a320e8

What's Changed

  • [fix][sec] Bump golang.org/x/net to address CVE-2025-22870, requires go 1.23 by @lhotari in #1351
  • [chore] Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 by @dependabot in #1349
  • [chore] Bump github.com/containerd/containerd from 1.7.18 to 1.7.27 by @dependabot in #1348
  • [fix] Use sha instead of tag for golangci/golangci-lint-action by @nodece in #1352
  • [feat] Prefetch role tokens in the background in the Athenz auth plugin by @masahiro-sakamoto in #1355
  • [feat] Make ZTS proxy configurable in athenz auth plugin by @masahiro-sakamoto in #1360
  • [fix] Fix reader hanging when startMessageId is latest by @RobertIndie in #1364
  • [fix] Fix CI can't be failed even the tests are failed by @RobertIndie in #1367
  • [improve] Improve perf with level guard in slogWrapper calls by @gareth-murphy in #1374
  • [feat] Support update or remove topic properties by @yunze-xu in #1381
  • [test] Skip very flaky TestMessageSingleRouter for now by @yunze-xu in #1382
  • [improve] Support ClientVersion in 2.x pulsar broker by @zhou-zhuohan in #1383
  • [test] Add Testcase to test using keyShared subscription and delayed messages at the same time by @zhou-zhuohan in #1361
  • [fix] Support json token file format authentication by @Qiang-Zhao in #1380
  • [chore] Replace deprecated api rand.Seed by @Young-xu in #1363
  • [fix] Fix namespace schema compatibility strategy by @Rui-Fu in #1386
  • [fix] Fix backoff unit tests by @zhou-zhuohan in #1387
  • [improve] Support http lookup getSchema interface by @zhou-zhuohan in #1368
  • [fix] Fix the default nack backoff policy by @Gilthoniel in #1385
  • [feat] Add pulsar admin namespace properties methods for PUT/GET/DELETE by @thomas-bousquet in #1390
  • [fix] Fix sending buffer race by using proper reference counting by @RobertIndie in #1394
  • [fix] ZeroQueueConsumer is not supported with RetryEnable by @crossoverJie in #1391
  • [fix] Add missing metric tracking of pulsar_client_consumer_acks for AckIDList method by @RobertIndie in #1396
  • [feat] Align topics level policies admin apis to java restful apis by @Rui-Fu in #1398

New Contributors

v0.15.1

Choose a tag to compare

@RobertIndie RobertIndie released this 26 May 10:40
v0.15.1
a5c6dee

What's Changed

v0.15.0

Choose a tag to compare

@RobertIndie RobertIndie released this 23 Apr 10:58
v0.15.0
0ab28c2

Important notice

  • The client has dropped support for Go 1.21. The minimum supported version is now Go
    1.22. (Related PR)

What's Changed

New Contributors

v0.14.0

Choose a tag to compare

@RobertIndie RobertIndie released this 30 Sep 01:52
v0.14.0
630d5f8

Important notice

  • The client has dropped support for Go 1.20. The minimum supported version is now Go
    1.21. (Related PR)
  • The BackoffPolicy interface and related methods has been moved to the backoff package from the internal package.
    The BackoffPolicy interface is renamed to
    Policy. (Related PR)

What's Changed

  • [improve] Install golang by image in the Dockerfile by @nodece in #1246
  • [ci] Validate multiple version builds and use golangci-lint-action by @nodece in #1250
  • [ci] Add merge limitation by @nodece in #1248
  • [fix] Fix the key-based batch can't guarantee the ordering when flushing by @RobertIndie in #1252
  • [fix] FailTimeoutMessages cannot delete outdated messages by @nodece in #1247
  • [fix] Fix pulsar admin revoke subscription permission endpoint by @NoFacePeace in #1251
  • [fix] Producer close was blocked by @nodece in #1249
  • [fix] PulsarCtl 1266 Oauth2 Client credentials flow use scopes from the keyfile as well by @Nikolajls in #1244
  • [feat] Add support for subscription expiration time namespace settings by @klevy-toast in #1254
  • [fix] Prevent panic when calling Flush on closed producer by @Gilthoniel in #1260
  • [fix] Avoid a data race when flushing with load by @Gilthoniel in #1261
  • [improve] Add InitialSubscriptionName for DLQPolicy by @crossoverJie in #1264
  • [fix] Peek message will return -1 for partitionIndex by @shibd in #1267
  • [chore] Bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible by @dependabot in #1269
  • [feat] Support the namespace offloadThresholdInSeconds API in pulsaradmin pkg by @ericsyh in #1271
  • [fix] Stop timer when close timedAckGroupingTracker by @geniusjoe in #1279
  • [improve] Refactor connection concurrency model by @Gilthoniel in #1275
  • [fix] Attempt to avoid deadlock during reconnection by @Gilthoniel in #1273
  • [fix] Fixed panic caused by memory not aligned in arm32 arch by @dream-kzx in #1286
  • [fix] Reconnection logic and Backoff policy doesn't work correctly by @crossoverJie in #1197

New Contributors

v0.13.1

Choose a tag to compare

@RobertIndie RobertIndie released this 09 Aug 10:10
v0.13.1
  • [fix] Avoid a data race when flushing with load by Gaylor Bosson in #1261
  • [fix] Prevent panic when calling Flush on closed producer by Gaylor Bosson in #1260
  • [fix] Producer close was blocked by Zixuan Liu in #1249
  • [ci] Validate multiple version builds and use golangci-lint-action by Zixuan Liu in #1250
  • [fix] Fix pulsar admin revoke subscription permission endpoint by 码斯克 in #1251
  • [fix] failTimeoutMessages cannot delete outdated messages by Zixuan Liu in #1247
  • [fix] Oauth2 Client credentials flow use scopes from the keyfile as well by Nikolaj Lund Sørensen in #1244
  • [fix] Fix the key-based batch can't guarantee the ordering when flushing by Zike Yang in #1252

Full Changelog: v0.13.0...v0.13.1