Skip to content

Releases: nats-io/nats.rs

async-nats/v0.40.0

24 Mar 14:24
Compare
Choose a tag to compare

Overview

This release focuses on adding support for nats-server v2.11.

Added

Fixed

  • Revert stopping watcher and set seen_current instead by @Jarema in #1377
  • Fix alignment of port() with Url::port_or_known_default by @steveej in #1383

Changed

New Contributors

Full Changelog: async-nats/v0.39.0...async-nats/v0.40.0

async-nats/v0.39.0

19 Feb 13:28
Compare
Choose a tag to compare

Overview

This release focuses on improvements and fixes for Object Store and KV.
It also removes Service API from experiment feature list, as it is not experimental for quite some time.

Added

  • Add kv::watch_many functions by @Jarema in #1364
  • Add metadata and headers to Object Store by @Jarema in #1349
  • Allow updating Object Store metadata headers and metadata by @Jarema in #1362
  • Add additional methods for getting raw messages from the stream by @Jarema in #1359

Fixed

Changed

New Contributors

Full Changelog: async-nats/v0.38.0...async-nats/v0.39.0

async-nats/v0.38.0

19 Nov 13:44
Compare
Choose a tag to compare

Overview

This release adds Websockets support, using tokio-websocket implementation.
Feature is behind a feature flag websockets, enabled by default.

Breaking Changes

Added

Fixed

  • Fix adding back prefix in service group creation by @rexf in #1339

New Contributors

Full Changelog: async-nats/v0.37.0...async-nats/v0.38.0

Thank you for all your contributions!

async-nats/v0.37.0

01 Oct 07:56
2e6d9a7
Compare
Choose a tag to compare

A smaller release containing stats and Watcher improvements.

What's Changed

Full Changelog: async-nats/v0.36.0...async-nats/v0.37.0

async-nats/v0.36.0

03 Sep 06:54
Compare
Choose a tag to compare

Overview

This release adds a useful futures::Sink<PublishMessage>, and ability to get Stream handle without IO call,
among other changes.

Breaking changes

This release introduces StramMessage, which makes both get_raw_message and direct_get methods return the same type, allowing
for more easier interop between two.

  • Rework get_raw_message to return StreamMessage by @Jarema in #1292

Added

Fixed

  • Fix subscription_capacity documention default value by @nazar-pc in #1277
  • Fix serde Stream roundtrip by @Jarema in #1294
  • Fix KV create race after delete/purge by @fnichol in #1301
  • Allow setting size limit for object storage buckets by @liamkinne in #1278
  • Fix De/Serialize sample_frequency correctly for Push and Pull Consumers by @bengsparks in #1300

Changed

New Contributors

Thank you for all your contributions! 🎉

Full Changelog: async-nats/v0.35.1...async-nats/v0.36.0

async-nats/v0.35.1

14 May 07:05
Compare
Choose a tag to compare

Overview

This release fixes broken docs build caused by fips, which cannot be built in restricted docs.rs environment.

What's Changed

Full Changelog: async-nats/v0.35.0...async-nats/v0.35.1

Release async-nats/v0.35.0

06 May 11:21
5d007ca
Compare
Choose a tag to compare

Overview

This release makes tls setup more flexible, leveraging rusls v0.23 and allowing to pick crypto backend:

  • ring
  • aws-lc-rs
  • fips

Some other highlights:

  • force reconnect via force_reconnect method
  • explicit create/update consumer API

Thank you for all your contributions!

Added

Fixed

  • Use last header value for JetStream messages by @Jarema in #1239

Changed

New Contributors

Full Changelog: async-nats/v0.34.0...async-nats/v0.35.0

nats/v0.25.0

22 Apr 17:55
Compare
Choose a tag to compare

Overview

A small release that allows client compile on MIPS and PowerPC architectures.
It also adds the legacy notice and examples how to use async client in sync environments.

What's Changed

  • Add sync client legacy notice
  • Updates Message Metadata docs
  • Allow client to compile on MIPS and PowerPC by @protochron in #1210
  • Update NKEYS to v0.4.1

Thank you @protochron for your contribution!

async-nats/v0.34.0

04 Mar 15:24
Compare
Choose a tag to compare

0.34.0

Overview

This release introduces performance improvements (thanks to poll_recv_many #1189), improves resilience of
ordered consumers by recreating them in more cases while having less server calls. It also adds some new features.

Breaking Changes

Breaking changes are minor and should not affect most users, however, all are worth mentioning.

This change simplifies lifetimes of Boxed Futures, by making them static. It should not affect most users,
and if it does, removal of the lifetime should be a quick fix.

  • Add check for max payload size when publishing messages by @Jarema in #1211

The client was not checking if the message payload size was not exceeding the limits of the server it is connected to.
While doing the fix, the error returned was changed into one consistent with others: a struct with enum of possible
error variants under kind() method, of which one is MaxPayloadExceeded. This should not break users,
as before there was no enum in the first place, but it is a breaking change.

  • Add stream name check to all stream management methods by @Jarema in #1214

It added new enum variant to Consumer and Stream error kinds. Breaking for those who match those errors in exhaustive manner.

This changes to be a mut self from self while removing unnecessary clone.

Fixed

Added

Changed

New Contributors

Thank you for all your high quality contributions! They definately help us push the library into the right direction!

Full Changelog: nats/v0.24.1...async-nats/v0.34.0

Release nats/v0.24.1

08 Nov 08:00
Compare
Choose a tag to compare

Overview

This is a patch release for all pending changes and backports for legacy sync nats client, especially for TLS

What's Changed