Imouto.Auditable
2.2.3
dotnet add package Imouto.Auditable --version 2.2.3
NuGet\Install-Package Imouto.Auditable -Version 2.2.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Imouto.Auditable" Version="2.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Imouto.Auditable --version 2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Imouto.Auditable, 2.2.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Imouto.Auditable as a Cake Addin #addin nuget:?package=Imouto.Auditable&version=2.2.3 // Install Imouto.Auditable as a Cake Tool #tool nuget:?package=Imouto.Auditable&version=2.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Imouto.Auditable
This is rewrite of original library without any consideration of backward compatibility, please don't update to this version if you already have working code.
Changes:
- Writer now have access to AuditableEntry model and can use it
- AuditType.Created was added
- Nullable support was added
- AuditId changed to Guid
- Default EnvironmentCollector takes info from IHostEnvironment
- Removed extension-like configuration (just replace implementations of different parts of library with AddService)
- Only net7 is supported
- Aspnet and tests projects are removed
- Overall simplifications and style updates
Changes in 2.2:
- Auditable.CreateContext now creates new context each time it's called
- Upgrade to net8.0
- Clear targets after flush
<PackageReference Include="Imouto.Auditable" Version="2.2.3" />
Features
Unit of work style
to auditing changes- Track
Read
,Removed
,Created
andModified
instances - Full
delta
is provided using theJson Patch
Specification Customise
what you write to the audit log with your ownParser
- Write anywhere,
File
,Console
or bring bring your own if you need - Changes can be audited as
explicit
orobserved
- Capture who with the
IPrincipal
orIClaimsPrincipal
Original
Consider using original library: https://github.com/dbones-labs/auditable
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- JsonDiffPatch.Net (>= 2.3.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.