Skip to main content

Simple context auditing library, forked and rewrited.

Total Downloads
6.5K
6,544
Published
Jul 15, 2024
2y ago

Get Started

dotnet add package Imouto.Auditable --version 2.2.3
ProductVersions
.NET
net8.0

README

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

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.