- Update the
isNode
utility to returntrue
when run in Electron applications. PR 40 - Add
webSocketConstructorOptions
as a property inConnectionConfig
object, so that the relevant options can be set by the user to enable the use of proxy. PR 43 - Change the size limit on the User Agent string from 128 to 512. PR 42
- Export new constant
aadServiceBusAudience
to fix Bug 30. PR 46 - Export new constant
associatedLinkName
which holds the property name forassocaited-link-name
which should be set in order to enable Service Bus to do optimizations on it's end. PR 47 - In the
translate
method, built-in errors likeTypeError
andRangeError
are now treated as non-retryable errors and do not get converted into newMessagingError
objects as they are related to user input issues and not messaging problems. This allows the caller of this method to useinstanceOf
on such errors and get the right error types. PR 51 and PR 54
- Added support for browser and websockets.
- A network connection lost error is now treated as retryable error. A new error with name
ConnectionLostError
is introduced for this scenario.
- Enabled esModuleInterop flag for the TypeScript compiler.
- Added constants for rule and filter descriptors as defined in the service bus docs
- Exposed
operationTimeoutInSeconds
as an optional property ofCreateConnectionContextBaseParameters
.
- message_id in the request for
RequestResponseLink.sendRequest()
should be different in every attempt.
- Fixed error stack propogation
- Added more constants
- Updated error code mappers
- Added more constants
- Added support for handling servicebus response properties in the request/response operations
- Fixed a bug in the
sendRequest()
method which ensures that the operation will actually be retried, rather than returning the previously rejected promise. - Removed dependency from
uuid
, sincerhea
supports basic uuid operations.
ConnectionConfig.entityPath
is optional. Hence,ConnectionConfig.create()
andConnectionConfig.validate()
will not throw an error ifentityPath
is not defined. However, other connection configs (EventHubConnectionConfig) that extend the baseConnectionConfig
can haveentityPath
as a required property.
- Added a new method
EventHubConnectionConfig.createFromConnectionConfig()
to create an eventhub connection config from the base connection config. - Added
IotHubConnectionConfig
that parses an iothub connection string and provided an iothub connection config. - Exported
AsyncLock
from the package.
- connection property should be "user-agent" and not "userAgent".
"rhea-promise"
will be a peer dependency rather than a direct dependency. This ensures, that only one copy of"rhea-promise"
is present and avoids type encoding issues.- Added examples for send and receive along with cbs authentication.
- Added
EventHubConnectionConfig
to make it easy for customers to get sender/receiver audience/address.
- Update min versions of dependencies "rhea-promise", "ms-rest-azure" and remove "ms-rest" from dependencies.
- export function
randomNumberFromInterval()
.
- Initial version of the library