Skip to content

Commit

Permalink
[ServiceBus] update pyproto b1 version/changelog/readme (#29251)
Browse files Browse the repository at this point in the history
  • Loading branch information
swathipil authored Mar 9, 2023
1 parent 2546208 commit c67d820
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
28 changes: 26 additions & 2 deletions sdk/servicebus/azure-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
# Release History

## 7.9.0b2 (Unreleased)
## 7.9.0b1 (2023-03-09)

### Features Added

### Breaking Changes
- A new boolean keyword argument `uamqp_transport` has been added to sync and async `ServiceBusClient` constructors which indicates whether to use the `uamqp` library or the default pure Python AMQP library as the underlying transport.

### Bugs Fixed

- Fixed a bug where sync and async `ServiceBusAdministrationClient` expected `credential` with `get_token` method returning `AccessToken.token` of type `bytes` and not `str`, now matching the documentation.
- Fixed a bug where `raw_amqp_message.header` and `message.header` properties on `ServiceReceivedBusMessage` were returned with `durable`, `first_acquirer`, and `priority` properties set by default, rather than the values returned by the service.

### Other Changes

- The `message` attribute on `ServiceBus`/`ServiceBusMessageBatch`/`ServiceBusReceivedMessage`, which previously exposed the `uamqp.Message`/`uamqp.BatchMessage`, has been deprecated.
- `LegacyMessage`/`LegacyBatchMessage` objects returned by the `message` attribute on `ServiceBus`/`ServiceBusMessageBatch` have been introduced to help facilitate the transition.
- Removed uAMQP from required dependencies.
- Adding `uamqp >= 1.6.3` as an optional dependency for use with the `uamqp_transport` keyword.

## 7.8.3 (2023-03-09)

### Bugs Fixed

- Fixed a bug where asynchronous method to add distributed tracing attributes was not being awaited (Issue #28738).

## 7.8.2 (2023-01-10)

### Bugs Fixed

- Fixed a bug that would cause an exception when `None` was sent to `set_state` instead of clearing session state (Issue #27582).

### Other Changes

- Updated uAMQP dependency to 1.6.3.
- Added support for Python 3.11.

## 7.9.0a1 (2022-10-11)

Version 7.9.0a1 is our first efforts to build an Azure Service Bus client library based on a pure Python implemented AMQP stack.
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/azure-servicebus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _Azure SDK Python packages support for Python 2.7 ended 01 January 2022. For mor
Install the Azure Service Bus client library for Python with [pip][pip]:

```Bash
pip install azure-servicebus
pip install azure-servicebus==7.9.0b1
```

### Prerequisites:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Licensed under the MIT License.
# ------------------------------------

VERSION = "7.9.0b2"
VERSION = "7.9.0b1"
2 changes: 1 addition & 1 deletion sdk/servicebus/azure-servicebus/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ If you do not have an existing Azure account, you may sign up for a free trial o

1. Install the Azure Service Bus client library for Python with [pip](https://pypi.org/project/pip/):
```bash
pip install azure-servicebus==7.9.0a1
pip install azure-servicebus==7.9.0b1
```
To run samples that utilize the Azure Active Directory for authentication, please install the `azure-identity` library:
```bash
Expand Down

0 comments on commit c67d820

Please sign in to comment.