From d5cfa3410dcbf25fa0cc4cd55a1248dfd1cc9e30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:45:03 +0100 Subject: [PATCH] fix(deps): update dependency com.github.ajalt.clikt:clikt to v4 (#125) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.github.ajalt.clikt:clikt](https://togithub.com/ajalt/clikt) | `3.5.4` -> `4.2.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.github.ajalt.clikt:clikt/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.github.ajalt.clikt:clikt/3.5.4/4.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
ajalt/clikt (com.github.ajalt.clikt:clikt) ### [`v4.2.2`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#422) [Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.1...4.2.2) ##### Changed - Options and arguments can now reference option groups in their `defaultLazy` and other finalization blocks. They can also freely reference each other, including though chains of references. ([#​473](https://togithub.com/ajalt/clikt/issues/473)) - Updated Kotlin to 1.9.21 ([#​472](https://togithub.com/ajalt/clikt/pull/472)) ### [`v4.2.1`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#421) [Compare Source](https://togithub.com/ajalt/clikt/compare/4.2.0...4.2.1) ##### Added - Added `toString` implementations to options and arguments. ([#​434](https://togithub.com/ajalt/clikt/issues/434)) - Added `CliktCommand.test` overload that takes a vararg of `String`s as the command line arguments. Thanks to [@​sschuberth](https://togithub.com/sschuberth) for the contribution ([#​451](https://togithub.com/ajalt/clikt/issues/451)) ##### Fixed - Update Mordant dependency to fix crashes on native targets and GraalVM ([#​447](https://togithub.com/ajalt/clikt/issues/447)) ### [`v4.2.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#420) [Compare Source](https://togithub.com/ajalt/clikt/compare/4.1.0...4.2.0) ##### Added - Added `requireConfirmation` parameter to `option().prompt()` ([#​426](https://togithub.com/ajalt/clikt/issues/426)) - Added `CliktCommand.terminal` extension for accessing the terminal from a command. - Added `includeSystemEnvvars`, `ansiLevel`, `width`, and `height` parameters to all `CliktCommand.test` overloads. ##### Deprecated - Deprecated `CliktCommand.prompt`, use `CliktCommand.terminal.prompt` or `Prompt` instead. - Deprecated `CliktCommand.confirm`, use `YesNoPrompt` instead. ##### Fixed - Fixed incorrect error message when a `defaultLazy` option referenced a `required` option. ([#​430](https://togithub.com/ajalt/clikt/issues/430)) ### [`v4.1.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#410) [Compare Source](https://togithub.com/ajalt/clikt/compare/4.0.0...4.1.0) ##### Added - Added `MordantHelpFormatter.renderAttachedOptionValue` that you can override to change how option values are shown, e.g. if you want option to show as `--option ` instead of `--option=`. ([#​416](https://togithub.com/ajalt/clikt/issues/416)) - Added `option().optionalValueLazy{}`, which work like `optionalValue()` but the default value is computed lazily. ([#​381](https://togithub.com/ajalt/clikt/issues/381)) ##### Changed - Updated Kotlin to 1.9.0 - `PrintMessage`, `PrintHelpMessage` and `PrintCompletionMessage` now default to exiting with a status code 0, which is the behavior they had in 3.x. ([#​419](https://togithub.com/ajalt/clikt/issues/419)) ### [`v4.0.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://togithub.com/ajalt/clikt/compare/3.5.4...4.0.0) ##### Added - Added `Context.errorEncountered` which is true if parsing has continued after an error was encountered. - `option().help{""}` and `argument().help{""}` extensions that set the parameter's help text lazily, with access to the current context so that you can add colors. ##### Changed - `Option.optionHelp` and `Argument.argumentHelp`, `CliktCommand.commandHelp`, and `CliktCommand.commandHelpEpilog` are now methods that take the context as an argument, and the `help` parameter to `copy` is now a `helpGetter` lambda. `CliktCommand.shortHelp` now takes the context as an argument. - The `message` method on `TransformContext` interfaces is now an extension. ##### Deprecated - Deprecated `CliktCommand.commandHelp` and `commandHelpEpilog` properties in favor of the methods with the same name.
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/pachli/pachli-android). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- tools/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build.gradle.kts b/tools/build.gradle.kts index 00c2eeae9..c8f13c0fe 100644 --- a/tools/build.gradle.kts +++ b/tools/build.gradle.kts @@ -22,7 +22,7 @@ subprojects { apply(plugin = "application") dependencies { - add("implementation", "com.github.ajalt.clikt:clikt:3.5.4") + add("implementation", "com.github.ajalt.clikt:clikt:4.2.2") } tasks.withType().configureEach {