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

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

Changelog

Added

  • Core NATS:
    • TLSHandshakeFirst option to perform TLS handshake before receiving the INFO protocol message. Note: This option is not yet available in nats-server (#1433)
  • JetStream:
    • CreateOrUpdateStream helper function to create a stream if it does not exist or update an existing stream. Thanks to @samanebi for the contribution (#1395)

Fixed

  • Test (dev) dependencies are no longer added to go.mod when using nats.go. Thanks to @masumomo for the contribution (#1441)
  • JetStream:
    • Panic on Consumer.Info() when empty response and errors are returned (#1426)
    • Invalid handling of heartbeats in Consume and Messages (#1428)
  • Legacy JetStream:
    • Panic on ConsumerInfo() when empty response and errors are returned (#1426)

Improved

  • Fixed typos in jetstream/README.md. Thanks @cbrake for the contribution (#1436)
  • Updated client dependencies list (#1439, #1440)

Complete Changes

v1.30.2...v1.31.0

Don't miss a new nats.go release

NewReleases is sending notifications on new releases.