Skip to content

Upgrading Volo.Abp.Http.Client 1 to 2

Breaking1.1.2 → 2.9.0Breaking31Security2Deprecated1New225Changed189Fixed210Other224

BreakingUpgrade verdict

28 breaking changes and 2 security fixes.

  • Deprecates UsePostgreSql() and renames it to UseNpgsql() for the Volo.Abp.EntityFrameworkCore.PostgreSql package.
  • Projects using the shared theme no longer get PrimeNG automatically.
  • The route used to find a tenant by name has been removed.
  • Code that used the old ValidationHandler name must switch to ValidationHelper.
Top 5 of 31 that need code or config changes

Target frameworks requirement changed in 2.2.0: .NETCoreApp3.1 → .NETStandard2.0.

Breaking28
Deprecates UsePostgreSql() and renames it to UseNpgsql() for the Volo.Abp.EntityFrameworkCore.PostgreSql package.
UsePostgreSql()UseNpgsql()
Removes the PrimeNG dependency from the theme shared package and template.
PrimeNG
Removes the find-tenant router.
FindTenantByNameAsync
Renames ValidationHandler to ValidationHelper.
ValidationHandlerValidationHelper
Renames the Blogging module's "Blog" folder to "Blogs".
Renames AbpCultureHelper to CultureHelper.
AbpCultureHelperCultureHelper
Removes deprecated functions, outputs and inputs from Angular modules.
Removes the sync method for the background job module.
Removes the obsolete WithCulture method.
WithCulture
Removes deprecated functions, outputs, inputs and similar APIs.
Fixes the BootstrapDatepicker Script/Style Contributor namespace.
Obsoletes app.UseMvcWithDefaultRouteAndArea() and introduces app.UseConfiguredEndpoints().
UseMvcWithDefaultRouteAndArea()UseConfiguredEndpoints()
Singleton and scoped services exposing multiple services now return the same instance.
Fixes the wrong Polish culture code in a translation file name.
Makes the listenToEscape method of ConfirmationService private.
ConfirmationService.listenToEscape
Adds a has method to DomInsertionService.
DomInsertionService.has
Fixes a possible @abp/ng.core dependency issue that is a breaking change.
@abp/ng.core
Makes Angular layouts replaceable.
getSettings selector in ConfigState returns an empty object when the keyword is not found.
getSettingsConfigState
Announces a breaking change for the Volo.Abp.Http.Client.IdentityModel package.
Volo.Abp.Http.Client.IdentityModel
Requires UseAuthorization() to be called after UseMultiTenancy in the middleware pipeline.
UseAuthorization()UseMultiTenancy
Fixes the wrong generic type constraint on Audited*WithUser types.
Audited*WithUser
Passes IServiceProvider to the DoWork method of the periodic background worker.
IServiceProviderDoWork
Moves AbpValidationResource to the Volo.Abp.Validation package.
AbpValidationResourceVolo.Abp.Validation
Adds MaxMaxResultCount to LimitedResultRequestDto.
MaxMaxResultCountLimitedResultRequestDto
Re-designs interception and sync/async APIs.
Makes email required for identity user.
Moves AbpIntegratedTest to the Volo.Abp.Testing namespace.
AbpIntegratedTestVolo.Abp.Testing
Security2
Disables auditing of password fields so passwords are no longer written to audit logs.
Fixes AuditLogActions capturing passwords from IdentityUserAppService.CreateAsync.
IdentityUserAppService.CreateAsync
Deprecated1
Creates an init token for theme shared and deprecates the append script function.