Skip to content

Update picocliVersion to v4.7.7 #2746

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

Open
wants to merge 1 commit into
base: 4.8.x
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
info.picocli:picocli-codegen (source) 4.7.6 -> 4.7.7 age adoption passing confidence
info.picocli:picocli-shell-jline3 (source) 4.7.6 -> 4.7.7 age adoption passing confidence
info.picocli:picocli (source) 4.7.6 -> 4.7.7 age adoption passing confidence

Release Notes

remkop/picocli (info.picocli:picocli-codegen)

v4.7.7

The picocli community is pleased to announce picocli 4.7.7.

This release includes bugfixes and enhancements.

Many thanks to the picocli community for raising these issues and providing the pull requests to address them!

This is the eighty-sixth public release.
Picocli follows semantic versioning.
Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96).

Table of Contents

New and Noteworthy

This release fixes a problem that was introduced in the previous release (4.7.6), where using an ArgGroup in a Mixin would result in options being added twice, or DuplicateOptionAnnotationsException.

The built-in picocli.CommandLine.HelpCommand subcommand now implements Callable<Integer> and returns the exit code of the subcommand's exitCodeOnUsageHelp value for the subcommand whose help was requested.

From this release, if a command implements both Callable and Runnable, then the default execution strategy will invoke the call method instead of the run method.

Fixed issues

  • [#​2353] Enhancement: picocli.shell.jline3.PicocliCommands::invoke now returns ParseResult instead of null. Thanks to Paul for raising this.
  • [#​2336] Enhancement: Avoid syntax error in auto-completion script for invalid option names and paramLabel values starting with a digit. Thanks to Ruud Senden and Tobias Knerr for raising this.
  • [#​2281] Enhancement: Variable interpolation should work for ArgGroup.heading attribute. Thanks to Marc Philipp for raising this.
  • [#​2355] Bugfix: The built-in help subcommand should return the exit code of the subcommand's exitCodeOnUsageHelp value for the subcommand whose help was requested. Thanks to marco-brandizi for raising this.
  • [#​2335] Bugfix: Module info missing in all jars except the main picocli jar file. Thanks to Oliver B. Fischer for raising this.
  • [#​2331] Bugfix: AutoComplete with jline3 was showing hidden commands. Thanks to clebertsuconic for raising this.
  • [#​2291] Bugfix: NullPointerException when using PropertiesDefaultProvider. Thanks to JessHolle for raising this.
  • [#​2344] Bugfix: negatable=true option in an ArgGroup should not add negated option twice. Thanks to Robin Fritz for raising this.
  • [#​2309] Bugfix: Duplicate help output for ArgGroup from a Mixin. Thanks to s-falke for raising this. Thanks to Simon Gamma for providing a pull request for this.
  • [#​2341] Bugfix: Options get doubled in non validating ArgGroup when used in Mixin. Thanks to Selene Feigl for raising this.
  • [#​2349] Bugfix: Incorrect results when using ArgGroup + defaultValue + split + List/Set. Thanks to Mithun Josalyn Gonsalvez for raising this.
  • [#​2292] Bugfix: DuplicateOptionAnnotationsException on using negatable option in ArgGroup. Thanks to Bhavik Patel for raising this.
  • [#​2380] Bugfix: boolean with arity=0 and defaultValue=false behaved unexpectedly. Thanks to Leonard Brünings for raising this.
  • [#​2290] DOC: User guide, CDI 2.0 (JSR 365) section: fix example and add warning about dynamic proxies. Thanks to Mert Zeybekler for the pull request.
  • [#​2347] DOC: Fix line-endings in generated asciidoc HTML. Thanks to Fridrich Štrba for the pull request.
  • [#​2367] DOC: Fix broken link. Thanks to yeoleobun for the pull request.
  • [#​2370] DOC: Add at least a link to how to use the CodeGen APT under Bazel. Thanks to Michael Vorburger for the pull request.
  • [#​2302] DEP: Bump actions/checkout from 4.1.4 to 4.1.7
  • [#​2391] DEP: Bump actions/checkout from 4.1.7 to 4.2.2
  • [#​2388] DEP: Bump actions/setup-java from 4.2.1 to 4.7.1
  • [#​2390] DEP: Bump actions/upload-artifact from 4.3.3 to 4.6.2
  • [#​2317] DEP: Bump gradle/wrapper-validation-action from 3.3.2 to 3.5.0
  • [#​2321] DEP: Bump com.google.errorprone:error_prone_core from 2.27.1 to 2.29.2
  • [#​2382] DEP: Bump com.google.errorprone:error_prone_core from 2.29.2 to 2.37.0
  • [#​2329] DEP: Bump github/codeql-action from 3.25.3 to 3.25.15
  • [#​2387] DEP: Bump github/codeql-action from 3.25.15 to 3.28.15
    [#​2399] DEP: Bump jakarta.validation:jakarta.validation-api from 3.1.0 to 3.1.1
  • [#​2384] DEP: Bump junit5Version from 5.10.2 to 5.12.2
  • [#​2392] DEP: Bump log4j2Version from 2.23.1 to 2.24.3
  • [#​2308] DEP: Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.1.0 to 4.0.1
    [#​2403] DEP: Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.2.0
  • [#​2393] DEP: Bump org.apache.ivy:ivy from 2.5.2 to 2.5.3
  • [#​2385] DEP: Bump org.asciidoctor:asciidoctor-gradle-jvm from 4.0.2 to 4.0.4
  • [#​2386] DEP: Bump org.asciidoctor:asciidoctorj-pdf from 2.3.15 to 2.3.19
  • [#​2394] DEP: Bump org.hamcrest:hamcrest-core from 2.2 to 3.0 (REVERTED)
  • [#​2396] DEP: Bump org.hibernate.validator:hibernate-validator from 8.0.1.Final to 8.0.2.Final
  • [#​2395] DEP: Bump org.hibernate.validator:hibernate-validator-annotation-processor from 8.0.1.Final to 8.0.2.Final
    [#​2400] DEP: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.0.0 to 2.1.20
    [#​2401] DEP: Bump org.jetbrains.kotlin:kotlin-script-runtime from 2.0.0 to 2.1.20
    [#​2402] DEP: Bump org.jline:jline from 3.26.1 to 3.29.0
  • [#​2383] DEP: Bump org.scala-lang:scala-library from 2.13.14 to 2.13.16
  • [#​2330] DEP: Bump ossf/scorecard-action from 2.3.1 to 2.4.0
  • [#​2389] DEP: Bump ossf/scorecard-action from 2.4.0 to 2.4.1
  • [#​2320] DEP: Bump step-security/harden-runner from 2.7.1 to 2.9.0
  • [#​2397] DEP: Bump step-security/harden-runner from 2.9.0 to 2.11.1

Deprecations

No features were deprecated in this release.

Potential breaking changes

This release has no breaking changes.


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Prague, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the type: dependency-upgrade Upgrade a dependency label Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade Upgrade a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants