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.
Install
Using Composer to manage Drupal site dependencies
Downloads
Download drush-7.x-4.6.tar.gztar.gz
283.63 KB
MD5: 2cf1c382f44f0c0ee0af6b62587a22a6
SHA-1: 51d7a7743342cb3dabb201b4c5433ab3da06fb40
SHA-256: c8f5a165c1624b023aaa74b4fd852da1dc426bd08f7cf1af328fe16e7de27d8d
Download drush-7.x-4.6.zipzip
336.16 KB
MD5: 2532083dffdcb7132bfa8cbee9eb9b03
SHA-1: 1ed5e91edddd3890f0df1de543f8514a4112ce8b
SHA-256: b6ab13fe20c4e46715edd807a9f417c516ab1b88ec4c552c7db60aaec50583ac
Release notes
Changes since 7.x-4.5:
- #1255544 by greg.1.anderson, grayside: Added Read drush configuration file from a 'drush' folder at root of git repository.
- Bug #1302170 by dmitry_bezer. sql-dump command fails on windows when --structure-tables-key parameter specified.
- #1181730 by greg.1.anderson: use %files from the alias record if it is available; don't query the remote machine.
- #1214018 by sun: drush_delete_dir adjustments for Windows OS.
- Backport of issue #1273342: Download release history to tmp instead of drupal root.
- #1562764 by juampy: Fixed Undefined variable: db_scheme() dbtng.inc:109 when using drush_db_select() in Drupal 6.
- #1254692: Avoid downloading core into existing core.
- #1448538: pm-updatecode: add symlinks to skip_list.
- #880554: search-index never completes in D7
- #1415754 by greg.1.anderson: improve warning message when command has no command hooks at all.
- #1197236 by jonhattan, osopolar: pm-uninstall warnings on Drupal 6.
- #1103416 by msonnabaum, fp: Accommodate sql passwords with spaces.
- #1327140 by Kender: Fixed Drush test-run only runs the first test in a list.
- #1512916 by Elijah Lynn: Fixed @see example.drushrc.com should be @see example.drushrc.php in /commands/sql/sql.drush.inc.
- #1268416 by RandallKent, steinmb, cothrun, EWB | rosborn: Fixed Destination directory .../drupal-7.9 already exists.
- #1431594 by greg.1.anderson: Make Drush-4 handle backend set results the same way that Drush-5 does
- #1434818 by greg.1.anderson: Allow call disabled modules' pre-enable hook as they are being enabled.
- Refactor user command parameter parsing code; eliminate init hook and use an ordinary function. Behavior unchanged.
- #1313810 by greg.1.anderson: default #integrate back to TRUE for consistency with Drush-4.4 and earlier + Drush-5.x and on.
- #1129332 allow setting the default error_reporting
- #1129332 do not override builtin error_reporting level
- #1272820: fix regression in pm-download
- Backported the confirm-rollback option
- #1218268: Unable to download dependencies without recommended release.
- #1288560 by hansfn: Incorrect detection of backup dir inside the Drupal root.
- Backport of Issue #1314554: dl --destination sets a relative path for project_install_location.
- Added back drush_sql_read_db_spec() just in case it's used somewhere in contrib.
- Allow 'databases' in addtion to 'db-url' in site aliases when bypassing bootstrap for drush sql commands
- Fix site-install when reading an existing settings.php. I recently broke it.
- Fix site-install on D6 when using --db-url option.
- #1226260 by moshe weitzman. reduce bootstrap requirement for sql commands.
- #1112984 by kotnik: Fixed Mysqldump is the same for mysql i mysqli drivers.
- #1154132 by q0rban: Allow selecting of items when max is NULL in drush_choice_multiple().
- Apply overrides in drush configuration files even if no options are set
- #1260170 by greg.1.anderson: support override-simulated in Drush-4.
- #140937 by greg.1.anderson: Show php.ini and drush.ini files that Drush knows about / loads.
- #1189230 by greg.1.anderson: Bastion server documentation
- #1342208 by kotnic: Better error reporting for drush_mkdir
- Fix typo in sql-sync that caused wrong error message to be displayed when target db record could not be found.
- Add watchdog test to COVERAGE.txt
- #1396982 by juampy: Unit tests for watchdog-*
- #1396982 by juampy: Added an option to view the full watchdog message .
- #1403042 by timhilliard: Fixed running search-index on drush4.5 ends up in an infinite loop if there is a module that uses hook_search() without status op.
- #1380970 by juampy | madmatter23: Fixed archive-restore --db-url flag not working in D7.
- #1366910 by danylevskyi: Added preserve symbolic links option to archive-dump.
- #1268850 by moshe weitzman: Stop processing in sql-sync when dump fails.
- #1370994 by VladSavitsky: add missing dt() in drush_valid_db_credentials
- Improve advice on selecting an appropriate value for 'uri' in examples/example.aliases.drushrc.php.
- #1192228 by kotnik | joachim: Fixed Show project name when using --select.
- #1359514 by threexk: 'space' should be 'whitespace' in pm-list help.
- Better support for unix_socket in array in drupal's settings.php.
- Only dump the default db target since additional targets are likely to be slaves or external.
- #1196972: Drush pm-update (up) rollbacks changes if fetching updates fails
- Bug #1268850. Structure only tables don't emit structure. Change semicolon to double ampersand.
- #1112142 by greg.1.anderson: back out "{users}" (back to "users") in sql-sanitize, as this fix does not work.
- Add DRUSH_MINOR_VERSION constant.
- Fix commandfile name when commandfile has a version number in it like 'foo/drush5.inc'. We were not calling hooks becuase we had wrong key.
- #1280704 by msonnabaum: Fixed sql-dump not exiting 1 on failure.
- #1315468 by jhaskins, Remon: Added DB import tweaks for InnoDB.
- #1112142 by djdevin. Support db prefixes during sanitize operation..
- #1322532 by axel.rutz: Fixed drush pm-enable dependency resolution bug.
- #950378 by Tor Arne Thune, jonhattan, pcambra, MagicMcj, claudiu.cristea: Fixed Undefined index: drush_batch_process_finished().
- Reference drush topic docs-configuration in README.txt
- #1050978 by jonhattan: pm-enable: optimize incompatibility checks.
- #1205890 by greg.1.anderson, moshe weitzman: Added support for *.drush-5.inc, etc., to allow module developers to provide different code for different versions of drush.
- Remove space from expected value in userCase.
- Remove spaces from uinf --pipe since that was screwing unit tests.
- #1214216 by ergonlogic: Use per-user directory (/home/ergonlogic/.drush) instead of global directory when latter is not writable
- #664452 vget should return its values for richer --backend output.
- Backported changes to _drush_download_file(), also added drush_download_file().
- Added missing drush_directory_cache() function that the gitcache depends on.
- #1061990 by catch: Fix drush updatedb for use with module_implements() D6 backport.
- Updated version in info file.
- #1257760 by greg.1.anderson: Create an alias '@none' as shorthand for 'no Drupal site'. Allow '@self' and other alias shortcut strings to work again in drush_invoke_process.
- #1085890 by greg.1.anderson: Deceptive error message when alias record not found
- #1120848 by makara, moshe weitzman: Added Don't log E_DEPRECATED errors OR check error_reporting().
- #1120848 by moshe weitzman | makara: Don't log E_DEPRECATED errors.
- #1247316 by Pol: Fix typo in drush_invoke_args comment
- #1245668 by Dave Reid: fix documentation on default bootstrap level for commands