Releases: Azure/azure-signalr
Releases · Azure/azure-signalr
Release 1.17.1
Bug Fixes
- Fix the Azure Function binding issue #1603
Release 1.17.0
Bug Fixes
- Fix the regression issue that for the single endpoint scenario, send message failure does not throw (#1582)
- Improve the error handling when a message fails to send with multiple endpoints (#1582)
- "DefaultMessageRouter" filters out "offline" endpoints so that messages will not send out to offline endpoints
- You can customize your own message router if you'd like to make sure exceptions throw when some endpoints are offline.
- Fix the endpoint hot-reload logic to support "ClientEndpoint" and "ServerEndpoint" property (#1592)
Release v1.16.1
Features
- Add server endpoint and client endpoint as optional parameters of a
ServiceEndpoint
constructor so that users can customize them with AAD auth. #1586
public ServiceEndpoint(Uri endpoint, TokenCredential credential, EndpointType endpointType = EndpointType.Primary, string name = "", Uri serverEndpoint = null, Uri clientEndpoint = null)
Fixes
- Fixes the ackable message time out problem when multiple SignalR endpoints exist. #1576
Release v1.16.0
Features
- Support the customization of endpoints for servers to connect to ASRS in code or config. #1564
Users have two ways to setserverEndpoint
orclientEndpoint
.- Option 1: in connection string:
serverEndpoint=...
- Option 2: in the ctor of
ServiceEndpoint
:new ServiceEndpoint(new Uri(endpoint), new DefaultAzureCredential()) { ClientEndpoint = clientEndpoint, ServerEndpoint = serverEndpoint }
- Option 1: in connection string:
- Allow customization of endpoints for clients to connect to ASRS in code.#1564 See the code sample above.
- Expose connection capacity in metrics of ServiceEndpoint #1567
- Change the default endpoint router from random to weighted random #1568
Fixes
- Fix the message order problem with multiple service connections. #1571
Release v1.15.2
Fixes
- Fix the bug that Management SDK connection count is fixed to 3
RestClient
SetStatusCode
onHttpRequestException
on .NET 5 or above runtime.
Release v1.15.1
Release v1.15.0
Fixes
- Fix negotiation error when using AAD and multiple endpoints. #1530
- Fix
Newtonsoft.Json
version conflicts which might cause some failures such as AAD auth and REST API calls. #1520 - Fix a bug in the
RestClient
that causes REST API calls error. #1519 - Fix security issues by updating package versions:
Microsoft.AspNetCore.Http
2.1.0 -> 2.1.22,Microsof.tAspNetCore.Http.Connections
1.0.0 -> 1.0.15,Microsoft.AspNetCore.WebSockets
2.1.0 -> 2.1.7,System.Net.WebSockets.WebSocketProtocol
4.5.0 -> 4.5.3
Release v1.14.0
Known issue with this version
- We have a bug in this version that would affect:
- AAD authentication
- In Management SDK Transient transport type (the default one) : group management (such as adding users to groups, removing users from groups), client management (such as checking if user is in group).
Management SDK
- In persistent mode, adding a user to a group, removing a user from a group, removing a user from all groups are confirmed to be finished once the methods in
ServiceHubContext.UserGroups
are returned. - Supports a more flexible way to customize JSON serialization. You can use
ServiceManagerOptions.UseJsonObjectSerializer(...)
method to specify a JSON object serializer.System.Text.Json
orNewtonsoft.Json
are both supported. See Customizing Json Serialization in Management SDK for details.
Release v1.13.0
Server SDK and Management SDK
- Attempt to fix timeout when adding to group: change ackable messages to go through random connections to reduce the burden of a single connection. #1492
Management
- Now you can get a hub context for a strongly typed hub. See details here.
Release v1.12.0
Features
Server SDK
- You can use
ServiceOptions.TransportTypeDetector
to set theHttpTransportType
for your SignalR clients. #1469
Management SDK
- In persistent transport type, adding a user to group is no more a "fire-and-forget" action now. When the task finishes, the user is in the group.
Protocols
- New
CloseWithAckMessage
types are added, including subclassesCloseMultiConnectionsWithAckMessage
,CloseConnectionWithAckMessage
,CloseConnectionsWithAckMessage
,CloseUserConnectionsWithAckMessage
,CloseGroupConnectionsWithAckMessage
.