Skip to content

v1.5.0

Compare
Choose a tag to compare
@aricart aricart released this 18 Jan 23:22
· 677 commits to main since this release
3924f70

What's Changed

Changes to the Deno client

These changes are only specific to the Deno client

  • [BREAKING] Deno APIs for handling Tls connections has changed. Deno versions lower than 1.16.x are incompatible. This change effectively sets Deno 1.16.x as the lowest supported version. by @aricart in #232

Changes to NBC library

These changes are shared by all NATS.io supported JavaScript clients.

  • [FEAT] JetStream APIs for JavaScript are no longer preview. Note that Materialized views APIs are marked as beta and subject to change. by @aricart in #234
  • [FEAT] JetStreamManager API added consumers.update(). The ConsumerUpdateConfig provides some introspection into fields that can be modified. Modifying a consumer is only supported on servers 2.6.4 or better. @aricart in #229
  • [CHANGE] JetStreamManager API streams.update() now requires the name of the stream. The StreamUpdateConfig provides some introspection into fields that can be modified. The previous API is shimmed, however, the shim will be removed on a future release. by @aricart in #230 and #235
  • [FIX] Fixed an issue where a fast path for text encoding/decoding of NATS protocol messages (non-payload) didn't handle UTF code-points (ie when using username/password that contained these characters). All encoding decoding of protocol messages now uses TextEncoder/Decoder. by @aricart in #238
  • [CHANGE] [BETA] KV keys() now returns an iterator rather than a list of keys. If using the beta API you must change your code as no shim is possible by @aricart in #240
  • [FIX] Documentation typos. by @MrMYHuang in #244
  • [FEAT] added support for custom reviver in JSONCodec by @tommyo in #242
  • [FEAT] added support for KV prefix handling by @aricart in #239

New Contributors

Full Changelog: v1.4.0...v1.5.0