Skip to content

v2.5.0

Compare
Choose a tag to compare
@mayuki mayuki released this 02 Dec 06:13
· 11 commits to master since this release
7bf1e61

Features

Introduce IRinBuilder (#50)

To simplify the configuration, we have added a builder API as well as ASP.NET Core and others.

services.AddRin()
    .UseRedisStorage(options => { ... })
    .AddEntityFrameworkCoreDiagnostics()
    .AddBodyDataTransformer<MyCustomBodyDataTransformer>();

Introduce Rin.Extensions.EntityFrameworkCore (#51)

Added a package to integrate with Entity Framework Core. Database command execution can now be displayed on the timeline.

image

Install Rin.Extensions.EntityFrameworkCore package to the project and call AddEntityFrameworkCoreDiagnostics in ConfigureServices.

dotnet add package Rin.Extensions.EntityFrameworkCore
services.AddRin()
    .AddEntityFrameworkCoreDiagnostics();

Introduce Rin.Extensions.MagicOnion (#54)

Added a package to integrate with MagicOnion. The package is preview release.

Rin.Extensions.MagicOnion adds the ability to decode MagicOnion's Unary request/response body data.
The extension requires MagicOnion 4.0.0 or later.

services.AddRin()
    .AddMagicOnionSupport();

Adopt .NET 5.0 (#65)

Rin and extensions supports .NET 5.0.

Breaking changes

Rename Rin.Log4NetAppender to Rin.Extensions.Log4NetAppender (#53)

Rin.Log4NetAppender package is now Rin.Extensions.Log4NetAppender.

IBodyDataTransformer.Transform method has been changed to TryTransform. (#49)

bool TryTransform(HttpRequestRecord record, ReadOnlySpan<byte> body, StringValues contentTypeHeaderValues, out BodyDataTransformResult result);

IServiceCollection.AddRinRedisStorage extension method has been removed (#50)

Use IRinBuilder.UseRedisStorage instead.

services.AddRin()
    .UseRedisStorage(options =>
    {
        ...
    });

Fixes

  • Fix an error on incomplete request/response (#46)
  • Fix to keep the selected body view (#47)
  • Refactor Transformer API (#49)
  • Reduce unnecessary view updates (#57)
  • Clean up warnings (#59, #58)
  • Fix throwing exception when Trailer is not available (#63): @azyobuzin
  • Update client build instruction (#64): @azyobuzin