From 40124cfe1659f3cbe8fb6c8a7a83ab1b0dd4b5dc Mon Sep 17 00:00:00 2001 From: yzt Date: Mon, 21 Feb 2022 13:17:01 +0800 Subject: [PATCH] [SignalR] Release 1.7.0 GA version (#27125) --- .../CHANGELOG.md | 27 +++++++++++++++---- ...e.WebJobs.Extensions.SignalRService.csproj | 2 +- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/CHANGELOG.md b/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/CHANGELOG.md index adfe731963f74..a2966edefd7b9 100644 --- a/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/CHANGELOG.md +++ b/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/CHANGELOG.md @@ -1,14 +1,31 @@ # Release History -## 1.7.0-beta.3 (Unreleased) +## 1.7.0 (2022-02-22) +**Following are the all changes in 1.7.0-beta.2 and 1.7.0-beta.1 versions.** ### Features Added - -### Breaking Changes +* `SignalRConnectionAttribute` can be used to customize the connection name of strongly typed serverless hub too. Usage: + ```cs + [SignalRConnection("SignalRConnection")] + public class CustomConnectionHub : ServerlessHub + { + } + ``` + ```json + { + "Values":{ + "SignalRConnection":"Your-Connection-String" + } + } + ``` +* Added built-in string constants for SignalR trigger: `SignalRTriggerCategories.Connections` for "connections", `SignalRTriggerCategories.Messages` for "messages", `SignalRTriggerEvents.Connected` for "connected", `SignalRTriggerEvents.Disconnected` for "disconnected". +* Added strongly typed serverless hub. See [sample](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/samples/Sample01_StronglyTypedHub.md) for more details. +* Enabled SignalR trigger to use identity-based connection. ### Bugs Fixed - -### Other Changes +* Fix a `ServiceEndpoints` binding bug that creating new persistent connections for each request. +* Fixed the bug that the function host could not be shutdown locally on Functions V3 runtime. +* Fixed the package restoring issue on .NET 5 and above. ## 1.7.0-beta.2 (2022-02-14) diff --git a/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Microsoft.Azure.WebJobs.Extensions.SignalRService.csproj b/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Microsoft.Azure.WebJobs.Extensions.SignalRService.csproj index 8345c0daa26e5..ef9fa7fd9afb5 100644 --- a/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Microsoft.Azure.WebJobs.Extensions.SignalRService.csproj +++ b/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService/src/Microsoft.Azure.WebJobs.Extensions.SignalRService.csproj @@ -3,7 +3,7 @@ $(RequiredTargetFrameworks) Microsoft.Azure.WebJobs.Extensions.SignalRService - 1.7.0-beta.3 + 1.7.0 true true $(NoWarn);CS1591;AZC0001;AZC0107;