Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the nuget-dependencies group with 1 update #17

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2024

Bumps the nuget-dependencies group with 1 update: Ookii.CommandLine.

Updates Ookii.CommandLine from 4.0.1 to 4.1.0

Release notes

Sourced from Ookii.CommandLine's releases.

Ookii.CommandLine 4.1

What's new

Ookii.CommandLine 4.1 adds CancellationToken support for asynchronous commands, custom default value formats in the usage help, support for the -- token to escape argument names, an event to handle/ignore unknown arguments, additional ValidateEnumValueAttribute options, and more.

For full details, please see the change log, and documentation for this release.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.1 (preview 2)

What's new

This is a preview release of Ookii.CommandLine 4.1, which adds CancellationToken support for asynchronous commands, custom default value formats, support for the -- token to escape argument names, an event to handle/ignore unknown arguments, additional ValidateEnumValueAttribute options, and more.

For full details, please see the change log, and documentation for this release.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Ookii.CommandLine 4.1 (preview)

What's new

This is a preview release of Ookii.CommandLine 4.1, which adds CancellationToken support for asynchronous commands, custom default value formats, support for the -- token to escape argument names, additional ValidateEnumValueAttribute options, and more.

The change log and documentation have not been updated yet, but there is updated class library documentation.

This preview is feature complete, but changes may still be made before the final release based on testing.

Release contents

  • The Ookii.CommandLine class library in versions for .Net Standard 2.0, .Net Standard 2.1, .Net 6.0, .Net 7.0, and .Net 8.0.
  • A Visual Studio extensions with several code snippets for creating arguments and commands.
  • Several sample applications.

This release is also available on NuGet.

Changelog

Sourced from Ookii.CommandLine's changelog.

What’s new in Ookii.CommandLine

Ookii.CommandLine 4.1 (2024-01-26)

  • Support for using a -- argument to escape argument names for the remaining arguments, or to cancel parsing. This can be enabled using [ParseOptions.PrefixTermination][] or [ParseOptionsAttribute.PrefixTermination][].
  • Ignore unknown arguments by using the new [CommandLineParser.UnknownArgument][] event.
  • The [ValidateEnumValueAttribute][] has additional properties to control how enumeration values are parsed: [CaseSensitive][CaseSensitive_1], [AllowNumericValues][], and [AllowCommaSeparatedValues][].
    • The [EnumConverter][] now also checks the [ValidateEnumValueAttribute.IncludeValuesInErrorMessage][] property, if the attribute is present on the argument, so that error messages from the converter and validator are consistent.
  • Support for passing a cancellation token to the [CommandManager.RunCommandAsync()][] method. Tasks can access this token by implementing the [IAsyncCancelableCommand][] interface. The [AsyncCommandBase][] class provides support as well.
  • Usage help improvements:
    • Support for custom default value formatting, using [CommandLineArgumentAttribute.DefaultValueFormat][].
    • Add [LineWrappingTextWriter.IndentAfterEmptyLine][] and [UsageWriter.IndentAfterEmptyLine][] properties, which allow for proper formatting of argument descriptions with blank lines using the default usage help format.
    • Add a footer to the usage help with the [UsageFooterAttribute][] attribute.
    • Some localizable text that could previously only be customized by deriving from the [UsageWriter][] class can now also be customized with the [LocalizedStringProvider][] class, so you only need to derive from [LocalizedStringProvider][] to customize all user-facing strings.
  • Provide helper methods in the [VirtualTerminal][] class for writing text with VT formatting to the standard output or error streams.
  • Provide extension methods for [StandardStream][] in the [StandardStreamExtensions][] class.
  • Emit a warning if a class isn't using the [GeneratedParserAttribute][] when it could, with an automatic code fix to easily apply it.
Commits
  • 9df03b6 Merge pull request #29 from SvenGroot/v4.1-dev
  • af6b8cb Release preparation.
  • f72f875 Update nuget packages.
  • 823ae81 Proofread XML comments.
  • 58f2ded Proofread markdown documentation.
  • bfd539b Restrict dependabot versions for Microsoft.CodeAnalysis.Workspaces.
  • a1c293c Fix XML comments for OpenStream.
  • 1a194ad Set preview2 suffix.
  • 2b375d5 Update readme.
  • ce2c5f9 Fix some documentation issues.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will 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 version will 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

Bumps the nuget-dependencies group with 1 update: [Ookii.CommandLine](https://github.com/SvenGroot/Ookii.CommandLine).


Updates `Ookii.CommandLine` from 4.0.1 to 4.1.0
- [Release notes](https://github.com/SvenGroot/Ookii.CommandLine/releases)
- [Changelog](https://github.com/SvenGroot/Ookii.CommandLine/blob/main/docs/ChangeLog.md)
- [Commits](SvenGroot/Ookii.CommandLine@v4.0.1...v4.1)

---
updated-dependencies:
- dependency-name: Ookii.CommandLine
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jan 29, 2024
@SvenGroot SvenGroot merged commit 716f69e into main Jan 29, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/nuget/main/nuget-dependencies-d05248e1e2 branch January 29, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant