Releases: cloudamqp/amqp-client.js
Releases · cloudamqp/amqp-client.js
v3.1.1
v3.1.0
Added - Support for clients to negotiate channel-max ([#86](https://github.com/cloudamqp/amqp-client.js/pull/86)) - Raise when WebSocket is not cleanly closed ([#80](https://github.com/cloudamqp/amqp-client.js/pull/80)) - Make logging configurable ([#79](https://github.com/cloudamqp/amqp-client.js/pull/79)) - Support for connection.update-secret ([#77](https://github.com/cloudamqp/amqp-client.js/pull/77)) Fixed - Channel max 0 should be treated as "unlimited" not 0 ([#86](https://github.com/cloudamqp/amqp-client.js/pull/86)) - Close sockets not supporting amqp protocol ([#78](https://github.com/cloudamqp/amqp-client.js/pull/78)) Changed - Throws and rejects with `Error` as per best practice ([#81](https://github.com/cloudamqp/amqp-client.js/pull/81)) - Clean ups ([#88](https://github.com/cloudamqp/amqp-client.js/pull/88), [#85](https://github.com/cloudamqp/amqp-client.js/pull/85)) - Package improvements for bundling and tree-shaking ([#75](https://github.com/cloudamqp/amqp-client.js/pull/75))
v3.0.0
Added - New overload for `AMQPWebSocketClient` constructor to allow setting optional parameters through an init object Fixed - Call socket.destroy() when closing socket to fix intermitent condition where onerror is called when conn is closed by client - Pass the correct array buffer to dataview when reading framesize - Raise `AMQPError` when `channelMax` is reached - Add `Channel#onerror` callback - Correctly handle frame headers split across reads in the WebSocket client Changed - Breaking change: Removed support for end-of-life versions of Node.js. A minimum of Node.js 16 is now required.
v2.1.1
2.1.1
v2.1.0
Added
- AMQPClient#onerror, will be called whenever ther connection is closed, override it to create reconnect logic.
- Export types for queue, exchange and consume parameters
Fixed
- Only skip TLS certificate validation if the
insecure
query parameter is included in the URL - Use a pool of buffers so that multiple microtasks can publish simultaneously
- Don't set an IP as SNI hostname, only proper hostnames
- Decode username/password in URL properly
Changed
- Allow publishing of
null
and let AMQPMessage#body be null when a body is missing
v2.0.0
v1.3.2
- Websocket client now supports parsing AMQP frames split over multiple WebSocket frames (could happen with high throughput via websocket-tcp-relay). - 67% increased publish rate, by reusing frame buffer
v1.3.1
1.3.1
1.3.0
Rewrite in TypeScript