Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EventHubs] March release notes #2529

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 56 additions & 6 deletions releases/2021-03/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,79 @@ The Azure SDK team is pleased to make available the March 2021 client library re

#### Updates

[pattern.patch]: # (- ${PackageFriendlyName})
- Event Hubs
- Event Hubs Checkpoint Store
- Event Hubs Checkpoint Store Async

#### Beta

[pattern.beta]: # (- ${PackageFriendlyName})
- Event Hubs

## Installation Instructions

To install the latest beta version of the packages, copy and paste the following commands into a terminal:

```bash

pip install azure-eventhub==5.3.1
pip install azure-eventhub==5.4.0b1
pip install azure-eventhub-checkpointstoreblob==1.1.3
pip install azure-eventhub-checkpointstoreblob-aio==1.1.3
```

[pattern]: # ($> pip install ${PackageName}==${PackageVersion})

## Feedback

If you have a bug or feature request for one of the libraries, please post an issue to [GitHub](https://github.com/azure/azure-sdk-for-python/issues).

## Release highlights

[pattern]: # (### ${PackageFriendlyName} ${PackageVersion} [Changelog]${ChangelogUrl}`n${HighlightsBody}`n)
### Event Hubs 5.3.1 [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub/CHANGELOG.md#531-2021-03-09)

This version will be the last version to officially support Python 3.5, future versions will require Python 2.7 or Python 3.6+.

#### Bug fixes

- Sending empty `event_data_batch` will be a no-op now instead of raising error.

### Event Hubs 5.4.0b1 [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/feature/eventhub%2Fidempotent-producer/sdk/eventhub/azure-eventhub/CHANGELOG.md#540b1-2021-03-09)

This version and all future versions will require Python 2.7 or Python 3.6+, Python 3.5 is no longer supported.

#### New Features

- Added support for idempotent publishing which is supported by the service to endeavor to reduce the number of duplicate
events that are published.
- `EventHubProducerClient` constructor accepts two new parameters for idempotent publishing:
- `enable_idempotent_partitions`: A boolean value to tell the `EventHubProducerClient` whether to enable idempotency.
- `partition_config`: The set of configurations that can be specified to influence publishing behavior
specific to the configured Event Hub partition.
- Introduced a new method `get_partition_publishing_properties` on `EventHubProducerClient` to inspect the information
about the state of publishing for a partition.
- Introduced a new property `published_sequence_number` on `EventData` to get the publishing sequence number assigned
to the event at the time it was successfully published.
- Introduced a new property `starting_published_sequence_number` on `EventDataBatch` to get the publishing sequence
number assigned to the first event in the batch at the time the batch was successfully published.
- Introduced a new class `azure.eventhub.PartitionPublishingConfiguration` which is a set of configurations that can be
specified to influence the behavior when publishing directly to an Event Hub partition.

#### Notes

- Updated uAMQP dependency to 1.2.15.

### Event Hubs CheckpointStoreBlob 1.1.3 [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md#113-2021-03-09)

This version will be the last version to officially support Python 3.5, future versions will require Python 2.7 or Python 3.6+.

#### Bug fixes
- Updated vendor azure-storage-blob dependency to v12.7.1.
- Fixed storage blob authentication failure due to request date header too old (#16192).

### Event Hubs CheckpointStoreBlob Async 1.1.3 [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md#113-2021-03-09)

This version will be the last version to officially support Python 3.5, future versions will require Python 2.7 or Python 3.6+.

#### Bug fixes
- Updated vendor azure-storage-blob dependency to v12.7.1.
- Fixed storage blob authentication failure due to request date header too old (#16192).

## Latest Releases

Expand Down