Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.19.0 #1712

Merged
merged 23 commits into from
Nov 8, 2022
Merged

Release v1.19.0 #1712

merged 23 commits into from
Nov 8, 2022

Conversation

JialinXin
Copy link
Contributor

Summary of the changes (Less than 80 chars)

  • Detail 1
  • Detail 2

Fixes #bugnumber (in this specific format)

vicancy and others added 23 commits September 6, 2022 14:52
* Support net7.0

* update osx/ubuntu.

* revert common package upgrade.

* update build-source guide and revert net7.0 in src.

* Add OrTimeout()
* Fix build warning

* Update docs

* Fix build failure

* Fix test failure
* Fix vlunerability issue

* fix filters

* fix filters
* Change emulator to net6.0

* Fix test
* Add filter

* Add multiPayload case

* Adding comments
Improve a confusing statement. The original statement can also be interpreted as this SDK only supports SignalR clients based on ASP.NET Core C#, which confuses users. #1688
…th Management SDK (#1691)

When clients negotiatie with Management SDK and connect to SignalR server, IUserIdProvider might not work as the user ID is set directly in the Management SDK.

To make HubConnectionContext.UserIdentifier have the valid value in this case, we should set it before the server accesses it. HubLifetimeManager{THub}.OnConnectedAsync(HubConnectionContext) is the only chance we can set the value. However, we cannot access the Constants.ClaimType.UserId as ASRS system claims are trimmed there. HubConnectionContext.Features is the place where we can store the user Id.

The following code is the injection point.
https://github.com/dotnet/aspnetcore/blob/v6.0.9/src/SignalR/server/Core/src/HubConnectionHandler.cs#L132-L141

Fixes #1679
* add ClientInvocationManager
add `TryCompleteResult` for `ErrorCompletionMessage`
* Add spec for client-invocation.

* minor update direction for ErrorCompletionMessage
* Add client Invocation implementation and UTs
* Fix cleanup in caller case.

* fix UT.

* Update src/Microsoft.Azure.SignalR.Common/ClientInvocation/IClientInvocationManager.cs

Co-authored-by: Liangying.Wei <lianwei@microsoft.com>

Co-authored-by: Liangying.Wei <lianwei@microsoft.com>
* Add ClientResultSample

* Move file

* minor update.

* minor update README.

* show server/service ex.message

* Add Broadcast method and update README
* Update dep to GA version.

* clean up dependencies

* clean management.

* fix test dep.
@JialinXin JialinXin merged commit 3470d1f into master Nov 8, 2022
@vicancy vicancy deleted the v1.19.0 branch November 9, 2022 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants