Skip to content

Commit b820093

Browse files
committed
Bump release to 2.1.0
Added: - The restart command now accepts the `--gap/--no-gap` options. Fixed: - Watson is now compatible with Click 8+
1 parent b2068f6 commit b820093

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.1.0] - 2022-05-16
11+
1012
### Added
1113

1214
- The restart command now accepts the `--gap/--no-gap` options.
1315

16+
### Fixed
17+
18+
- Watson is now compatible with Click 8+
19+
1420
## [2.0.1] - 2021-05-10
1521

1622
### Fixed
@@ -283,7 +289,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
283289

284290
First stable public release 🎉
285291

286-
[unreleased]: https://github.com/tailordev/watson/compare/2.0.1...HEAD
292+
[unreleased]: https://github.com/tailordev/watson/compare/2.1.0...HEAD
293+
[2.1.0]: https://github.com/tailordev/watson/compare/2.0.1...2.1.0
287294
[2.0.1]: https://github.com/tailordev/watson/compare/2.0.0...2.0.1
288295
[2.0.0]: https://github.com/tailordev/watson/compare/1.10.0...2.0.0
289296
[1.10.0]: https://github.com/tailordev/watson/compare/1.9.0...1.10.0

docs/about/release-notes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0] - 2022-05-16
9+
10+
### Added
11+
12+
- The restart command now accepts the `--gap/--no-gap` options.
13+
14+
### Fixed
15+
16+
- Watson is now compatible with Click 8+
17+
818
## [2.0.1] - 2021-05-10
919

1020
### Fixed
@@ -276,6 +286,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
276286

277287
First stable public release 🎉
278288

289+
[2.1.0]: https://github.com/tailordev/watson/compare/2.0.1...2.1.0
279290
[2.0.1]: https://github.com/tailordev/watson/compare/2.0.0...2.0.1
280291
[2.0.0]: https://github.com/tailordev/watson/compare/1.10.0...2.0.0
281292
[1.10.0]: https://github.com/tailordev/watson/compare/1.9.0...1.10.0

watson.zsh-completion

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#compdef watson
2+
23
_watson_completion() {
34
local -a completions
45
local -a completions_with_descriptions
56
local -a response
7+
(( ! $+commands[watson] )) && return 1
8+
69
response=("${(@f)$( env COMP_WORDS="${words[*]}" \
710
COMP_CWORD=$((CURRENT-1)) \
811
_WATSON_COMPLETE="complete_zsh" \
@@ -17,13 +20,13 @@ _watson_completion() {
1720
done
1821

1922
if [ -n "$completions_with_descriptions" ]; then
20-
_describe -V unsorted completions_with_descriptions -U -Q
23+
_describe -V unsorted completions_with_descriptions -U
2124
fi
2225

2326
if [ -n "$completions" ]; then
24-
compadd -U -V unsorted -Q -a completions
27+
compadd -U -V unsorted -a completions
2528
fi
2629
compstate[insert]="automenu"
2730
}
2831

29-
_watson_completion
32+
compdef _watson_completion watson;

watson/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "2.0.1"
1+
version = "2.1.0"

0 commit comments

Comments
 (0)