Skip to content

Upgrading Volo.Abp.Ddd.Application.Contracts 4 to 5

Breaking4.4.4 → 5.3.5Breaking19Security5Deprecated1New149Changed256Fixed186Other504

BreakingUpgrade verdict

19 breaking changes and 5 security fixes.

  • 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.
Top 5 of 25 that need code or config changes
Breaking19
Removes the AsQueryable method.
AsQueryable
Removes EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehavior
Renames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsync
Removes UseErrorPage.
UseErrorPage
Removes ModelBuilderConfigurationOptions of 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
Moves the RightAligned parameter to BarDropdown.
RightAlignedBarDropdown
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 to @abp/ng.components/chart.js in the Angular UI.
ChartComponent@abp/ng.components/chart.js
Moves SettingTabsService from @abp/ng.core to the @abp/ng.setting-management/config package.
SettingTabsService@abp/ng.setting-management/config@abp/ng.core
Switches HubContext to use ClaimsPrincipal.
HubContextClaimsPrincipal
Security5
Adds the missing Authorize attribute to the setting-management Razor Page.
Authorize
Adds [DisableAuditing] to TenantCreateDto.AdminPassword to keep the admin password out of audit logs.
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.