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