Upgrading Volo.Abp.Ddd.Application 4 to 5
Breaking4.4.4 → 5.3.5Breaking20Security5Deprecated1New148Changed262Fixed195Other486
BreakingUpgrade verdict
20 breaking changes and 5 security fixes.
In plain terms
- 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.
Must act Top 5 of 26 that need code or config changes
What you must change
Breaking20
Removes the AsQueryable method.
AsQueryableRemoves EnableLegacyTimestampBehavior.
EnableLegacyTimestampBehaviorRenames InitializeAsync to InitializeApplicationAsync.
InitializeAsyncInitializeApplicationAsyncRemoves UseErrorPage.
UseErrorPageRemoves 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.
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 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.
HubContextClaimsPrincipalReplaces IOptionsSnapshot with IOptions and IOptionsMonitor.
IOptionsSnapshotIOptionsIOptionsMonitorSecurity5
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 a missing Authorize attribute to setting-management.
AuthorizeDeprecations to plan for
Deprecated1
Angular UI: Removes all deprecated code.