diff --git a/AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec b/AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec index 1181ad34..6a9d39b5 100644 --- a/AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec +++ b/AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec @@ -2,15 +2,17 @@ AuthPermissions.AspNetCore - 5.0.0-preview012 + 5.0.0 Jon P Smith AuthPermissions.AspNetCore Copyright (c) 2021 Jon P Smith Provides extra authorization and multi-tenant features to a ASP.NET Core application. - - BREAKING CHANGE(small): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file. - - New feature: You can use any database provider supported by EF Core, not just SQLServer and Postgres - see documentation for more details - + - BREAKING CHANGE(medium): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file. + - New feature: You can now use a custom database provider with the AuthP library - see documentation for more details. + - New feature: It easier to setup sharding / hybrid multi-tenant application via extension method called SetupMultiTenantSharding + - New feature: Ability to replace parts of the sharding services, e.g. store sharding data in a database instead of a json file. + MIT https://github.com/JonPSmith/AuthPermissions.AspNetCore images\AuthPermissionsAspNetCoreNuGetIcon.png diff --git a/AuthPermissions.AspNetCore/MultiProjPack.xml b/AuthPermissions.AspNetCore/MultiProjPack.xml index 0057425a..7c362f1e 100644 --- a/AuthPermissions.AspNetCore/MultiProjPack.xml +++ b/AuthPermissions.AspNetCore/MultiProjPack.xml @@ -4,15 +4,17 @@ AuthPermissions.AspNetCore - 5.0.0-preview022debug + 5.0.0 Jon P Smith AuthPermissions.AspNetCore Copyright (c) 2021 Jon P Smith Provides extra authorization and multi-tenant features to a ASP.NET Core application. - - BREAKING CHANGE(small): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file. - - New feature: You can use any database provider supported by EF Core, not just SQLServer and Postgres - see documentation for more details - + - BREAKING CHANGE(medium): If you are using sharding with your multi-tenant app, then read the UpdateToVersion5.md file. + - New feature: You can now use a custom database provider with the AuthP library - see documentation for more details. + - New feature: It easier to setup sharding / hybrid multi-tenant application via extension method called SetupMultiTenantSharding + - New feature: Ability to replace parts of the sharding services, e.g. store sharding data in a database instead of a json file. + MIT https://github.com/JonPSmith/AuthPermissions.AspNetCore images\AuthPermissionsAspNetCoreNuGetIcon.png diff --git a/README.md b/README.md index f285411a..a10dda3a 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,9 @@ The AuthP is an open-source library under the MIT licence (and remain as a open- 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 -- From Migrating from AuthPermissions.AspNetCore 1.* to 1.0 see [UpdateToVersion2.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion2.md) +- 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) - From Migrating from AuthPermissions.AspNetCore 2.* to 3.0 see [UpdateToVersion3.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion3.md) +- From Migrating from AuthPermissions.AspNetCore 1.* to 1.0 see [UpdateToVersion2.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion2.md) The AuthP library also: diff --git a/UpdateToVersion5.md b/UpdateToVersion5.md index 941eddac..52d0ce1d 100644 --- a/UpdateToVersion5.md +++ b/UpdateToVersion5.md @@ -1,8 +1,8 @@ # Updating your code from AuthPermissions.AspNetCore 4.* to 5.0 -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. +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. -_NOTE: I purposely cause compile errors so that the breaking changes are obvious to you._ +_NOTE: The fill list of changes !!! Links to article and documentation ._ ## TABLE OF CONTENT @@ -43,7 +43,7 @@ Because of the new custom database feature the `DatabaseType` in your shardingse The problem with Postgres database is `Npgsql.EntityFrameworkCore.PostgreSQL` so the short name is `PostgreSQL`, not `Postgres` -_Solution:_ make sure your shardingsetting.json entries that use Postgres has the `DatabaseType` set to "PostgreSQL". +_Solution:_ make sure your shardingsetting.json entries that use Postgres has the `DatabaseType` set to "PostgreSQL". _NOTE: If you don't change this you will have an exception with the following message._ ```text