Skip to content

Upgrading Volo.Abp.Ddd.Application 4 to 5

Breaking4.4.4 → 5.3.5Breaking20Security5Deprecated1New148Changed262Fixed195Other486

BreakingUpgrade verdict

20 breaking changes and 5 security fixes.

  • The AsQueryable method is no longer available, so code calling it must be updated.
  • Code that relied on the legacy timestamp behavior setting must be updated.
  • Renames InitializeAsync to InitializeApplicationAsync.
  • Removes UseErrorPage.
Top 5 of 26 that need code or config changes
Breaking20
Removes the AsQueryable method.
AsQueryable
Removes EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehavior
Renames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsync
Removes UseErrorPage.
UseErrorPage
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
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 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
Replaces IOptionsSnapshot with IOptions and IOptionsMonitor.
IOptionsSnapshotIOptionsIOptionsMonitor
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 a missing Authorize attribute to setting-management.
Authorize
Deprecated1
Angular UI: Removes all deprecated code.