From 503e61958d5f2f30dc34d0b190310787c90c670b Mon Sep 17 00:00:00 2001 From: maliming Date: Tue, 19 Dec 2023 09:09:14 +0800 Subject: [PATCH] Upgrade `OpenIddict` to `5.0.0`. --- Directory.Packages.props | 10 +++++----- docs/en/Migration-Guides/Abp-8_0.md | 16 +++++++++++----- docs/en/Migration-Guides/OpenIddict4-to-5.md | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 16b649a6d2..5dd9846a73 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -113,11 +113,11 @@ - - - - - + + + + + diff --git a/docs/en/Migration-Guides/Abp-8_0.md b/docs/en/Migration-Guides/Abp-8_0.md index 53e9a87421..ef45d2a79e 100644 --- a/docs/en/Migration-Guides/Abp-8_0.md +++ b/docs/en/Migration-Guides/Abp-8_0.md @@ -4,6 +4,12 @@ This document is a guide for upgrading ABP v7.x solutions to ABP v8.0. There are > ABP Framework upgraded to .NET 8.0, so you need to move your solutions to .NET 8.0 if you want to use the ABP 8.0. You can check the [Migrate from ASP.NET Core 7.0 to 8.0](https://learn.microsoft.com/en-us/aspnet/core/migration/70-80) documentation. +## Upgraded to OpenIddict to 5.0.0 + +The 5.0 release of OpenIddict is a major release that introduces breaking changes. + +See [OpenIddict 4.x to 5.x Migration Guide](OpenIddict4-to-5.md) for more information. + ## Injected the `IDistributedEventBus` Dependency into the `IdentityUserManager` In this version, `IDistributedEventBus` service has been injected to the `IdentityUserManager` service, to publish a distributed event when the email or username is changed for a user, this was needed because sometimes there may be scenarios where the old email/username is needed for the synchronization purposes. @@ -247,11 +253,11 @@ You can see the following list of NuGet libraries that have been upgraded with . | Npgsql.EntityFrameworkCore.PostgreSQL | 7.0.0 | 8.0.0 | | NSubstitute.Analyzers.CSharp | 1.0.15 | 1.0.16 | | Octokit | 0.50.0 | 9.0.0 | -| OpenIddict.Abstractions | 4.8.0 | 4.10.0 | -| OpenIddict.Core | 4.8.0 | 4.10.0 | -| OpenIddict.Server.AspNetCore | 4.8.0 | 4.10.0 | -| OpenIddict.Validation.AspNetCore | 4.8.0 | 4.10.0 | -| OpenIddict.Validation.ServerIntegration | 4.8.0 | 4.10.0 | +| OpenIddict.Abstractions | 4.8.0 | 5.0.0 | +| OpenIddict.Core | 4.8.0 | 5.0.0 | +| OpenIddict.Server.AspNetCore | 4.8.0 | 5.0.0 | +| OpenIddict.Validation.AspNetCore | 4.8.0 | 5.0.0 | +| OpenIddict.Validation.ServerIntegration | 4.8.0 | 5.0.0 | | Oracle.EntityFrameworkCore | 7.21.8 | 8.21.121 | | Polly | 7.2.3 | 8.2.0 | | Pomelo.EntityFrameworkCore.MySql | 7.0.0 | 8.0.0-beta.2 | diff --git a/docs/en/Migration-Guides/OpenIddict4-to-5.md b/docs/en/Migration-Guides/OpenIddict4-to-5.md index 9080ae7876..b8eb1ffb87 100644 --- a/docs/en/Migration-Guides/OpenIddict4-to-5.md +++ b/docs/en/Migration-Guides/OpenIddict4-to-5.md @@ -2,7 +2,7 @@ The 5.0 release of OpenIddict is a major release that introduces breaking changes. -Check this blog [Introducing native applications, per-client token lifetimes and client assertions support in OpenIddict 5.0 preview1](https://kevinchalet.com/2023/10/20/introducing-native-applications-per-client-token-lifetimes-and-client-assertions-support-in-openiddict-5-0-preview1/) for the new features introduced in OpenIddict 5.0. +Check this blog [OpenIddict 5.0 general availability](https://kevinchalet.com/2023/12/18/openiddict-5-0-general-availability/) for the new features introduced in OpenIddict 5.0. I will show the changes you need to make to do the migration.