4.3.0
版本发布时间: 2021-05-19 17:03:06
Cysharp/MagicOnion最新发布版本:6.1.4(2024-07-17 15:51:31)
Changes
Breaking changes
[Client] Use ChannelBase for channel abstraction #433
Use ChannelBase
(included in Grpc.Core.Api) for channel abstraction.
Remove overloads to receive IMagicOnionAwareGrpcChannel
, Channel
, GrpcChannel
from MagicOnionClient
and StreamingHubClient
.
MagicOnion now requires gRPC v1.27.0 (Grpc.Core.Api v2.27.0) or later.
You may need to remove following source codes from your Unity project.
- MagicOnionClient.CCore.cs
- MagicOnionClient.NetStandard.cs
- StreamingHubClient.CCore.cs
- StreamingHubClient.NetStandard.cs
API changes and deprecation
[Client.Unity] Make the method names of GrpcChannelx like the API of GrpcChannel #434
Because GrpcChannel has a method named ForAddress, GrpcChannelx follows it.
Following APIs are marked as deprecated:
-
GrpcChannelx.FromAddress(Uri)
-
GrpcChannelx.FromTarget(GrpcChannelTarget)
Use GrpcChannelx.ForAddress
or GrpcChannelx.ForTarget
instead.
1、 MagicOnion.Client.Unity.unitypackage 162KB
2、 moc.4.3.0.zip 65.18MB