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.
Overview
This is a big release that introduces almost all breaking changes and API refinements before 1.0.0.
The last two pending breaking items are:
Subject
type (still discussed)publish
etc return aninto_future
based builder.Breaking Changes
Bytes
for key-value payloads by @caspervonb in UseBytes
for key-value payloads #939&str
over String where applicable by @paolobarbolini in Prefer returning&str
over String where applicable #878stream::Config::duplicate_window
toDuration
by @n1ghtmare in Changestream::Config::duplicate_window
toDuration
#1023Added
jetstream::Message
Acker
by @Jarema in Addjetstream::Message
Acker
#938watch_with_history
to KV store by @n1ghtmare in Addwatch_with_history
to KV store #902fmt::Display
forHeaderName
by @caspervonb in Implementfmt::Display
forHeaderName
#924Clone
forMessage
by @mgrachev in DeriveClone
forMessage
#975reconnect_delay_callback
toConnectOptions
by @n1ghtmare in Addreconnect_delay_callback
toConnectOptions
#962Message
serialize/deserialize by @thomastaylor312 in feat(message): MakesMessage
serialize/deserialize #998Fixed
object_store::ObjectInfo
fields by @n1ghtmare in Fix serialization ofobject_store::ObjectInfo
fields #895header::NATS_LAST_STREAM
by @caspervonb in Canonicalizeheader::NATS_LAST_STREAM
#948Changed
Error
type work with anyhow by @paolobarbolini in Make the currentError
type work with anyhow #1004What's Changed
base64
crate and use it in place ofbase64-url
by @paolobarbolini in Updatebase64
crate and use it in place ofbase64-url
#871client
module public by @caspervonb in Makeclient
module public #968Misc
ClientOp
private by @caspervonb in MakeClientOp
private #954Command
private by @caspervonb in MakeCommand
private #953HeaderName::from_str
by @caspervonb in Disallow non-alphanumeric inHeaderName::from_str
#944ClientOp
private by @caspervonb in MakeClientOp
private #954Command
private by @caspervonb in MakeCommand
private #953HeaderValue::from_str
by @caspervonb in Disallow new lines inHeaderValue::from_str
#943HeaderMap::new
by @caspervonb in DocumentHeaderMap::new
#981Serialize
,Deserialize
anddefault
attributes by @n1ghtmare in Remove redundant serdeSerialize
,Deserialize
anddefault
attributes #929jetstream
module documentation by @n1ghtmare in Improve top leveljetstream
module documentation #990Thank you for all your contributions!
Those make a difference and drive the ecosystem forward!
New Contributors
Full Changelog: async-nats/v0.29.0...async-nats/v0.30.0
Signed-off-by: Tomasz Pietrek tomasz@nats.io