Skip to content

Releases: Cysharp/MagicOnion

2.7.0

05 Dec 10:14
e3ef908
Compare
Choose a tag to compare

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 from IServiceLocator.
    • IServiceLocator is now provided for only resolving external types. MagicOnion doesn't register any service and types.
  • Change signature of IGroupRepositoryFactory method
    • IGroupRepository CreateRepository(IServiceLocator serviceLocator); -> IGroupRepository CreateRepository(IFormatterResolver formatterResolver, IMagicOnionLogger logger, IServiceLocator serviceLocator);
  • OpenTelemetryCollectorFilterAttribute has been changed to IMagicOnionFilterFactory implementation.
    • options.Service.GlobalFilters.Add<OpenTelemetryCollectorFilterAttribute>(); -> options.Service.GlobalFilters.Add(new OpenTelemetryCollectorFilterAttribute());

2.6.4

25 Nov 09:05
Compare
Choose a tag to compare

Improvements

  • #215: OpenTelemetry upgrade to 0.2.0-alpha.40 (Thanks @marekhanzlik)
  • #229: Use SlnMerge instead of SolutionFileProecssor
  • #224: Improve developer experience
  • #218: Hide a invoke filter helper method in a stack trace

Fixes

  • #209: Typo in MessagePack.UnityShims (Thanks @alfeg)
  • #210: Fix logging configurations.
  • #217: Client name is derived from original interface name without 'I' prefix. (Issue #191)
  • #230: Hides generated-types from building MagicOnion service definitions. (Issue #225)

Ver 2.6.3

17 Oct 01:39
f310e1f
Compare
Choose a tag to compare

Support F# #207, thanks @Zymlex, @ForNeVeR

Ver 2.6.2

03 Oct 03:57
Compare
Choose a tag to compare

Fix compatibility with Microsoft.Extensions.Hosting 3.0.0 #202

Ver 2.6.1

20 Sep 11:19
Compare
Choose a tag to compare

Add StreamingHub.BroadcastTo/BroadcastToSelf

Ver 2.4.0

09 Sep 12:30
Compare
Choose a tag to compare
  • Update gRPC dependency(2.23.0) both server and Unity
    • braking changes, removed System.Interactive.Async dependency
  • Improve Filter APIs, support DI etc. #187
    • breaking changes, Filter API changed to public override async ValueTask Invoke(ServiceContext context, Func<ServiceContext, Task> next)
  • Improve Options configuration. #182
  • Add RequestContext.SetRequestMutator/SetResponseMutator

Ver 2.3.0

08 Aug 14:25
63d3f94
Compare
Choose a tag to compare

Add ClientFilter, see: https://github.com/Cysharp/MagicOnion#clientfilter
This change requires runtime update and code-generator update.

Ver 2.2.1

30 Jul 05:57
Compare
Choose a tag to compare

Add MagicOnion.OpenTelemetry package
Update gRPC, MessagePack dependencies

Ver 2.2.0

01 Jul 08:05
Compare
Choose a tag to compare

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)

14 May 11:39
Compare
Choose a tag to compare

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