Skip to content

Release v1.40.0

Compare
Choose a tag to compare
@piotrpio piotrpio released this 24 Mar 13:50
· 18 commits to main since this release
42828a0

Changelog

Overview

This release focuses on adding support for new features from NATS Server v2.11.0. This includes:

  • Per message TTLs
  • Consumer pause and resume

Batch direct get will be released in orbit. Support for consumer priority groups will be added in the next minor release.

Added

  • JetStream:
    • Pause and resume JetStream consumer. Thanks @yordis for the contribution (#1571)
    • Per message TTL option for JetStream publish (#1825)
    • Timeout option for async publish (#1819)
  • Service API
    • Support for disabling queue groups at service, group, and endpoint levels (#1797)
  • Core NATS:
    • ReconnectErrCB for handling failed reconnect attempts in a callback. Thanks @sschleemilch for the contribution (#1804)

Fixed

  • JetStream
    • Invalid subscription on ordered consumer in leaderless cluster (#1808)
    • Ordered consumer not restarting on no responders (#1827)
    • Avoid ack id collision in PublishAsync (#1812)
    • Possible panic in Consumer.Fetch (#1828)
    • Use resp.Error to show NATS error in deleteMsg. Thanks @imariman for the contribution (#1822)
  • KeyValue
    • Deadlock when fetching keys from KV while messages are deleted/purged (#1824)

Changed

  • Bump go version to 1.23 and update dependencies (#1821)

Complete Changes

v1.39.1...v1.40.0