Releases: nats-io/nats.deno
Releases · nats-io/nats.deno
v0.1.1-22
v0.1.1-21
[FEAT] added Codec
with implementations for StringCodec
and JSONCodec
, which take String/Objects and encode/decode to Uint8Arrays. This mechanism enables user code to exercise the encoding/decoding of payloads and indirectly allows a single client to work with Uint8Arrays, JSON or string payloads. This resolves nats-io/nats-clients#1.
[BREAKING] nats client removes the Payload
option, message payloads are always Uint8Array
.
v0.1.1-18
- [feat] added support for stale-connection detection
- [breaking] changed request signature to specify timeout in an option's object.
- [feat] added support for nkey, and jwt authentication
- [feat] added support for LDM signals from the server
- [feat] added support for message headers
v0.1.1-19
v0.1.1-0
- Added reconnect support
- [BREAKING]
Subscription
objects are now message iterators. - [BREAKING] The lifecycle events are now standard
EventTarget
interactions, possible events are:Events.UPDATE
,Events.DISCONNECT
,Events.RECONNECT
. - [BREAKING] Close handler is removed. Instead use the connection's
status()
which returns a promise that resolves when the client closes. If the client closes due to an error, the error is the resolved value.