npm nats 2.5.0
v2.5.0

latest releases: 2.28.2, 2.28.1, 2.28.0...
2 years ago

What's Changed

This release updates the nats-base-client (NBC) to v1.5.0

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 nats-io/nats.deno#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 nats-io/nats.deno#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 nats-io/nats.deno#230 and nats-io/nats.deno#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 nats-io/nats.deno#238
  • [CHANGE] [BREAKING] [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 nats-io/nats.deno#240
  • [FIX] Documentation typos. by @MrMYHuang in nats-io/nats.deno#244
  • [FEAT] added support for custom reviver in JSONCodec by @tommyo in nats-io/nats.deno#242
  • [FEAT] added support for KV prefix handling by @aricart in nats-io/nats.deno#239

Other changes specific to NATS.js

New Contributors

Full Changelog: v2.4.0...v2.5.0

Don't miss a new nats release

NewReleases is sending notifications on new releases.