Releases: Cysharp/ConsoleAppFramework
Releases · Cysharp/ConsoleAppFramework
Ver.5.4.0
Improvement:
- Added support for argument escaping using
--
- Added
CommandArguments
andEscapedArguments
properties toConsoleAppContext
Breaking Changes:
The supported language version has been updated to C# 13. When using with .NET 8, you need to explicitly specify the LangVersion in your project file:
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>13</LangVersion>
</PropertyGroup>
What's Changed
- chore: Fix spelling issues by @filzrev in #160
- support double-dash argument escape by @neuecc in #164
- chore: Update benchmarks by @filzrev in #163
New Contributors
Full Changelog: 5.3.4...5.4.0
Ver.5.3.4
Ver.5.3.3
- disable AOT warning
Full Changelog: 5.3.2...5.3.3
Ver.5.3.2
- Fix NET 9 NativeAOT warning
Full Changelog: 5.3.1...5.3.2
Ver.5.3.1
- Fix NuGet dependecy resolve condition
Full Changelog: 5.3.0...5.3.1
Ver.5.3.0
- Add validation when doc comment parameter name not found in method parameters
- Add
ConsoleAppFrameworkGeneratorOptionsAttribute
to disable auto naming conversion - Add
RegisterCommandsAttribute
to register commands automatically to ConsoleAppBuilder - Add
ConsoleAppBuilder.ConfigureServices
that automatically enabled when importMicrosoft.Extensions.DependencyInjection
- Add
ConsoleAppBuilder.ConfigureLogging
that automatically enabled when importMicrosoft.Extensions.Logging
- Add
ConsoleAppBuilder.ConfigureEmptyConfiguration
that automatically enabled when importMicrosoft.Extensions.Configuration
- Add
ConsoleAppBuilder.ConfigureDefaultConfiguration
that automatically enabled when importMicrosoft.Extensions.Configuration.Json
- Add
IHostBuilder.ToConsoleAppBuilder
that automatically enabled when importMicrosoft.Extensions.Hosting
- Add
HostApplicationBuilder.ToConsoleAppBuilder
that automatically enabled when importMicrosoft.Extensions.Hosting
- Breaking Changes: default version option shows
InformationalVersion
without source revision - Breaking Changes: IServiceProvider will Dispose when Run/RunAsync is finished
Full Changelog: 5.2.4...5.3.0
Ver.5.2.4
What's Changed
- Fix commas being stripped from helptext by @kristiker in #137
- Bug Fix - IArgumentParser Attribute doesn't work in Method by @naratteu in #139
- Fix Compilation error when string default arguments contain backslashes #138
New Contributors
- @kristiker made their first contribution in #137
- @naratteu made their first contribution in #139
Full Changelog: 5.2.3...5.2.4
Ver.5.2.3
- Add validation when registered type/method is outside in generator referenced project.
Full Changelog: 5.2.2...5.2.3
Ver.5.2.2
What's Changed
- Rename ClassDeclarationSyntax variable from primartyCtor to primaryCtor by @dexcompiler in #126
- fix IndexOutOfRangeException when ConsoleAppFilterAttribute is defined above CommandAttribute by @pierre3 in #135
New Contributors
- @dexcompiler made their first contribution in #126
- @pierre3 made their first contribution in #135
Full Changelog: 5.2.1...5.2.2
Ver.5.2.1
- disable warning about null reference on nullable disabled
Full Changelog: 5.2.0...5.2.1