Skip to content

v5.0.56

Latest
Compare
Choose a tag to compare
@wjrogers wjrogers released this 11 Jun 13:43

What's Changed

  • Add net8.0 targets and update dependencies by @wjrogers in #9
  • Replace runtime reflection with compile-time source generator by @wjrogers in #8

Breaking Changes

  • For a given command, declarative configuration with CommandAttribute and imperative configuration with ICommandBuilder are mutually exclusive. CommandAttribute automatically adds the target command type to the application, and it has new properties that provide access to all command configuration options. (You can still mix declarative and imperative configuration of different commands in the same application. Be sure to omit CommandAttribute from any type you want to configure through the builder.)
  • Instead of using DescriptionAttribute to set the help text for commands, arguments, and options, use the Description property of CommandAttribute, CommandArgumentAttribute, and CommandOptionAttribute, respectively.
  • Support for typed global options has been removed. ICommandContext provides access to the raw string values of global options.
  • Some infrastructure types have been moved, renamed, or deleted.

Packages

Full Changelog: v4.0.3...v5.0.56