Skip to content

Commit b4e58d3

Browse files
authored
Merge pull request #18 from skoruba/release/2.0.0
Release/2.0.0
2 parents 5d313fb + 1845c25 commit b4e58d3

File tree

5 files changed

+18
-19
lines changed

5 files changed

+18
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# 🕊️ Skoruba.AuditLogging
44
> Simple audit logging for .NET Core with EntityFramework Core support
55
6-
**This project is ported to .NET 6.** 🚀
6+
**This project is ported to .NET 8.** 🚀
77

88
# How to install
99

1010
```ps
11-
dotnet add package Skoruba.AuditLogging.EntityFramework --version 1.1.0
11+
dotnet add package Skoruba.AuditLogging.EntityFramework --version 2.0.0
1212
```
1313

1414
# How to use it

src/Skoruba.AuditLogging.EntityFramework/Skoruba.AuditLogging.EntityFramework.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<Version>1.1.0</Version>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Version>2.0.0</Version>
66
<Description>Simple audit logging for .NET Core with EntityFramework Core support</Description>
77
<PackageProjectUrl></PackageProjectUrl>
88
<RepositoryUrl>https://github.com/skoruba/AuditLogging</RepositoryUrl>
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.1" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/Skoruba.AuditLogging.Host/Helpers/Authentication/TestAuthenticationHandler.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
namespace Skoruba.AuditLogging.Host.Helpers.Authentication
1010
{
11-
public class TestAuthenticationHandler : AuthenticationHandler<TestAuthenticationOptions>
11+
public class TestAuthenticationHandler(
12+
IOptionsMonitor<TestAuthenticationOptions> options,
13+
ILoggerFactory logger,
14+
UrlEncoder encoder)
15+
: AuthenticationHandler<TestAuthenticationOptions>(options, logger, encoder)
1216
{
13-
public TestAuthenticationHandler(IOptionsMonitor<TestAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
14-
{
15-
}
16-
1717
protected override Task<AuthenticateResult> HandleAuthenticateAsync()
1818
{
1919
var authenticationTicket = new AuthenticationTicket(new ClaimsPrincipal(Options.Identity),

src/Skoruba.AuditLogging.Host/Skoruba.AuditLogging.Host.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
66
<UserSecretsId>5cc61b65-f1d1-4aa9-be20-fbf67d81e116</UserSecretsId>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.1">
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8">
1111
<PrivateAssets>all</PrivateAssets>
1212
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1313
</PackageReference>
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.1" />
15-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.1" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
15+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.5" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

src/Skoruba.AuditLogging/Skoruba.AuditLogging.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<Version>1.1.0</Version>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Version>2.0.0</Version>
66
<Description>Simple audit logging for .NET Core with EntityFramework Core support</Description>
77
<PackageProjectUrl></PackageProjectUrl>
88
<RepositoryUrl>https://github.com/skoruba/AuditLogging</RepositoryUrl>
@@ -25,9 +25,8 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
29-
<PackageReference Include="Microsoft.Extensions.Primitives" Version="6.0.0" />
30-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
28+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
29+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
3130
</ItemGroup>
3231

3332
</Project>

0 commit comments

Comments
 (0)