Releases: nats-io/nats.rs
Releases · nats-io/nats.rs
Release v0.17.0
Overview
This release brings a lot of changes and refactors among which the highlights are:
- A complete rewrite of the JetStream API with a new subscription interface
- Improvements of JetStream internals
- Key-Value Store support
- Object Store support
Breaking Changes
- Introduce a
JetStream
type by @caspervonb in #247 - Move Consumer Management to JetStream by @Jarema in #250
- Re-work JetStream push consumer interface by @caspervonb in #252
- Re-work JetStream pull consumer interface by @Jarema in #302
- Rename create_stream to add_stream by @Jarema in #251
- Change return type of add_consumer to
ConsumerInfo
by @caspervonb in #252
Added
- Add header module by @caspervonb in #260
- Implement key-value store by @caspervonb in #267
- Implement object store by @caspervonb in #269
- Lame duck mode support by @Jarema in #265
- Add domain field to
PubAck
by @caspervonb in #243 - Add support for JetStream publishing by @caspervonb in #248
- Add
error_callback
by @derekcollison in #253 - Add
get_message
to JetStream context by @caspervonb in #267 - Add
get_last_message
to JetStream context by @caspervonb in #267 - Add option
retry_on_failed_connect
by @pozsgaic in #223 - Add support for different .pem contents by @Jarema #280
- Introduce ServerAddress by @MattesWhite in #276
Changed
- Allow for inline header description with spaces by @caspervonb in #241
- Allow setting a jetstream api prefix from a domain by @caspervonb in #244
- Have Client in Message as Option by @Jarema in #258
- Change jetstream log level to debug by @caspervonb #307
- Bump MSRV to 1.53.0
Minor
- Reduce allocations in
Headers::try_from
by @caspervonb in #238 - Improve error handling by @caspervonb in #249
- Some additions.. by @derekcollison in #253
- Bump blocking crate by @Jarema in #255
- Add
sealed
field tojetstream::StreamConfig
by @caspervonb in #256 - Fix unsubscribe method behavior to act as in docs by @Jarema in #301
- Fix license formatting so it is properly detected by Github and add missing license banners in files by @Jarema in #292
- Fix Object read and object_store tests by @stevelr and @Jarema #282
Big Thanks to our contributors: @stevelr @MattesWhite and @pozsgaic!
Full Changelog: v0.16.0...v0.17.0
Release v0.16.0
Changelog
Added
- Added support for header status and no responders to requests (#219)
- Added support for username and password as part of the url (#216)
- Added support for client side periodic pings
Changed
- Bumped MSRV to 1.52.0
Removed
- Use of IntervalTree for client side de-dupe for JetStream consumers
- Serialized used of test servers, tests can now run in parallel
Improved
- Better handling of write errors and server disconnects as part of client side ping support
- Better handling of message headers
Complete Changes
0.15.2
0.15.0
0.14.0
0.13.1
New Features
- #199 implemented
asynk::Subscription::try_next
. - #199 implemented conversion traits b/w sync & async
Message types. - #205
Options::tls_client_config
allows users to
provide a manually-configuredrustls::ClientConfig
for communicating to the server, for cases where
certificates are not available on the filesystem.