Browse Source

Upgrade `OpenIddict` to `5.0.0`.

pull/18515/head
maliming 2 years ago
parent
commit
503e61958d
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 10
      Directory.Packages.props
  2. 16
      docs/en/Migration-Guides/Abp-8_0.md
  3. 2
      docs/en/Migration-Guides/OpenIddict4-to-5.md

10
Directory.Packages.props

@ -113,11 +113,11 @@
<PackageVersion Include="NUglify" Version="1.21.0" />
<PackageVersion Include="Nullable" Version="1.3.1" />
<PackageVersion Include="Octokit" Version="9.0.0" />
<PackageVersion Include="OpenIddict.Abstractions" Version="5.0.0-rc1.23614.58" />
<PackageVersion Include="OpenIddict.Core" Version="5.0.0-rc1.23614.58" />
<PackageVersion Include="OpenIddict.Server.AspNetCore" Version="5.0.0-rc1.23614.58" />
<PackageVersion Include="OpenIddict.Validation.AspNetCore" Version="5.0.0-rc1.23614.58" />
<PackageVersion Include="OpenIddict.Validation.ServerIntegration" Version="5.0.0-rc1.23614.58" />
<PackageVersion Include="OpenIddict.Abstractions" Version="5.0.0" />
<PackageVersion Include="OpenIddict.Core" Version="5.0.0" />
<PackageVersion Include="OpenIddict.Server.AspNetCore" Version="5.0.0" />
<PackageVersion Include="OpenIddict.Validation.AspNetCore" Version="5.0.0" />
<PackageVersion Include="OpenIddict.Validation.ServerIntegration" Version="5.0.0" />
<PackageVersion Include="Oracle.EntityFrameworkCore" Version="8.21.121" />
<PackageVersion Include="Polly" Version="8.2.0" />
<PackageVersion Include="Polly.Extensions.Http" Version="3.0.0" />

16
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 |

2
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.

Loading…
Cancel
Save