drush

Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.

Downloads
42.4M
Stars
2.3K
Committers
477

Bot releases are hidden (Show)

drush - 8.1.16

Published by weitzman over 6 years ago

See last link for the details about the following highlights:

  • #3344. Improve sql-sanitize - sanitize passwords by default
  • Check requirements before running updatedb (#2708). Pass -y to proceed past any requirements errors.
  • Issue #3199: Add ignored-directories option to 8.x (#3205)
  • Fix PHP 7.2 count() notices due to pear/console_table (#3292)
  • Backport of #3174, SSH command escaping (#3185)
  • Fix router.php to work with update.php (#3247)
  • Fixes #3351: site-install Drupal 7 with PHP 7.2 (#3353)
  • Fix #3078. Environment variables are prepended to Drush command in wrong order
  • Changes since 8.1.15.
drush - 9.1.0

Published by weitzman over 6 years ago

See last link for the details about the following highlights since 9.0.0:

  • #3326. Fix argument remapping. Limit remapping to first argument.
  • #3334, #3335. Make SiteInstallCommands::getSitesSubdirFromUri find dir from sites.php
  • #3340. Refactor so that SqlTableSelectionTrait.php is usable by non SqlBase classes.
  • #3339. Expand Unish (system tests) to more PHP versions (including 7.2). Start using Circle 2.0 more.
  • #3344. Improve sql-sanitize - sanitize passwords by default
  • Changes since 9.0.0.
drush - 9.0.0

Published by weitzman over 6 years ago

With much love and pride, the Drush maintainers have released Drush 9, our latest version that pairs well with Drupal 8. Some highlights:

Generators

Quickly build a Drupal module, controller, plugin, entity, migration, etc. Drush 9 builds upon the DCG project to offer almost 100 generators via a Drush command.

Modernized config, site aliases, and output formatters

Drush rewrote its config, site alias, and output format systems. These YAML files are easier to read & share. We factored out these subsystems for use by other PHP projects.

Command Authoring

Like Drush itself, the command authoring process has been thoroughly modernized. Start with a generator that scaffolds a class for you, and then add your logic, guided by the file's comments. Drush's new OO APIs are available to you just be extending our base class - DrushCommands. The generator can port commandfiles from prior versions of Drush.

Symfony Powered

Just like Drupal 8, Drush builds upon Symfony where possible. In particular, we replaced a lot of homegrown code with Symfony Console.

Familiar friend

Drush minimized changes to the commands, in order to ease transition to Drush 9. If you know and like sql-sync, pm-enable, and config-import, you'll be able to use those in Drush9 without delay.

Documentation

We recently debuted a www.drush.org marketing site and a new API docs site (powered by Sami). These supplement docs.drush.org and the traditional drush topic system.

Composer oriented

The PHP world hasembraced Composer for dependency management. We bid fond adieu to dl, make, and drush pm-updatecode. Hello world to composer require and composer install If you run the deprecated commands, Drush helpfully suggests a replacement.

Get started

To get started, see our install docs. Especially note we recommend that Drush be a dependency of your Composer project (aka a "site-local" Drush).

drush - 9.0.0-rc2

Published by weitzman almost 7 years ago

See last link for the details about the following highlights since rc1:

  • Fixed reversed arguments in config-status f969147
  • Make sure that early exceptions are printed. 5573da0
  • Fix sql-conf alias. a1f2d6d
  • Allow 'drush status' to work even on older unsupported versions of Drupal 8. 787b3ac
  • Replace substitutions in alias files with configuration values. (#3212)
  • Move options.ssh-options to ssh.options (#3210)
  • A bit more docs and provide example of command-specific options for sql-sync and sql-dump. 5733f62
  • Fix router.php to work with update.php (#3218)
  • Remove drush_scan_directory() - use Finder instead. (#3228)
  • Stop outputting all tables during debug output. Finally! 1515ca7
  • Lots of Generator improvements, especially commands that are ported from Drush8
  • Restore original maintenance mode state after database updates. (#3236)
  • Prevent infinite loops in RedispatchToSiteLocal. (#3235)
  • Fix #3214. Canonicalize config paths before comparing. Fixes a config split module issue (#3250)
  • Fix #2563. Add diff preview to config-export. Also adds colored preview for cex and cim (#3249)
  • Remove a dupe cache clear in updateDb
  • The cget --include-overridden is currently reversed (#3255)
  • Add logging if an error occurs during an update (#3266)
  • Private yml parser (#3269)
  • Remove —no-ansi from Unish (#3271)
  • Reduce log level for drush.services.yml nag. f709c11
  • Allowing files by any name to be imported via -c option. (#3283)
  • Support global generators (#3265)
  • Process included configuration files recursively. (#3288)
  • Simplify shell escape code, particularly with respect to SSH Commands (#3174)
  • Changes since 9.0.0-rc1.
drush - 9.0.0-rc1

Published by weitzman almost 7 years ago

See last link for the details about the following highlights:

  • Link to new API docs - http://www.drush.org/api/master/index.html.
  • The debug logs come out as notice (#3201)
  • Add skip-tables, structure-tables and tables to @optionset_table_selection (#3195)
  • Add a composer.json file to the output of the 'drush gen dcf' command. Enhance documentation on Drush commands. (#3191)
  • Show shortcut in drush topic core:global-options
  • updatedb: return exit code 1 on failure (#3188)
  • Check to see if Drush extensions are compatible with the current version. (#3189)
  • Simplified site aliases. Fixes #3107 (#3184)
  • Set site alias search depth to '<=1' instead of '==0' to allow site aliases to be grouped together in directories.
  • Fix drush si --db-su option
  • Remove dupe backend result setter. (#3182)
  • Use Symfony table instead of Console table (which is now removed)
  • Fix #3168. Change colors for IO warning format
  • Fix #3167. Don't preview or run entity updates by default. (#3177)
  • Remove drush_directory_cache($subdir) in favor of Path::join($this->getConfig()->cache(), $subdir) (#3160)
  • Add Prefllight logger. Use in RedispatchSiteLocal. Refs #3110 (#3154)
  • Validate legacy command file (#3158)
  • Changes since 9.0.0-beta9.
drush - 9.0.0-beta9

Published by weitzman almost 7 years ago

See last link for the details about the following highlights:

  • Bump webflo/drupal-finder (#3105). Thanks @webflo
  • The sites/all/drush folder is no longer a valid location for alias files
  • Remove bastion.md.
  • Test with Drupal 8.4.x and 8.5.x. #2980
  • Stop setting SERVER globals. Build a Request instead (#3109)
  • Added slack channel to support section. (#3112). Thanks @Chi-teck
  • Fix #3063. Add example of dynamic alias alter (#3115)
  • Fix categorization of the generate commands.
  • Stop using further() in sql commands. Use @bootstrap max instead. (#3135)
  • #3123 - Global D8 container is not available during container rebuild. Thanks @kevin-dutra
  • Make it possible to set the uri option in drush.yml. Fixes #3121. Thanks @eiriksm
  • Plan for the future (see #3130): Allow for phpunit 5.x. (#3139)
  • Fix the batch finished callback for 'updatedb' command. (#3144). Thanks @claudiu-cristea
  • Fix #3133. Add site alias generator. (#3142)
  • Misc bug fixes
  • Changes since 9.0.0-beta8.
drush - 9.0.0-beta8

Published by weitzman almost 7 years ago

See last link for the details about the following highlights:

  • Add security-updates command. A Composer equivalent for old --security-only option.(#3087)
  • Better coding standards compliance for 'generate' command
  • Better discovery of global commandfiles #3052
  • Config for sql-sync options now properly proceessed #3075
  • Check requirements before running updatedb #2708
  • Control when post-updates are run during updatedb. (#3090)
  • Misc bug fixes
  • Changes since 9.0.0-beta7.
drush - 8.1.15

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

  • Backport to 8.x #2604 Allow delete of single value in a config object
  • Drush 8 dependencies loosened such that it now co-exist with Drupal 8.4 in the same composer project
  • Changes since 8.1.14.
drush - 9.0.0-beta7

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

  • Quite a few bug fixes
  • Better output and filtering for the new config-status
  • A new site:alias-convert command. This command finds legacy alias files and converts them to yml. This is helpful since old aliases.drushrc.php files are no longer recognized.
  • Changes since 9.0.0-beta6.
drush - 9.0.0-beta6

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

  • A few drush generate fixes.
  • 529829b - Add back editing of aliases and config files in core-edit
  • 7ba7dbe - Added config:status command.
  • d75d860 - Update examples.drush.yml.
  • 1227944 - Update aliases example file and fix up alias usage (#3010)
  • Changes since 9.0.0-beta5.
drush - 9.0.0-beta5

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

  • Lots and lots of internal changes.
  • Refactored dispatch to be based on Symfony Console.
  • Legacy commandfiles no longer load. See this blog post.
  • Commandfiles and site alias files are not discovered in global locations by default. To use them, add a Drush config file (drush.yml) or use --include/--alias-path at the CLI. Drush config files are discovered in global locations.
  • Changes since 9.0.0-beta4.
drush - 8.1.14

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

drush - 9.0.0-beta4

Published by weitzman about 7 years ago

See last link for the details about the following highlights:

  • Sanitize users.init column
  • Removed --sanitize from sql-sync. Instead, run sql-sanitize command after running sql-sync.
  • Improve messages for deprecated commands (e.g. make, dl, etc.)
  • Fix options being dropped during redispatch (e.g. sql-sync)
  • Changes since 9.0.0-beta3.
drush - 8.1.13

Published by weitzman about 7 years ago

Note: For future releases, drush.phar will only be attached to a Github release. One will no longer be able to access it at http://files.drush.org/drush.phar. Install docs have been updated accordingly.

See last link for the details about the following highlights:

  • Fix #2753: Prevent loops when unable to download extensions (#2797)
  • Fix #2817. bash autocomplete via .bashrc only works on the second .bashrc inclusion.
  • Disable the psysh version check.
  • Fix #2831: create_function is deprecated in php 7.2;
  • Fix drush docs, link to 8.x docs from within the 8.x documentation
  • Respect disable_functions list in use_pcntl_exec check (#2857)
  • fix namespace for Drush command sql-query with option "--db-prefix"
  • Code changes since 8.1.12.
drush - 9.0.0-beta3

Published by weitzman over 7 years ago

See last link for the details about the following highlights:

  • Improve #1371 - warn if mysql/psql/sqlite3 client not present.
  • Finish user-cancel command
  • Disable the psysh version check
  • Fix #2824. Fix exit codes for sql commands.
  • Pickup key Exception handling fix from consolidation/annotated-command.
  • Changes since 9.0.0-beta2.
drush - 9.0.0-beta2

Published by weitzman over 7 years ago

See last link for the details about the following highlights:

  • Added new generate command. based on the focused DCG project, which ships with 50ish generators for scaffolding all the things in Drupal.
  • Improve table wrapping
  • Remove Finder+Launcher. Relying now on a site local Drush (see install docs)
  • All classes now follow PSR2 code style standard.
  • Formalize the API for Contrib to offer Drush commands and generators. See devel and devel_generate modules for an example.
  • Changes since 9.0.0-beta1.
drush - 8.1.12

Published by weitzman over 7 years ago

See last link for the details about the following highlights:

  • Fix image style generation for d7
  • Adopt new form elements for update notifications during site installation.
  • Documented local paths for patches in makefile (#2769)
  • Fix #2756 #2723 drush init causes .bashrc syntax to break
  • Workaround segmentation fault when clearing caches. (#2765)
  • Changes since 8.1.11.
drush - 9.0.0-beta1

Published by weitzman over 7 years ago

Lots better.

drush - 8.1.11

Published by weitzman over 7 years ago

See last link for the details about the following highlights:

  • Performance: #2658: Run invalidateContainer() only when needed
  • DX: Remove --skip-modules from cim and cex. (Backport #2684)
  • Fix: #2709: Fixed non-reporting of config-import errors.
  • Fix: #1854: Allow uninstall of dependent modules (8.x). (#2717)
  • Changes since 8.1.10.
drush - 8.1.10

Published by weitzman over 7 years ago

See last link for the details about the following highlights:

  • Less uptight validation in sql-sync
  • Strong partnership with config_split module for advanced Config import/export
  • Report progress during config-import.
  • Bug fix run server for Dupal 8
  • Bug fix in updb for Drupal 8
  • Changes since 8.1.9.