Skip to content

Upgrading Volo.Abp.Ddd.Application.Contracts 1 to 2

Breaking1.1.2 → 2.9.0Breaking31Security2Deprecated1New225Changed195Fixed193Other235

BreakingUpgrade verdict

28 breaking changes and 2 security fixes.

  • If your startup code calls UsePostgreSql(), switch to the new UseNpgsql() method.
  • Projects using the theme shared package or template no longer get PrimeNG automatically.
  • Removes the find-tenant router.
  • A validation helper class has a new name, so code using the old name must be updated.
Top 5 of 31 that need code or config changes
Breaking28
Deprecates UsePostgreSql() and renames it to UseNpgsql() for the Volo.Abp.EntityFrameworkCore.PostgreSql package.
UsePostgreSql()UseNpgsql()Volo.Abp.EntityFrameworkCore.PostgreSql
Removes the PrimeNG dependency from the theme shared package and template.
PrimeNG
Removes the find-tenant router.
Renames ValidationHandler to ValidationHelper.
ValidationHandlerValidationHelper
Renames the Blogging module's "Blog" folder to "Blogs".
Renames AbpCultureHelper to CultureHelper.
AbpCultureHelperCultureHelper
Removes deprecated functions, outputs, inputs and similar from Angular modules.
Removes the synchronous method from the background job module.
Removes the obsolete WithCulture method.
WithCulture
Removes deprecated functions, outputs and inputs.
Fixes the BootstrapDatepicker Script/Style Contributor namespace.
BootstrapDatepicker
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 users.
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.