Releases: Cysharp/ConsoleAppFramework
Releases · Cysharp/ConsoleAppFramework
v.5.5.0
What's Changed
- don't report CAF008 error on CommunityToolkit.Mvvm.ObservableProperty "Add" calls
- suppress IL2026, IL3050 warning for NativeAOT publish
- ci: Pinning third party GitHub Actions sha by @guitarrapc in #175
- feat: Add HiddenAttribute to hide specific command/parameter by @filzrev in #171
- Add support FromKeyedServices by @neuecc in #183
- chore: Update dependencies and benchmark relating code by @filzrev in #184
- chore: Apply dotnet format command by @filzrev in #186
Full Changelog: 5.4.1...5.5.0
v.5.4.1
What's Changed
- chore: Add
.editorconfig
file and apply settings by @filzrev in #165 - fix: Tests failed when line-end characters differ from OS default by @filzrev in #166
- fix: Normalize line endings of generated source code by @filzrev in #167
- Update tests related projects by @filzrev in #168
Full Changelog: 5.4.0...5.4.1
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