Skip to main content

Drupal Console 1.6.0

Posted by jmolivas on Feb 14, 2018

Drupal Console 1.6.0 is out. The newest release contains bug fixes one new command added to generate site alias. Improved UI/UX when listing commands within a namespace, debugging site alias and chain commands. Twig support added to chains commands.

New Features

  • New command to generate site alias added.
  • Warning message background color changed from red to yellow. 
  • Drupal messages are now propagated as Drupal Console messages.
  • The symfony/thanks Composer plugin as added.
  • View extension annotation added to views command.
  • Twig support added to chains commands.

UI/UX improvements 

Listing commands within a namespace. (No need to use as before `drupal list NAMESPACE`) just enter the NAMESPACE you whant to list commands from.

namespace

Listing chains using `debug:chain` command

debug:chain

Listing site alias using `debug:site` command

debug:site

Required Changes

None

Commits

drupal-console

05812d0 [console] Tag 1.6.0 release. (#3782)
3f64cc1 Add form element for the status and make name field required (#3775)
b596bfe Replace invalid commands service with console container (#3759)
5306d69 [site:install] Load commands after site installation. (#3776)
2e7e1b3 Small bugfix for update:execute, removing extra unneeded parameter from runUpdates. (#3757)
7273643 [console] Add new option for generate ajax commmand. (#3755)
dfbca67 [site:install] Fix dbHostQuestion ask null. (#3754)
b386af7 [license] Update version GPL-2.0+ is deprecated. (#3752)
85766ba "[console] Pass DrupalFinder to DrupalConsoleCore." (#3751)
76f005b [console] Show message only on list command. (#3750)
a8a6aa1 3729 role improvements (#3745)
dcc986f [locale:language:add] Add multiple languages as arguments (#3738)
4573260 A new format output for adding new fields (#3747)
0b6f4c4 (origin/master, origin/HEAD, drupal/master) Adding ArrayInput trait. Add spaces for contantination. Fix the bug with missing default_code (#3743)
281b4e8 Fix parameter class. (#3742)
f68bcf9 [generate:module] Fix parameter name. (#3741)
7d827bd [console] Add DrupalFinder as service. (#3740)
e98a6f7 [generate:help] Fix duplicated use statement. (#3739)
40ec43d Implementation of GeneratorInterface (#3737)
4b480ce [generate] Implement GeneratorInterface fixes. (#3735)
52c9638 3515 form trait input multi values (#3734)
bac0de0 [theme] Refactor theme commands. Fix #3696 (#3703)
0ee42c6 [console] Apply PSR-2 code style. (#3732)
e203274 Implementation of generator interface (#3731)
b0a14a8 Replace default value and update handling of Enter input from the user (#3730)
c1c7deb [generate:command] Replace null with empty string as default value on choiceNoList. (#3728)
6523926 Add symfony/thanks Composer plugin (#3727)
f24306f [user:create] Remove email default value. (#3726)
b48099c [console] Remove un-usued createGenerator legacy method. (#3725)
82df098 [user:create] Set email default as empty string. (#3723)
fe34f5f [user:create] Remove email default null value. (#3724)
46c6303 Add support of multiple values for breakpoints option, when we use inline options (#3713)
7f8a6eb [generate:controller] Add default value. Fix #3719. (#3722)
0fb1b34 [console] Remove useless traits and death code. Fix #3716 (#3717)
c9d2e62 [generate:ajax:command] Update Generator to implement GeneratorInterface. (#3721)
edd12a9 [generate:command] Add generator option. (#3720)
723d580 Add new trait ArrayInputTrait, which will parse nested data. Switch muti value options to array to handle them properly, when receive params through the options (#3712)
ca88d11 Fix cs for AuthenticationProviderCommand (#3709)
d9cce58 Fix cs for AjaxCommand (#3708)
c3a8b53 [generate:ajax:command] Change command extend Command not ContainerAwareCommand. (#3706)
80cde77 [generate:command] Add initialize option. (#3704)
cfd8ad6 Remove unused variables (#3702)
dea5fee [console] Remove unused vars in feature trait. Fix #3686. (#3692)
5fa51d1 Fix translation for generate ajax command. (#3690)
02acda8 Remove Drupal core code drupal_set_message in theme install and uninstall commands. Fix the message for theme install command when dependencies are not met (#3697)
4a8746c [generate:module] Fix issues with .info template. (#3689)
dd25b2a Add extension annotation to views command. (#3688)
2bf3d00 [console] Replace DrupalStyle object usage. Fix #3685 (#3691)

drupal-console-core

f998ed7 [console] Rename method getDrupalMessages to addDrupalMessages. (#316)
6abeb9e [console] Propagate Drupal messages to Drupal Console (#307)
d9b655d [console] Remove extra directory separators. (#315)
094c050 [console] Return empty array if no config directories found. (#314)
cce0dbe [console] Validate file exists when phar is running. (#313)
483b8c6 [generate:site:alias] Validate no sites found. (#312)
63b8424 [debug:sites] Change invalid sites error as warning message. (#311)
97b9a31 [debug:chain] Add warning message when no chain files found. (#310)
6862cba [console] Pass default value when calling invalid_commands. (#309)
4c7962a Replace direct access to sites with getSites (#305)
4d59986 Add Console container class replace call of invalid commands (#304)
7bbdebd [console] Relocate command registration to loadCommands method. (#308)
a80391b (tag: 1.6.0) [console] Tag 1.6.0 release. (#303)
d7bd067 [console] Add DrupalFinder as constructor argument. (#302)
b018bdf [license] Update version GPL-2.0+ is deprecated. (#301)
a299179 [chain] Update example chain command name. (#300)
7c27d70 [console] Rollback Generator implement interface. (#299)
8abd821 Generator interface implementation (#294)
d4f12a4 [console] Add showBy to messageManager. (#298)
3b4d66f [chain] Improve chain discovery strategy. (#297)
a75d712 [console] Change warning message background color. (#238)
cae7eed [list] Remove messages when format is not txt. (#296)
fe4ea26 Remove aliases crr and mod (#295)
62164ee [console] Remove use operators. (#293)
51ddcb2 [console] Add validator parameter to askEmpty method. (#292)
413fd78 [generate:site:alias] Use correct template path. (#291)
230f94a [console] Add docblock to generate method. (#290)
8c0ded0 Replace DrupalStyle object with getIo (#285)
54b28d8 [generate:site:alias] Add new command. (#282)
0c4e7f6 [console] Add drush mappings and aliases (#281)
72833b3 [help] Improve options display. (#280)
07a5aa8 [chain] Add support to parse twig. (#279)

drupal-console-en

5f072c7 [debug:chain] Add no-files translation. (#174)
db5372d Add question mark for questions (#152)
8532f0f Fixed syntax found in error message (#171)
34cc14f [console] Fix debug namespace references. (#170)
cbe2cd0 [console] Update generic generated lines message. (#169)
3236088 Fix placeholders quotes (#167)
57dbd26 (translation-fixes) Update translations for generate ajax command. (#166)
ed009cc Wrap %s with double quotes (#164)
b918d3e [site] Update language keys. (#165)
3e4673e [license] Update version GPL-2.0+ is deprecated. (#163)
a4f3009 [chain] Update legacy message translations. (#162)
7188a3a [chain] Add legacy message translations. (#161)
62bb837 Generate theme update examples (#157)
8b1fb83 Update: show proper messages when we have multiple or one language (#158)
8f2d46b Generic confirmation (#159)
3bf92a5 New format for adding fields (#160)
f5f36ae [generate:command] Add translations for new generator option. (#156)
97fba81 [generate:site:alias] Add translations for command. (#155)
c5aebe3 Add translations for commands.generate.command.options.initialize, commands.generate.command.questions.initialize (#154)
be82842 Remove already, because the phrase not already sounds wierd (#153)
ae47930 Fix translation for no-depencies string in module.dependency.install.yml file (#151)

drupal-console-launcher

3f4d7cc [console] Tag 1.6.0 release. (#154)
1ba1aa9 [console] Rename exitcode as exitCode. (#153)
79c1c69 [console] Use dirname to obtain path. (#152)
6400284 Propagate the local launcher's exitcode, for proper error handling. (#151)
c4f65a8 [console] Pass DrupalFinder to DrupalConsoleCore. (#150)
9da9dc7 [license] Update version GPL-2.0+ is deprecated. (#149)

Update Drupal Console

Related Articles

Jan 19, 2018

Drupal Console 1.5.0
By Jesus Manuel Olivas

Jan 08, 2018

Drupal Console 1.4.0
By Jesus Manuel Olivas

Jul 11, 2017

Drupal Console Hits 1 Million Download...
By Michael Kinyanjui