Skip to content

Releases: hechoendrupal/drupal-console

v0.9.8

24 Nov 02:36
Compare
Choose a tag to compare

[ADDED]

  • [database:dump] Add command #1228
  • [database:restore] Add command #1229
  • [console] Add autowire commands #1244
  • [locale:language:add] New Command #1248
  • [docs] Add licence file and badge for it #1259
  • [generate:routesubscriber] Add new command #1274
  • [theme:debug] New command #1314

[FIXED]

  • [Yaml:Diff] Fixed logic in --stats option #1212
  • [console] Fixed @file section for Cron namespaces Commands #1240
  • [console] Fixes for Insight #77 #1305
  • [console] Fixes for Insight #78 #1308
  • [console] Replaced deprecated classes in generated code Issue #1182 #1311
  • [generate:theme] fix missing curly braces #1317 |
  • [site:mode] Add fallback to site.mode.yml config file #1319
  • [helper] Validate databases configuration #1324
  • Add exit code for Application::doRun() #1325

[IMPROVED]

  • Coding standards and cleanup for theme.twig #1162
  • [travis] Adding site commands to use on travis #1184 (Remove drush dependencies)
  • [yaml:diff] Added option to return diff stats #1203
  • [site:install] sqlite support #1206
  • [console] Script sync translations files #1207
  • [console] Bash script to get translations stats and clean up #1211
  • [config:*] Commands improvements enhancement #1225
  • [database:*] Update resolveConnection method enhancement #1226
  • [site:status] Remove config section enhancement #1227
  • [helper] Add MESSAGE_DEFAULT #1230
  • [console] Updated script for translation and yaml:diff --stats #1231
  • [console] Move commands Site related to Site namespace #1235
  • [console] Move Cron commands related to Cron namespace #1236
  • [console] Move Locale commands related to Locale namespace #1237
  • [console] Define commands as develop only #1238
  • [console] Move Module commands related to Module namespace #1242
  • [console] Rest Module commands related to Rest namespace #1247
  • [console] Router Module commands related to Router namespace #1249
  • [console] Rename autowire namespace #1250
  • [console] Theme Module commands related to Theme namespace #1251
  • [console] Update commands related to Update namespace #1252
  • [console] User commands related to User namespace #1253
  • [console] Views commands related to Views namespace #1254, #1256
  • [console] Yaml commands related to Yaml namespace #1257
  • [console] Moved Generate commands related to Generate namespace part #1 #1258 |
  • [generate:doc:gitbook] Fix gitbook generation #1262
  • [console] Fix undefined variable: autoWireNameCommand #1263
  • [test:*] Relocate Test commands #1272
  • Moved Generate Plugin Field Command to Generate namespace #1276
  • Moved Generate Plugin Condition Command to Generate namespace #1277
  • Moved Generate Plugin Field Widget Command to Generate namespace #1278
  • Moved Generate Plugin Block Command to Generate namespace #1279
  • Moved Generate Plugin Image Effect Command to Generate namespace #1280
  • Moved Generate Permission Command to Generate namespace #1281
  • Moved Generate Plugin Image Formatter Command to Generate namespace #1282
  • Moved Generate Module Command to Generate namespace #1283
  • Moved Generate Plugin Rest Resource Command to Generate namespace #1284
  • Moved Generate Form Command to Generate namespace #1285
  • Moved Generate Plugin Rules Action Command to Generate namespace #1287
  • Moved Generate Plugin Type Annotation Command to Generate namespace #1289
  • Moved GenerateTheme Command to Generate namespace #1291
  • Moved Generate Plugin Views Field Command to Generate namespace #1293
  • Moved Generate Plugin Type Yaml Command to Generate namespace #1294
  • Moved Generate Form Alter Command to Generate namespace #1295
  • Moved Generate Event Subscriber Command to Generate namespace #1296
  • Moved Generate Controller Command to Generate namespace #1297
  • Moved Generate Entity Content Command to Generate namespace #1298
  • Moved Generate Entity Config Command to Generate namespace #1299
  • Moved Generate Entity Command to Generate namespace #1300
  • [locale] Added new command to delete a language and fixes for Locale Trait #1304
  • [site:mode] Do not disable Twig cache in dev mode #1310
  • [generate:plugin:block] New option theme-region to enable block issue #1097 #1312
  • [init] Improve dist files directory structure #1315
  • [site-mode] Add customizable configuration feature. #1316
  • [generate:plugin:block] Mark Test as Incomplete #1312 #1320
  • [generate:entity:*] Updated entity generator messages to match content and config entities. needs work #1321 #1323
  • [generate:form:config] Added option to include fieldset in form #1327
  • [site:install] Added support to use database provides in settings.php #1330
  • [console] Added script to determine pending string to translate among. #1331
  • [site:install] Included use namespace to reduce database call #1332

NOTES:

  • Current translation status:
    • Spanish: 93.4%
    • Romanian: 68.3%
    • Hindi: 62.30%
    • Hungarian: 36.3%
    • French: 27.5%
    • Rumanian: 15.6%
    • Portuguese: 14.6%
    • Chinese: 7.1%
    • Vietnamese: 4.6%

v0.9.7

10 Nov 22:50
Compare
Choose a tag to compare

[ADDED]

[generate:doc] Rename the current generate:doc and add a command for Dash #1159
[console] Add multisite support #1160
[multiste:debug] New command #1169

[FIXED]

Fixes the currently broken get of existing entity-langcode #1153
[helper] Fixed validate module dependencies #1157
[console] Enable a full cache rebuild in module:install and rest:enable commands #1163
Updating mentions of "lunch" to be "launch". #1174

[IMPROVED]

[migrate] Added namespace directory for Migrate commands #1145
[site:install] Enable usage of DatabaseTrait #1147
[config:] Update Config namespace #1150
[config:edit] Add interactive mode when no config-name entered. #1151
Update string translations for module:uninstall and module:download #1152
[translation] Hindi migrate.
, module.debug and module.download #1156
[database] Improved code to be PSR-2 complaint #1158
[translation] console translation for multi site option #1164
[translation] Russian about #1165
[console] Improve application translations options #1166
[translation] Russian cache:rebuild #1170
[translation] Russian application #1172
[translation] Russian multisite:debug #1173
[tranlation] Russian list #1175
[translation] Spanish about #1177
[tranlation] Russian yaml.* #1178
[translation] Spanish Aplication #1179
[translation] Hindi - sync translation with latest commands #1181

NOTES:

  • Debug a milti-site installation.
$ drupal multisite:debug

console_multi_site_debug

- Execute a command against a multisite installation.
$ drupal --uri=http://drupal8-rc3-multi.dev site:status

console_multi_site_option

v0.9.6

03 Nov 18:45
Compare
Choose a tag to compare

[ADDED]

  • [locale:translations:status] Add command #957
  • [generate:form:alter] Integration with Webprofiler to hide form elements #1066
  • [migrate:setup:migrations] Add command #1123
  • [console] Add command alias registration #1095 #1128
  • [translate] Add Hindi command transalations #976 #1135
  • [translate] Hindi generate.* #1138
  • [translate] Add Hindi command translations #1141
  • [translation] Hindi init and locale.translation.status #1143

[FIXED]

  • [generate:service] Contains statement generation lacks initial backslash. #1074
  • [console] Missing descriptions for commands bug fixed #1085
  • Can't run tests bug #1087
  • 968 - Remove conflicting configuration files from generator. #1105
  • Bad copy/paste commands.update between debug and execute #1126
  • [generate:*] Add lacks of initial backslash. Fix #1074 #1127
  • [complete] Add command description fix #1085 #1130
  • Generated Controller Test uses wrong assertion method bug #1134
  • Update controller.php.twig #1142

[IMPROVED]

  • [migrate:*] Improved migrate commands to match changes since Beta 13 #1131
  • [generate:doc] Improve multilingual feature #1136
  • [generate:command] Update labels, to be more user friendly #1140

NOTES:

  • Support for RC-2 added.
  • To use command alias run init command if you ran command before use init --override.
  • To override command alias just update the copied file at ~/.console/aliases.yml

v0.9.5

29 Oct 07:14
Compare
Choose a tag to compare

[ADDED]

  • [console] Add _admin_route to admin routes. #1037
  • [db:client] Add command to lunch database client #1047
  • [application] Added missing string and translation for --root argument #1064
  • [theme:download] New command #1068
  • [module:download] Added callback if Curl library does't work #1069
  • [site:new] Added fallback for Curl library #1070
  • [theme:install] New command to install drupal 8 themes #1091
  • [theme:uninstall] New command #1099
  • [translate] Add translation files to commons, generate command #1108
  • [translation] Add English and Spanish translation for the generate:entity:config command #1109

[FIXED]

  • [test:run] Unable to run simpletests with 0.9.3 & 8.0.0-rc1 bug #1055
  • [console] Fix https download error #1065
  • [site:install] Minor fixes to site:install command #1071
  • [helper] Re-add Guzzle for handling file downloads #1077
  • [site:status] PHP Fatal error: Call to a member function render() on string in src/Command/SiteStatusCommand.php on line 94 #1082
  • [site:new] Fix release version to download #1083
  • [site:status] Check for translatable strings before calling render() #1084
  • [generate:event:subscriber] is in very bad shape #1089
  • [event:subscriber] Fix generator #1090
  • Mac Yosemite Bash: Autocompletion does not work #1100
  • [generate:plugin:imageformatter] Fixed issues after generated with RC2 #1101
  • [helper] Fix CommandDiscovery for custom modules #1110
  • [generate:form:config] Remove _config form config key #1111
  • [self-update] Fix update error #1049 #1119

[IMPROVED]

  • [theme:download] Increase curl timeout to 10 seconds #1072
  • [console] Improve generate-chain output #1073
  • [console] Increase curl timeout #1076
  • [translate] Spanish version theme.download.yml #1078
  • [helper] Improve getModules method at SiteHelper bug #1081
  • Add more complete instructions for Bash completion #1102
  • Updating line width in BASH Completion instructions of README #1103
  • [db:client] Refactor command class #1114
  • [generate:service] Relocate class to Generate namespace #1116
  • [helper] Fix CommandDiscovery disabledModules not empty #1117

v0.9.4

15 Oct 08:56
Compare
Choose a tag to compare

[ADDED]

  • [translation] Spanish site.install and update.execute #1051
  • [translation] French views.* #1052
  • [translation]French yaml.* #1053

[FIXED]

  • [console] Fix config export import paths bug #1054

[IMPROVED]

  • [helper] Improve DrupalHelper adding loadLegacyFile method #1050
  • [module:download] Isolate command to enable execution outside Drupal or even if isn't installed #1056
  • [chain] Improve enable module:install command execution #1057

v0.9.3

13 Oct 07:01
Compare
Choose a tag to compare

[ADDED]

Command Description
site:install Install a Drupal project #1031
site:debug List all known local and remote sites. #1039
  • [console] Add tab autocomplete for commands #1040
  • [translation] Romanian translation of yaml.* , views.* and user.* #996
  • [translation] Transalte config.export.yml to hi #998
  • [translation] French about, cache.rebuild, site.new, dblog.clear, config.debug, generate.module and cron.* #999
  • [translation] Romanian translation for user* update* test* site* self-update router* rest* module* migrate* init
    #1012
  • [translation] Romanian #1013
  • [translation] Hungarian about #1014
  • [translation] Hungarian application #1015
  • [translation] Hungarian chain #1016
  • [translation] Romanian generate.plugin*, yaml.merge #1018
  • [console] Detect root on Windows machines #1019
  • [translation] Hungarian common #1020
  • [translation] Hungarian config.export #1023
  • [translation] Spanish generate.plugin., Generate.service , generate.theme, migrate., module.* #1024
  • [translation] Chinese about #1026
  • [translation] Chinese application #1027
  • [translation] French strings : application and config.* #1029
  • [translation] Hungarian config.import-single #1034
  • Hungarian translation for config.import.yml #1035
  • [translation] Romanian translation for yaml.split and site.install #1036
  • [console] Add remote command execution #1039
  • [generate:form:alter] Integration with Webprofiler module to get form ids #1042
  • [console] Add DRUPAL_VERSION constant #1046
  • [console] Tag new version 0.9.3 #1048

[FIXED]

  • [generate:plugin:fieldformatter] Fix fieldformatter.php.twig #997
  • [translation] Fix not showing translations when running console.phar #1000
  • [yaml:split] Fix and include extra entries in all languages #1002
  • [translation] Restore cache.rebuild translation for hindi #1003
  • [console] Site mode turns cache on when in dev, cache off when in prod. #1022
  • [console] Supported Version outdated #1025
  • [generate:theme] Missing character : in break point generator bug #1028 #1033
  • [console] Entity access control handler no longer has a $langcode parameter #1038
  • [site:install] Fix wrong label in interactive mode, removed call to cache:rebuild #1043
  • [console] Update composer lock #1044
  • [console] Fix text files should end with a newline character #1045

[IMPROVED]

  • [translation] Improve translations management #942 #981
  • [console] Updated HelperSet function #983
  • [translation] Issue #976: [Language: Hindi] Application #984
  • [translation] Improve hindi translation #987
  • [helper] Inject HelperSet instead of translator command class #988
  • [console] Remove getModules() method from ContainerAwareCommand class #989
  • [helper] Improve replaced HelperSet function #990
  • [console] Remove calls to getHelperSet use trait instead #992
  • [console] Remove DRUPAL_ROOT constant #993
  • [console] Remove inject TranslatorHelper on MessageHelper #995
  • [console] Improve drupal boot #1001
  • [drush] Improve drush command, make stand alone command #1004
  • [console] Improve ContainerAware Command #1005
  • [console] Improve relocate Application and Shell classes #1006
  • [helper] Improve remove new StringUtil instance #1007
  • [helper] Improve remove calls to gethelpers gethelperset #1008
  • [helper] Improve relocate ValidatorHelper #1009
  • [helper] Relocate stringutil helper #1010
  • [console] Improve relocate YamlFileDumper class #1011
  • [translation] Improve spanish #1017
  • [cron] Update commands description to facilitate translations #1032
  • [helper] Improve RemoteHelper adding use statements #1041

NOTES

  • Support for RC 1 added
  • Instructions to try remote command execution #1039
  • Instructions to try add tab autocomplete for commands #1040

Screenshots

Remote command execution

site-alias-remote

Site install command

site-install

Automcomplete

autocomplete

v0.9.2

06 Oct 05:11
Compare
Choose a tag to compare

[ADDED]

Command Description
config:export:view Export a view in YAML format inside a provided module to reuse in other website. #912 #927
user:login:url Returns a one time user login url. #915 #916 #929
generate:event:subscriber Generate an event subscriber #931 #936
cron:release Release cron system lock to renable re-run cron #961 #965
yaml:split Split a YAML file using indent as separator criteria #974
generate:plugin:views:field Generate a custom plugin view field. #975
  • Support for acquia desktop installations #919 #920
  • Add PluginFieldCommandTest class #925
  • Add EntityCommandTest class #926
  • Add ConfigFormBaseCommandTest class #928
  • [config:export:view] Implement ConfigExportTrait #947
  • [config:export:view] Add ConfigExportTrait #963
  • [Translation:Hind] Starting Hindi Tranlation #967

[FIXED]

  • [generate:command] Fix module path on contribute modules. #914
  • [console] Use /autoload.php #932
  • [generate:entity:content] Fix the changed field properly. #945 #946
  • [generate:contenttype] human readable name don't accept blank spaces #922 #955
  • [migrate:execute] Fix error calling method register DB #956
  • [site:satatus] Fix command issues with Beta16 #958
  • [generate:command] Fix validateCommandName call #960
  • [module:download] Fix logic for module version #962
  • [generate:entity:bundle] Fix accept blank spaces in human readable name #964
  • [translator] Enable language fallaback in custom commands #971
  • [console] Fix run console outside drupal root #979
  • [console] Fix run inside multiple nested dir #980

[IMPROVED]

  • [generate:contenttype] Update command name to generate:entity:bundle enhancement #848
  • [generate:module] Escape user-entered input (e.g. quotes) #879 #940
  • [generate:module] Enable feature option #913
  • [generate:plugin:block] Update form config options #917
  • [generate:form:alter] Update form options #918
  • [generate:command] Updated the verification process of generated commands #923
  • [helper] Improve SiteHelper class enhancement #924
  • [config:export:view] Improve enabling export as optional config #933 #937
  • [console] Improve command discovery, disable custom commands #934
  • [generate:module] Enable feature option #935 #944
  • [console] Improve default command values #938
  • [helper] Improve HelperTrait #939
  • [generate:contenttype] Update command name to generate:entity:bundle #941
  • [generate:entity:bundle] Add missing command translations #943
  • [transaltion] French translation #948
  • Update disable custom commands #951
  • [console] Improve commands remove DRUPAL_ROOT constant #959
  • [config:export:content:type] Improve command implement ConfigExportTrait #969
  • [translation:vn] Application.console argument and messages #970
  • [config:export:view] Improve enable export config and module dependencies #973
  • [helpers] Improve replace register command with command discovery #977

NOTES

Support for Beta16 added

v0.9.1

23 Sep 08:31
Compare
Choose a tag to compare

[ADDED]

Command Description
dblog:clear Remove events from DBLog table, filters are available #898
generate:form:alter Generate an implementation of hook_form_alter() or hook_form_FORM_ID_alter #905
  • [translation] Add vn language #899
  • [test] Add ThemeGeneratorTest class #901
  • [test] Add ContentTypeGeneratorTest class #906 #903

[FIXED]

  • [cron:debug] Fix command description #895
  • [cron:execute] Fix command description #896
  • [yaml:fiff] Fix command description #897
  • [generate:theme] Fix test using random theme machine name #909

[IMPROVED]

[translation] Improve vn language #900
[console] Relocate MigrateExecuteMessageCapture #904
[generate:theme] Update ThemeGeneratorTest #907
[about] Update command output #908

v0.9.0

21 Sep 18:05
Compare
Choose a tag to compare

[ADDED]

Command Description
about Display basic information about Drupal Console project #682 #890
dblog:debug Display current log events for the application #884
yaml:update:key Replace a YAML key in a YAML file. #857
yaml:update:value Update a value for a specific key in a YAML file. #857
yaml:diff Display the differences between YAML files #883
cron:debug #852
cron:execute #852
views:debug Display current views resources for the application
views:disable Disable a View #850
views:enable Enable a View #850
update:debug Display current updates available for the application #856
update:execute Display current updates available for the application #856
generate:doc #877 #889
  • Several Test added to the project #844
  • Add PluginBlockGeneratorTest class #858
  • Add ServiceGeneratorTest class #859
  • Add PluginImageEffectGeneratorTest class #860
  • Add PluginRestResourceGeneratorTest class #861
  • Add twig renderer helper #862
  • Add PluginRulesActionGeneratorTest class #863
  • Add PluginTypeYamlGeneratorTest class #864
  • Add PermissionGeneratorTest class #865
  • Add FormGeneratorTest class #866
  • Add AuthenticationProviderGeneratorTest class #867
  • Add --generate-doc option #868
  • Add EntityConfigGeneratorTest class #870
  • Add EntityContentGeneratorTest class #871
  • Add PluginConditionGeneratorTest class #872
  • Add PluginFieldTypeGeneratorTest class #873
  • Add PluginFieldWidgetGeneratorTest class #874
  • Add PluginImageFormatterGeneratorTest class #875
  • Add PluginTypeAnnotationGeneratorTest class #876
  • Add language zh simple #881
  • Add PluginFieldFormatterGeneratorTest class #885
  • Add drupal helper #886

[FIXED]

  • [travis] Change Drupal beta version to 15
  • Remove unused property searchSettingsFile #892

[IMPROVED]

  • [site:mode] Enable error level and twig debug with other improvements #847 #849 #851
  • [generate:command] Command refactor, rename options & arguments #853
  • [generate:services] Command refactor, rename options & arguments #854
  • Remove unused method renderView #869
  • Enhance app to have more control over console output to improve trans #880
  • Replace list as default command for info about application #882
  • Relocate Helper classes #887
  • Rename project namespace AppConsole => Console #888
  • Relocate Traits #891

NOTES:

  • Global namespace changed from Drupal\AppConsole to Drupal\Console make sure you update your custom command within your module. #888
  • Helpers were relocated from Drupal\Console\Command\Helper\ to Drupal\Console\Helper\ #887
  • Traits are relocated from Drupal\Console\Command\Helper\ to Drupal\Console\Command\ #891

If you need any help updating your project to the latest v0.9.0, feel free to ping us at our support channel:
https://gitter.im/hechoendrupal/DrupalConsole

v0.8.4

08 Sep 05:23
Compare
Choose a tag to compare

[ADDED]

Command Description
generate:contenttype Generate a new content type (node/entity bundle) #828 #299
generate:plugin:imageformatter Generate image formatter plugin. #836
generate:plugin:condition Generate a plugin condition. #840

[FIXED]

  • Fix migration execute errors #823
  • Use routes array instead of method_name variable on routing-controller.yml.twig Tempalte #827
  • Remove use statements from generated Interfaces. #829 #830
  • Fixes fieldwidget.php.twig settingsSummary placeholder not working #831 #832
  • Apply phpqa using PSR2 standards #838 #841

[IMPROVED]

  • [config:export:single] Enable interactive mode on ConfigExportSingle Command #824
  • listbuilder-entity-content.php.twig Should make use of the LinkGeneratorTrait #834 #837