Node.js client for NATS, the cloud native messaging system.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by aricart over 3 years ago
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.
Published by aricart over 3 years ago
consumerOpts()
to take an optional ConsumerConfig
enabling the ability to specify any consumer option #433Published by aricart over 3 years ago
[update] updated nbc to version 1.0.6, there are small number of JetStream and header issues addressed in the base library
Published by aricart over 3 years ago
Published by aricart over 3 years ago
cluster
to possible properties in ServerInfo
max_age
- in StreamConfig
marked as Nanosheaders
in JetStreamPublishOptions
Published by aricart over 3 years ago
[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.
Published by aricart over 3 years ago
Published by aricart about 4 years ago
[FIX #367] tls.connect callback performed a flushPending which didn't strip subs. (#368)
Published by aricart over 4 years ago
tls
was used and the connect timeout
option was used, a leaked timer closed the connection.Published by aricart over 4 years ago
Published by aricart over 4 years ago
Published by aricart over 4 years ago
timeout
connection option, which allows the client to specify how long to wait from the initial TCP dial to the first PONG from the server. If the first PONG is not received within the specified time, the connection fails.reconnectTimeWait
and maxReconnects
to match other clients. maxReconnect
is now per server, and reconnectTimeWait
is based on server last connection.unsubscribe
requests are resent to the server.DISCONNECT
error. After resetting the pending buffer, the client can subscribe and queue new messages, which will be delivered on the next reconnect. Intermediate failed dials do not reset the pending buffer or fail flush callbacks.Published by aricart over 4 years ago
Added handling for TLS preflight OpenSSL checks, which are thrown instead of exposed as events. See #310. Thanks @labsvisual.
Fixed an issue where inbound message processing was aborted when a permissions error was encountered, but connection remained open. See #291.
Normalized official connection properties in tests and Readme.md. Added documentation on connection properties, and emitted events.
Fixed an issue affecting clients using JSON where if the payload was a number, the number would incorrectly be interpreted as a timeout parameter on request operations (#292)
Exposed missing connection options in typescript interface (#302)
Adopted standard-js for all nats-io javascript projects
Fixed samples to have copyright after the shebang
Added samples as commands, enabling use of via npx node-[pub|sub|req|rep]
Published by aricart over 5 years ago
Published by aricart over 5 years ago
FIX #263 Typescript definitions missing return type for requestOne
Published by aricart over 5 years ago
Minor change for those that have been using typescript. This release normalized the overloads for publish and requestOne to match the parameter shifting that the library does. A recent change made some optional arguments required when they should have been optional.
FIX #261 TypeScript bindings (#262)
Published by aricart over 5 years ago
Added noEcho
connection property. Specifying this property with true
on a server that supports the functionality, prevents a client from receiving messages it published.
Published by aricart over 5 years ago
var
statements to let
/const
, and also uses arrow functions, thus eliminating arcane practice of var that = this;
. This indirectly means that support for node 4.x is dropped (Node 4.x has been end-of-life for a year now).package-lock.json
in the repository thus allowing for identical builds.Published by derekcollison almost 6 years ago
Published by aricart almost 6 years ago
FIX for #241