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                
#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                

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

Nuget

<PackageReference Include="Imouto.Auditable" Version="2.2.3" />

Features

  • Unit of work style to auditing changes
  • Track Read, Removed, Created and Modified instances
  • Full delta is provided using the Json Patch Specification
  • Customise what you write to the audit log with your own Parser
  • Write anywhere, File, Console or bring bring your own if you need
  • Changes can be audited as explicit or observed
  • Capture who with the IPrincipal or IClaimsPrincipal

Original

Consider using original library: https://github.com/dbones-labs/auditable

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.3 2,074 7/15/2024
2.2.2 113 7/15/2024
2.2.1 115 7/15/2024
2.2.0 119 7/15/2024
2.1.0 749 3/29/2023
2.0.0 164 3/29/2023