Expand tilde in zsh
- Allow explicit zsh global completion activation (#467)
- Fix and test global completion in zsh (#463, #466)
- Add –yes option to activate-global-python-argcomplete (#461)
- Test suite improvements
- Respect user choice in activate-global-python-argcomplete
- Escape colon in zsh completions. Fixes #456
- Call _default as a fallback in zsh global completion
- Use homebrew prefix by default
- zsh: Allow to use external script (#453)
- Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
- Use homebrew prefix by default
- zsh: Allow to use external script (#453)
- Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
- Ensure Python 3.12+ compatibility in check_console_script (#448)
- Search through asdf shims
- Use ` as escape character in PowerShell (#434)
- setup.py -> pyproject.toml migration start (#427)
- Improve user install logic in activate-global-python-argcomplete (#437)
- Ensure Python 3.7 compatibility in check_console_script (#436)
- ZSH implementation fixes (#431, #433)
- Documentation improvements
- Test suite shell wrapper: Accept OSError on exit
- Test suite: Use general regex to cut zsh reset ANSI sequences (#425)
- Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420, #424)
- Note completers can return iterables of strings, not just lists (#422)
- Documentation and test improvements
- Call _default as fallback in zsh global completion hook
- Begin support for mapping-emitting completers
- activate-global-python-argcomplete: do not overwrite existing dotfile in user directory
- Add NOTICE file
- Establish long term name for split_line as argcomplete.lexers.split_line
- Re-add split_line to API (#419)
Fix zsh default completion issues
- Fix zsh autoload issues
- Fully support zsh. Argcomplete now supports completion descriptions and global completion in zsh.
- Clean up top level namespace.
- Documentation and test improvements.
- Test infrastructure improvements
- Indicate that there is no support commitment for fish and tcsh shells
- Documentation and test improvements
- Remove scripts for contrib-supported shells from global namespace
- setup.py: exclude test.* subpackages from find_packages (#406)
- Support PowerShell (#405)
- CI updates
- Revert “Support powershell (#392)”
- Fix interrupted release (v2.0.1)
- Fix interrupted release (v2.0.1)
- Fix interrupted release (v2.0.1)
- Support powershell (#392)
- Update importlib-metadata dependency to include versions 5.x (#389)
- Test and documentation improvements
- Truncate input after cursor. Fixes #351 (#352)
- Support of path completion in fish #327 (#359)
- Drop support for Python 2.7 and 3.5 (#361)
- Add support for Python 3.10 (#356)
- Test, documentation, and release infrastructure improvements
- Update importlib-metadata version pin (#345)
- Display script debug output in tcsh (#342)
- Fish support improvements (#338, #339)
- Print
warn()
message from beginning of line (#335) - Test infrastructure improvements
- Update importlib-metadata dependency pin (#332)
- Add change log project URL (#312)
- Replace Travis CI with GitHub Actions (#323)
- Update importlib-metadata dependency version range
- Bash nounset mode fixes (#313)
- Add -o bashdefault to register-python-argcomplete’s output command (#284)
- Use shell builtins where possible (#280)
- Switch from pkg_resources to importlib (#283)
- Remove .sh extension by bash-completion convention (#281)
- Catch exceptions in _check_module (#269)
- Documentation and test improvements
- Do not suggest options after – (end-of-options delimiter)
- Include all test directory contents in source distribution
- Trigger completers on –optional=PARTIAL_VALUE
- Complete console scripts installed from wheels (#241)
- Fish support #68 (#260), thanks to @volkov
- check_module: Don’t crash, exit with error instead (#261)
- Register completion for multiple commands (#246)
- Use the correct interpreter when checking wrappers (#226)
- Provide shellcode as a module function (#237)
- Fix handling of COMP_POINT (#236)
- Fix crash when writing unicode to debug_stream in Python 2 (#230)
- Fix release
- Fix release
- Add SuppressCompleter to skip completion for specific arguments while allowing help text (#224)
- Redirect all output to debug stream in debug mode (#206)
- Complete python -m module (#204)
- Fix bug introduced in v0.7.1 where completers would not receive the parser keyword argument.
- Documentation improvements.
- Fix completion after tokens with wordbreak chars (#197)
This release contains work by @evanunderscore with numerous improvements to the handling of special characters in completions.
- Simplify nospace handling in global completion (#195)
- Specially handle all characters in COMP_WORDBREAKS (#187)
- Use setuptools tests-require directive, fixes #186
- Complete files using the specified interpreter (#192)
- Fix completion for scripts run via python (#191)
- Clarify argument to register-python-argcomplete (#190)
- Fix handling of commas and other special chars (#172); handle more special characters (#189)
- Fix handling of special characters in tcsh (#188)
- Update my_shlex to Python 3.6 version (#184)
- Fix additional trailing space in exact matches (#183)
- Adjust tests to handle development environments (#180)
- Fix tcsh tests on OSX (#177); Update bash on OSX (#176); Check output of test setup command (#179)
- Optionally disable duplicated flags (#143)
- Add default_completer option to CompletionFinder.call (#167)
- Let bash add or suppress trailing space (#159)
- Restore parser to its original state to allow reuse after completion (#150).
- Expose COMP_TYPE environment variable (#157). Thanks to Matt Clay (@mattclay).
- Test infrastructure and documentation improvements.
- Add support for tcsh (#155)
- Fix handling of unquoted completions containing $ (#154)
- Don't insert unnecessary leading quote char in completions (#152)
- Fix parser reuse with positional arguments (#149)
- Tests: Add simple pexpect tests for bash (#153); Add test case to verify #20 is fixed (#148)
- Thanks to @davvid and @evanunderscore for their work on this release.
- Packaging fix
- Do not suggest options from mutually exclusive groups (#145).
- activate-global-python-argcomplete runs on Homebrew out of the box
- Correctly handle suggestions for positionals with variable-length nargs. Thanks to @evanunderscore (#132, #133).
- Correctly handle suggestions with custom nargs for optionals. Thanks to @evanunderscore (#131).
- Fix propagation of partially parsed subparser namespace into parent parser namespace upon subparser failure due to partial args. This allows completers to access partial parse results for subparser optionals in parsed_args (#114).
- The default completer can now be specified when manually instantiating CompletionFinder. Thanks to @avylove (#130).
- Use FilesCompleter as default completer fallback (#120).
- Recognize subclasses of argparse._SubParsersAction. Thanks to Stephen Koo (#118).
- Support parsed_args in custom completers with missing args. Thanks to Dan Kilman (#124).
- Non-ASCII support in FilesCompleter.
- Automatically enable FilesCompleter for argparse.FileType arguments.
- Don't print args with suppressed help by default; add
argcomplete.autocomplete(print_suppressed=True)
to control this behavior (#113).
- Fix always_complete_options=False support (#115).
- Correct doc filename in setup.cfg (fixes bdist_rpm failure, Issue 111).
- Make context managers exception-safe. Thanks to Mikołaj Siedlarek (pull request #110).
- Build and upload universal wheel packages in release.
- Fix issue with non-string choices for arguments. Thanks to @neizod (pull request #107).
- Improve non-ascii argparse argument support on Python 2.7.
- register-python-argcomplete: add option to avoid default readline completion. Thanks to @drmalex07 (pull request #99).
- Expand tilde in script name, allowing argcomplete to work when invoking scripts from one's home directory. Thanks to @VorpalBlade (Issue 104).
- Fix issues related to using argcomplete in a REPL environment.
- New helper method for custom completion display.
- Expand test suite; formatting cleanup.
- Fix issue related to using argcomplete in a REPL environment. Thanks to @wapiflapi (pull request #91).
- Fix multiple issues related to using argcomplete in a REPL environment. Thanks to @wapiflapi (pull request #90).
- Don't strip colon prefix in completion results if COMP_WORDBREAKS does not contain a colon. Thanks to @berezv (pull request #88).
- Use complete --nospace to avoid issues with directory completion.
- Refactor main body of code into a class to enable subclassing and overriding of functionality (Issue #78).
- New keyword option "argcomplete.autocomplete(validator=...)" to supply a custom validator or bypass default validation. Thanks to @thijsdezoete (Issue #77).
- Document debug options.
- New keyword option "argcomplete.autocomplete(exclude=[...])" to suppress options (Issue #74).
- More speedups to code path for global completion hook negative result.
- Fix handling of development mode script wrappers. Thanks to @jmlopez-rod and @dcosson (Issue #69).
- Speed up code path for global completion hook negative result by loading pkg_resources on demand.
- Begin tracking changes in changelog.
- Add completion support for PBR installed scripts (PR #71).
- Detect easy-install shims with shebang lines that contain Py instead of py (Issue #69).