Skip to content

Release v1.27.0

Compare
Choose a tag to compare
@piotrpio piotrpio released this 12 Jun 13:41
· 183 commits to main since this release
b2d067b

Changelog

Overview

This release focuses on improvements to new JetStream API and Service API (micro) preview functionalities.

Added

  • JetStream Simplified API:
    • StreamNameBySubject() method for stream discovery based on provided subject (#1292)

Improved

  • JetStream Simplified API:
    • Simplified lock handling for Consume() and Messages() (#1303)

Changed

  • JetStream Simplified API:
    • [BREAKING CHANGE] Renamed AddConsumer to CreateOrUpdateConsumer. This change is introduced in anticipation for separation of create and update operations in nats-server (#1300)
    • [BREAKING CHANGE] Change default AckPolicy to AckPolicyExplicit (#1278)
    • [BREAKING CHANGE] Fixed typo in PullThresholdBytes type name (#1300)
    • [BREAKING CHANGE] Removed push consumer only fields from ConsumerConfig (#1300)
    • [BREAKING CHANGE] Removed context.Context from PublishAsync and PublishMsgAsync (#1300)
  • Service API (micro):
    • [BREAKING CHANGE] More verbose endpoint INFO schema (#1277)
      • Endpoint metadata was moved from STATS response to INFO response
      • INFO now returns endpoints object, containing subject, name and metatada. This replaces subject field.

Fixed

  • JetStream Simplified API:
    • Fixed data race on ErrNoHeartbeat. Thanks @alexisvisco for the contibution! (#1291)
    • Fixed incorrect example in jetstream/README.md). Thanks @bojanz for the contribution! (#1295)
  • Object Store:
    • Fixed leaking goroutines after calling Put() and PutBytes() (#1282)
  • Flaky tests picking the used port for cluster connections (#1284, #1298)
  • Division by zero fixes in bechmark tests. Thanks @Zamony fot the contribution! (#1293)

Complete Changes

v1.26.0...v1.27.0