From 95aaf07b9118a0b14a7d156344b31d462519bef3 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Tue, 9 Mar 2021 12:23:58 -0800 Subject: [PATCH 1/2] eh march release notes --- releases/2021-03/python.md | 62 ++++++++++++++++++++++++++++++++++---- 1 file changed, 56 insertions(+), 6 deletions(-) diff --git a/releases/2021-03/python.md b/releases/2021-03/python.md index 67f3d7b8815..74272b13038 100644 --- a/releases/2021-03/python.md +++ b/releases/2021-03/python.md @@ -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 From 8c3862d16b64abc576a8bde6d7a3a2bafe55c80f Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Tue, 9 Mar 2021 13:10:06 -0800 Subject: [PATCH 2/2] update according to the pattern --- releases/2021-03/python.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/releases/2021-03/python.md b/releases/2021-03/python.md index 74272b13038..b65a0af38d4 100644 --- a/releases/2021-03/python.md +++ b/releases/2021-03/python.md @@ -31,10 +31,10 @@ The Azure SDK team is pleased to make available the March 2021 client library re 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 +$> 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 ``` ## Feedback @@ -43,7 +43,7 @@ If you have a bug or feature request for one of the libraries, please post an is ## Release highlights -### 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) +### Event Hubs 5.3.1 [Changelog](https://github.com/Azure/azure-sdk-for-python/tree/azure-eventhub_5.3.1/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+. @@ -76,7 +76,7 @@ This version and all future versions will require Python 2.7 or Python 3.6+, Pyt - 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) +### Event Hubs CheckpointStoreBlob 1.1.3 [Changelog](https://github.com/Azure/azure-sdk-for-python/tree/azure-eventhub-checkpointstoreblob_1.1.3/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+. @@ -84,7 +84,7 @@ This version will be the last version to officially support Python 3.5, future v - 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) +### Event Hubs CheckpointStoreBlob Async 1.1.3 [Changelog](https://github.com/Azure/azure-sdk-for-python/tree/azure-eventhub-checkpointstoreblob-aio_1.1.3/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+.