Skip to content

Upgrading Volo.Abp.Http.Client 7 to 8

Breaking7.4.5 → 8.3.4Breaking16Security5Deprecated3New169Changed280Fixed207Other470

BreakingUpgrade verdict

16 breaking changes and 5 security fixes.

  • Removes the OnDisconnectedAsync method from AbpAuthenticationHubFilter.
  • A built-in handler that added dynamic claims to OpenIddict principal is removed.
  • Removes an old, obsolete exception serialization constructor.
  • Code that reads the flag icon from language info will no longer compile or work.
Top 5 of 24 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.

Breaking16
Removes the OnDisconnectedAsync method from AbpAuthenticationHubFilter.
AbpAuthenticationHubFilterOnDisconnectedAsync
Removes AbpDynamicClaimsOpenIddictClaimsPrincipalHandler.
AbpDynamicClaimsOpenIddictClaimsPrincipalHandler
Removes the obsolete legacy serialization feature Exception.Exception(SerializationInfo, StreamingContext).
Exception.Exception(SerializationInfo, StreamingContext)SerializationInfoStreamingContext
Removes the flag-icon property from ILanguageInfo.
ILanguageInfo
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.
PreventXSS
Deprecated3
Replaces the deprecated forRoot method with new provider functions in documentation.
forRoot
Creates function guards and marks class guards as deprecated.
Deprecates the abp-Password component in favor of a directive.
abp-Password