Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
16 changes: 7 additions & 9 deletions sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Release History

## 4.22.0-beta.1 (Unreleased)
## 4.22.0 (2024-02-12)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added new Storage Task Assignment system events.
- Added new AVS system events.
- Added `Metadata` property to `AcsChatThreadCreatedEventData` system event.

## 4.21.0 (2023-11-07)

Expand Down Expand Up @@ -50,7 +48,7 @@

### Features Added

- Added new system events for Container Service.
- Added new system events for Container Service.

### Breaking Changes

Expand Down Expand Up @@ -193,7 +191,7 @@
### New Features
* Added the following new system events:
- StorageBlobInventoryPolicyCompletedEventData

* Updated existing system events:
- AcsRecordingChunkInfoProperties - Added `ContentLocation` and `MetadataLocation` properties.

Expand All @@ -203,7 +201,7 @@
## 4.2.0 (2021-05-10)

### New Features
* Added the following new system events:
* Added the following new system events:
- PolicyInsightsPolicyStateChangedEventData
- PolicyInsightsPolicyStateCreatedEventData
- PolicyInsightsPolicyStateDeletedEventData
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<Description>This library can be used to publish events to Azure Event Grid and to consume events delivered by EventGrid. It also defines the event schemas for the events published to EventGrid by various Azure services.</Description>
<AssemblyTitle>Microsoft Azure.Messaging.EventGrid client library</AssemblyTitle>
<Version>4.22.0-beta.1</Version>
<Version>4.22.0</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<ApiCompatVersion>4.21.0</ApiCompatVersion>
<PackageTags>Microsoft Azure EventGrid;Event Grid;Event Grid Publishing;</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public static AcsChatThreadCreatedWithUserEventData AcsChatThreadCreatedWithUser
[EditorBrowsable(EditorBrowsableState.Never)]
public static AcsChatThreadCreatedEventData AcsChatThreadCreatedEventData(string transactionId, string threadId, DateTimeOffset? createTime, long? version, CommunicationIdentifierModel createdByCommunicationIdentifier, IReadOnlyDictionary<string, object> properties, IReadOnlyList<AcsChatThreadParticipantProperties> participants)
{
return AcsChatThreadCreatedEventData(transactionId, threadId, createTime, version, createdByCommunicationIdentifier, properties, (IEnumerable<AcsChatThreadParticipantProperties>) participants);
return AcsChatThreadCreatedEventData(transactionId, threadId, createTime, version, createdByCommunicationIdentifier, properties, new Dictionary<string, string>(), (IEnumerable<AcsChatThreadParticipantProperties>) participants);
}

/// <summary> Initializes a new instance of AcsChatThreadCreatedWithUserEventData. </summary>
Expand Down Expand Up @@ -174,6 +174,24 @@ public static AcsChatThreadPropertiesUpdatedEventData AcsChatThreadPropertiesUpd
return new AcsChatThreadPropertiesUpdatedEventData(transactionId, threadId, createTime, version, editedByCommunicationIdentifier, editTime, properties, new Dictionary<string, string>());
}

/// <summary> Initializes a new instance of <see cref="SystemEvents.AcsChatThreadCreatedEventData"/>. </summary>
/// <param name="transactionId"> The transaction id will be used as co-relation vector. </param>
/// <param name="threadId"> The chat thread id. </param>
/// <param name="createTime"> The original creation time of the thread. </param>
/// <param name="version"> The version of the thread. </param>
/// <param name="createdByCommunicationIdentifier"> The communication identifier of the user who created the thread. </param>
/// <param name="properties"> The thread properties. </param>
/// <param name="participants"> The list of properties of participants who are part of the thread. </param>
/// <returns> A new <see cref="SystemEvents.AcsChatThreadCreatedEventData"/> instance for mocking. </returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public static AcsChatThreadCreatedEventData AcsChatThreadCreatedEventData(string transactionId = null, string threadId = null, DateTimeOffset? createTime = null, long? version = null, CommunicationIdentifierModel createdByCommunicationIdentifier = null, IReadOnlyDictionary<string, object> properties = null, IEnumerable<AcsChatThreadParticipantProperties> participants = null)
{
properties ??= new Dictionary<string, object>();
participants ??= new List<AcsChatThreadParticipantProperties>();

return new AcsChatThreadCreatedEventData(transactionId, threadId, createTime, version, createdByCommunicationIdentifier, properties, new Dictionary<string, string>(), participants?.ToList());
}

/// <summary> Initializes new instance of AcsSmsDeliveryReportReceivedEventData class. </summary>
/// <param name="messageId"> The identity of the SMS message. </param>
/// <param name="from"> The identity of SMS message sender. </param>
Expand Down
Loading