Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9c6138

Browse files
authored
[@azure/eventgrid] - Release V5.10.0 Jan 2025 (#32441)
### Packages impacted by this PR `@azure/eventgrid` ### Issues associated with this PR Azure/azure-rest-api-specs#32004 ### Describe the problem that is addressed by this PR This PR consists of the following changes: - Added `internetMessageId` property to `AcsEmailDeliveryReportReceivedEventData`. - Added `recipientMailServerHostName` property to `AcsEmailDeliveryReportStatusDetails`. - For `AcsSmsReceivedEventData`: - Added `segmentCount` property - Made `message` & `receivedTimestamp` properties optional. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? There are no specific/complex design scenarios for this task. It is a straightforward regenerate and some standard changes to the custom layer of the code. ### Are there test cases added in this PR? _(If not, why?)_ No. This item is standard and we need not add test cases for every new events. The existing cases would be sufficient. ### Provide a list of related PRs _(if any)_ - #28176 (This is the PR that adds similar events to the SDK in the 5.1.0 release) - #28513 (This is the PR that adds similar events to the SDK in the 5.2.0 release) - #28891 (This is the PR that adds similar events to the SDK in the 5.3.0 release) - #29035 (This is the PR that adds similar events to the SDK in the 5.4.0 release) - #29872 (This is the PR that adds similar events to the SDK in the 5.5.0 release) - #30811 (This is the PR that adds similar events to the SDK in the 5.6.0 release) - #32011 (This is the PR that adds similar events to the SDK in the 5.9.0 release) ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ```autorest --typescript swagger\README.md``` ### Checklists - [X] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [X] Added a changelog (if necessary)
1 parent 4fb48bf commit c9c6138

File tree

8 files changed

+46
-14
lines changed

8 files changed

+46
-14
lines changed

sdk/eventgrid/eventgrid/CHANGELOG.md

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

3-
## 5.9.1 (Unreleased)
3+
## 5.10.0 (2025-01-21)
44

55
### Features Added
66

7-
### Breaking Changes
7+
- Added `internetMessageId` property to `AcsEmailDeliveryReportReceivedEventData`.
8+
- Added `recipientMailServerHostName` property to `AcsEmailDeliveryReportStatusDetails`.
9+
- For `AcsSmsReceivedEventData`:
10+
- Added `segmentCount` property
811

912
### Bugs Fixed
1013

11-
### Other Changes
14+
- For `AcsSmsReceivedEventData`:
15+
- Made `message` & `receivedTimestamp` properties optional.
1216

1317
## 5.9.0 (2024-12-02)
1418

sdk/eventgrid/eventgrid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "client",
44
"author": "Microsoft Corporation",
55
"description": "An isomorphic client library for the Azure Event Grid service.",
6-
"version": "5.9.1",
6+
"version": "5.10.0",
77
"keywords": [
88
"node",
99
"azure",

sdk/eventgrid/eventgrid/review/eventgrid.api.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export type AcsChatThreadWithUserDeletedEventData = AcsChatThreadEventBase & {
204204
export interface AcsEmailDeliveryReportReceivedEventData {
205205
deliveryAttemptTimestamp: string;
206206
deliveryStatusDetails: AcsEmailDeliveryReportStatusDetails;
207+
internetMessageId: string;
207208
messageId: string;
208209
recipient: string;
209210
sender: string;
@@ -215,6 +216,7 @@ export type AcsEmailDeliveryReportStatus = string;
215216

216217
// @public
217218
export interface AcsEmailDeliveryReportStatusDetails {
219+
recipientMailServerHostName: string;
218220
statusMessage: string;
219221
}
220222

@@ -637,8 +639,9 @@ export interface AcsSmsEventBase {
637639

638640
// @public
639641
export type AcsSmsReceivedEventData = AcsSmsEventBase & {
640-
message: string;
641-
receivedTimestamp: string;
642+
message?: string;
643+
receivedTimestamp?: string;
644+
segmentCount: number;
642645
};
643646

644647
// @public

sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/generated/models/index.ts

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/generated/models/mappers.ts

Lines changed: 21 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ import { createTracingClient } from "@azure/core-tracing";
1010
export const tracingClient = createTracingClient({
1111
namespace: "Microsoft.Messaging.EventGrid",
1212
packageName: "@azure/event-grid",
13-
packageVersion: "5.9.1",
13+
packageVersion: "5.10.0",
1414
});

sdk/eventgrid/eventgrid/swagger/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
## Configuration
66

77
```yaml
8-
require: "https://github.com/Azure/azure-rest-api-specs/blob/fb64eaa0dfc7ee8abc8e10369495729d5b3c1cc5/specification/eventgrid/data-plane/readme.md"
8+
require: "https://github.com/Azure/azure-rest-api-specs/blob/c18f249c85d002b7b2ddcc36b648512b574e1f4a/specification/eventgrid/data-plane/readme.md"
99
package-name: "@azure/eventgrid"
10-
package-version: "5.9.1"
10+
package-version: "5.10.0"
1111
title: GeneratedClient
1212
description: EventGrid Client
1313
generate-metadata: false

0 commit comments

Comments
 (0)