Skip to content

Commit fa2e48c

Browse files
committed
Release version 5.1.0
1 parent 8b8d90a commit fa2e48c

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-latest
10+
runs-on: macos-latest
1111
if: ${{ github.repository == 'ajalt/clikt' }}
1212
steps:
1313
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
## Unreleased
44

5+
## 5.1.0
6+
### Added
7+
- Added parameter name to help output for ValueSource values. ([#631](https://github.com/ajalt/clikt/pull/631))
8+
- Added `inputEvents` parameter to `CliktCommand.test` overloads for simulating terminal input. ([#630](https://github.com/ajalt/clikt/pull/630))
9+
- Added `defaultLazy` to mutually exclusive options. ([#616](https://github.com/ajalt/clikt/pull/616))
10+
- Added overloads for `choice()` that accept a `List` of choices. ([#596](https://github.com/ajalt/clikt/pull/596))
11+
12+
### Changed
13+
- `prompt()` options will report a missing option instead of prompting when the terminal is not interactive. You can pass `inputInteractive = true` to `CliktCommand.test` to test `prompt()`. ([#622](https://github.com/ajalt/clikt/pull/622))
14+
- `SuspendingNoOpCliktCommand` is now `open` to match `NoOpCliktCommand`. ([#613](https://github.com/ajalt/clikt/pull/613))
15+
- Improved error messages for invalid `uint()` and `ulong()` option values. ([#624](https://github.com/ajalt/clikt/pull/624))
16+
- Update Kotlin to 2.3.0
17+
18+
### Fixed
19+
- Fixed adjacent quoted tokens not being concatenated in argument files. ([#632](https://github.com/ajalt/clikt/pull/632))
20+
- Fixed subcommand localization inheritance. ([#588](https://github.com/ajalt/clikt/pull/588))
21+
522
## 5.0.3
623
### Fixed
724
- Fixed `@argfiles` not being expanded when specified after a subcommand ([#570](https://github.com/ajalt/clikt/pull/570))

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Clikt is distributed through [Maven Central](https://search.maven.org/artifact/c
6060

6161
```kotlin
6262
dependencies {
63-
implementation("com.github.ajalt.clikt:clikt:5.0.3")
63+
implementation("com.github.ajalt.clikt:clikt:5.1.0")
6464

6565
// optional support for rendering markdown in help messages
66-
implementation("com.github.ajalt.clikt:clikt-markdown:5.0.3")
66+
implementation("com.github.ajalt.clikt:clikt-markdown:5.1.0")
6767
}
6868
```
6969

@@ -83,16 +83,16 @@ newer.
8383

8484
<details>
8585
<summary>Snapshot builds are also available</summary>
86-
87-
<a href="https://oss.sonatype.org/content/repositories/snapshots/com/github/ajalt/clikt/clikt/"><img src="https://img.shields.io/nexus/s/com.github.ajalt.clikt/clikt?color=blue&label=latest%20shapshot&server=https%3A%2F%2Foss.sonatype.org"/></a>
88-
86+
87+
[Sonatype has instructions for consuming snapshots](https://central.sonatype.org/publish/publish-portal-snapshots/#consuming-snapshot-releases-for-your-project)
88+
8989
<p>
90-
You'll need to add the Sonatype snapshots repository:
91-
90+
You'll need to add the Central Portal snapshots repository:
91+
9292
```kotlin
9393
repositories {
9494
maven {
95-
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
95+
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
9696
}
9797
}
9898
```

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=5.0.3
1+
VERSION_NAME=5.1.0
22
# Silence the compile warning that MPP is experimental
33
kotlin.mpp.stability.nowarn=true
44
# Enable Dokka V2 mode

0 commit comments

Comments
 (0)