4.4.0
版本发布时间: 2022-02-03 15:49:14
Cysharp/MagicOnion最新发布版本:6.1.4(2024-07-17 15:51:31)
Breaking Changes
Remove MagicOnion.Server.Authentication in https://github.com/Cysharp/MagicOnion/pull/483 https://github.com/Cysharp/MagicOnion/pull/484
We will no longer provide and support MagicOnion.Server.Authentication (Preview package). If your applicaiton requires authentication mechanism, this can be achieved on top of the standard authentication mechanism in ASP.NET Core.
See: Authentication and authorization in gRPC for ASP.NET Core
Features
- Add UnaryResult.FromResult<T>(), UnaryResult.Nil in https://github.com/Cysharp/MagicOnion/pull/463
- Make default(UnaryResult<T>) awaitable in https://github.com/Cysharp/MagicOnion/pull/466
- Target .NET 6 in https://github.com/Cysharp/MagicOnion/pull/469 https://github.com/Cysharp/MagicOnion/pull/470
- Introduce GenerateIfDirectiveAttribute in https://github.com/Cysharp/MagicOnion/pull/493
Improvements
- Use RequestServices instead of a manually scoped ServiceProvider in https://github.com/Cysharp/MagicOnion/pull/479
- Clarify the message when it fails to negotiate with the server in https://github.com/Cysharp/MagicOnion/pull/480
- Pass attributes as metadata on binding gRPC method in https://github.com/Cysharp/MagicOnion/pull/484
Other Changes
- Add code highlight hint to sample code for Filter by @bamchoh in https://github.com/Cysharp/MagicOnion/pull/443
- feat: publish OpenTelemetry support to NuGet listed latest version. by @guitarrapc in https://github.com/Cysharp/MagicOnion/pull/422
- MagicOnion.Unity: Grpc.Net.Client in https://github.com/Cysharp/MagicOnion/pull/446 https://github.com/Cysharp/MagicOnion/pull/447
- Symbols should not be cached across Compilation in https://github.com/Cysharp/MagicOnion/pull/448
- Fix typos in README by @hankovich in https://github.com/Cysharp/MagicOnion/pull/450
- Ignore PackageReference element if it does not have Include attribute in https://github.com/Cysharp/MagicOnion/pull/454
- Update smple code "await foreach" by @NepPure in https://github.com/Cysharp/MagicOnion/pull/468
- Ignore exception on disconnection by STREAM_RST in https://github.com/Cysharp/MagicOnion/pull/475
- HttpGateway breaks if service uses explicit interface implementation feature by @BearPro in https://github.com/Cysharp/MagicOnion/pull/473
- Ignore InvalidOperationException if the connection is completed in https://github.com/Cysharp/MagicOnion/pull/478
- Fix warnings in https://github.com/Cysharp/MagicOnion/pull/477
New Contributors
- @bamchoh made their first contribution in https://github.com/Cysharp/MagicOnion/pull/443
- @hankovich made their first contribution in https://github.com/Cysharp/MagicOnion/pull/450
- @NepPure made their first contribution in https://github.com/Cysharp/MagicOnion/pull/468
- @BearPro made their first contribution in https://github.com/Cysharp/MagicOnion/pull/473
Full Changelog: https://github.com/Cysharp/MagicOnion/compare/4.3.1...4.4.0
1、 MagicOnion.Client.Unity.unitypackage 163.74KB
2、 moc.4.4.0.zip 41.17MB