Rin v2.5.1 Release Notes

Release Date: 2020-12-03 // about 4 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