simple-java-mail icon indicating copy to clipboard operation
simple-java-mail copied to clipboard

Bump info.picocli:picocli from 3.9.0 to 3.9.6

Open dependabot[bot] opened this issue 1 year ago • 0 comments

Bumps info.picocli:picocli from 3.9.0 to 3.9.6.

Release notes

Sourced from info.picocli:picocli's releases.

Picocli 3.9.6

Picocli 3.9.6

The picocli community is pleased to announce picocli 3.9.6.

This release improves support for interactive (password) options:

  • interactive options can now use type char[] instead of String, to allow applications to null out the array after use so that sensitive information is no longer resident in memory
  • interactive options can be optionally interactive if configured with arity = "0..1"

This is the fifty-second public release. Picocli follows semantic versioning.

Table of Contents

New and Noteworthy

This release improves support for interactive (password) options:

  • interactive options can now use type char[] instead of String, to allow applications to null out the array after use so that sensitive information is no longer resident in memory
  • interactive options can be optionally interactive if configured with arity = "0..1"

For example, if an application has these options:

@Option(names = "--user")
String user;

@​Option(names = "--password", arity = "0..1", interactive = true) char[] password;

With the following input, the password field will be initialized to "123" without prompting the user for input:

--password 123 --user Joe

However, if the password is not specified, the user will be prompted to enter a value. In the following example, the password option has no parameter, so the user will be prompted to type in a value on the console:

--password --user Joe

Fixed issues

... (truncated)

Changelog

Sourced from info.picocli:picocli's changelog.

Picocli 3.9.6

The picocli community is pleased to announce picocli 3.9.6.

This release improves support for interactive (password) options:

  • interactive options can now use type char[] instead of String, to allow applications to null out the array after use so that sensitive information is no longer resident in memory
  • interactive options can be optionally interactive if configured with arity = "0..1"

This is the fifty-second public release. Picocli follows semantic versioning.

Table of Contents

New and Noteworthy

This release improves support for interactive (password) options:

  • interactive options can now use type char[] instead of String, to allow applications to null out the array after use so that sensitive information is no longer resident in memory
  • interactive options can be optionally interactive if configured with arity = "0..1"

For example, if an application has these options:

@Option(names = "--user")
String user;

@​Option(names = "--password", arity = "0..1", interactive = true) char[] password;

With the following input, the password field will be initialized to "123" without prompting the user for input:

--password 123 --user Joe

However, if the password is not specified, the user will be prompted to enter a value. In the following example, the password option has no parameter, so the user will be prompted to type in a value on the console:

--password --user Joe

Fixed issues

  • #657 Support type char[] for interactive options. Thanks to Lukáš Petrovický for raising this issue.
  • #536 Support optionally interactive options. Thanks to Lukas Heumos for raising this issue.

... (truncated)

Commits
  • 1bf2c26 Release picocli version 3.9.6
  • 665ba07 DOC update release notes for 3.9.6
  • 3daa7c4 #536 DOC fix: default arity for interactive options is zero
  • bbdea1b #657 bugfix
  • 1be1a2f #657 handle List\<char[]> generic types correctly; add RELEASE-NOTES entry
  • 3355304 #536#657 optionally interactive options and interactive options of type `...
  • e1b9622 Update index.adoc
  • 963f015 DOC add man/3.x documentation directory
  • d4d596d Change % to %% when using ${DEFAULT-VALUE} in option description
  • 9735930 DOC: add example for interactive password alternatives
  • 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar May 06 '24 08:05 dependabot[bot]