Skip to content

async-nats v0.17.0

Compare
Choose a tag to compare
@Jarema Jarema released this 13 Jul 10:02
· 614 commits to main since this release

Overview

This release focuses on two main things:

  • Refactor of JetStream API
  • Fix of slow connect (thanks @brooksmtownsend for reporting this!)

The changes in JetStream API make usage of builder more intuitive and seamless.
Before, you had to call

// before changes
let messages = consumer.stream().await?;
// or use a shortcut
let messages = consumer.messages().await?;

// after changes
let messages = consumer.stream().messages().await?;
// or with options
let messages = consumer.stream().max_bytes_per_bytes(1024).messages().await?;

Changed

Fixed

  • Fix slow connect in no-auth scenarios by @Jarema in #568

Other

Full Changelog: async-nats/v0.16.0...async-nats/v0.17.0