Skip to content

Releases: Azure/azure-signalr

Release 1.17.1

23 May 07:42
5d6662c
Compare
Choose a tag to compare

Bug Fixes

  1. Fix the Azure Function binding issue #1603

Release 1.17.0

18 Apr 08:22
521b001
Compare
Choose a tag to compare

Bug Fixes

  1. Fix the regression issue that for the single endpoint scenario, send message failure does not throw (#1582)
  2. Improve the error handling when a message fails to send with multiple endpoints (#1582)
    1. "DefaultMessageRouter" filters out "offline" endpoints so that messages will not send out to offline endpoints
    2. You can customize your own message router if you'd like to make sure exceptions throw when some endpoints are offline.
  3. Fix the endpoint hot-reload logic to support "ClientEndpoint" and "ServerEndpoint" property (#1592)

Release v1.16.1

06 Apr 05:54
e56e017
Compare
Choose a tag to compare

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

08 Mar 08:09
19b81ca
Compare
Choose a tag to compare

Features

  • Support the customization of endpoints for servers to connect to ASRS in code or config. #1564
    Users have two ways to set serverEndpoint or clientEndpoint.
    • Option 1: in connection string: serverEndpoint=...
    • Option 2: in the ctor of ServiceEndpoint:
      new ServiceEndpoint(new Uri(endpoint), new DefaultAzureCredential())
      {
          ClientEndpoint = clientEndpoint,
          ServerEndpoint = serverEndpoint
      }
  • 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

22 Feb 10:09
7e51478
Compare
Choose a tag to compare

Fixes

  • Fix the bug that Management SDK connection count is fixed to 3
  • RestClient Set StatusCode on HttpRequestException on .NET 5 or above runtime.

Release v1.15.1

15 Feb 05:30
74ec5cc
Compare
Choose a tag to compare

Fixes

  • Fix dismatch behavior of empty userIs in IHubContext<THub, T>.Clients.Users(userIds).Method, between AspNetCore SignalR and SignalR service SDK #1544

Improvements

  • Improve cross-project debug experience by enabling source link. #1546

Release v1.15.0

13 Jan 07:30
6e1dff1
Compare
Choose a tag to compare

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

27 Dec 09:07
bcebc9c
Compare
Choose a tag to compare

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 or Newtonsoft.Json are both supported. See Customizing Json Serialization in Management SDK for details.

Release v1.13.0

09 Nov 08:58
2ceca1c
Compare
Choose a tag to compare

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

Release v1.12.0

22 Oct 06:56
948e9a1
Compare
Choose a tag to compare

Features

Server SDK

  • You can use ServiceOptions.TransportTypeDetector to set the HttpTransportType 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 subclasses CloseMultiConnectionsWithAckMessage, CloseConnectionWithAckMessage, CloseConnectionsWithAckMessage, CloseUserConnectionsWithAckMessage, CloseGroupConnectionsWithAckMessage.