Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release async-nats/v0.28.0 #857

Merged
merged 1 commit into from
Mar 2, 2023
Merged

Release async-nats/v0.28.0 #857

merged 1 commit into from
Mar 2, 2023

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Mar 1, 2023

0.28.0

Overview

This release prepares the client for 2.10.0 server release and adds some fixes and improvements.

To use the new features before the server 2.10.0 release, enable server-2.10 feature.

Breaking Changes

To enable NAK with backoff, AckKind::NAK enum variant was changed

What was before:

AckKind::Nak

now is:

AckKind::Nak(Option<std::time::Duration>)

Which means a standard NAK example

let message = messages.next().await?;
message.ack_kind(AckKind::Nak).await?;

Now should be used like this

let message = messages.next().await?;
message.ack_kind(AckKind::Nak(None)).await?;

or with custom NAK

message.ack_kind(AckKind::Nak(Some(std::time::Duration::from_secs(10))).await?;

Consumer info cluster field is now Option

This field is provided only in clustered mode, so it's now properly inline with that.

Added

Fixed

Changed

Full Changelog: nats/v0.24.0...async-nats/v0.28.0

@Jarema Jarema requested a review from caspervonb March 1, 2023 23:15
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Jarema Jarema force-pushed the release/async-nats-v0.28.0 branch 2 times, most recently from c959938 to 9af9de8 Compare March 2, 2023 15:07
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@Jarema Jarema force-pushed the release/async-nats-v0.28.0 branch from 9af9de8 to bda7b5a Compare March 2, 2023 15:09
@Jarema Jarema merged commit c70478c into main Mar 2, 2023
@Jarema Jarema deleted the release/async-nats-v0.28.0 branch March 2, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants