From ee294403b37da35106ba2d9116413fa2282ce8e4 Mon Sep 17 00:00:00 2001 From: thepirat000 Date: Sat, 23 Nov 2024 16:24:53 -0600 Subject: [PATCH] Adding `Audit.EntityFramework.Abstractions` assembly to decouple domain layer EntityFramework (#714) --- Audit.NET.sln | 11 ++++++ CHANGELOG.md | 3 ++ Directory.Build.props | 2 +- .../Audit.EntityFramework.Abstractions.csproj | 35 ++++++++++++++++++ .../AuditIgnoreAttribute.cs | 0 .../AuditIncludeAttribute.cs | 0 .../AuditOverrideAttribute.cs | 0 .../Properties/AssemblyInfo.cs | 22 +++++++++++ .../README.md | 9 +++++ .../images/icon.png | Bin 0 -> 8349 bytes .../Audit.EntityFramework.Core.csproj | 1 + .../Audit.EntityFramework.csproj | 3 +- src/pack.cmd | 2 + src/push.cmd | 2 + test/_execDotnetTest.ps1 | 2 +- 15 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 src/Audit.EntityFramework.Abstractions/Audit.EntityFramework.Abstractions.csproj rename src/{Audit.EntityFramework => Audit.EntityFramework.Abstractions}/AuditIgnoreAttribute.cs (100%) rename src/{Audit.EntityFramework => Audit.EntityFramework.Abstractions}/AuditIncludeAttribute.cs (100%) rename src/{Audit.EntityFramework => Audit.EntityFramework.Abstractions}/AuditOverrideAttribute.cs (100%) create mode 100644 src/Audit.EntityFramework.Abstractions/Properties/AssemblyInfo.cs create mode 100644 src/Audit.EntityFramework.Abstractions/README.md create mode 100644 src/Audit.EntityFramework.Abstractions/images/icon.png diff --git a/Audit.NET.sln b/Audit.NET.sln index 5d011d8e..2c57db74 100644 --- a/Audit.NET.sln +++ b/Audit.NET.sln @@ -165,6 +165,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Audit.Polly.UnitTest", "tes EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Audit.NET.Channels", "src\Audit.NET.Channels\Audit.NET.Channels.csproj", "{5574EA92-47A5-4483-BF7E-89231D38D318}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Audit.EntityFramework.Abstractions", "src\Audit.EntityFramework.Abstractions\Audit.EntityFramework.Abstractions.csproj", "{C45B1DD0-7C1D-406D-BC44-B356AFA226DB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -717,6 +719,14 @@ Global {5574EA92-47A5-4483-BF7E-89231D38D318}.Release|Any CPU.Build.0 = Release|Any CPU {5574EA92-47A5-4483-BF7E-89231D38D318}.Release|x64.ActiveCfg = Release|Any CPU {5574EA92-47A5-4483-BF7E-89231D38D318}.Release|x64.Build.0 = Release|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Debug|x64.ActiveCfg = Debug|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Debug|x64.Build.0 = Debug|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Release|Any CPU.Build.0 = Release|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Release|x64.ActiveCfg = Release|Any CPU + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB}.Release|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -792,6 +802,7 @@ Global {CA13DD91-30D5-45E8-AD0E-4F9049E7DC78} = {E62475E8-0BE1-4464-BBD9-FD06CC546593} {E3097E23-9191-4028-83F2-D231590563FD} = {A54B4BB6-3439-432B-AFD9-FE62D6528D42} {5574EA92-47A5-4483-BF7E-89231D38D318} = {E62475E8-0BE1-4464-BBD9-FD06CC546593} + {C45B1DD0-7C1D-406D-BC44-B356AFA226DB} = {E62475E8-0BE1-4464-BBD9-FD06CC546593} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B1989475-43D6-4AA5-9717-6DBF734B0C6E} diff --git a/CHANGELOG.md b/CHANGELOG.md index 5689c2ea..bb612438 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to Audit.NET and its extensions will be documented in this f The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [27.2.0] - 2024-11-23: + - Audit.EntityFramework.Abstractions: Introducing `Audit.EntityFramework.Abstractions` assembly to decouple your domain layer from direct dependencies on EntityFramework or EntityFrameworkCore (#714) + ## [27.1.1] - 2024-10-28: - Audit.NET.MongoDB: Upgrading MongoDB.Driver to latest version 3.0.0 (#708) diff --git a/Directory.Build.props b/Directory.Build.props index a819ded3..c7619091 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 27.1.1 + 27.2.0 false diff --git a/src/Audit.EntityFramework.Abstractions/Audit.EntityFramework.Abstractions.csproj b/src/Audit.EntityFramework.Abstractions/Audit.EntityFramework.Abstractions.csproj new file mode 100644 index 00000000..da6a27f4 --- /dev/null +++ b/src/Audit.EntityFramework.Abstractions/Audit.EntityFramework.Abstractions.csproj @@ -0,0 +1,35 @@ + + + + Abstractions for Audit.EntityFramework and Audit.EntityFramework.Core + Copyright 2024 + Audit.EntityFramework.Abstractions + Federico Colombo + net462;net472;netstandard2.1;net6.0;net7.0;net8.0 + $(DefineConstants);STRONG_NAME + $(NoWarn);1591 + true + Audit.EntityFramework.Abstractions + ../StrongName/Audit.NET.snk + true + true + Audit.EntityFramework.Abstractions + Audit;Trail;Log;Attribute + icon.png + https://github.com/thepirat000/Audit.NET + false + false + false + MIT + https://github.com/thepirat000/Audit.NET + README.md + + + + + + + + + + diff --git a/src/Audit.EntityFramework/AuditIgnoreAttribute.cs b/src/Audit.EntityFramework.Abstractions/AuditIgnoreAttribute.cs similarity index 100% rename from src/Audit.EntityFramework/AuditIgnoreAttribute.cs rename to src/Audit.EntityFramework.Abstractions/AuditIgnoreAttribute.cs diff --git a/src/Audit.EntityFramework/AuditIncludeAttribute.cs b/src/Audit.EntityFramework.Abstractions/AuditIncludeAttribute.cs similarity index 100% rename from src/Audit.EntityFramework/AuditIncludeAttribute.cs rename to src/Audit.EntityFramework.Abstractions/AuditIncludeAttribute.cs diff --git a/src/Audit.EntityFramework/AuditOverrideAttribute.cs b/src/Audit.EntityFramework.Abstractions/AuditOverrideAttribute.cs similarity index 100% rename from src/Audit.EntityFramework/AuditOverrideAttribute.cs rename to src/Audit.EntityFramework.Abstractions/AuditOverrideAttribute.cs diff --git a/src/Audit.EntityFramework.Abstractions/Properties/AssemblyInfo.cs b/src/Audit.EntityFramework.Abstractions/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..03d889dd --- /dev/null +++ b/src/Audit.EntityFramework.Abstractions/Properties/AssemblyInfo.cs @@ -0,0 +1,22 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Audit.EntityFramework.Abstractions")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f4b17a62-a499-4070-ac31-b912a9a048b0")] + +[assembly: InternalsVisibleTo("Audit.UnitTest,PublicKey=00240000048000009400000006020000002400005253413100040000010001007f14e426ecfadb7a221dd166152164af7395256b474a50d56dad8080bba2edbea4ca85d89401245686311e557c9853c47095c6602a32d0a207ba2a55d282aa69d4f54d58eaf1e876fa18ac58bcd93bbb2aea797d7efda08ca0bc910dca508acc6ab6dbafcf7fd5b63859582ba558bf14d09f0b13d7a18b26688c1b2b98fcddc9"), + InternalsVisibleTo("Audit.EntityFramework.Core.UnitTest,PublicKey=00240000048000009400000006020000002400005253413100040000010001007f14e426ecfadb7a221dd166152164af7395256b474a50d56dad8080bba2edbea4ca85d89401245686311e557c9853c47095c6602a32d0a207ba2a55d282aa69d4f54d58eaf1e876fa18ac58bcd93bbb2aea797d7efda08ca0bc910dca508acc6ab6dbafcf7fd5b63859582ba558bf14d09f0b13d7a18b26688c1b2b98fcddc9")] \ No newline at end of file diff --git a/src/Audit.EntityFramework.Abstractions/README.md b/src/Audit.EntityFramework.Abstractions/README.md new file mode 100644 index 00000000..97b017ce --- /dev/null +++ b/src/Audit.EntityFramework.Abstractions/README.md @@ -0,0 +1,9 @@ +# Audit.EntityFramework.Abstractions + +**This assembly provides the abstractions for Audit.EntityFramework and Audit.EntityFramework.core.** + +*Should be used with Audit.EntityFramework or Audit.EntityFramework.core* + +## Notes + +For more information, check the [Audit.EntityFramework documentation](https://github.com/thepirat000/Audit.NET/blob/master/src/Audit.EntityFramework/README.md). \ No newline at end of file diff --git a/src/Audit.EntityFramework.Abstractions/images/icon.png b/src/Audit.EntityFramework.Abstractions/images/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..ac897381219008db7bd3f63d9d3c78436ca98e9a GIT binary patch literal 8349 zcmV;OAY$K%P)00007bV*G`2jdAF z02(+>BQqud03ZNKL_t(|oV9vslw?AsAzfv2>rUH{W-$ABF)b^b~ie(^+3%uh;7U;5d$H zS)6l3R7xSD)*7|eh(d_0=atLlLZRS!o@H5vVf=e+_(2+wZk2)y!?4|MudJ*rFE2Ze zGdw(OT2{By?zB5m6d@w#+%yc+vMkFoO%sWtD2n6Qah$%szH+&on!z^L58Z$*^huI* zI-OdrcHzPWDdo;xyKKukKR0*j(xq+?aLcki&(3(3Z3`hdW1P?ca7{Dkd9Le5aU29e zKA-RJ?=KVzuIqBn{|y`d-wa3z@;y7GpAZodMRD9}Hdj_w&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$a?24FRoS_zxVE+WQ;{gf&?8u@WaRtBR`DeBsssZ((-*j zjN(M5-U`AvOdgEmBub>xI+02$1ppe6GcE*6DI_>&Y2pCJIpd6T&P+pChWH*tFRr9t z)F*+>Pw0iZ>598HZ~58ZkV;#IQ7+{CFp82SPNYWE8ujK-f6GbfN@4K}CN38M002cv zL_t)IgvQxMzk9Puxmg-qSsr|UP(O%eAd+bqO6yC@Yo=ic!7bC|oH54v6?M`T5MF39 n&=sI)t1?Lcg)80kLtOt1u8KYiY#X8o00000NkvXXu0mjf`?_Sx literal 0 HcmV?d00001 diff --git a/src/Audit.EntityFramework.Core/Audit.EntityFramework.Core.csproj b/src/Audit.EntityFramework.Core/Audit.EntityFramework.Core.csproj index 4625fda5..579f42d0 100644 --- a/src/Audit.EntityFramework.Core/Audit.EntityFramework.Core.csproj +++ b/src/Audit.EntityFramework.Core/Audit.EntityFramework.Core.csproj @@ -48,6 +48,7 @@ + diff --git a/src/Audit.EntityFramework/Audit.EntityFramework.csproj b/src/Audit.EntityFramework/Audit.EntityFramework.csproj index aa5d841d..2a90c2f8 100644 --- a/src/Audit.EntityFramework/Audit.EntityFramework.csproj +++ b/src/Audit.EntityFramework/Audit.EntityFramework.csproj @@ -31,10 +31,11 @@ - + + diff --git a/src/pack.cmd b/src/pack.cmd index 8b789ae1..b8d8757c 100644 --- a/src/pack.cmd +++ b/src/pack.cmd @@ -11,6 +11,7 @@ del "audit.net.azurecosmos\bin\release\*.nupkg" del "audit.net.mongodb\bin\release\*.nupkg" del "audit.net.sqlserver\bin\release\*.nupkg" del "audit.net.mysql\bin\release\*.nupkg" +del "Audit.EntityFramework.Abstractions\bin\release\*.nupkg" del "audit.entityframework\bin\release\*.nupkg" del "audit.entityframework.core\bin\release\*.nupkg" del "audit.entityframework.Identity\bin\release\*.nupkg" @@ -56,6 +57,7 @@ dotnet pack "Audit.NET.AzureCosmos/" -c Release dotnet pack "Audit.NET.MongoDB/" -c Release dotnet pack "Audit.NET.SqlServer/" -c Release dotnet pack "Audit.NET.MySql/" -c Release +dotnet pack "Audit.EntityFramework.Abstractions/" -c Release dotnet pack "Audit.EntityFramework/" -c Release dotnet pack "Audit.EntityFramework.Core/" -c Release dotnet pack "Audit.EntityFramework.Identity/" -c Release diff --git a/src/push.cmd b/src/push.cmd index d21a4b91..3fd08d3f 100644 --- a/src/push.cmd +++ b/src/push.cmd @@ -39,6 +39,7 @@ del "Audit.NET.Serilog\bin\release\*.symbols.nupkg" del "Audit.MongoClient\bin\release\*.symbols.nupkg" del "Audit.NET.Polly\bin\release\*.symbols.nupkg" del "Audit.NET.Channels\bin\release\*.symbols.nupkg" +del "Audit.EntityFramework.Abstractions\bin\release\*.symbols.nupkg" nuget push "audit.net\bin\release\*.nupkg" -NoSymbols -source %1 nuget push "Audit.NET.JsonNewtonsoftAdapter\bin\release\*.nupkg" -NoSymbols -source %1 @@ -78,3 +79,4 @@ nuget push "Audit.NET.Serilog\bin\release\*.nupkg" -NoSymbols -source %1 nuget push "Audit.MongoClient\bin\release\*.nupkg" -NoSymbols -source %1 nuget push "Audit.NET.Polly\bin\release\*.nupkg" -NoSymbols -source %1 nuget push "Audit.NET.Channels\bin\release\*.nupkg" -NoSymbols -source %1 +nuget push "Audit.EntityFramework.Abstractions\bin\release\*.nupkg" -NoSymbols -source %1 diff --git a/test/_execDotnetTest.ps1 b/test/_execDotnetTest.ps1 index 055dabd6..122d4bc6 100644 --- a/test/_execDotnetTest.ps1 +++ b/test/_execDotnetTest.ps1 @@ -23,7 +23,7 @@ if ($totalProjs -eq 0) { $hasFailed = $false; $projects | ForEach { - & dotnet test $_ --"logger:console;verbosity=normal" --no-build -c Release $extraParams + & dotnet test $_ --"logger:console;verbosity=normal" --no-build -c Release -m:1 $extraParams if ($LASTEXITCODE -ne 0) { $hasFailed = $true; }