github Azure/azure-sdk-for-net Microsoft.Azure.WebJobs.Extensions.SignalRService_1.7.0

latest releases: Azure.Provisioning.AppContainers_1.0.0-beta.1, Azure.Provisioning.Kubernetes_1.0.0-beta.1, Azure.Provisioning.ContainerService_1.0.0-beta.1...
2 years ago

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

  • SignalRConnectionAttribute can be used to customize the connection name of strongly typed serverless hub too. Usage:
    [SignalRConnection("SignalRConnection")]
    public class CustomConnectionHub : ServerlessHub<IChatClient>
    {
    }
    {
        "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 for more details.
  • Enabled SignalR trigger to use identity-based connection.

Bugs Fixed

  • 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.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.