Skip to content

Releases: adaszko/complgen

v0.7.3

31 Jan 13:33
v0.7.3
e16f5cd

Choose a tag to compare

Fixed

  • Fixed bug in completing <PATH>...
  • Bash completion latency optimizations
  • Fixed bug in completing duplicated literals under fish
  • Fixed a bug with completing literals where one is a prefix of another

v0.7.2

28 Jan 18:00
v0.7.2
f9d6412

Choose a tag to compare

Fixed

  • Performance regression in DFA validation
  • Substantial reductions in bash completion latency

Changed

  • Removed external command calls from bash completion scripts for lower completion latency
  • Only populate subword regexes array with ones that are actually used (smaller scripts)

v0.7.1

21 Jan 10:13
v0.7.1
ca55ddb

Choose a tag to compare

Fixed

  • Fixed a bug in fish completion #70
  • bash <PATH>s completion wasn't handling mixing paths and options properly

v0.7.0

15 Jan 12:19
v0.7.0
7eb27a1

Choose a tag to compare

Added

  • PowerShell support (owing to @slang25!)

v0.6.1

11 Jan 11:46
v0.6.1
733721c

Choose a tag to compare

Removed

  • Unnecesary clashing subwords leaders detection

v0.6.0

30 Dec 09:20
v0.6.0
81d0fef

Choose a tag to compare

Fixed

  • Fixed multiple completion bugs in common cases such as --option=<PATH> or --option=<DIRECTORY>

Changed

  • Breaking: ZSH specialized commands should now use compadd instead of writing on stdout (problematic interaction with fallbacks has been resolved)

Added

  • Precise source location in warnings/errors
  • Specialization command now also support regexes
  • Added --regex option for writing generated regular expression into a .dot file for debugging
  • More precise ambiguity detector: Detect clashing subword leaders
  • Relax grammar: Final semicolon (;) isn't required anymore

Removed

  • Breaking: Removed --railroad option for diagrams generation due to limited utility
  • Breaking: Removed <PID>, <USER>, <GROUP>, <HOST>, <INTERFACE>, <PACKAGE> predefined nonterminals as they can be defined in the .usage file

v0.5.0

24 Aug 09:12
v0.5.0
1c01365

Choose a tag to compare

Fixed

  • Ambiguity detection now works on an earlier compilation phase for better error messages

v0.4.0

01 May 08:07
v0.4.0
b7a66ed

Choose a tag to compare

Changed

  • Breaking: Simplified CLI interface (there's no subcommands anymore; aot is now implicit)

Removed

  • Breaking: JIT mode has been removed (its functioning changed over time, rendering it largely redundant)

Added

  • Nontail-position commands
  • Descriptions under fish and zsh are now deduplicated

Fixed

  • Breaking: Tail commands detection is more precise now, resulting in more rejected grammars (that would have previously been silently ambiguous)
  • Breaking: Two adjacent literals used in subword context are now rejected as an error as this may lead to surprising behavior (#63)
  • Bash: Bug in prefix{{{ shell command }}} case

v0.3.0

19 Dec 21:02
v0.3.0
cc6d17e

Choose a tag to compare

Added

  • Fish,AOT: Implemented fallbacks
  • Fish,JIT: Implemented fallbacks

Fixed

  • Fish,JIT: Descriptions were wrongly being made part of the completion
  • Bash: Respect completion-ignore-case readline setting

v0.2.0

06 Jul 08:47
v0.2.0
cacb397

Choose a tag to compare

Changed

  • Breaking: {{{ ... }}} commands and many predefined nonterminals (e.g. <PATH>, etc) are now allowed
    in fewer places to keep grammars unambiguous. It statically safeguards against some bugs in completion
    scripts.
  • Breaking: Releases aren't published via Homebrew anymore -- use cargo install.
  • Breaking: JIT completion now emits shell scripts (as opposed to plain strings) in all shells. Integration scripts need to be adjusted accordingly. Details in README.md.

Fixed

  • Autoloading of ZSH completion scripts works now (#38)

Added

  • Fallback completions. It's only implemented in JIT mode for now. See README for details.