Skip to content

Commit 80121c7

Browse files
authored
Merge pull request #25628 from abpframework/auto-merge/rel-10-4/4653
Merge branch rel-10.5 with rel-10.4
2 parents bec3617 + e10d15c commit 80121c7

5 files changed

Lines changed: 84 additions & 3 deletions

File tree

docs/en/cli/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Here is the list of all available commands before explaining their details:
4545
- [new-package](../cli#new-package): Generates a new package based on the given template.
4646
- [update](../cli#update): Automatically updates all ABP related NuGet and NPM packages in a solution.
4747
- [clean](../cli#clean): Deletes all `BIN` and `OBJ` folders in the current folder.
48+
- [clean-logs](../cli#clean-logs): Delete all `*logs.txt` files in the current folder and its subfolders.
4849
- [add-package](../cli#add-package): Adds an ABP package to a project.
4950
- [add-package-ref](../cli#add-package-ref): Adds package to given project.
5051
- [install-module](../cli#install-module): Adds a [multi-package application module](../modules/index.md) to a given module.
@@ -476,6 +477,16 @@ Usage:
476477
abp clean
477478
```
478479

480+
### clean-logs
481+
482+
Delete all `*logs.txt` files in the current folder and its subfolders.
483+
484+
Usage:
485+
486+
```bash
487+
abp clean-logs
488+
```
489+
479490
### add-package
480491

481492
Adds an ABP package to a project by,

docs/en/studio/release-notes.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99

1010
This document contains **brief release notes** for each ABP Studio release. Release notes only include **major features** and **visible enhancements**. Therefore, they don't include all the development done in the related version.
1111

12-
## 3.0.3 (2026-05-20) Latest
12+
## 3.0.4 (2026-06-03) Latest
13+
14+
* Blazor UI Selector: Added a built-in choice between MudBlazor and Blazorise for Blazor solution templates
15+
* React Native Updates: Upgraded Expo to the latest version, improved keyboard handling, and ensured UI consistency
16+
* Linux Support Enhancements: Improved system tool detection, terminal launching, and added full Linux publish/runtime support
17+
* React Admin Security: Secured the React Admin Console sidebar menu by enforcing permission-based access gating
18+
* Mobile Documentation: Added comprehensive setup guides and rules for React Native mobile templates
19+
* Angular Microservice Fix: Resolved missing audit logging configurations and imports in microservice templates
20+
* Modern Templates Licensing: Updated Modern architecture templates to be available exclusively for commercial/paid tiers
21+
* Code & UI Stability: Fixed TypeScript compilation errors in React templates and resolved various minor system bugs
22+
23+
## 3.0.3 (2026-05-20)
1324

1425
* AI Agent Upgrades: Added browser automation tools and overall performance fixes
1526
* React Language Fix: Fixed language and localization settings being ignored in React templates

docs/en/studio/version-mapping.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99

1010
This document provides a general overview of the relationship between various versions of ABP Studio and the ABP version of the [ABP Solution Templates](../solution-templates/index.md) used when generating a new solution. Each version of ABP Studio is configured to create solutions with a specific ABP version. However, once a solution is created, you can easily update it to the latest version of ABP via ABP Studio or [ABP CLI](../cli/index.md#update).
1111

12-
| **ABP Studio Version** | **ABP Version of Startup Template** |
12+
| **ABP Studio Version** | **ABP Version of Startup Template** |
1313
|------------------------|---------------------------|
14-
| 3.0.3 | 10.4.0 |
14+
| 3.0.4 | 10.4.1 |
15+
| 3.0.3 | 10.4.0 |
1516
| 2.2.7 - 3.0.2 | 10.3.0 |
1617
| 2.2.5 - 2.2.6 | 10.2.0 |
1718
| 2.2.2 - 2.2.4 | 10.1.1 |

framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/AbpCliCoreModule.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public override void ConfigureServices(ServiceConfigurationContext context)
7575
options.Commands[CreateMigrationAndRunMigratorCommand.Name] = typeof(CreateMigrationAndRunMigratorCommand);
7676
options.Commands[InstallLibsCommand.Name] = typeof(InstallLibsCommand);
7777
options.Commands[CleanCommand.Name] = typeof(CleanCommand);
78+
options.Commands[CleanLogsCommand.Name] = typeof(CleanLogsCommand);
7879
options.Commands[CliCommand.Name] = typeof(CliCommand);
7980
options.Commands[ClearDownloadCacheCommand.Name] = typeof(ClearDownloadCacheCommand);
8081
options.Commands[RecreateInitialMigrationCommand.Name] = typeof(RecreateInitialMigrationCommand);
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
using System.IO;
2+
using System.Text;
3+
using System.Threading.Tasks;
4+
using Microsoft.Extensions.Logging;
5+
using Volo.Abp.Cli.Args;
6+
using Volo.Abp.DependencyInjection;
7+
8+
namespace Volo.Abp.Cli.Commands;
9+
10+
public class CleanLogsCommand : IConsoleCommand, ITransientDependency
11+
{
12+
public const string Name = "clean-logs";
13+
14+
public ILogger<CleanCommand> Logger { get; set; }
15+
16+
public CleanLogsCommand(ILogger<CleanCommand> logger)
17+
{
18+
Logger = logger;
19+
}
20+
21+
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
22+
{
23+
var logsEntries = Directory.EnumerateDirectories(Directory.GetCurrentDirectory(), "Logs", SearchOption.AllDirectories);
24+
25+
Logger.LogInformation($"Removing 'Logs' files...");
26+
foreach (var path in logsEntries)
27+
{
28+
var files = Directory.GetFiles(path, "*logs.txt");
29+
30+
foreach (var file in files)
31+
{
32+
Logger.LogInformation($"Deleting: {file}");
33+
File.Delete(file);
34+
}
35+
}
36+
Logger.LogInformation("Logs cleaned successfully!");
37+
return Task.CompletedTask;
38+
}
39+
40+
public string GetUsageInfo()
41+
{
42+
var sb = new StringBuilder();
43+
44+
sb.AppendLine("");
45+
sb.AppendLine("Usage:");
46+
sb.AppendLine(" abp clean-logs");
47+
sb.AppendLine("");
48+
sb.AppendLine("See the documentation for more info: https://abp.io/docs/latest/cli");
49+
50+
return sb.ToString();
51+
}
52+
53+
public static string GetShortDescription()
54+
{
55+
return "Delete all *logs.txt files in the current folder and its subfolders.";
56+
}
57+
}

0 commit comments

Comments
 (0)