Skip to content

Commit 945e3ce

Browse files
committed
Updated NuGets to latest
1 parent c664112 commit 945e3ce

19 files changed

Lines changed: 108 additions & 99 deletions

File tree

AuthPermissions.AspNetCore/AuthPermissions.AspNetCore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.0" />
12+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.3" />
13+
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.3" />
1414
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
1515
</ItemGroup>
1616

AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,20 @@
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>AuthPermissions.AspNetCore</id>
5-
<version>3.0.0</version>
5+
<version>3.1.0-preview001</version>
66
<authors>Jon P Smith</authors>
77
<product>AuthPermissions.AspNetCore</product>
88
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
99
<description>Provides extra authorization and multi-tenant features to a ASP.NET Core application.</description>
1010
<releaseNotes>
11-
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more info
12-
- BREAKING CHANGE: The option called AppConnectionString has been removed. Its longer needed because of ITenantChangeService change
13-
- Changes to the AuthP database which contains a non-breaking migration. This will be automatically added on startup.
14-
- New Feature: Adding optional sharding to either a single-level or hierarchical multi-tenant applications - see documentation for an article explaining how to setup sharding
15-
- New Feature: You can mark an AuthUser as disabled, which means no AuthP claims will be added to the user's claims.
11+
- New feature: Now supports PostgreSQL database
1612
</releaseNotes>
1713
<license type="expression">MIT</license>
1814
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>
1915
<icon>images\AuthPermissionsAspNetCoreNuGetIcon.png</icon>
2016
<tags>ASP.NET Core, Entity Framework Core</tags>
2117
<dependencies>
2218
<group targetFramework="net6.0">
23-
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="3.1.4" />
24-
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="3.1.4" />
2519
<dependency id="GenericServices.StatusGeneric" version="1.1.0" />
2620
<dependency id="Microsoft.AspNetCore.Identity.EntityFrameworkCore" version="6.0.0" />
2721
<dependency id="Microsoft.Data.Sqlite.Core" version="6.0.0" />
@@ -32,9 +26,13 @@
3226
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="6.0.0" />
3327
<dependency id="Microsoft.Extensions.Hosting" version="6.0.0" />
3428
<dependency id="Net.RunMethodsSequentially" version="1.3.0" />
29+
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="6.0.0" />
3530
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="6.0.0" />
3631
<dependency id="Microsoft.AspNetCore.Authorization" version="6.0.0" />
3732
<dependency id="Microsoft.AspNetCore.Http" version="2.2.2" />
33+
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="3.1.4" />
34+
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="3.1.4" />
35+
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="3.1.4" />
3836
</group>
3937
</dependencies>
4038
</metadata>
@@ -45,6 +43,13 @@
4543
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.dll" target="lib\net6.0" />
4644
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.xml" target="lib\net6.0" />
4745
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.pdb" target="lib\net6.0" />
46+
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.dll" target="lib\net6.0" />
47+
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.xml" target="lib\net6.0" />
48+
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.pdb" target="lib\net6.0" />
49+
<file src="..\AuthPermissions.PostgreSql\bin\Release\net6.0\AuthPermissions.PostgreSql.dll" target="lib\net6.0" />
50+
<file src="..\AuthPermissions.PostgreSql\bin\Release\net6.0\AuthPermissions.PostgreSql.pdb" target="lib\net6.0" />
51+
<file src="..\AuthPermissions.SqlServer\bin\Release\net6.0\AuthPermissions.SqlServer.dll" target="lib\net6.0" />
52+
<file src="..\AuthPermissions.SqlServer\bin\Release\net6.0\AuthPermissions.SqlServer.pdb" target="lib\net6.0" />
4853
<file src="..\AuthPermissions.AspNetCore\images\AuthPermissionsAspNetCoreNuGetIcon.png" target="images\" />
4954
</files>
5055
</package>

AuthPermissions.AspNetCore/MultiProjPack.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
<!-- See documentation for all the possible values -->
55
<metadata>
66
<id>AuthPermissions.AspNetCore</id>
7-
<version>3.0.0</version>
7+
<version>3.1.0-preview001</version>
88
<authors>Jon P Smith</authors>
99
<product>AuthPermissions.AspNetCore</product>
1010
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
1111
<description>Provides extra authorization and multi-tenant features to a ASP.NET Core application.</description>
1212
<releaseNotes>
13-
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more info
14-
- BREAKING CHANGE: The option called AppConnectionString has been removed. Its longer needed because of ITenantChangeService change
15-
- Changes to the AuthP database which contains a non-breaking migration. This will be automatically added on startup.
16-
- New Feature: Adding optional sharding to either a single-level or hierarchical multi-tenant applications - see documentation for an article explaining how to setup sharding
17-
- New Feature: You can mark an AuthUser as disabled, which means no AuthP claims will be added to the user's claims.
13+
- New feature: Now supports PostgreSQL database
1814
</releaseNotes>
1915
<license type="expression">MIT</license>
2016
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>

AuthPermissions.BaseCode/AuthPermissions.BaseCode.csproj

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@
66
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

9+
<PropertyGroup>
10+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
11+
</PropertyGroup>
12+
913
<ItemGroup>
10-
<PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="3.1.4" />
11-
<PackageReference Include="EntityFrameworkCore.Exceptions.Sqlite" Version="3.1.4" />
12-
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="3.1.4" />
14+
<PackageReference Include="EntityFrameworkCore.Exceptions.PostgreSQL" Version="6.0.3" />
15+
<PackageReference Include="EntityFrameworkCore.Exceptions.Sqlite" Version="6.0.3" />
16+
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="6.0.3" />
1317
<PackageReference Include="GenericServices.StatusGeneric" Version="1.1.0" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
16-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.0" />
18+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.3" />
19+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
20+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3" />
1721
<PackageReference Include="Net.RunMethodsSequentially" Version="1.3.0" />
1822
</ItemGroup>
1923

AuthPermissions.PostgreSql/AuthPermissions.PostgreSql.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
11-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.0" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.3" />
11+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

AuthPermissions/AuthPermissions.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="GenericServices.StatusGeneric" Version="1.1.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.0" />
14-
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="6.0.0" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
19-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
13+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.3" />
14+
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="6.0.3" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.3" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.3" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.3" />
18+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
19+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.3">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>
23-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0" />
23+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
2424
<PackageReference Include="Net.RunMethodsSequentially" Version="1.3.0" />
25-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.0" />
25+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3" />
2626
</ItemGroup>
2727

2828
<ItemGroup>

Example1.RazorPages.IndividualAccounts/Example1.RazorPages.IndividualAccounts.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.0" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.0" />
15-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
10+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.3" />
11+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.3" />
12+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.3" />
13+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.3" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.3" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.3">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.0" />
20+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.2" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

Example2.WebApiWithToken.IndividualAccounts/Example2.WebApiWithToken.IndividualAccounts.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66

77
<ItemGroup>
88
<PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.2.0" />
9-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
10-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0">
9+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.3" />
10+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.3" />
11+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.3" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.3">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
17-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.0" />
18-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
16+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
17+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.2" />
18+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.0" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Example3.InvoiceCode/Example3.InvoiceCode.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="EfCore.GenericServices" Version="5.1.0" />
9-
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="3.1.4" />
8+
<PackageReference Include="EfCore.GenericServices" Version="5.1.1" />
9+
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="6.0.3" />
1010
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
11-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.3">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>

Example3.MvcWebApp.IndividualAccounts/Example3.MvcWebApp.IndividualAccounts.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.0" />
9-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.0" />
10-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.0" />
11-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.0" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
8+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.3" />
9+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.3" />
10+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.3" />
11+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.3" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.3" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.3">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.0" />
17+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.2" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

0 commit comments

Comments
 (0)