Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.32.0
Overview
This PR focuses on two things:
server_2_10
feature by defaultAn important change introduced by a reworked connection handler is that users should not need
to manually flush by calling
client.flush().await
to reduce latency.Added
get
andget_all
semantics toHeaderMap
by @n1ghtmare in Introduceget
andget_all
semantics toHeaderMap
#1071Header::append
value toIntoHeaderValue
by @caspervonb in ChangeHeader::append
value toIntoHeaderValue
#1076fmt::Display
forHeaderValue
by @caspervonb in Implementfmt::Display
forHeaderValue
#1086AsRef
forHeaderValue
by @caspervonb in ImplementAsRef
forHeaderValue
#1087From
forHeaderValue
on integer types by @caspervonb in ImplementFrom
forHeaderValue
on integer types #1083Changed
ServerOp
parsing by @paolobarbolini in Tidy upServerOp
parsing #1052impl AsRef<Path>
instead ofPathBuf
in credentials APIs by @paolobarbolini in Takeimpl AsRef<Path>
instead ofPathBuf
in credentials APIs #1012GET
ting and object's payload by @paolobarbolini in OptimizeGET
ting and object's payload #1040FromStr
forjetstream::kv::Operation
by @n1ghtmare in ImplementFromStr
forjetstream::kv::Operation
#1056Duration
in a few more places by @paolobarbolini in UseDuration
in a few more places #1038error_impls
by @nepalez in [Refactoring] Use a generic error type instead of the macroerror_impls
#1047Fixed
.as_ref()
by @robjtede in Fix potentially ambiguous.as_ref()
#1062New Contributors
error_impls
#1047.as_ref()
#1062Full Changelog: async-nats/v0.30.1...async-nats/v0.32.0
Signed-off-by: Tomasz Pietrek [email protected]