Open
Conversation
Bumps CliFx from 2.3.6 to 3.0.0 Bumps GitHubActionsTestLogger from 3.0.1 to 3.0.3 Bumps Meziantou.Analyzer from 3.0.25 to 3.0.44 --- updated-dependencies: - dependency-name: CliFx dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget - dependency-name: GitHubActionsTestLogger dependency-version: 3.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget - dependency-name: Meziantou.Analyzer dependency-version: 3.0.44 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated CliFx from 2.3.6 to 3.0.0.
Release notes
Sourced from CliFx's releases.
3.0
What's new
Source generation instead of reflection
CliFx no longer relies on runtime reflection. Instead, it uses Roslyn source generators to collect metadata about command bindings and extend your types with additional behavior at compile time. This enables full Native AOT and assembly trimming support.
Command types must now be declared as
partial(including all enclosing types, if nested).Auto-generated
Main()methodIf your project doesn't define a
Main()method or use top-level statements, CliFx will automatically generate an entry point that builds and runs the application using all commands from the assembly.Manual help and version option binding
You can now implement
ICommandWithHelpOptionand/orICommandWithVersionOptionon your command types and apply[CommandOption]attributes to choose custom identifiers for the help and version options. By default, the source generator auto-implements these interfaces with the conventional-h|--helpand--versionbindings.Public
CommandDescriptorCommand metadata is exposed via the public
CommandDescriptorclass (inCliFx.Binding). Source-generated commands expose a staticDescriptorproperty, which can be used to register commands with the builder viaAddCommand(CommandDescriptor).Breaking changes
Type and namespace renames
CliApplicationCommandLineApplicationCliApplicationBuilderCommandLineApplicationBuilderCliFx.AttributesnamespaceCliFx.BindingnamespaceCliFx.ExceptionsnamespaceCliFx(root namespace)CliFx.Extensibility.BindingConverter<T>CliFx.Activation.ScalarInputConverter<T>/SequenceInputConverter<T>CliFx.Extensibility.BindingValidator<T>CliFx.Activation.InputValidator<T>UseTypeActivator(...)UseTypeInstantiator(...)IsRequiredremoved from attributesCommandOptionAttribute.IsRequiredandCommandParameterAttribute.IsRequiredhave been removed. Use the C#requiredkeyword on the property instead.Init-only properties no longer supported
Input-bound properties must use a regular
setaccessor. Replaceinitwithseton all properties annotated with[CommandParameter]or[CommandOption].Directives replaced with environment variables
The
[preview]and[debug]directives have been removed. UseCommandLineApplicationBuilder.AllowDebugMode(...)andAllowPreviewMode(...)to configure environment variables that enable these modes (e.g.CLIFX_DEBUG=true ./myapp ...). Both modes are disabled by default.Preview mode no longer short-circuits
... (truncated)
Commits viewable in compare view.
Updated GitHubActionsTestLogger from 3.0.1 to 3.0.3.
Release notes
Sourced from GitHubActionsTestLogger's releases.
3.0.3
What's Changed
Full Changelog: Tyrrrz/GitHubActionsTestLogger@3.0.2...3.0.3
3.0.2
What's Changed
SubstringAfterLastby @Copilot in Use range indexer inSubstringAfterLastTyrrrz/GitHubActionsTestLogger#62New Contributors
Full Changelog: Tyrrrz/GitHubActionsTestLogger@3.0.1...3.0.2
Commits viewable in compare view.
Updated Meziantou.Analyzer from 3.0.25 to 3.0.44.
Release notes
Sourced from Meziantou.Analyzer's releases.
3.0.44
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.44
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.43...3.0.44
3.0.43
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.43
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.42...3.0.43
3.0.42
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.42
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.41...3.0.42
3.0.41
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.41
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.40...3.0.41
3.0.40
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.40
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.39...3.0.40
3.0.39
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.39
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.38...3.0.39
3.0.38
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.38
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.37...3.0.38
3.0.37
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.37
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.36...3.0.37
3.0.36
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.36
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.35...3.0.36
3.0.35
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.35
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.34...3.0.35
3.0.34
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.34
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.33...3.0.34
3.0.33
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.33
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.32...3.0.33
3.0.32
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.32
What's Changed
classkeyword from record declarations) by @Copilot in Add code fixer for MA0175 (Remove explicitclasskeyword from record declarations) meziantou/Meziantou.Analyzer#1069Full Changelog: meziantou/Meziantou.Analyzer@3.0.31...3.0.32
3.0.31
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.31
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.30...3.0.31
3.0.30
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.30
What's Changed
exclude_test_methodsconfiguration option by @Copilot in MA0137: Addexclude_test_methodsconfiguration option meziantou/Meziantou.Analyzer#1067Full Changelog: meziantou/Meziantou.Analyzer@3.0.29...3.0.30
3.0.29
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.29
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.28...3.0.29
3.0.28
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.28
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.27...3.0.28
3.0.27
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.27
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.26...3.0.27
3.0.26
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.26
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.25...3.0.26
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions