Releases: Cysharp/MagicOnion
2.7.0
Improvements
- #231: Add support for IServiceLocator / IServiceProvider Scope.
- #232: Create a filter instance via factory.
- #233: Add Extensions to create a broadcaster from IGroup.
Breaking changes
- Remove
Register
methods fromIServiceLocator
.IServiceLocator
is now provided for only resolving external types. MagicOnion doesn't register any service and types.
- Change signature of
IGroupRepositoryFactory
methodIGroupRepository CreateRepository(IServiceLocator serviceLocator);
->IGroupRepository CreateRepository(IFormatterResolver formatterResolver, IMagicOnionLogger logger, IServiceLocator serviceLocator);
OpenTelemetryCollectorFilterAttribute
has been changed toIMagicOnionFilterFactory
implementation.options.Service.GlobalFilters.Add<OpenTelemetryCollectorFilterAttribute>();
->options.Service.GlobalFilters.Add(new OpenTelemetryCollectorFilterAttribute());
2.6.4
Ver 2.6.3
Ver 2.6.2
Ver 2.6.1
Ver 2.4.0
- Update gRPC dependency(
2.23.0
) both server and Unity- braking changes, removed
System.Interactive.Async
dependency
- braking changes, removed
- Improve Filter APIs, support DI etc. #187
- breaking changes, Filter API changed to
public override async ValueTask Invoke(ServiceContext context, Func<ServiceContext, Task> next)
- breaking changes, Filter API changed to
- Improve Options configuration. #182
- Add
RequestContext.SetRequestMutator/SetResponseMutator
Ver 2.3.0
Add ClientFilter, see: https://github.com/Cysharp/MagicOnion#clientfilter
This change requires runtime update and code-generator update.
Ver 2.2.1
Ver 2.2.0
Fix: DynamicArgumentTuple is not registered when return type is embedded array type. #164, thanks @honda-tatsuya
Add: ServiceContext.GetRawRequest
, SetRawRequest
, GetRawResponse
, SetRawResponse
. There are useful to modify request/result in filter(like encryption).
Ver 2.1.0(2.1.2)
Update gRPC dependency to 1.20.1
Fix StreamingHub receive events only consume one message per frame.
Update SwaggerUI
to MagicOnion.HttpGateway
Add Generic Host's DI support to MagicOnion.Hosting
Add MagicOnionHost.CreateDefaultBuilder
to MagicOnion.Hosting
Braking Changes, Drop .NET Framework support
Braking Changes, StreamingHubClient.OnBroadcastEvent
only supports void
Ver 2.1.2
On NuGet version is 2.1.2, it is same as 2.1.0 but fixed AssemblyFileVersion