Skip to content

Releases: posener/complete

Switch to Go 1.20 errors package

19 Jul 18:29
d752070
Compare
Choose a tag to compare
Merge pull request #152 from sethvargo/sethvargo/deps

Switch to Go 1.20 errors package

v2.0.1-alpha.13: fix crash when COMP_POINT is greater than COMP_LINE size (#128)

17 Nov 16:08
246bd25
Compare
Choose a tag to compare
Some shells (inexplicably) occasionally have a COMP_POINT that is greater than the COMP_LINE size. When that happens completion should be based on length of the COMP_LINE to avoid an out of bounds error.

See the original hack fix here: https://github.com/chriswalz/bit/blob/master/cmd/bitcomplete.go on line 39

Update module import path to v2

17 Nov 23:26
Compare
Choose a tag to compare
Pre-release
  • Move install pacakge back to module root
  • Use script library for installtion

Complete v2

17 Nov 23:12
a7d83cc
Compare
Choose a tag to compare
Complete v2 Pre-release
Pre-release

This is a major change in the package.
I saw that major clients are using go modules, so for them this transition should be transparent.
This change provides:

  • Improved completion logic, from completion order to treating quotes and spaces.
  • Expose the Completer interface, which enables any CLI library to use this completion implementation.
  • Simplify and improve library API.
  • Add automatic flag bash completion for the standard library flag package.
  • Add ./compflag pacakge, which provides standard library flags with bash completion enables.

v1.2.3: Merge pull request #103 from posener/gocomplete-mod

17 Nov 23:04
05b68ff
Compare
Choose a tag to compare

Fix complete error

23 Oct 20:03
98a0c28
Compare
Choose a tag to compare
Merge pull request #102 from posener/sub-cmd-bug

Fix off-by-one error for argument from method

v1.2.1: Merge pull request #75 from posener/fix-slice-bug

26 Oct 10:50
3ef9b31
Compare
Choose a tag to compare
Protect line slicing from index out of range

Add support for COMP_POINT

19 Oct 17:38
ffc2cf5
Compare
Choose a tag to compare
Merge pull request #73 from posener/point

Add support for CMP_POINT

v1.1.2

25 Aug 16:18
dcda319
Compare
Choose a tag to compare
Merge pull request #65 from AdamSLevy/patch-1

Clarify description of "-y" option

Fix file creation when directory does not exists

09 Mar 06:25
98eb984
Compare
Choose a tag to compare
Merge pull request #60 from posener/fix-59

install: create file directory before file is created