Rin v2.5.1 Release Notes

Release Date: 2020-12-03 // over 3 years ago
  • ๐Ÿ”„ Changes

    ๐Ÿ›  Fixes

    • Japanese characters are unreadable in preview (#68, #69)
    • โž• Add net5.0 to TargetFrameworks (R.E.EntitiyFrameworkCore) (#70)

Previous changes from v2.5.0

  • ๐Ÿ”‹ 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