github Azure/azure-sdk-for-js @azure/event-hubs_5.0.0

latest releases: @azure/web-pubsub-client_1.0.1, @azure/eventgrid-namespaces_1.0.0-beta.2, @azure-tools/test-recorder_3.2.0...
4 years ago

5.0.0 (2020-01-09)

  • This release marks the general availability of the @azure/event-hubs package.
  • Fixed potential issues with claims being mismanaged when subscriptions terminate.
  • Improved reporting of errors that occur when attempting to claim partitions from CheckpointStores.
  • Updated to use the latest version of the @azure/core-amqp package.
    This update allows the SDK to detect when a connection has gone idle for 60 seconds and attempt to reconnect.

Breaking changes:

  • Starting event positions are now passed in the options to the subscribe() method instead of using
    the processInitialize() callback.
  • If no position is passed and no checkpoints are available for the partition,
    the subscribe() method will start receiving events that are queued after the method invocation.
    This is different from the last preview, where events were received from the beginning of the partition.
  • The MessagingError class is updated to have the code property instead of name to contain the error
    type that the user can use to differentiate errors that can occur during communication with the service.
    The name property of this class will always have the value "MessagingError" and will not change based
    on the error type.
  • System errors around network issues like ENOTFOUND, ECONNREFUSED will retain their code value even after
    getting converted to a MessagingError object and being passed to the user.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.