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.34.0 #1228

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Release async-nats/v0.34.0 #1228

merged 1 commit into from
Mar 4, 2024

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Mar 4, 2024

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, 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.

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.

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

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

Signed-off-by: Tomasz Pietrek tomasz@nats.io

@Jarema Jarema force-pushed the release-v0.34.0 branch 2 times, most recently from 0d64f45 to 54cf801 Compare March 4, 2024 14:54
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@Jarema Jarema marked this pull request as ready for review March 4, 2024 15:09
@Jarema Jarema merged commit 09e3cfd into main Mar 4, 2024
11 checks passed
@Jarema Jarema deleted the release-v0.34.0 branch March 4, 2024 15:23
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