Skip to content

Upgrade Auditing to 1.0.0-preview.3 - #6

Merged
sadeqabuhattem merged 1 commit into
mainfrom
chore/auditing-preview.3
Nov 14, 2026
Merged

sadeqabuhattem merged 1 commit into
mainfrom
chore/auditing-preview.3

Conversation

@sadeqabuhattem

Copy link
Copy Markdown
Member

What

Moves DotNetBoost.Auditing.Core, .EntityFrameworkCore and .API from 1.0.0-preview.2 to
1.0.0-preview.3, and
corrects the comments that gave the old reason for the HiLo keys.

Why no code changes

Preview.3 (changelog)
only adds API, and its fixes are inside the save interceptor, which ships in the package. None of
its behaviour changes reach this sample:

  • UseAuditing(sp) is registered after UseMultiLingual(sp), and no other interceptor follows it,
    so the commit stays where it was.
  • AppDbContext is the only context, so "the context being saved" is always the registered one.
  • The sample has no custom IAuditStore or IAuditObserver.
  • Category and Product take HiLo keys, so no creation is deferred.

The HiLo keys stay; their stated reason changes

Since preview.3 of both libraries, Auditing's nested save is safe beside MultiLingual's interceptor
in either registration order. HiLo no longer keeps the two apart. It is kept because a creation in
one save is simpler, and dropping it would need a data migration. Updated:

  • point 2 of the Auditing block in Infrastructure/DependencyInjection.cs;
  • the HiLo comment in CategoryConfiguration.cs;
  • README §6, Keys are assigned before the save;
  • the version comment in Directory.Packages.props.

Verified locally, against the published packages (-p:UseLocalDotNetBoost=false)

  • dotnet restore --force-evaluate (fresh vulnerability data): clean. The assets file resolves
    Auditing 1.0.0-preview.3.
  • Release build: 0 errors, and the 6 Source Link warnings main already has.
  • DotNetBoostSample.Tests: 163 of 163 pass.

🤖 Generated with Claude Code

Auditing.Core, .EntityFrameworkCore and .API move from preview.2 to preview.3.
No code changes: preview.3 only adds API, and its fixes are inside the save
interceptor. With Auditing registered after MultiLingual, one context and HiLo
keys, none of its behaviour changes reach this sample.

What changes is the stated reason for the HiLo keys. Since preview.3 of both
libraries, Auditing's nested save is safe beside MultiLingual's interceptor in
either order, so HiLo no longer keeps the two apart; it is kept because a
creation in one save is simpler, and dropping it would need a data migration.
DependencyInjection.cs, CategoryConfiguration.cs and README section 6 now say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sadeqabuhattem
sadeqabuhattem merged commit 1896c87 into main Nov 14, 2026
2 checks passed
@sadeqabuhattem
sadeqabuhattem deleted the chore/auditing-preview.3 branch November 14, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant