Upgrading Volo.Abp.Http.Client 4 to 5
Breaking4.4.4 → 5.3.5Breaking20Security5Deprecated1New147Changed255Fixed201Other488
BreakingUpgrade verdict
20 breaking changes and 5 security fixes.
In plain terms
- 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.
Must act Top 5 of 26 that need code or config changes
What you must change
Breaking20
Removes the AsQueryable method.
AsQueryableRemoves the AutoMapper dependency from the Feature Management module.
AutoMapperRemoves EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehaviorRenames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsyncRemoves UseErrorPage.
UseErrorPageRenames IgnoreMultiTenancy.cs to IgnoreMultiTenancyAttribute.cs.
IgnoreMultiTenancyIgnoreMultiTenancyAttributeRemoves ModelBuilderConfigurationOptions from all modules.
ModelBuilderConfigurationOptionsRemoves ProfileManagementScriptBundleContributor.
ProfileManagementScriptBundleContributorMakes IRepository no longer inherit from IQueryable.
IRepositoryIQueryableRemoves the custom method in HttpApi.
HttpApiRemoves error handling.
Removes ConfigureHttpClient from Blazor Server.
ConfigureHttpClientRenames the CmsKit whiteList option to allowList.
whiteListallowListMakes IMongoDbRepositoryFilterer async.
IMongoDbRepositoryFiltererReverts the addition of AbpUowHubFilter.
AbpUowHubFilterReplaces the languageChange$ property with the currentLang$ property.
languageChange$currentLang$Makes IObjectValidator async.
IObjectValidatorMoves ChartComponent in Angular UI to @abp/ng.components/chart.js.
ChartComponent@abp/ng.components/chart.jsMoves SettingTabsService from @abp/ng.core to the @abp/ng.setting-management/config package.
SettingTabsService@abp/ng.core@abp/ng.setting-management/configSwitches HubContext to use ClaimsPrincipal.
HubContextClaimsPrincipalSecurity5
Adds the missing Authorize attribute to the setting-management Razor Page.
AuthorizeAdds [DisableAuditing] to TenantCreateDto.AdminPassword so the admin password is not audited.
DisableAuditingTenantCreateDto.AdminPasswordChecks the ReturnUrl on the Manage page.
ReturnUrlFixes a cross-site scripting problem.
Adds the missing Authorize attribute to setting-management.
AuthorizeDeprecations to plan for
Deprecated1
Angular UI: Removes all deprecated code.