From 607dc2ff5ebd725cf1d32e31bfd766344d5ddb68 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Sat, 6 Feb 2021 20:26:20 -0800 Subject: [PATCH 1/2] Prepare for release --- sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md index da3d0768ae185..9b80258449d49 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md @@ -1,6 +1,16 @@ # Release History -## 4.0.0-beta.5 (Unreleased) +## 4.0.0-beta.5 (2021-02-09) +### Added +- Added `TryGetSystemEventData` that attempts to deserialize event data into a known system event. +- Added `EventGridSasBuilder` for constructing SAS tokens. +- Added `SystemEventNames` that contain the names that will be stamped into the event Type for system events. + +### Breaking Changes +- Updated `GetData` method to always return `BinaryData` instead of `object`. It no longer deserializes system events. +- Removed the `CloudEvent` constructor overload that took `BinaryData` and replaced with an overload that accepts `ReadOnlyMemory` +- Replaced use of `EventGridSasCredential` with `AzureSasCredential`. +- Removed `GenerateSharedAccessSignature` in favor of `EventGridSasBuilder`. ## 4.0.0-beta.4 (2020-11-10) From dfac8ef67b5489a1eaa3e3c6599289f2da5b9cb3 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Mon, 8 Feb 2021 11:23:23 -0800 Subject: [PATCH 2/2] Update changelog --- sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md index 9b80258449d49..bb06e4ba462f7 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md @@ -1,7 +1,7 @@ # Release History ## 4.0.0-beta.5 (2021-02-09) -### Added +### New Features - Added `TryGetSystemEventData` that attempts to deserialize event data into a known system event. - Added `EventGridSasBuilder` for constructing SAS tokens. - Added `SystemEventNames` that contain the names that will be stamped into the event Type for system events.