MagicOnion

Unified Realtime/API framework for .NET platform and Unity.

MIT License

Stars
3.7K
Committers
44

Bot releases are visible (Hide)

MagicOnion - Ver 3.0.5

Published by neuecc almost 5 years ago

Same as (fixed) 3.0.4.
This release only affects MSBuild.Tasks.
(may) fixed build error on dotnet build when use with MessagePack.MSBuild.Tasks.

MagicOnion - Ver 3.0.4

Published by neuecc almost 5 years ago

This release only affects MSBuild.Tasks.

(may) fixed build error on dotnet build when use with MessagePack.MSBuild.Tasks.

MagicOnion - 3.0.3

Published by neuecc almost 5 years ago

This release fixes failed code-generator in 3.0.1 and 3.0.2.

  • MethodIdAttribute moved to MagicOnion.Abstractions
MagicOnion - 3.0.2

Published by neuecc almost 5 years ago

This release is only affected code-generator.

  • Fix get NuGet root path on Mac and Linux, thanks @honda-tatsuya
  • Improve generated code has been sorted, thanks @honda-tatsuya
MagicOnion -

Published by neuecc almost 5 years ago

This release is only affected code-generator.

  • Resolve NuGet dependency more correctly
  • Show warn message if generate result is empty
  • Fix separate file generation
MagicOnion - Ver 3.0.0

Published by neuecc almost 5 years ago

Update MessagePack-CSharp dependency to v2.
It causes many API breaking changes so jump major version to 3.

Improvements

  • Add MagicOnion.Generator .NET Core Tools package.
  • Add MagicOnion.MSBuild.Tasks package.
  • Improved lightweight code generator engine.

Breaking changes

  • Remove EmbeddedServices (Heartbeat, Ping).
  • MagicOnion.Hosting now targets .NET Core 3.1.
  • Decouple project dependency to MagicOnion and MagicOnion.Abstraction.
  • All IFormatterResolver apis changed to MessagePackSerializerOptions.
  • Compression follows MessagePackSerializerOptions(no use LZ4 in default).
MagicOnion - 2.7.1

Published by mayuki almost 5 years ago

Fixes

  • #238: ImmutableArrayGroup and ConcurrentDictionaryGroup don't work as expected.
MagicOnion - 2.7.0

Published by mayuki almost 5 years ago

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());
MagicOnion - 2.6.4

Published by neuecc almost 5 years ago

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)
MagicOnion - Ver 2.6.3

Published by neuecc about 5 years ago

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

MagicOnion - Ver 2.6.2

Published by neuecc about 5 years ago

Fix compatibility with Microsoft.Extensions.Hosting 3.0.0 #202

MagicOnion - Ver 2.6.1

Published by neuecc about 5 years ago

Add StreamingHub.BroadcastTo/BroadcastToSelf

MagicOnion - Ver 2.4.0

Published by neuecc about 5 years ago

  • 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
MagicOnion - Ver 2.3.0

Published by neuecc about 5 years ago

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

MagicOnion - Ver 2.2.1

Published by neuecc about 5 years ago

Add MagicOnion.OpenTelemetry package
Update gRPC, MessagePack dependencies

MagicOnion - Ver 2.2.0

Published by neuecc over 5 years ago

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).

MagicOnion - Ver 2.1.0(2.1.2)

Published by neuecc over 5 years ago

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

MagicOnion - Ver 2.0.5

Published by neuecc over 5 years ago

Add support for F# #94, thanks @GnicoJP
Update gRPC dependency to 1.19.0.
Breaking Changes: disallow partial interface defnition

Unity and CodeGenerator does not have changed.

MagicOnion - Ver 2.0.4

Published by neuecc over 5 years ago

  • update gRPC depenency to latest(1.18.0)
  • support .NET Framework 4.5
  • add generic host extension(MagicOnion.Hosting)
  • .NET Standard 2.0, search hub type from all assemblies in default
  • fix invalid code generation in moc when using enum and custom namespace
  • (Braking Changes) UnsafeBlitResolver write valid msgpack binary
MagicOnion - MagicOnion2

Published by neuecc almost 6 years ago

Add new StreamingHub feature.
Moved neuecc/MagicOnion to Cysharp/MagicOnion.
Supports ValueTask filter and many more.