Skip to content

Upgrading Volo.Abp.Ddd.Application 7 to 8

Breaking7.4.5 → 8.3.4Breaking17Security5Deprecated3New172Changed283Fixed208Other461

BreakingUpgrade verdict

17 breaking changes and 5 security fixes.

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

Breaking17
Removes the OnDisconnectedAsync method from AbpAuthenticationHubFilter.
AbpAuthenticationHubFilterOnDisconnectedAsync
Removes AbpDynamicClaimsOpenIddictClaimsPrincipalHandler.
AbpDynamicClaimsOpenIddictClaimsPrincipalHandler
Removes the obsolete legacy serialization feature Exception.Exception(SerializationInfo, StreamingContext).
Exception.Exception(SerializationInfo, StreamingContext)
Removes the flag-icon property from ILanguageInfo.
ILanguageInfo
Removes Microsoft.IdentityModel.Protocols.OpenIdConnect from the template.
Microsoft.IdentityModel.Protocols.OpenIdConnect
Removes the Nito.AsyncEx.Coordination package from Volo.Abp.Core.
Volo.Abp.CoreNito.AsyncEx.Coordination
Removes the 'HostWithIds' symbol from the CLI.
HostWithIds
Removes MethodPlaceholder.
MethodPlaceholder
Removes RemoveUnnecessaryDbMigratorClients.
RemoveUnnecessaryDbMigratorClients
Removes backward compatible CMS Kit page URLs.
Removes the IJsonSerializer from RemoteDynamicClaimsPrincipalContributorCache.
IJsonSerializerRemoteDynamicClaimsPrincipalContributorCache
Removes IAbpClaimsPrincipalFactory from AbpComponentsClaimsCache.
IAbpClaimsPrincipalFactoryAbpComponentsClaimsCache
Removes AppTemplateRemoveMongodbCollectionFixtureStep.
AppTemplateRemoveMongodbCollectionFixtureStep
Changes namespace of AbpAspNetCoreComponentsWebOptions.
AbpAspNetCoreComponentsWebOptions
Makes IsRedirectAllowedUrlAsync of IAppUrlProvider async.
IsRedirectAllowedUrlAsyncIAppUrlProvider
Replaces IdentityUserLookupAppService with an integration service.
IdentityUserLookupAppService
Makes IAbpDaprClientFactory async.
IAbpDaprClientFactory
Security5
Updates the ImageSharp package due to vulnerabilities.
ImageSharp
Locks 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.
CmsKitPreventXSS
Deprecated3
Updates documentation to replace the deprecated forRoot method with the new provider functions.
forRoot
Creates function guards and marks class guards as deprecated.
Deprecates the abp-Password component in favor of a directive.
abp-Password