Ver.4.3.0
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.