Skip to content

Releases: stecman/symfony-console-completion

0.7.0: Support completing array type arguments multiple times

24 Feb 05:14
Compare
Choose a tag to compare
  • Support completing array arguments multiple times (#66)
  • Fixes single letters completing incorrectly in some cases (#65)

0.6.2: Allow use with Symfony Console 3.x

12 Dec 12:26
Compare
Choose a tag to compare
Merge pull request #64 from GawainLynch/symfony-3

Optionally allow Symfony 3

0.6.1: compatibility fixes for specific environments

29 Oct 20:25
Compare
Choose a tag to compare
  • Fixes completion broken under BASH on Centos 6.x (#57)
  • Fixes BASH mail check messages being written during completion with some combinations of BASH ≈3.2 and bash-completion ≈1.3 (#59)
  • Adds error message for BASH when registering completion without the bash-completion package (#58)

0.6.0: minor features and fixes

30 Aug 15:45
Compare
Choose a tag to compare
  • Sanitise program name when using in shell function name
  • Auto-complete arguments of built-in "help" and "list" commands
  • Allow _completion command to auto-complete it's arguments or their values
  • Support generation of hook that runs _completion command against the program being completed for at the shell function's runtime (--multiple)

0.5.1: Support command argument/option completion, when command short form is used

07 May 12:45
Compare
Choose a tag to compare

This release fixes the completion handler to honour Symfony Console's default handling of unambiguous namespaced command abbreviations. The following are now equivalent (previously only the first would return results):

program deploy:run TAB
program d:r TAB
program de:r TAB
program d:ru TAB

Completions of command names that are not "namespaced" using colons are not affected by this change.

Thanks to @aik099 for this.

0.5.0: CompletionAwareInterface

01 Feb 01:00
Compare
Choose a tag to compare

This release adds the ability to make a command responsible for its own completions with CompletionAwareInterface, thanks to @aik099.

0.4.4: add deferring path completion to the shell

18 Nov 04:16
Compare
Choose a tag to compare

This release adds ShellPathCompletion - a class with a similar signature to Completion that exits and triggers the calling shell's built-in path completion functionality when run.

The new functionality in this version depends on an update to shell hooks, so you'll need to re-initialise any hook after upgrading to this version. Existing hooks will continue to work correctly except with the deferred path completion.

0.4.3: Use stable dependencies

14 Nov 18:55
Compare
Choose a tag to compare

The minimum-stability setting in composer.json was previously set to "dev". The option has been removed from the file so that the default "stable" setting is used.

Bug fix: fix --generate-hook option broken in 0.4.1

10 Nov 19:54
Compare
Choose a tag to compare

This release is a re-fix of #6 thanks to @pjcdawkins as the fix released in 0.4.1 didn't function correctly. This fix reintroduces the shell selection option from 0.4.0 as --shell-type, which doesn't conflict with the Symfony framework application.

Compatibility fix: rename --shell option for compatibility with the console in Symfony Framework

21 Oct 17:50
Compare
Choose a tag to compare

User interface BC break from 0.4.0: The --shell option introduced yesterday in 0.4.0 has been removed in favour of an argument to the existing --generate-hook option. This was required as the default console application in Symfony Framework has a global --shell option which conflicts with the one in this command, causing a logic exception. Forcing a shell type is now done as follows:

$ myprogram _completion --generate-hook zsh