Skip to content

Commit 7b650e9

Browse files
[EventHubs] Prepare for February 2022 release (Azure#20235)
* [EventHubs] Prepare for February 2022 release - update CHANGELOG * Update sdk/eventhub/event-hubs/CHANGELOG.md Add entry for `createEventDataAdapter` * Update sdk/eventhub/event-hubs/CHANGELOG.md * Remove sample entry * Update sdk/eventhub/event-hubs/CHANGELOG.md Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com> * Bump version to 5.8.0-beta.1 As we are publishing a 5.7.0 release. Also add more comments to idempotent publishing CHANGELOG entry. * update version Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
1 parent 1dbc177 commit 7b650e9

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

sdk/eventhub/event-hubs/CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# Release History
22

3-
## 5.7.0-beta.2 (Unreleased)
3+
## 5.8.0-beta.1 (2022-02-08)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- A new function `createEventDataAdapter` is exported that can convert an `EventData` to a simple message with `body` and `contentType` fields. This adapter can be used with the Avro encoder in `@azure/schema-registry-avro` starting from version 1.0.0-beta.6 to create `EventData` messages with Avro-encoded bodies.
108

11-
### Other Changes
9+
- When publishing events to Event Hubs, timeouts or other transient failures may introduce ambiguity into the understanding of whether a batch of events was received by the service. To assist in this scenario, the option to publish events idempotently has been added to `EventHubBufferedProducerClient`. The functionality can be enabled by setting the `enableIdempotentPartitions` client option to `true`. If enabled, retries during publishing will attempt to avoid duplication with a minor cost to throughput. Duplicates are still possible but the chance of them occurring is much lower when idempotent retries are enabled. [PR #20156](https://github.com/Azure/azure-sdk-for-js/pull/20156)
1210

1311
## 5.7.0-beta.1 (2021-11-12)
1412

sdk/eventhub/event-hubs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@azure/event-hubs",
33
"sdk-type": "client",
4-
"version": "5.7.0-beta.2",
4+
"version": "5.8.0-beta.1",
55
"description": "Azure Event Hubs SDK for JS.",
66
"author": "Microsoft Corporation",
77
"license": "MIT",

sdk/eventhub/event-hubs/src/util/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
export const packageJsonInfo = {
88
name: "@azure/event-hubs",
9-
version: "5.7.0-beta.2",
9+
version: "5.8.0-beta.1",
1010
};
1111

1212
/**

sdk/eventhub/eventhubs-checkpointstore-blob/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"dependencies": {
6161
"@azure/abort-controller": "^1.0.0",
62-
"@azure/event-hubs": "^5.7.0-beta.2",
62+
"@azure/event-hubs": "^5.8.0-beta.1",
6363
"@azure/logger": "^1.0.0",
6464
"@azure/storage-blob": "^12.8.0",
6565
"events": "^3.0.0",

sdk/schemaregistry/schema-registry-avro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"devDependencies": {
8080
"@azure/dev-tool": "^1.0.0",
8181
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
82-
"@azure/event-hubs": "^5.7.0-beta.2",
82+
"@azure/event-hubs": "^5.8.0-beta.1",
8383
"@azure/identity": "^2.0.1",
8484
"@azure/test-utils": "^1.0.0",
8585
"@azure-tools/test-recorder": "^1.0.0",

0 commit comments

Comments
 (0)