Rin v2.5.1 Release Notes
Release Date: 2020-12-03 // almost 6 years agoPrevious 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.
๐ง Install
Rin.Extensions.EntityFrameworkCorepackage to the project and callAddEntityFrameworkCoreDiagnosticsinConfigureServices.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.Log4NetAppenderpackage is nowRin.Extensions.Log4NetAppender.IBodyDataTransformer.Transformmethod has been changed toTryTransform. (#49)bool TryTransform(HttpRequestRecord record, ReadOnlySpan\<byte\> body, StringValues contentTypeHeaderValues, out BodyDataTransformResult result);๐
IServiceCollection.AddRinRedisStorageextension method has been removed (#50)๐ Use
IRinBuilder.UseRedisStorageinstead.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
