You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
2019-03-26 2.0.0
Breaking Changes
If you have been using the createFromAadTokenCredentials function to create an instance of the EventHubClient, you will now need to use the @azure/ms-rest-nodeauth
library instead of ms-rest-azure library to create
the credentials that are needed by the createFromAadTokenCredentials function.
Typescript: Replace import * from "ms-rest-azure"; with import * from "@azure/ms-rest-nodeauth";
Javascript: Replace require("ms-rest-azure") with require("@azure/ms-rest-nodeauth")
If you have been passing a non string value in the partitionKey property on the message when
sending it using the EventHubClient, an error will now be thrown. This property only supports string values.
Bug fixes and other changes
A network connection lost error is now treated as retryable error. A new error with name ConnectionLostError
is introduced for this scenario which you can see if you enable the logs.
When recovering from an error that caused the underlying AMQP connection to get disconnected, rhea reconnects all the older AMQP links on the connection
resulting in the below 2 errors in the logs. We now clear rhea's internal map to avoid such reconnections.
We already have code in place to create new AMQP links to resume send/receive operations.
InvalidOperationError: A link to connection '.....' $cbs node has already been opened.
UnauthorizedError: Unauthorized access. 'Listen' claim(s) are required to perform this operation.
Enabled the esModuleInterop compilerOption in the tsconfig.json file for this library to be
compliant with the best practices.