Releases: amqp/rhea-promise
Releases · amqp/rhea-promise
rhea-promise 3.0.3
What's Changed
- Fix an issue where links are kept alive by @jeremymeng in #115
Full Changelog: v3.0.2...v3.0.3
rhea-promise 3.0.2
What's Changed
- Chore(upgrade toolings) by @jmetev1 in #102
- Update docs to use
timeoutInSeconds
fromAwaitableSenderOptions
by @Mathias-S in #104 - Break module cycles by @deyaaeldeen in #105
- Set the max listener limit to 1000 for
RheaConnection
by @the-ress in #110
New Contributors
- @jmetev1 made their first contribution in #102
- @Mathias-S made their first contribution in #104
- @deyaaeldeen made their first contribution in #105
- @the-ress made their first contribution in #110
Full Changelog: v3.0.1...v3.0.2
rhea-promise 3.0.1
What's Changed
- Fix issue where Connection constructor is not setting operationTimeoutInSeconds option correctly by @jeremymeng in #99
- Add a workflow to draft release on pushed
v*
tag by @jeremymeng in #101
Full Changelog: v3.0.0...v3.0.1
3.0.0
- Update
rhea
dependency to the 3.x major version. - Update dev dependency
typescript
to~4.3.0
Breaking changes
Notable rhea
's breaking changes include
- The TLS options type to
Container.listen()
now requires atransport
property which is either "ssl" or "tls". ConnectionOptions
is updated to be more accurate (NetClientConnectionOptions | TlsClientConnectionOptions
). Some of its properties, for example,host
,port
, will only be available in the typing when the type is narrowed down toTlsClientConnectionOptions
orTcpNetConnectOpts
.
1.0.0
- Updated minimum version of
rhea
to^1.0.8
. - Added a read only property
id
to theSession
object. The id property is created by concatenating session's local channel, remote channel and the connection id"local-<number>_remote-<number>_<connection-id>"
, thus making it unique for that connection. - Improved log statements by adding the session
id
and the sender, receivername
to help while debugging applications. - Added
options
toLink.close({closeSession: true | false})
, thus the user can specify whether the underlying session should be closed while closing theSender|Receiver
. Default istrue
. - Improved
open
andclose
operations onConnection
,Session
andLink
by creating timer in case the connection gets disconnected. Fixes #41. - The current
Sender
does not have a provision of "awaiting" on sending a message. The user needs to add handlers on theSender
foraccepted
,rejected
,released
,modified
to ensure whether the message was successfully sent.
Now, we have added a newAwaitableSender
which adds the handlers internally and provides an awaitablesend()
operation to the customer. Fixes #45. - Exporting new Errors:
InsufficientCreditError
: Defines the error that occurs when the Sender does not have enough credit.SendOperationFailedError
: Defines the error that occurs when the Sender fails to send a message.
temp - v0.2.1
fixed #42 (#43) * fixed https://github.com/amqp/rhea-promise/issues/42 * removed condition and description properties from OperationTimeoutError