Skip to content

Releases: nats-io/nats.node

v1.0.1

16 Jul 21:19
42c1e78
Compare
Choose a tag to compare
[FIX] #229 - set stream.setNoDelay(true) - this change is better for …

v1.0.0

15 Jun 21:27
Compare
Choose a tag to compare
  • Adds compatibility with Node 10
  • Full JSON support on payloads
  • Requires Node 4.5.0 or better

v0.8.10

02 May 00:34
ba31e72
Compare
Choose a tag to compare
Clapming versions of nuid and node. (#224)

v0.8.2

02 Mar 02:56
4079c2b
Compare
Choose a tag to compare
  • Fixes a compatibility issue with clients that registered a timeout on a mux request 'subscription'.
  • Fixes the clobbering of callbacks on requestOne when doing argument shifting.

v0.8.0

28 Feb 15:20
325bbdd
Compare
Choose a tag to compare

This release updates the default request-reply strategy to use a single global subscription per client. Instead of creating a subscription per request() or requestOne(), a single inbox with a wildcard subscription is multiplexed for all request-reply operations.

The options of the request() method now support a timeout property. When specified, the timeout defines the number of milliseconds to wait for the specified number of messages (via the max property) or an error is dispatched. If max is not specified the client code is responsible to call unsubscribe() to cancel the internal timeout. As previously if max number of messages or timeout is triggered, the handler for responses is auto-removed.

The client option useOldRequestStyle when set to true, will use the legacy request-reply mechanism of creating a new inbox subscription and publishing a request message per call.

v0.7.29

14 Feb 21:46
6434c0a
Compare
Choose a tag to compare

Reverted changes from typescript where TlsOptions converted to TlsServerOptions and back to TlsOptions.
Fixed an issue where an outstanding client heartbeat timer prevented node from exiting on nats.close()

v.07.25

13 Feb 15:07
6a7b6b3
Compare
Choose a tag to compare

This release may affect typescript users that are not on the latest version.
NodeJS types changed TlsOptions to TlsServerOptions
See DefinitelyTyped/DefinitelyTyped@e00c711

v0.7.24

20 Oct 21:22
Compare
Choose a tag to compare
tscript exports (#167)

v0.7.20

18 May 14:37
Compare
Choose a tag to compare
Merge pull request #147 from nats-io/tls-reconnect-leaks

- [FIX] #145 - when using TLS reconnects would fail because of listener leaks (events firing on leaked streams)

- [FIX] node client fired error on any protocol error. Some protocol errors such as 'stale connection' should have initiated a reconnect.

- [FIX] if a client attempted to publish/subscribe to a subject for which it had no permission, an error was generated. New event ('permission_error') will now be sent to the client.

v0.7.2

11 Jan 19:37
Compare
Choose a tag to compare
Merge pull request #111 from nats-io/versionbump

Version bump for support 'preserveBuffers' option.