Skip to content

Commit 65df7a7

Browse files
committed
Version 5.0.0
1 parent bc77524 commit 65df7a7

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
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>5.0.0-preview012</version>
5+
<version>5.0.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-
- BREAKING CHANGE(small): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file.
12-
- New feature: You can use any database provider supported by EF Core, not just SQLServer and Postgres - see documentation for more details
13-
</releaseNotes>
11+
- BREAKING CHANGE(medium): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file.
12+
- New feature: You can now use a custom database provider with the AuthP library - see documentation for more details.
13+
- New feature: It easier to setup sharding / hybrid multi-tenant application via extension method called SetupMultiTenantSharding
14+
- New feature: Ability to replace parts of the sharding services, e.g. store sharding data in a database instead of a json file.
15+
</releaseNotes>
1416
<license type="expression">MIT</license>
1517
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>
1618
<icon>images\AuthPermissionsAspNetCoreNuGetIcon.png</icon>

AuthPermissions.AspNetCore/MultiProjPack.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
<!-- See documentation for all the possible values -->
55
<metadata>
66
<id>AuthPermissions.AspNetCore</id>
7-
<version>5.0.0-preview022debug</version>
7+
<version>5.0.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-
- BREAKING CHANGE(small): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file.
14-
- New feature: You can use any database provider supported by EF Core, not just SQLServer and Postgres - see documentation for more details
15-
</releaseNotes>
13+
- BREAKING CHANGE(medium): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file.
14+
- New feature: You can now use a custom database provider with the AuthP library - see documentation for more details.
15+
- New feature: It easier to setup sharding / hybrid multi-tenant application via extension method called SetupMultiTenantSharding
16+
- New feature: Ability to replace parts of the sharding services, e.g. store sharding data in a database instead of a json file.
17+
</releaseNotes>
1618
<license type="expression">MIT</license>
1719
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>
1820
<icon>images\AuthPermissionsAspNetCoreNuGetIcon.png</icon>

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ The AuthP is an open-source library under the MIT licence (and remain as a open-
1010

1111
The AuthP library is being built in versions (see [roadmap](https://github.com/JonPSmith/AuthPermissions.AspNetCore/discussions/2)). If you have already built your application using an older version, then you need to look at the following "how up update" documents
1212

13-
- From Migrating from AuthPermissions.AspNetCore 1.* to 1.0 see [UpdateToVersion2.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion2.md)
13+
- From Migrating from AuthPermissions.AspNetCore 2, 3 or 4.* to 5.0 see [UpdateToVersion3.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion5.md)
1414
- From Migrating from AuthPermissions.AspNetCore 2.* to 3.0 see [UpdateToVersion3.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion3.md)
15+
- From Migrating from AuthPermissions.AspNetCore 1.* to 1.0 see [UpdateToVersion2.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion2.md)
1516

1617
The AuthP library also:
1718

UpdateToVersion5.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Updating your code from AuthPermissions.AspNetCore 4.* to 5.0
22

3-
Version 5.0.0 of the AuthPermissions.AspNetCore library (shortened to **AuthP** from now on) contains various new features (LINK TO roadmap), but this document only covers **BREAKING CHANGES** in version 5.0.0, which are in _sharding_ multi-tenant applications.
3+
Version 5.0.0 of the AuthPermissions.AspNetCore library (shortened to **AuthP** from now on) contains various new features (LINK TO roadmap), but this document covers **BREAKING CHANGES** in version 5.0.0, which are in _sharding_ multi-tenant applications. I purposely cause compile errors so that the breaking changes are obvious to you.
44

5-
_NOTE: I purposely cause compile errors so that the breaking changes are obvious to you._
5+
_NOTE: The fill list of changes !!! Links to article and documentation ._
66

77
## TABLE OF CONTENT
88

@@ -43,7 +43,7 @@ Because of the new custom database feature the `DatabaseType` in your shardingse
4343

4444
The problem with Postgres database is `Npgsql.EntityFrameworkCore.PostgreSQL` so the short name is `PostgreSQL`, not `Postgres`
4545

46-
_Solution:_ make sure your shardingsetting.json entries that use Postgres has the `DatabaseType` set to "PostgreSQL".
46+
_Solution:_ make sure your shardingsetting.json entries that use Postgres has the `DatabaseType` set to "PostgreSQL".
4747
_NOTE: If you don't change this you will have an exception with the following message._
4848

4949
```text

0 commit comments

Comments
 (0)