Skip to content

Commit 7b6df37

Browse files
committed
Version 3.3.0 - fixes #35 and #39
1 parent 20486f5 commit 7b6df37

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
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.2.1</version>
5+
<version>3.3.0</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-
- Bug fix: Second refresh JWT Bearer token failed. Fixed by @akema-trebla - see issue #36 (thanks to @akema-trebla)
12-
- Bug fix: TenantRoles would give an exception if the _tenantRoles was null - see pull request #45 (thanks to @emorell96)
11+
- BREAKING CHANGE (small): The `GetDatabaseInfoNamesWithTenantNamesAsync` method returned collection now has `HasOwnDb` in it - see issue #39
12+
- Bug fix: Second refresh JWT Bearer token failed. Fixed by @akema-trebla - see issue #36
13+
- Bug fix. Email is now stored as lower case. This fixes the problem and Postgres string compare is case sensitive - see issue #35
14+
- Bug fix: TenantRoles collection now return null if not loaded - this captures missing Includes etc.
15+
- New Sharding feature: New service called `IShardingSelectDatabase` which will find a DatabaseInfoName of a database to use for a new tenant.
16+
- New support feature: `InviteNewUser` service that handles the ""invite user" feature" - now works with all types of application
17+
- New support feature: `SignInAndCreateTenant` service to implement the "sign up" feature - now works with all types of multi-tenant app
18+
- New support feature: `IAddNewUserManager` for adding a new user, with two versions for different ASP.NET Core authentication handers
19+
- Improvement: The Azure AD handler now supports adding a AuthUser on login
1320
</releaseNotes>
1421
<license type="expression">MIT</license>
1522
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>
@@ -28,14 +35,15 @@
2835
<dependency id="Microsoft.Extensions.Hosting" version="6.0.1" />
2936
<dependency id="Net.RunMethodsSequentially" version="1.3.0" />
3037
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="6.0.3" />
31-
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="6.0.3" />
38+
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="6.0.5" />
3239
<dependency id="Microsoft.AspNetCore.Authorization" version="6.0.3" />
3340
<dependency id="Microsoft.AspNetCore.Http" version="2.2.2" />
3441
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="6.0.3" />
3542
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="6.0.3" />
3643
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="6.0.3" />
3744
<dependency id="EfCore.TestSupport" version="5.2.2" />
3845
<dependency id="Microsoft.AspNetCore.Hosting" version="2.2.7" />
46+
<dependency id="Microsoft.Graph" version="4.29.0" />
3947
</group>
4048
</dependencies>
4149
</metadata>

AuthPermissions.AspNetCore/MultiProjPack.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@
44
<!-- See documentation for all the possible values -->
55
<metadata>
66
<id>AuthPermissions.AspNetCore</id>
7-
<version>3.2.1</version>
7+
<version>3.3.0</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-
- Bug fix: Second refresh JWT Bearer token failed. Fixed by @akema-trebla - see issue #36 (thanks to @akema-trebla)
14-
- Bug fix: TenantRoles would give an exception if the _tenantRoles was null - see pull request #45 (thanks to @emorell96)
13+
- BREAKING CHANGE (small): The `GetDatabaseInfoNamesWithTenantNamesAsync` method returned collection now has `HasOwnDb` in it - see issue #39
14+
- Bug fix: Second refresh JWT Bearer token failed. Fixed by @akema-trebla - see issue #36
15+
- Bug fix. Email is now stored as lower case. This fixes the problem and Postgres string compare is case sensitive - see issue #35
16+
- Bug fix: TenantRoles collection now return null if not loaded - this captures missing Includes etc.
17+
- New Sharding feature: New service called `IShardingSelectDatabase` which will find a DatabaseInfoName of a database to use for a new tenant.
18+
- New support feature: `InviteNewUser` service that handles the ""invite user" feature" - now works with all types of application
19+
- New support feature: `SignInAndCreateTenant` service to implement the "sign up" feature - now works with all types of multi-tenant app
20+
- New support feature: `IAddNewUserManager` for adding a new user, with two versions for different ASP.NET Core authentication handers
21+
- Improvement: The Azure AD handler now supports adding a AuthUser on login
1522
</releaseNotes>
1623
<license type="expression">MIT</license>
1724
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>

Test/TestData/Test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
02466be9-244e-403d-8d79-41716fe93789
1+
b12e68e9-7b06-4d6c-8c8a-20a9aa2115d1

0 commit comments

Comments
 (0)