Skip to content

Releases: cloudamqp/amqp-client.js

v3.1.1

25 Aug 09:00
Compare
Choose a tag to compare
Update verions advertised by client, 3.1.0 did not update this

v3.1.0

23 Aug 09:35
Compare
Choose a tag to compare
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

24 Jul 08:58
Compare
Choose a tag to compare
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

12 Dec 23:10
Compare
Choose a tag to compare
2.1.1

v2.1.0

04 Aug 11:46
Compare
Choose a tag to compare

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

02 Feb 00:16
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.2...v2.0.0

v1.3.2

12 Jan 08:26
Compare
Choose a tag to compare
- 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

03 Jan 14:58
Compare
Choose a tag to compare
1.3.1

1.3.0

24 Dec 00:26
Compare
Choose a tag to compare

Rewrite in TypeScript