Skip to content

Commit

Permalink
Release version 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jun 20, 2020
1 parent e5604b1 commit 2292b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Changelog

## [Unreleased]

## [2.8.0] - 2020-06-19
### Added
- 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))

### 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<out String>`, not just `Array<String>`.
- `CliktCommand.main` now accepts `Array<out String>`, not just `Array<String>`. ([#196](https://github.com/ajalt/clikt/issues/196))

### Fixed
- Fixed option values being reset when calling multiple subcommands with `allowMultipleSubcommands=true` ([#190](https://github.com/ajalt/clikt/issues/190))
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.7.1
VERSION_NAME=2.8.0

kotlin.native.ignoreDisabledTargets=true

Expand Down

0 comments on commit 2292b75

Please sign in to comment.