Skip to content

Commit fb6b773

Browse files
authored
Merge pull request #24042 from abpframework/auto-merge/rel-9-3/4075
Merge branch rel-10.0 with rel-9.3
2 parents c29930d + 382ab94 commit fb6b773

File tree

37 files changed

+1319
-1299
lines changed

37 files changed

+1319
-1299
lines changed

docs/en/cli/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Note that this command can upgrade your solution from a previous version, and al
358358
* `--solution-name` or `-sn`: Specify the solution name. Search `*.sln` files in the directory by default.
359359
* `--check-all`: Check the new version of each package separately. Default is `false`.
360360
* `--version` or `-v`: Specifies the version to use for update. If not specified, latest version is used.
361-
* * `--leptonx-version` or `-lv`: Specifies the LeptonX version to use for update. If not specified, latest version or the version that is compatible with `--version` argument is used.
361+
* `--leptonx-version` or `-lv`: Specifies the LeptonX version to use for update. If not specified, latest version or the version that is compatible with `--version` argument is used.
362362

363363
### clean
364364

docs/en/framework/data/entity-framework-core/mysql.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,22 @@ Find `UseSqlServer()` calls in your solution. Check the following files:
3232

3333
Alternatively, you can use the [Pomelo.EntityFrameworkCore.MySql](https://www.nuget.org/packages/Pomelo.EntityFrameworkCore.MySql) provider. Replace the [Volo.Abp.EntityFrameworkCore.MySQL](https://www.nuget.org/packages/Volo.Abp.EntityFrameworkCore.MySQL) package with the [Volo.Abp.EntityFrameworkCore.MySQL.Pomelo](https://www.nuget.org/packages/Volo.Abp.EntityFrameworkCore.MySQL.Pomelo) package in your `.EntityFrameworkCore` project.
3434

35-
Find ***YourProjectName*EntityFrameworkCoreModule** class inside the `.EntityFrameworkCore` project, replace `typeof(AbpEntityFrameworkCoreMySQLModule)` with `typeof(AbpEntityFrameworkCoreMySQLPomeloModule)` in the `DependsOn` attribute.
35+
To complete the switch to the Pomelo Provider, you'll need to update your module dependencies. To do that, find ***YourProjectName*EntityFrameworkCoreModule** class inside the `.EntityFrameworkCore` project, replace `typeof(AbpEntityFrameworkCoreMySQLModule)` with `typeof(AbpEntityFrameworkCoreMySQLPomeloModule)` in the `DependsOn` attribute.
3636

37-
> Depending on your solution structure, you may find more code files need to be changed.
37+
Also, if you are switching from a provider other than ABP's MySQL provider, you need to call the `UseMySQL` method in the relevant places, as described in the next section.
38+
39+
### UseMySQL()
40+
41+
Find `UseSqlServer()` calls in your solution. Check the following files:
3842

39-
The `UseMySQL()` method calls remain the same, no changes needed.
43+
* *YourProjectName*EntityFrameworkCoreModule.cs inside the `.EntityFrameworkCore` project. Replace `UseSqlServer()` with `UseMySql()`.
44+
* *YourProjectName*DbContextFactory.cs inside the `.EntityFrameworkCore` project. Replace `UseSqlServer()` with `UseMySql()`.
45+
46+
You also need to specify the `ServerVersion`. See https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/wiki/Configuration-Options#server-version for more details.
47+
48+
`UseMySql(configuration.GetConnectionString("Default"), ServerVersion.AutoDetect(configuration.GetConnectionString("Default")));` or `UseMySql(configuration.GetConnectionString("Default"), new MySqlServerVersion(new Version(8, 4, 6)));`
49+
50+
> Depending on your solution structure, you may find more code files need to be changed.
4051
4152
## Change the Connection Strings
4253

docs/en/ui-themes/lepton/customizing-lepton-theme.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,16 @@ export const appConfig: ApplicationConfig = {
4545

4646
Import your style file to `src/style.scss`
4747

48-
```css
48+
```scss
49+
/* style.scss */
50+
@import 'your-custom-style';
51+
```
52+
53+
or
54+
55+
```scss
4956
/* style.scss */
50-
import 'your-custom-style';
57+
@use 'your-custom-style';
5158
```
5259

5360
Or add your style file to the `styles` arrays which in `angular.json` file

modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "asp.net",
44
"private": true,
55
"dependencies": {
6-
"@abp/aspnetcore.mvc.ui.theme.shared": "~9.3.5",
7-
"@abp/prismjs": "~9.3.5",
8-
"@abp/highlight.js": "~9.3.5"
6+
"@abp/aspnetcore.mvc.ui.theme.shared": "~9.3.6",
7+
"@abp/prismjs": "~9.3.6",
8+
"@abp/highlight.js": "~9.3.6"
99
}
1010
}

modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/yarn.lock

Lines changed: 132 additions & 132 deletions
Large diffs are not rendered by default.

modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "asp.net",
44
"private": true,
55
"dependencies": {
6-
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.5",
7-
"@abp/prismjs": "~9.3.5"
6+
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.6",
7+
"@abp/prismjs": "~9.3.6"
88
},
99
"devDependencies": {}
1010
}

modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/yarn.lock

Lines changed: 134 additions & 134 deletions
Large diffs are not rendered by default.

modules/blogging/app/Volo.BloggingTestApp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "volo.blogtestapp",
44
"private": true,
55
"dependencies": {
6-
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.5",
7-
"@abp/blogging": "~9.3.5"
6+
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.6",
7+
"@abp/blogging": "~9.3.6"
88
}
99
}

modules/blogging/app/Volo.BloggingTestApp/yarn.lock

Lines changed: 153 additions & 153 deletions
Large diffs are not rendered by default.

modules/client-simulation/demo/Volo.ClientSimulation.Demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"name": "client-simulation-web",
44
"private": true,
55
"dependencies": {
6-
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.5"
6+
"@abp/aspnetcore.mvc.ui.theme.basic": "~9.3.6"
77
}
88
}

0 commit comments

Comments
 (0)