Skip to content

Upgrading Volo.Abp.Http.Client 4 to 5

Breaking4.4.4 → 5.3.5Breaking20Security5Deprecated1New147Changed255Fixed201Other488

BreakingUpgrade verdict

20 breaking changes and 5 security fixes.

  • Removes the AsQueryable method.
  • The Feature Management module no longer depends on AutoMapper, so code relying on that dependency must adapt.
  • The legacy timestamp behavior option is no longer available.
  • Renames InitializeAsync to InitializeApplicationAsync.
Top 5 of 26 that need code or config changes
Breaking20
Removes the AsQueryable method.
AsQueryable
Removes the AutoMapper dependency from the Feature Management module.
AutoMapper
Removes EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehavior
Renames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsync
Removes UseErrorPage.
UseErrorPage
Renames IgnoreMultiTenancy.cs to IgnoreMultiTenancyAttribute.cs.
IgnoreMultiTenancyIgnoreMultiTenancyAttribute
Removes ModelBuilderConfigurationOptions from all modules.
ModelBuilderConfigurationOptions
Removes ProfileManagementScriptBundleContributor.
ProfileManagementScriptBundleContributor
Makes IRepository no longer inherit from IQueryable.
IRepositoryIQueryable
Removes the custom method in HttpApi.
HttpApi
Removes error handling.
Removes ConfigureHttpClient from Blazor Server.
ConfigureHttpClient
Renames the CmsKit whiteList option to allowList.
whiteListallowList
Makes IMongoDbRepositoryFilterer async.
IMongoDbRepositoryFilterer
Reverts the addition of AbpUowHubFilter.
AbpUowHubFilter
Replaces the languageChange$ property with the currentLang$ property.
languageChange$currentLang$
Makes IObjectValidator async.
IObjectValidator
Moves ChartComponent in Angular UI to @abp/ng.components/chart.js.
ChartComponent@abp/ng.components/chart.js
Moves SettingTabsService from @abp/ng.core to the @abp/ng.setting-management/config package.
SettingTabsService@abp/ng.core@abp/ng.setting-management/config
Switches HubContext to use ClaimsPrincipal.
HubContextClaimsPrincipal
Security5
Adds the missing Authorize attribute to the setting-management Razor Page.
Authorize
Adds [DisableAuditing] to TenantCreateDto.AdminPassword so the admin password is not audited.
DisableAuditingTenantCreateDto.AdminPassword
Checks the ReturnUrl on the Manage page.
ReturnUrl
Fixes a cross-site scripting problem.
Adds the missing Authorize attribute to setting-management.
Authorize
Deprecated1
Angular UI: Removes all deprecated code.