Skip to content

Releases: nats-io/nats.js

v2.16.0

16 Aug 19:40
a75b672
Compare
Choose a tag to compare

What's Changed

There are many new features, fixes, and one breaking change with NBC v1.16.0. Please read the release notes before updating if you are using the prerelease ObjectStore APIs.

Node JS Specific Changes

This release of the nats.js library benefits hugely from a small change in the nbc library. The publish and general latency from when the client performs an operation to when the socket is written has been greatly reduced. See nats-io/nats.deno#566.

  • [BUMP] CI dependencies and lib version and NBC to 1.16.0 by @aricart in #583
  • [FEAT] added no-op implementation for discard() API by @aricart in #580
  • [FEAT] updated bench to match deno and allow req-reply by @aricart in #582

Full Changelog: v2.15.1...v2.16.0

v2.15.1

22 Jun 22:03
cdcdc84
Compare
Choose a tag to compare

What's Changed

This release bumps NBC to v1.15.1 which has an important fix to the new JetStream APIs. Read about it here.

Full Changelog: v2.15.0...v2.15.1

v2.15.0

17 Jun 15:29
6ca26b2
Compare
Choose a tag to compare

What's Changed

Client has been upgraded to use nats-base-library v1.15.0

Do note that this release has some small changes the service framework monitoring API in the data that is reported, which may be breaking if you wrote a client that is inspecting such information. Please refer to the above information for more details.

Full Changelog: v2.14.0...v2.15.0

v2.14.0

23 May 15:23
6c95156
Compare
Choose a tag to compare

What's Changed

This release adds a new API for processing messages using JetStream and provides many fixes and enhancements.
For a complete list of changes, please see nbc release notes

[DOC] Added pointers to the location of the nats-base-client and related documentation to the top of the file by @aricart in #565

[BUMP] NBC to v1.14.0 by @aricart in #571

Full Changelog: v2.13.1...v2.14.0

v2.13.1

11 Mar 02:14
cb98efa
Compare
Choose a tag to compare

What's Changed

  • [FIX] added guard to prevent socket writes on a destroyed socket #560 by @aricart in #564

Full Changelog: v2.13.0...v2.13.1

v2.13.0

08 Mar 22:45
e14312f
Compare
Choose a tag to compare

What's Changed

Important and breaking change change in nbc v1.13.0 for those using the pre-release version of ObjectStore functionality. Please read the release notes if using ObjectStore before upgrading.

Full Changelog: v2.12.1...v2.13.0

v2.12.1

21 Feb 14:42
9efb5ec
Compare
Choose a tag to compare

What's Changed

NBC 1.12.1 enhances KV create entry to retry the operation and update the value if the previous value is a deleted key.

Node JS specific

The objectstore API has requirements on ES ReadableStream and ES crypto. Previous releases of object store functionality relied on web-streams-polifill/ponyfill. This created issues for other downstream consumers. Starting with this release object store on node 16 or better will use built-in stream/web instead. Note that objectstore is not supported in node versions less than 16.

  • [FIX] objectstore polyfill to built-in node library (#555) by @aricart in #558

Full Changelog: v2.12.0...v2.12.1

v2.12.0

09 Feb 17:48
8a07054
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.11.0...v2.12.0

v2.11.0

18 Jan 18:12
63e7580
Compare
Choose a tag to compare

What's Changed

This release updates nbc to 1.11.0, bringing multiple enhancements to the services api beta. For more information see the release notes.

Full Changelog: v2.10.3...v2.11.0

v2.10.3

12 Jan 20:55
8d61911
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.10.2...v2.10.3