Skip to content

Upgrading Volo.Abp.EntityFrameworkCore 8 to 9

Breaking8.3.4 → 9.3.7Breaking9Security3Platform1Deprecated2New115Changed216Fixed185Other504

BreakingUpgrade verdict

9 breaking changes and a platform requirement change and 3 security fixes.

  • Angular projects no longer support the old ngcc compiler.
  • The toastr library is no longer included in the shared MVC UI theme package, so projects relying on it must add it themselves.
  • Renames AbpCustomGuidMapper to AbpGuidCustomBsonTypeMapper.
  • Renames `IProductRepository` to `IRepository<Product, Guid>`.
Top 5 of 15 that need code or config changes

Target frameworks requirement changed in 9.0.0-rc.1: net8.0 → net9.0.

Moves microsoft.entityframeworkcore 8.0.4 → 9.0.5, microsoft.entityframeworkcore.relational 8.0.4 → 9.0.5. Your build may pick other versions.

2 packages of its own release move with it.

Breaking9
Drops legacy ngcc compiler support in Angular.
ngcc
Removes @abp/toastr from the aspnetcore.mvc.ui.theme.shared package.
@abp/toastraspnetcore.mvc.ui.theme.shared
Renames AbpCustomGuidMapper to AbpGuidCustomBsonTypeMapper.
AbpCustomGuidMapperAbpGuidCustomBsonTypeMapper
Renames IProductRepository to IRepository<Product, Guid>.
IProductRepositoryIRepository<Product, Guid>
Removes datatables.net compatible code.
datatables.net
Removes the protected modifier from DTO properties.
Removes the React Native template from the open source side and updates docs accordingly.
Removes audit properties from OpenIddictAuthorization and OpenIddictToken.
OpenIddictAuthorizationOpenIddictToken
Removes ConcurrencyStamp from IdentitySession.
ConcurrencyStampIdentitySession
Security3
Bumps System.Linq.Dynamic.Core in Abp 8.3 to 1.6.7 to fix a vulnerability.
System.Linq.Dynamic.Core
Adds Hangfire Dashboard authorization in the API website.
Hangfire
Stops returning the SMTP password to the UI settings page.
Platform1
Updates MAUI supported OS version to 15.0 for iOS and Mac Catalyst.
Deprecated2
Updates the obsolete attribute message for the UseAbpClaimsMap method.
UseAbpClaimsMap
Marks the AddBlazorWebAppServices method as obsolete.
AddBlazorWebAppServices