Skip to content

Commit 2292b75

Browse files
committed
Release version 2.8.0
1 parent e5604b1 commit 2292b75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Changelog
22

33
## [Unreleased]
4+
5+
## [2.8.0] - 2020-06-19
46
### Added
57
- Added `error` parameter to `PrintMessage` and `PrintHelpMessage`. When `true`, `CliktCommand.main` will exit with status code 1. ([#187](https://github.com/ajalt/clikt/issues/187))
68

79
### Changed
810
- 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.
911
- `restrictTo` now works with any `Comparable` value, not just `Number`.
10-
- `CliktCommand.main` now accepts `Array<out String>`, not just `Array<String>`.
12+
- `CliktCommand.main` now accepts `Array<out String>`, not just `Array<String>`. ([#196](https://github.com/ajalt/clikt/issues/196))
1113

1214
### Fixed
1315
- Fixed option values being reset when calling multiple subcommands with `allowMultipleSubcommands=true` ([#190](https://github.com/ajalt/clikt/issues/190))

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=2.7.1
1+
VERSION_NAME=2.8.0
22

33
kotlin.native.ignoreDisabledTargets=true
44

0 commit comments

Comments
 (0)