@ -4,9 +4,9 @@ This document is a guide for upgrading ABP v8.2 solutions to ABP v8.3. There are
## Added `AdminUserName` parameter to `IIdentityDataSeeder.SeedAsync` method
## Added `AdminUserName` parameter to `IIdentityDataSeeder.SeedAsync` method
Prior to this version, `IIdentityDataSeeder.SeedAsync` were used to seed the initial user data with the `admin` as the username, to be able to easily test the all application with all permissions granted.
Prior to this version, `IIdentityDataSeeder.SeedAsync` was used to seed the initial user data with the `admin` as the username, to be able to easily test all applications with all permissions granted.
In this version, we wanted to allow you to set the default **adminUserName**. So, you can set the default user name any name you want or leave it as it is and let the username be `admin` as before.
In this version on, we allow you to set the default **adminUserName**. So, you can set the default user name to any name you want or leave it as it is and let the username be `admin` as before.
For example, in the `MyProjectNameDbMigrationService.SeedDataAsync` method (under the domain project's **Data** folder), you can pass the username as below:
For example, in the `MyProjectNameDbMigrationService.SeedDataAsync` method (under the domain project's **Data** folder), you can pass the username as below:
@ -23,23 +23,23 @@ For example, in the `MyProjectNameDbMigrationService.SeedDataAsync` method (unde
}
}
```
```
Normally, you don't need to make any changes related to this change. However, if you used the `IIdentityDataSeeder.SeedAsync` method in your application, it now also gets additional (and optional) `adminUserName` parameter that you can pass value on.
Normally, you don't need to make any changes in your code related to this change. However, if you used the `IIdentityDataSeeder.SeedAsync` method in your application, now also gets additional (and optional) `adminUserName` parameter that you can pass the value on.
See the PR for more info: https://github.com/abpframework/abp/pull/20131/
See the PR for more info: https://github.com/abpframework/abp/pull/20131/
## Added RegEx Support to CMS Kit's (PRO) URL Forwarding System
## Added RegEx Support to CMS Kit's (PRO) URL Forwarding System
ABP provides a URL Forwarding system, which allows you to create URLS that redirect to other pages or external websites. Prior to this version, URL Forwarding System was only working for static URLs and wasn't support RegEx. In this version, we introduced the RegEx support for the URL Forwarding System and now you can pass regular expresions for not static URLs.
ABP provides a [URL Forwarding System](../modules/cms-kit-pro/URL-forwarding), which allows you to create URLs that redirect to other pages or external websites. Prior to this version, the URL Forwarding System was only working for static URLs and didn't support RegEx. In this version, we introduced the RegEx support for the URL Forwarding System and now you can pass regular expressions for not static URLs.
Since a new property has been added to the `CmsShortenedUrl` entity, you should create a new migration and apply it to your database.
Since a new property has been added to the `CmsShortenedUrl` entity, you should create a new migration and apply it to your database.
> After creating a new migration and applying it to your database, typically you don't need to make any changes, however, if you overridden a page/method or class related to the URL Forwarding System, you might need to update it accordingly. For this purpose, you can get the source code of the [CMS Kit Module's](../modules/cms-kit-pro) and update the related parts in your application.
> After creating a new migration and applying it to your database, typically you don't need to make any changes, however, if you have overridden a page/method or class related to the URL Forwarding System, you might need to update it accordingly. For this purpose, you can get the source code of the [CMS Kit Module's](../modules/cms-kit-pro) and update the related parts in your application.
## Docs Module: Improvements & Single Project Mode Support
## Docs Module: Improvements & Single Project Mode Support
In this version, we made some improvements in the [Docs Module](../Modules/Docs.md) and introduced single project mode, which allows you to use a single project name for all of your documents.
In this version, we made some improvements in the [Docs Module](../Modules/Docs.md) and introduced single project mode, which allows you to use a single project name for all of your documents.
While implementing this new feature, we made some small changes in the existing classes. For example, the constructor methods of the following classes have been changed, and needed to be updated in your code, if you use them:
While implementing this new feature, we made some small changes to the existing classes. For example, the constructor methods of the following classes have been changed, and need to be updated in your code, if you use them:
@ -49,8 +49,8 @@ See the PR for more info: https://github.com/abpframework/abp/pull/19419
## Updated `datatables.net` to 2.0.2
## Updated `datatables.net` to 2.0.2
In this version, `datatables.net` library version updated from v1.11.4 to v2.0.2. We made the all related changes in the framework level and updated the dependency and its resource mapping configurations. Also, we made it backward compitable so it should not directly effect your application.
In this version, the `datatables.net` library version was updated from v1.11.4 to v2.0.2. We made all related changes at the framework level and updated the dependency and its resource mapping configurations. Also, we made it backward compatible so it should not directly affect your application.
However, notice this package is used by the `@abp/aspnetcore.mvc.ui.theme.shared` package, which is used by the official themes. Therefore, if you used any methods from the **datatables.net** library it might be depricated or removed.
However, notice this package is used by the `@abp/aspnetcore.mvc.ui.theme.shared` package, which is used by the official themes. Therefore, if you used any methods from the **datatables.net** library it might be already deprecated or removed.
See the PR for more info: https://github.com/abpframework/abp/pull/19340
See the PR for more info: https://github.com/abpframework/abp/pull/19340