Skip to content

Releases: nats-io/nats.node

v2.9.1

29 Nov 19:46
47b2faa
Compare
Choose a tag to compare

What's Changed

[BUMP] nbc to 1.9.2 - this release includes fixes for JetStream fetch(), and correctly maps errors related to exceptions thrown while doing initial authentication.

v2.9.0

02 Nov 22:50
03a2249
Compare
Choose a tag to compare

What's Changed

[UPDATE] nbc updated to 1.9.0 - this release contains many enhancements and fixes to JetStream and KV and ObjectStore. See the linked description for more information.

NATS.js Specific Changes

  • [FIX] If a socket error occurred while establishing the handshake it was possible for the client to crash, as it would try to flush the outbound buffer after the socket was nullified. This nullification also bypassed proper socket cleanup, potentially leaking resources. Also fixed was proper notification to the NBC component of the reason for the socket close. See https://github.com/nats-io/nats.js/pull/526 for more information.

Full Changelog: nats-io/nats.js@v2.8.0...v2.9.0

v2.8.0

22 Aug 20:12
e7b18d3
Compare
Choose a tag to compare

What's Changed

  • [UPDATE] nbc to 1.8.0 - this release contains many enhancements and fixes to JetStream and KV. It also implements ObjectStore. See the linked description for more information.

nats.js changes

Full Changelog: nats-io/nats.js@v2.7.1...v2.8.0

v2.7.1

26 May 20:58
4e81d8a
Compare
Choose a tag to compare

What's Changed

v2.7.0

18 May 19:33
9bb4118
Compare
Choose a tag to compare

What's Changed

[UPDATE] nbc (nats base client library for JavaScript) to 1.7.0 - there are numerous enhancements and fixes to NATS core, JetStream, and KV. For a complete list of descriptions, please see https://github.com/nats-io/nats.deno/releases/tag/v1.7.0 @aricart in https://github.com/nats-io/nats.js/pull/503

NATS.JS Specific

Full Changelog: nats-io/nats.js@v2.6.1...v2.7.0

v2.6.1

14 Feb 23:00
0c57ae8
Compare
Choose a tag to compare

What's Changed

[UPDATE] nbc to v1.6.1 - for more information see the release notes
[FIX] This release of nats.js adds compatibility with node.js v17.5.0, see release notes above. #484

Full Changelog: nats-io/nats.js@v2.6.0...v2.6.1

v2.6.0

02 Feb 01:03
41ef7c5
Compare
Choose a tag to compare

What's Changed

Full Changelog: nats-io/nats.js@v2.5.0...v2.6.0

v2.5.0

19 Jan 21:41
6567424
Compare
Choose a tag to compare

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: nats-io/nats.js@v2.4.0...v2.5.0

v2.4.0

11 Nov 22:02
de8e276
Compare
Choose a tag to compare

This release updates NBC to 1.4.0, there are a couple of small fixes and enhancements. Please see https://github.com/nats-io/nats.deno/releases/tag/v1.4.0 for a complete list of changes.

What's Changed

[UPDATE] nbc to 1.4.0

Full Changelog: nats-io/nats.js@v2.3.0...v2.4.0

v2.3.0

02 Nov 20:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nats-io/nats.js@v2.2.0...v2.3.0