Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Downloads
Download drush-5.x-2.0-alpha2.tar.gztar.gz
62.24 KB
MD5: 7f3daf345d872634f9566f1c046a0fd0
SHA-1: 552f60f908f62148b12efcd18c09cb6259916a3e
SHA-256: d8d4e0ca8a5ee504dec146cb3cba9d0adf77acf9a3097b09461eb42b18cf3dc4
Download drush-5.x-2.0-alpha2.zipzip
81.5 KB
MD5: c76b07d089236a6b0965e848490e8b80
SHA-1: a34ef26518c43f792a87dbdbf190b76f6a6b70c5
SHA-256: cd77f55b67ba74ce1763d9b4c7cd8bee4f52d577b18a3f17a3b190fbd36d8145
Release notes
This is the second Alpha release of the Drush 2.x branch. Please see http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/drush/READM... for install details.
Upgraders: Please delete any drush or drush_extras directories in your drupal site. Drush now gets installed outside of web root.
Among the new features :
- Drush is completely Drupal version agnostic, allowing you to only need a single Drush installation, per server. Thanks vingborg.
- The
dl
command can now download themes, translations, and install profiles in addition to modules. - Drush now provides the
updatedb
command, allowing you to run update.php from the command line. This command works for both minor and major version upgrades of all core and contributed modules, across Drupal 5, Drupal 6 and Drupal 7 - Added
uninstall
command for modules. - The drush_extras commands have been rolled back into Drush itself, which provides the same functionality without having to download an optional project.
- The
help
command has been greatly improved, and provides complete documentation on all optional parameters and options that can be passed to the script for that command. - The way that Drush bootstraps has been rewritten, which now allows you to write commands which initialize to a lower Drupal bootstrap level, such as the
updatedb
command. - Drush has a new error handling and logging API, allowing us to recover from errors far more gracefully than before, and greatly improving the user experience
- Drush now has a RESTful API for all commands. Drush commands can now easily call other Drush commands, even on a remote server.
- Drush has a new 'drush_invoke' API, which allows commands to hook into other commands through a flexible hook system. The system also allows for recovery of errors that may have occurred, allowing you to restore the system to a sane state on failure.
- Drush has a new Context API, to manage the current 'state' of the system, removing all global variables and constants in the process.
- Drush uses a new Conditional Include API to manage pluggable systems (such as the different package handler to use for the package management commands