diff --git a/CHANGELOG.md b/CHANGELOG.md index cc257ff69..b2f73b4ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,13 @@ # Changelog ## [Unreleased] + +## [2.6.0] - 2020-03-15 ### 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, and other formats can be added easily. +- 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](docs/commands.md#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. +- 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 diff --git a/README.md b/README.md index cea9981d7..576547f48 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Clikt is distributed through [Maven Central](https://search.maven.org/artifact/c ```groovy dependencies { - implementation("com.github.ajalt:clikt:2.5.0") + implementation("com.github.ajalt:clikt:2.6.0") } ``` diff --git a/gradle.properties b/gradle.properties index d4b89268d..05252435b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=2.5.0 +VERSION_NAME=2.6.0 kotlin.native.ignoreDisabledTargets=true