async-nats 0.15.0 with JetStream, nats 0.21.0
Jarema
released this
17 Jun 13:27
·
659 commits
to main
since this release
Overview
This release is the first JetStream
馃嵕 feature set for async-nats
!
It includes:
- New simplified JetStream API approach
- JetStream Publish
- Streams management
- Consumers Management
- Pull Consumers implementation
- Ack's
This is an experimental release of JetStream (simplified) API. It may change, and it may have bugs. We appreciate any feedback and contributions to help it reach maturity soon!
For nats
client, authentication with token
was added by @paulgb
async-nats
Added
- Add JetStream types and basics by @Jarema in #457
- Add get stream by @Jarema in #458
- Add jetstream stream delete and stream update by @Jarema in #459
- Add
async_nats::jetstream::Context::publish
by @caspervonb in #460 - Add get_or_create JetStream management API by @Jarema in #467
- Add domain and prefix by @Jarema in #490
- Add error codes to
Response::Error
variant by @caspervonb in #496 - Add JetStream ACK by @Jarema in #515
- Add convinience methods to Consumer management by @Jarema in #481
- Add Pull Consumer by @Jarema in #479
- Add create consumer by @Jarema in #471
- Add Consumer::info and Consumer::cached_info by @Jarema in #510
- Introduce a
StatusCode
type to represent statuses by @caspervonb in #474 - Add example for multiple pub/subs in tasks by @Jarema in #453
- Implement jetstream requests by @caspervonb in #435
- Add
async_nats::jetstream::Context::publish_with_headers
by @caspervonb in #462 - Implement
From<jetstream::Message>
forMessage
by @caspervonb in #512 - Add get_or_create_consumer and delete_consumer by @Jarema in #475
- Have No async-stream dependant implementation for Pull Consumers by @caspervonb in #499
Changed
- Do not flush in write calls by @caspervonb in #423
- Only retain non-closed subscriptions on reconnect by @caspervonb in #454
Fixed
- Fix off by one error that can occur parsing "HMSG" by @caspervonb in #513
- Removed attempt to connect to server info host when TLS is enabled by @brooksmtownsend in #500
nats
Added
New Contributors
- @brooksmtownsend made their first contribution in #500
- @paulgb made their first contribution in #506
Thanks to all contributors! Your work is very appreciated!
Full Changelog: async-nats/v0.14.0...async-nats/v0.15.0