Upgrading Volo.Abp.Ddd.Application.Contracts 4 to 5
Breaking4.4.4 → 5.3.5Breaking19Security5Deprecated1New149Changed256Fixed186Other504
BreakingUpgrade verdict
19 breaking changes and 5 security fixes.
In plain terms
- Removes the AsQueryable method.
- Code that relied on the legacy timestamp behavior setting must be updated.
- Renames InitializeAsync to InitializeApplicationAsync.
- The UseErrorPage middleware is removed.
Must act Top 5 of 25 that need code or config changes
What you must change
Breaking19
Removes the AsQueryable method.
AsQueryableRemoves EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehaviorRenames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsyncRemoves UseErrorPage.
UseErrorPageRemoves ModelBuilderConfigurationOptions of 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.
whiteListallowListMoves the RightAligned parameter to BarDropdown.
RightAlignedBarDropdownMakes IMongoDbRepositoryFilterer async.
IMongoDbRepositoryFiltererReverts the addition of
AbpUowHubFilter.AbpUowHubFilterReplaces the languageChange$ property with the currentLang$ property.
languageChange$currentLang$Makes IObjectValidator async.
IObjectValidatorMoves ChartComponent to @abp/ng.components/chart.js in the Angular UI.
ChartComponent@abp/ng.components/chart.jsMoves SettingTabsService from @abp/ng.core to the @abp/ng.setting-management/config package.
SettingTabsService@abp/ng.setting-management/config@abp/ng.coreSwitches HubContext to use ClaimsPrincipal.
HubContextClaimsPrincipalSecurity5
Adds the missing Authorize attribute to the setting-management Razor Page.
AuthorizeAdds [DisableAuditing] to TenantCreateDto.AdminPassword to keep the admin password out of audit logs.
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.