github nats-io/nats.go v1.18.0
Release v1.18.0

latest releases: v1.37.0, v1.36.0, v1.35.0...
23 months ago

Changelog

Added

  • JetStream:
    • Support for DiscardNewPerSubject on stream configuration (#1102)
  • KV:
    • KeyValueStores() and KeyValueStoreNames() methods for listing key value buckets (#1088)
    • Bytes() method on KeyValueStatus returning size of the bucket (#1092)

Improved

  • JetStream:
    • Comment on Subscribe() method in JetStream interface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to @sylr for the contribution (#1100)

Changed

  • JetStream:
    • Ordered consumer is now being recreated on missing heartbeat (#1097)
    • AckNone policy can now be set for pull consumers (#1090)
  • ObjectStore:
    • [BREAKING] ObjectStores() now returns channel of ObjectStoreStatus instead of ObjectStore interface (#1099)
    • [BREAKING] Options on various ObjectStore methods now have individual types (GetObjectOpt, GetObjectInfoOpt and ListObjectsOpt). Only options applicable for a particular method can be used (#1091)
    • [BREAKING] When listing/fetching object info, deleted objects are now hidden by default. New options are added to enable fetching deleted objects (GetObjectInfoShowDeleted(), GetObjectShowDeleted() and ListObjectsShowDeleted() (#1091)

Fixed

  • JetStream:
    • Invalid JSON tag on Tiers field on AccountInfo struct (#1095)

Complete Changes

v1.17.0...v1.18.0

Don't miss a new nats.go release

NewReleases is sending notifications on new releases.