Releases: nats-io/nats.swift
Releases · nats-io/nats.swift
v0.4.0
Overview
This release introduces JetStream support, including:
- JetStream management API support (Streams and Consumers)
- Publishing messages to streams and getting/deleting individual messages
- Pull consumer support with
fetch()
It also features reworked errors, all namespaced under NatsError
and JetStreamError
.
What's Changed
- Add basic JetStream context by @Jarema in #67
- Fix another promise leak by @mtmk in #69
- Fixed websocket path by @mtmk in #68
- Add jetstream request by @Jarema in #71
- Add CRUD operation on streams by @piotrpio in #72
- Additional stream APIs by @piotrpio in #73
- Fixed missing public access modifiers by @piotrpio in #74
- Add fetching individual messages from stream by @piotrpio in #75
- Fix race in Connect by @piotrpio in #77
- Add deleting messages and purging a stream by @piotrpio in #76
- Refactor core nats errors by @piotrpio in #78
- Change NatsSubscription to a throwing AsyncSequence by @piotrpio in #79
- Refactor JetStream errors, add docs by @piotrpio in #80
- Add queue subscribe by @piotrpio in #81
- Add jetstream consumer management by @piotrpio in #83
- Add fetching messages from JetStream by @piotrpio in #87
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Overview
This release introduces:
- WebSocket support
- suspend & resume (useful for gracefully pausing consumer when IOS device goes to sleep & wakes up)
- force reconnect
- plain NKEYs (without JWT) support
What's Changed
- Refactor buffering and clean up writes by @piotrpio in #61
- add websocket support by @mtmk in #62
- Add NKEY auth options by @Jarema in #65
- Fix upgradePromise leak (thanks @dmaulikr for reporting!) by @mtmk in #66
- Add suspend, resume and reconnect methods by @piotrpio in #64
Full Changelog: v0.2.0...v0.3.0
Release 0.2.0
Overview
This is a small release that lowers the IOS platform requirements to v13.
What's Changed
Full Changelog: v0.1.0...v0.2.0
Release 0.1.0
Overview
This is the first release of our new NATS Swift client.
It provides support for set of features around Core Nats:
- Pub / Sub
- Requst / Reply
- Auth methods, including username/passord, tokens, JWT and NKEYS
- TLS support
- Lame Duck Mode
- Event callbakcs
- Async API
The client leverages Swift Concurrency and NIO as base building blocks.
Next Steps
Our goal is to deliver a feature-rich Swift client that offers full parity with other NATS clients.
Stay tuned for future releases that will bring performance enhancements, improved device compatibility, and features.