Upgrading Volo.Abp.Http.Client 1 to 2
Breaking1.1.2 → 2.9.0Breaking31Security2Deprecated1New225Changed189Fixed210Other224
SecurityDisables auditing of password fields so passwords are no longer written to audit logs.#2792 ↗
BreakingUpgrade verdict
28 breaking changes and 2 security fixes.
In plain terms
- 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.
Must act Top 5 of 31 that need code or config changes
Target frameworks requirement changed in 2.2.0: .NETCoreApp3.1 → .NETStandard2.0.
What you must change
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.
PrimeNGRemoves the find-tenant router.
FindTenantByNameAsyncRenames ValidationHandler to ValidationHelper.
ValidationHandlerValidationHelperRenames the Blogging module's "Blog" folder to "Blogs".
Renames AbpCultureHelper to CultureHelper.
AbpCultureHelperCultureHelperRemoves deprecated functions, outputs and inputs from Angular modules.
Removes the sync method for the background job module.
Removes the obsolete WithCulture method.
WithCultureRemoves 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.listenToEscapeAdds a has method to DomInsertionService.
DomInsertionService.hasFixes a possible @abp/ng.core dependency issue that is a breaking change.
@abp/ng.coreMakes Angular layouts replaceable.
getSettings selector in ConfigState returns an empty object when the keyword is not found.
getSettingsConfigStateAnnounces a breaking change for the Volo.Abp.Http.Client.IdentityModel package.
Volo.Abp.Http.Client.IdentityModelRequires UseAuthorization() to be called after UseMultiTenancy in the middleware pipeline.
UseAuthorization()UseMultiTenancyFixes the wrong generic type constraint on Audited*WithUser types.
Audited*WithUserPasses IServiceProvider to the DoWork method of the periodic background worker.
IServiceProviderDoWorkMoves AbpValidationResource to the Volo.Abp.Validation package.
AbpValidationResourceVolo.Abp.ValidationAdds MaxMaxResultCount to LimitedResultRequestDto.
MaxMaxResultCountLimitedResultRequestDtoRe-designs interception and sync/async APIs.
Makes email required for identity user.
Moves AbpIntegratedTest to the Volo.Abp.Testing namespace.
AbpIntegratedTestVolo.Abp.TestingSecurity2
Disables auditing of password fields so passwords are no longer written to audit logs.
Fixes AuditLogActions capturing passwords from IdentityUserAppService.CreateAsync.
IdentityUserAppService.CreateAsyncDeprecations to plan for
Deprecated1
Creates an init token for theme shared and deprecates the append script function.