ove / ove-asset-manager

Asset Management for data and static resources
MIT License
0 stars 0 forks source link

Update dependency com.github.ajalt:clikt to v2.8.0 #260

Open renovate[bot] opened 4 years ago

renovate[bot] commented 4 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.github.ajalt:clikt 2.3.0 -> 2.8.0 age adoption passing confidence

Release Notes

ajalt/clikt ### [`v2.8.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​280) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.7.1...2.8.0) ##### Added - Added `error` parameter to `PrintMessage` and `PrintHelpMessage`. When `true`, `CliktCommand.main` will exit with status code 1. ([#​187](https://togithub.com/ajalt/clikt/issues/187)) ##### Changed - When `printHelpOnEmptyArgs` is `true` and no arguments are present, or when `invokeWithoutSubcommand` is `false` and no subcommand is present, `CliktCommand.main` will now exit with status code 1 rather than 0. - `restrictTo` now works with any `Comparable` value, not just `Number`. - `CliktCommand.main` now accepts `Array`, not just `Array`. ([#​196](https://togithub.com/ajalt/clikt/issues/196)) ##### Fixed - Fixed option values being reset when calling multiple subcommands with `allowMultipleSubcommands=true` ([#​190](https://togithub.com/ajalt/clikt/issues/190)) ### [`v2.7.1`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​271) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.7.0...2.7.1) ##### Fixed - Fixed NPE thrown in some cases when using `defaultByName` ([#​179](https://togithub.com/ajalt/clikt/issues/179)) ### [`v2.7.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​270) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.6.0...2.7.0) ##### Added - Ability to use custom program exit status codes via `ProgramResult`. - `inputStream` and `outputStream` conversions for options and arguments. ([#​157](https://togithub.com/ajalt/clikt/issues/157) and [#​159](https://togithub.com/ajalt/clikt/issues/159)) - `splitPair`, `toMap`, and `associate` extensions on `option`. ([#​166](https://togithub.com/ajalt/clikt/issues/166)) - `treatUnknownOptionsAsArgs` parameter to `CliktCommand`. ([#​152](https://togithub.com/ajalt/clikt/issues/152)) - `defaultByName` function for `groupChoice` and `groupSwitch` options. ([#​171](https://togithub.com/ajalt/clikt/issues/171)) ##### Changed - Update Kotlin to 1.3.71 - Improved command name inference. Now, a class like `MyAppCommand` will infer its `commandName` as `my-app` rather than `myappcommand`. You can still specify the name manually as before. (\[[#​168](https://togithub.com/ajalt/clikt/issues/168)]\[https://github.com/ajalt/clikt/pull/168](https://togithub.com/ajalt/clikt/pull/168)8]) ##### Fixed - Correctly parse short options with attached values that contain `=` ### [`v2.6.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​260) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.5.0...2.6.0) ##### Added - `registeredSubcommands`, `registeredOptions`, `registeredArguments`, and `registeredParameterGroups` methods on `CliktCommand`. - Ability to [read default option values](https://ajalt.github.io/clikt/api/clikt/com.github.ajalt.clikt.sources/-value-source/index.md) from configuration files and other sources. Support for Java property files is built in on JVM, see the `json` sample for an example of reading from other formats. - `allowMultipleSubcommands` parameter to `CliktCommand` that allows you to pass multiple subcommands in the same call. ([docs](https://ajalt.github.io/clikt/commands/#chaining-and-repeating-subcommands)) - Errors from typos in subcommand names will now include suggested corrections. Corrections for options and subcommands are now based on a Jaro-Winkler similarity metric, and can be customized with `Context.correctionSuggestor` ##### Changed - Update Kotlin to 1.3.70 - `convert` can be called more than once on the same option or argument, including after calls to conversion functions like `int` and `file`. - `CliktCommand.toString` now includes the class name - Reverted automatic `~` expansion in `file()` and `path()` introduced in 2.5.0. If you need this behavior, you can implement it with code like `convert { /* expand tidle */ }.file()` ##### Deprecated - `wrapValue` is now deprecated, since `convert` can be used in its place instead. ### [`v2.5.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​250) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.4.0...2.5.0) ##### Added - Clikt is now available as a Kotlin Multiplatform Project, supporting JVM, NodeJS, and native Windows, Linux, and macOS. - `eagerOption {}` function to more easily register eager options. - Eager options can now be added to option groups in help out by passing a value for `groupName` when creating them. - `canBeSymlink` parameter to `file()` and `path()` conversions that can be used to disallow symlinks - `CliktCommand.eagerOption` to simplify creating custom eager options ##### Changed - The parameter names of `file()` and `path()` conversions have changed. The existing names are deprecated, and can be converted to the new usages with an IntelliJ inspection. Note that if you are calling these functions with unnamed arguments (e.g. `file(true, false)`), you'll need to add argument names in order to remove the deprecation warning. ##### Deprecated - The `CliktCommand.context` property has been deprecated in favor of the new name, `currentContext`, to avoid confusion with the `CliktCommand.context{}` method. - `NoRunCliktCommand` was renamed to `NoOpCliktCommand`. The existing class is deprecated. ([#​130](https://togithub.com/ajalt/clikt/issues/130)) ##### Fixed - `file()` and `path()` conversions will now properly expand leading `~` in paths to the home directory for `mustExist`, `canBeFile`, and `canBeDir` checks. The property value is unchanged, and can still begin with a `~`. ([#​131](https://togithub.com/ajalt/clikt/issues/79)) ### [`v2.4.0`](https://togithub.com/ajalt/clikt/blob/HEAD/CHANGELOG.md#​240) [Compare Source](https://togithub.com/ajalt/clikt/compare/2.3.0...2.4.0) ##### Added - `CompletionCandidates.Fixed` now has a secondary convenience constructor that take a `vararg` of `String`s - `CompletionCadidates.Custom`, which allows you to call other binaries or write a script to generate completions. This class is currently experimental. ([#​79](https://togithub.com/ajalt/clikt/issues/79)) - `Option.wrapValue` and `Argument.wrapValue` to make it easier to reuse existing conversion functions. - `ignoreCase` parameter to `choice()` and `enum()` conversion functions. ##### Changed - `option()` and `argument()` now take optional `completionCandidates` parameters to override how completion is generated. The constructor and `copy` functions of `OptionsWithValues` and `ProcessedArgument` have changed to support default values. - The overloads of `findObject` ([1](https://ajalt.github.io/clikt/api/clikt/com.github.ajalt.clikt.core/-context/find-object/) [2](https://ajalt.github.io/clikt/api/clikt/com.github.ajalt.clikt.core/find-object/)) that take a default value have been renamed `findOrSetObject`. The existing names are marked with `@Deprecated`, and IntelliJ can convert your callsites automatically. ([#​110](https://togithub.com/ajalt/clikt/issues/110)) - `enum()` parameters now accept case-insensitive values by default. You change this behavior by passing `ignoreCase = false` to `enum()` ([#​115](https://togithub.com/ajalt/clikt/issues/115)) ##### Fixed - `groupChoice` help output now includes the choices in the help output metavar - `TermUi.edit*` functions could freeze on certain editors ([#​99](https://togithub.com/ajalt/clikt/issues/99), thanks [@​iampravikant](https://togithub.com/iampravikant) and [@​sebokopter](https://togithub.com/sebokopter)) - Shell completion can now handle command names with dashes. ([#​104](https://togithub.com/ajalt/clikt/issues/104)) - Arguments with `=` in them could be incorrectly interpreted as options ([#​106](https://togithub.com/ajalt/clikt/issues/106))

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.



This PR has been generated by Mend Renovate. View repository job log here.

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.