Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2024

This PR contains the following updates:

Package Change Age Confidence
nats (source) ^1.4.12 -> ^1.4.12 || ^2.0.0 age confidence
nats (source) 1.4.12 -> 2.29.3 age confidence

Release Notes

nats-io/nats.node (nats)

v2.29.3

Compare Source

What's Changed

This release bump NBC to 1.29.3 which includes support for a change in JetStream behavior in nats-server v2.10.26 and beyond. Please refer to the release notes in the link above.

Full Changelog: nats-io/nats.node@v2.29.2...v2.29.3

v2.29.2

Compare Source

What's Changed

Important

This release bump NBC to 1.29.2 which includes a breaking change for object store which host objects 512MB and larger. Before updating, please check the release notes for information on how to migrate.

Full Changelog: nats-io/nats.node@v2.29.1...v2.29.2

v2.29.1

Compare Source

What's Changed

This release bumps nbc to 1.29.1 which fixes direct-get apis ignoring timeout options.

Full Changelog: nats-io/nats.node@v2.29.0...v2.29.1

v2.29.0

Compare Source

What's Changed

This release bumps nbc to 1.29.0 with has a few minor fixes

New Contributors

Full Changelog: nats-io/nats.node@v2.28.2...v2.29.0

v2.28.2

Compare Source

What's Changed

This release bumps nbc to 1.28.2 which fixes an issue with initializing KV stores that use sources.

Full Changelog: nats-io/nats.js@v2.28.1...v2.28.2

v2.28.1

Compare Source

What's Changed

This release updates NBC to 1.28.1. Please see the preceding link for more information.

New Contributors

Full Changelog: nats-io/nats.js@v2.28.0...v2.28.1

v2.28.0

Compare Source

What's Changed

This release bumps [NBC to 1.28.0], which fixes a subscription leak in the request and requestMany APIs with the noMux request option set to true.

Full Changelog: nats-io/nats.js@v2.27.0...v2.28.0

v2.27.0

Compare Source

What's Changed

This release bumps NBC to 1.27.0 with some minor fixes to NATS core and jetstream.

Full Changelog: nats-io/nats.js@v2.26.0...v2.27.0

v2.26.0

Compare Source

What's Changed

This release updates NBC to 1.26.0, which has an important improvement for ordered pull consumers.

Full Changelog: nats-io/nats.js@v2.25.0...v2.26.0

v2.25.0

Compare Source

What's Changed

This release bumps NBC to v1.25.0, adding a small enhancement to JetStream ordered consumers.

Full Changelog: nats-io/nats.js@v2.24.0...v2.25.0

v2.24.0

Compare Source

What's Changed

This release updates NBC to v1.24.0 which has important fixes for legacy order consumers and KV/ObjectStore watchers.

Full Changelog: nats-io/nats.js@v2.23.0...v2.24.0

v2.23.0

Compare Source

What's Changed

This release has important updates for KV watchers. Please refer to the NBC release notes.

Full Changelog: nats-io/nats.js@v2.22.0...v2.23.0

v2.22.0

Compare Source

What's Changed

This release adds the connection option handshakeFirst which enables the client to connect with a nats-server that has been configured with a handshake_first tis option set to true. This release also updates nats-base-client to 1.22.0, which has one important fix to ackAck(). Please see the release notes here

Full Changelog: nats-io/nats.js@v2.21.0...v2.22.0

v2.21.0

Compare Source

What's Changed

This release bumps the nats-base-client to v1.21.0 which introduces small changes and enhancements to the "new consumer" API. If you are using JetStream, please refer to the NBC release notes.

Full Changelog: nats-io/nats.js@v2.20.0...v2.21.0

v2.20.0

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.19.0...v2.20.0

v2.19.0

Compare Source

What's Changed

This release updates nbc to 1.19.0 which adds additional resilience to JetStream consumers.

Full Changelog: nats-io/nats.js@v2.18.0...v2.19.0

v2.18.0

Compare Source

What's Changed

This release updates NBC to v1.18.0 further improving simplified consumers and performance.
Please refer to the above release notes for additional information.

Other

Full Changelog: nats-io/nats.js@v2.17.0...v2.18.0

v2.17.0

Compare Source

What's Changed

Many new features and fixes with NBC v1.17.0, including removal of preview notice for ObjectStore APIs and support for new features introduced with nats-server 2.10.0. For a complete list, please visit the release notes.

New Contributors

Full Changelog: nats-io/nats.js@v2.16.0...v2.17.0

v2.16.0

Compare Source

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.

Full Changelog: nats-io/nats.js@v2.15.1...v2.16.0

v2.15.1

Compare Source

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

v2.15.0

Compare Source

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

v2.14.0

Compare Source

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 nats-io/nats.js#565

[BUMP] NBC to v1.14.0 by @​aricart in nats-io/nats.js#571

Full Changelog: nats-io/nats.js@v2.13.1...v2.14.0

v2.13.1

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.13.0...v2.13.1

v2.13.0

Compare Source

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

v2.12.1

Compare Source

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.

Full Changelog: nats-io/nats.js@v2.12.0...v2.12.1

v2.12.0

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.11.0...v2.12.0

v2.11.0

Compare Source

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

v2.10.3

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.10.2...v2.10.3

v2.10.2

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.10.1...v2.10.2

v2.10.1

Compare Source

What's Changed

Full Changelog: nats-io/nats.js@v2.10.0...v2.10.1

v2.10.0

Compare Source

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.

New Contributors

Full Changelog: nats-io/nats.js@v2.9.2...v2.10.0

v2.9.2

Compare Source

What's Changed

[BUMP] nbc to 1.9.3

Full Changelog: nats-io/nats.js@v2.9.1...v2.9.2

v2.9.1

Compare Source

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

Compare Source

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 nats-io/nats.js#526 for more information.

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

v2.8.0

Compare Source

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
  • [UPDATE] nkeys.js deps to 1.0.3 by @​aricart in nats-io/nats.js#511
  • [FEAT] added support for consuming objectstore feat from nbc by @​aricart in nats-io/nats.js#515, this required the introduction of a shim web-streams-polyfill to support ReadableStreams. Note that objectstore also requires crypto.subtle, which must be client shimmed on node 14. Newer node runtimes provide the shim automatically as part of the built-in crypto module.

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

v2.7.1

Compare Source

What's Changed

v2.7.0

Compare Source

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 nats-io/nats.js#503

NATS.JS Specific

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

v2.6.1

Compare Source

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

Compare Source

What's Changed

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

v2.5.0

Compare Source

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

Compare Source

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

Compare Source

What's Changed
New Contributors

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

v2.2.0

Compare Source

This release contains a set of changes that are API-breaking for JetStream. Since the JetStream APIs on the JavaScript clients are Preview, only the minor version of the client has been bumped. Because of these changes, you should carefully read the Breaking Changes section to ensure you are not affected.

BREAKING CHANGES
JetStream Push Consumers In Queue Groups

The Push Consumer Queue feature has changed. A new nats-server (2.4.0) has been released that modifies how this feature works.
The new JavaScript clients have been modified to work with the new server and will fail to work with an existing server using push consumers with queue groups.

Previously it was possible to create a push consumer and properly get it working in a queue group with a regular NatsConnection#subscribe or NatsConnection#jetstream()#subscribe() if all queue subscriptions used the same queue name and no plain (non-queue) subscriptions were used.

If the mix of subscriptions and queues referenced the same consumer but provided different queue names or no queue names, the delivery of messages was incorrect and could create conditions where some messages were seen in duplicate or have unexpected side effects.

The new nats-server changes will make an old consumer configuration with a queue group a noop - the server will not send messages to the client. To enable a queue group to work on a consumer:

  • The consumer configuration must specify a deliver_group matching the queue group name.
  • Configurations that use the consumer with a non-matching queue group will be invalid.
  • Configurations that use a queue group consumer without a queue group will be invalid.

The NATS client for JavaScript on 2.2.0 and beyond, enforces the above rules, so an Error is thrown from NatsConnection#jetstream().subscribe() for configurations that try to use the queue group incorrectly.

Because an old server will not report deliver_group for the consumer, any jetstream#subscribe() that attempts to specify a queue group will fail the validation.

If you are creating your own NATS subscription to handle the consumer, and have an old server, you may continue to do that until you upgrade the server, at which point the nats-server will stop delivering messages to your client. Please ensure you don't use the consumer from different queue groups in the meantime.

JetStreamManager#streams#getMessage(number)

This API has been removed (it was deprecated and printing console messages). To retrieve a message by its sequence,
replace with JetStreamManager#streams#getMessage({seq: number}).

JetStream SequencePair was renamed SequenceInfo

This matches changes in the server. These types are referenced from ConsumerInfo.

Other Changes
  • [FIX] #​441 - when Istio is booting, it is possible for the socket to close, triggering a catch(err) where the error is undefined - this fix simply aliases that as a connection refused error.

  • [FEAT] Added DeliveryPolicy#LastPerSubject which allows a consumer to get the last message for each subject in a stream.

  • [FEAT] PubAck now reports a domain field representing the JetStream domain if set or returning an empty string. This feature requires a newer server.

  • [FIX] ConsumerConfig now have fields deliver_group, description.

v2.1.0

Compare Source

This release sports a number of updates enhancing the JavaScript JetStream functionality.
For a complete list of changes, see https://github.com/nats-io/nats.deno/releases/tag/v1.1.0.

v2.0.8

Compare Source

v2.0.6

Compare Source

[update] updated nbc to version 1.0.6, there are small number of JetStream and header issues addressed in the base library

v2.0.4

Compare Source

v2.0.2

Compare Source

  • [update] nats-base-client to v1.0.2:
    • [fix] added cluster to possible properties in ServerInfo
    • [change] jetstream max_age - in StreamConfig marked as Nanos
    • [fix] omission of headers in JetStreamPublishOptions

v2.0.1

Compare Source

[update] updated to nats-base-client v1.0.1, this release contains an important fix regarding the munging of reply subjects on messages that were received during different socket reads. This would cause clients to timeout when expecting a response.

v2.0.0

Compare Source

NATS 2.0.0 Release
  • [feat] The 2.0 release has many changes and it is not API compatible with nats@1.x.x. For more information, please see the migration document.
  • [feat] The 2.0 release adds support for JetStream (on preview). JetStream functionality is described here. Some basic examples can be found here.
  • [breaking] If you were using release candidates, the Events/DebugEvent/ErrorCode constants have been changed to follow ES5 naming conventions.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/nats-2.x branch 2 times, most recently from 5aca6c7 to 8b54560 Compare January 11, 2025 01:44
@renovate renovate bot force-pushed the renovate/nats-2.x branch from 8b54560 to 88d41ad Compare February 14, 2025 18:08
@renovate renovate bot force-pushed the renovate/nats-2.x branch from 88d41ad to da42211 Compare March 19, 2025 22:49
@renovate renovate bot force-pushed the renovate/nats-2.x branch from da42211 to 15dc67d Compare March 29, 2025 06:57
@renovate renovate bot force-pushed the renovate/nats-2.x branch 2 times, most recently from 0311354 to 1b5c749 Compare August 13, 2025 13:55
@renovate renovate bot force-pushed the renovate/nats-2.x branch from 1b5c749 to 1f11508 Compare August 19, 2025 15:08
@renovate renovate bot force-pushed the renovate/nats-2.x branch from 1f11508 to f3df22f Compare August 31, 2025 09:53
@renovate renovate bot force-pushed the renovate/nats-2.x branch from f3df22f to fe034ce Compare September 25, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants