Releases: Azure/azure-signalr
Releases · Azure/azure-signalr
Release v1.11.0
Features
Management SDK
ServiceHubContext
now implementsIDisposable
.- All methods in
ServiceHubContext.ClientManager
are supported with persistent transport type. - Remove limitation on setting
ServiceManagerOptions.ServiceEndpoints
with transient transport type. Now no matter what transport type is, you can useDefaultAzureCredential
as follows:
var serviceManager = new ServiceManagerBuilder().WithOptions(option =>
{
option.ServiceEndpoints = new ServiceEndpoint[] { new ServiceEndpoint(new Uri("https://<your-signalr-name>.service.signalr.net"), new DefaultAzureCredential()) };
})
.BuildServiceManager();
Protocol
- Add more property to GroupBroadcastMessage (#1429)
Bug fixes
- Fix a bug in
ServiceManager.IsServiceHealthy
that throws exception. (#1430)
Release v1.10.0
Features
- Management SDK publishes a new set of APIs to replace the old APIs mainly to support multiple Azure SignalR instances, but the new set of APIs also provide additional benefits.
- Check Migration guide from version 1.9.x and below to 1.10.0 for migration benefits and steps.
- For users who haven't used Management SDK before, you can read this doc directly for an introduction about Management SDK.
ServiceManagerBuilder.Build()
,IServiceManagerBuilder
are obsolete.
- SDK client will also send
AccessKey
request via server connection when using aad auth. [ #1361 ] - Add
ServiceEndpoint
constructor for aad scenario.var endpoint = new ServiceEndpoint(new Uri("https://canary-aad-test.service.signalr.net"), new DefaultAzureIdentity());
ServiceEndpoint.Endpoint
will convert its hostname into lowercase even when the given hostname is in uppercase. It will also influence the generated accessToken and URL. RFC4343ServiceEndpoint.Endpoint
will automatically add a port postfix if port=xxx was in the connection string and was not equal to 80 when HTTP or 443 when HTTPS.- According to 5, endpoints with the same hostname but have different ports will NOT be considered equal.
Bug fixes
- Fix a bug that will let migrated connections dropped unexpectedly when the app task on the old server could not stop immediately. [ #1376 ]
Known issues:
- In Management SDK / Serverless SDK,
ServiceHubContext.ClientManager
is not ready withPersistent
transport type.
Release v1.9.2
Release v1.9.1
Improvements
- For ASP.NET Core SignalR, the SDK no longer cancels long-running client hub logic when the client disconnects, this behavior change makes the behavior consistent with the self-host SignalR, the discussion leading to this change is #1318 (#1332)
Bug fixes
- Workaround fix for connection migration (#1342)
Release v1.9.0
- Remove
Microsoft.Azure.Services.AppAuthentication
dependency. - Add
Azure.Identity
dependency to support modern AAD features.
Release v1.8.2
Release V1.8.1
- Add support for user-assigned manage identity
- To use user-assigned managed identity, you can add a
ClientId=xxxxx
in your aad connection string.Endpoint=<endpoint>;AuthType=aad;ClientId=<User-Assigned Managed Identity clientId>
- To use user-assigned managed identity, you can add a
Releasing v1.8.0
Releasing v1.7.1
Releasing v1.7.0
Features:
- Support .NET 5.0 (#1101)