Rin v2.5.1 Release Notes
Release Date: 2020-12-03 // about 4 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.EntityFrameworkCore
package to the project and callAddEntityFrameworkCoreDiagnostics
inConfigureServices
.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 nowRin.Extensions.Log4NetAppender
.IBodyDataTransformer.Transform
method has been changed toTryTransform
. (#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