Skip to content

Commit 2bed338

Browse files
committed
Release version 2.7.0
1 parent 8e3582f commit 2bed338

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4+
5+
## [2.7.0] - 2020-05-13
46
### Added
57
- Ability to use custom program exit status codes via `ProgramResult`.
68
- `inputStream` and `outputStream` conversions for options and arguments. ([#157](https://github.com/ajalt/clikt/issues/157) and [#159](https://github.com/ajalt/clikt/issues/159))
@@ -25,10 +27,12 @@
2527
### Changed
2628
- Update Kotlin to 1.3.70
2729
- `convert` can be called more than once on the same option or argument, including after calls to conversion functions like `int` and `file`.
28-
- `wrapValue` is now deprecated, since `convert` can be used in its place instead.
2930
- `CliktCommand.toString` now includes the class name
3031
- 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()`
3132

33+
### Deprecated
34+
- `wrapValue` is now deprecated, since `convert` can be used in its place instead.
35+
3236
## [2.5.0] - 2020-02-22
3337
### Added
3438
- Clikt is now available as a Kotlin Multiplatform Project, supporting JVM, NodeJS, and native Windows, Linux, and macOS.
@@ -38,10 +42,12 @@
3842
- `CliktCommand.eagerOption` to simplify creating custom eager options
3943

4044
### Changed
41-
- `NoRunCliktCommand` was renamed to `NoOpCliktCommand`. The existing class is deprecated. ([#130](https://github.com/ajalt/clikt/issues/130))
42-
- The `CliktCommand.context` property has been deprecated in favor of the new name, `currentContext`, to avoid confusion with the `CliktCommand.context{}` method.
4345
- 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.
4446

47+
### Deprecated
48+
- The `CliktCommand.context` property has been deprecated in favor of the new name, `currentContext`, to avoid confusion with the `CliktCommand.context{}` method.
49+
- `NoRunCliktCommand` was renamed to `NoOpCliktCommand`. The existing class is deprecated. ([#130](https://github.com/ajalt/clikt/issues/130))
50+
4551
### Fixed
4652
- `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://github.com/ajalt/clikt/issues/79))
4753

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Clikt is distributed through [Maven Central](https://search.maven.org/artifact/c
7878

7979
```groovy
8080
dependencies {
81-
implementation("com.github.ajalt:clikt:2.6.0")
81+
implementation("com.github.ajalt:clikt:2.7.0")
8282
}
8383
```
8484

gradle.properties

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

33
kotlin.native.ignoreDisabledTargets=true
44

0 commit comments

Comments
 (0)