docs/en/release-info/migration-guides/abp-9-2.md
This document is a guide for upgrading ABP v9.x solutions to ABP v9.2. There are some changes in this version that may affect your applications, please read it carefully and apply the necessary changes to your application.
ApplicationName Property to Isolate Background Jobs & Background WorkersWhen multiple applications share the same storage for ABP's Background Jobs Module, jobs from one application might be visible to another application. This can lead to the following issues:
IsAbandoned = trueTo fix this, we added the ApplicationName property to the AbpBackgroundJobWorkerOptions class. This property allows you to specify the application name, which helps isolate jobs between different applications. (See the PR for more details.)
By default there is no breaking change. However, you need to create a migration for the database to add the ApplicationName column to the relevant table and apply it to your database.
MongoDB.Driver to 3.1.0In this version, we upgraded MongoDB.Driver to 3.1.0. To migrate your application, please refer to our MongoDB Driver 2 to 3 Migration Guide document.
In this version, we replaced Toastr with a custom implementation that does not depend on any 3rd party library. This is a breaking change if you are using the Toastr library.
Here are the migration steps:
For detailed implementation guidelines and API documentation, see:
Please check the Open-Source (Framework) section before reading this section. The listed topics might affect your application and you might need to take care of them.
If you are a paid-license owner and using the ABP's paid version, then please follow the following sections to get informed about the breaking changes and apply the necessary ones:
In this version, we added a new setting to the Identity Pro module to require email verification to register. This is a security measure to prevent spam registrations:
Typically, no changes are required. However, if you have inherited from the AccountAppService class and implemented your own logic, you'll need to update your constructor to match the new signature since two new services are now injected:
//code omitted for brevity...
+ protected IDistributedCache<EmailConfirmationCodeCacheItem> EmailConfirmationCodeCache { get; }
+ protected IdentityErrorDescriber IdentityErrorDescriber { get; }
public AccountAppService(
- IdentityUserTwoFactorChecker identityUserTwoFactorChecker)
+ IdentityUserTwoFactorChecker identityUserTwoFactorChecker,
+ IdentityErrorDescriber identityErrorDescriber)