Releases: nats-io/nats.node
v2.12.1
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.
- [BUMP] nbc to v1.12.1
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 https://github.com/nats-io/nats.js/pull/558
Full Changelog: nats-io/nats.js@v2.12.0...v2.12.1
v2.12.0
What's Changed
- [BUMP] nbc to 1.12.0, bumped client version to 2.12.0, bumped CI deps by @aricart in https://github.com/nats-io/nats.js/pull/553
Full Changelog: nats-io/nats.js@v2.11.0...v2.12.0
v2.11.0
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.
- [REL] 2.11.0 by @aricart in https://github.com/nats-io/nats.js/pull/547
Full Changelog: nats-io/nats.js@v2.10.3...v2.11.0
v2.10.3
What's Changed
- [BUMP] nbc to 1.10.3 - for more information see the nbc 1.10.3 release notes
Full Changelog: nats-io/nats.js@v2.10.2...v2.10.3
v2.10.2
What's Changed
- [BUMP] nbc to 1.10.2 and client version to 2.10.2 by @aricart in https://github.com/nats-io/nats.js/pull/542
Full Changelog: nats-io/nats.js@v2.10.1...v2.10.2
v2.10.1
What's Changed
- [BUMP] nbc to 1.10.1
- [BUMP] nats-server to 2.9.10 by @aricart in https://github.com/nats-io/nats.js/pull/541
Full Changelog: nats-io/nats.js@v2.10.0...v2.10.1
v2.10.0
What's Changed
The most notable change is the introduction of the NATS service API which makes it even easier to implement services using NATS.
-
[BUMP] See nbc to 1.10.0 for a complete list of enhancements and fixes.
-
[DOC] README.md: fix javascript by @jordigh in https://github.com/nats-io/nats.js/pull/535 and https://github.com/nats-io/nats.js/pull/529
New Contributors
- @jordigh made their first contribution in https://github.com/nats-io/nats.js/pull/535
Full Changelog: nats-io/nats.js@v2.9.2...v2.10.0
v2.9.2
v2.9.1
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
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