- 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 environement.
- New helper method for custom completion display.
- Expand test suite; formatting cleanup.
- Fix issue related to using argcomplete in a REPL environement. Thanks to @wapiflapi (pull request #91).
- Fix multiple issues related to using argcomplete in a REPL environement. 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).