Skip to content

Commit

Permalink
Bump release to 2.1.0
Browse files Browse the repository at this point in the history
Added:

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

Fixed:

- Watson is now compatible with Click 8+
  • Loading branch information
jmaupetit committed May 16, 2022
1 parent b2068f6 commit b820093
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.1.0] - 2022-05-16

### Added

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

### Fixed

- Watson is now compatible with Click 8+

## [2.0.1] - 2021-05-10

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

First stable public release 🎉

[unreleased]: https://github.com/tailordev/watson/compare/2.0.1...HEAD
[unreleased]: https://github.com/tailordev/watson/compare/2.1.0...HEAD
[2.1.0]: https://github.com/tailordev/watson/compare/2.0.1...2.1.0
[2.0.1]: https://github.com/tailordev/watson/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/tailordev/watson/compare/1.10.0...2.0.0
[1.10.0]: https://github.com/tailordev/watson/compare/1.9.0...1.10.0
Expand Down
11 changes: 11 additions & 0 deletions docs/about/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.0] - 2022-05-16

### Added

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

### Fixed

- Watson is now compatible with Click 8+

## [2.0.1] - 2021-05-10

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

First stable public release 🎉

[2.1.0]: https://github.com/tailordev/watson/compare/2.0.1...2.1.0
[2.0.1]: https://github.com/tailordev/watson/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/tailordev/watson/compare/1.10.0...2.0.0
[1.10.0]: https://github.com/tailordev/watson/compare/1.9.0...1.10.0
Expand Down
9 changes: 6 additions & 3 deletions watson.zsh-completion
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#compdef watson

_watson_completion() {
local -a completions
local -a completions_with_descriptions
local -a response
(( ! $+commands[watson] )) && return 1

response=("${(@f)$( env COMP_WORDS="${words[*]}" \
COMP_CWORD=$((CURRENT-1)) \
_WATSON_COMPLETE="complete_zsh" \
Expand All @@ -17,13 +20,13 @@ _watson_completion() {
done

if [ -n "$completions_with_descriptions" ]; then
_describe -V unsorted completions_with_descriptions -U -Q
_describe -V unsorted completions_with_descriptions -U
fi

if [ -n "$completions" ]; then
compadd -U -V unsorted -Q -a completions
compadd -U -V unsorted -a completions
fi
compstate[insert]="automenu"
}

_watson_completion
compdef _watson_completion watson;
2 changes: 1 addition & 1 deletion watson/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "2.0.1"
version = "2.1.0"

0 comments on commit b820093

Please sign in to comment.