Skip to content

sdk/messaging/azservicebus/v0.4.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 13 May 00:23
326ea95

0.4.1 (2022-05-12)

Features Added

  • Exported log.Event constants for azservicebus. This will make them easier to
    discover and they are also documented. NOTE: The log messages themselves
    are not guaranteed to be stable. (#17596)

  • admin.Client can now manage authorization rules and subscription filters and
    actions. (#17616)

  • Exported an official *azservicebus.Error type that gets returned if the failure is
    actionable. This can indicate if the connection was lost and could not be
    recovered with the configured retries or if a message lock was lost, which would cause
    message settlement to fail.

    See the ExampleReceiver_ReceiveMessages in example_receiver_test.go for an example
    on how to use it. (#17786)

Breaking Changes

  • admin.Client can now be configured using azcore.Options. (#17796)
  • ReceivedMessage.TransactionPartitionKey has been removed as this library doesn't support transactions.
  • ReceivedMessage.Body() is now a field. Body will be nil in the cases where it would have returned an error (where the underlying AMQP message had a payload in .Value, .Sequence or had multiple byte slices in .Data). (#17888)

Bugs Fixed

  • Fixing issue where the AcceptNextSessionForQueue and AcceptNextSessionForSubscription
    couldn't be cancelled, forcing the user to wait for the service to timeout. (#17598)
  • Fixing bug where there was a chance that internally cached messages would not be returned when
    the receiver was draining. (#17893)