Upgrading Volo.Abp.Ddd.Application 7 to 8
Breaking7.4.5 → 8.3.4Breaking17Security5Deprecated3New172Changed283Fixed208Other461
BreakingUpgrade verdict
17 breaking changes and 5 security fixes.
In plain terms
- A method that was part of the authentication hub filter has been removed, so code overriding or calling it will no longer compile.
- A built-in handler that added dynamic claims to OpenIddict claim principals is gone, so code relying on it must be updated.
- Removes the obsolete legacy serialization feature Exception.Exception(SerializationInfo, StreamingContext).
- The language info object no longer carries a flag icon property.
Must act Top 5 of 25 that need code or config changes
Target frameworks requirement changed in 8.0.0-rc.1: .NETStandard2.0, .NETStandard2.1, net7.0 → .NETStandard2.0, .NETStandard2.1, net8.0.
What you must change
Breaking17
Removes the OnDisconnectedAsync method from AbpAuthenticationHubFilter.
AbpAuthenticationHubFilterOnDisconnectedAsyncRemoves
AbpDynamicClaimsOpenIddictClaimsPrincipalHandler.AbpDynamicClaimsOpenIddictClaimsPrincipalHandlerRemoves the obsolete legacy serialization feature Exception.Exception(SerializationInfo, StreamingContext).
Exception.Exception(SerializationInfo, StreamingContext)Removes the flag-icon property from ILanguageInfo.
ILanguageInfoRemoves
Microsoft.IdentityModel.Protocols.OpenIdConnect from the template.Microsoft.IdentityModel.Protocols.OpenIdConnectRemoves the Nito.AsyncEx.Coordination package from Volo.Abp.Core.
Volo.Abp.CoreNito.AsyncEx.CoordinationRemoves the 'HostWithIds' symbol from the CLI.
HostWithIdsRemoves MethodPlaceholder.
MethodPlaceholderRemoves RemoveUnnecessaryDbMigratorClients.
RemoveUnnecessaryDbMigratorClientsRemoves backward compatible CMS Kit page URLs.
Removes the IJsonSerializer from RemoteDynamicClaimsPrincipalContributorCache.
IJsonSerializerRemoteDynamicClaimsPrincipalContributorCacheRemoves IAbpClaimsPrincipalFactory from AbpComponentsClaimsCache.
IAbpClaimsPrincipalFactoryAbpComponentsClaimsCacheRemoves AppTemplateRemoveMongodbCollectionFixtureStep.
AppTemplateRemoveMongodbCollectionFixtureStepChanges namespace of
AbpAspNetCoreComponentsWebOptions.AbpAspNetCoreComponentsWebOptionsMakes IsRedirectAllowedUrlAsync of IAppUrlProvider async.
IsRedirectAllowedUrlAsyncIAppUrlProviderReplaces IdentityUserLookupAppService with an integration service.
IdentityUserLookupAppServiceMakes IAbpDaprClientFactory async.
IAbpDaprClientFactorySecurity5
Updates the ImageSharp package due to vulnerabilities.
ImageSharpLocks the user account after too many incorrect 2FA code attempts.
Updates vulnerable NPM packages to the latest version.
Updates packages to address vulnerabilities.
Enhances CmsKit PreventXSS protection.
CmsKitPreventXSSDeprecations to plan for
Deprecated3
Updates documentation to replace the deprecated forRoot method with the new provider functions.
forRootCreates function guards and marks class guards as deprecated.
Deprecates the abp-Password component in favor of a directive.
abp-Password