Download Size md5 hash
drush-7.x-4.5-rc1.tar.gz 275.71 KB dfec146b72352a69f81e18b5d087806c
drush-7.x-4.5-rc1.zip 327.81 KB 187774773bc68fe8614591896a614c65
Last updated: July 17, 2011 - 00:46
Official release from tag: 7.x-4.5-rc1

Release notes

This release includes many bug fixes, four new commands (cache-get, cache-set, archive-dump, archive-restore), and the introduction of the drush testing framework!

Changes since 7.x-4.4:

  • Added hidden sql-sanitize command.
  • #1100686 by greg.1.anderson. site-install command doesn't complete installation batch process. affects d6 only.
  • #1100686 by eporama: site-install command doesn't complete installation batch process
  • Removed site-alias assertion on sqlSynctest. It's already tested elsewhere.
  • Move variable tests to own file.
  • Get rid of help hook which added no value. Command descriptions are used when there is no help hook.
  • #1196782 by Damien Tournoud: Respect the order of dependencies in pm-enable and pm-disable.
  • #1154374 by msonnabaum: Correctly escape alias names with '/' in them.
  • #827888 by moshe weitzman. Drush not picking up commands from modules located in an install profile in the help listing.
  • rename unish_escapeshellarg() method to escapeshellarg(). phpstorm's refactor/rename feature rocks. would be easy to destroy backward compat with this.
  • #1182640 by greg.1.anderson: change the drush windows nag message to point users to drush 5 instead. Turn the nag message back on for users who turned it off.
  • #1154380 by greg.1.anderson: Clean up Windows instructions in README to point user to Drush 3 or Drush 5.
  • Slight speedup to updatecode Test and expand command docs.
  • Backport sqlSyncTest from 5.x branch
  • Fix function dispatching: drush_foo_foo should simplify to drush_foo for any drush command foo in commandfile foo.
  • Backport drush_tarball_extract() for use by wget handler and archive-restore.
  • Refactor site_install so that its create+drop logic and its db_spec functions are reusable by including sql.drush.inc. Will be used by archive-restore.
  • For real: archive-restore command restores DB and files from Site Archive tarballs (e.g generated by archive-dump).
  • Refactor db-su handling from sql-sync so it is reused in site-install and soon in archive-restore.
  • Add tests for archive-dump that were mistakenly not committed with #1152020.
  • Call drush_invoke_sitealias_args() instead of drush_invoke_process() which is v5 only. Also boldly call this formatversion 1.0
  • Return data from two user commands for better programmability.
  • Clean up environment initialization and subsequent wiping between unit test classes.
  • look for docs topics in the right place on debian
  • #1198956 by Damien Tournoud. Site Install: allow passing additional form parameters.
  • Let all UNISH variables be read from the environment or in the XML file. Switch to UNISH_TMP like the master branch even tho we are not using downlaod cache yet in 4.x
  • #1109408 by msonnabaum, justinrandell: Add jUnit compatible XML output to the test-run command.
  • #704848 by agentrickard and greg.1.anderson: prevent multiple invocation of command hooks when mod.sub.drush.inc defines command mod-sub-foo.
  • #110298 by djdevin. site aliases dont seem to respect ~/.ssh/config.
  • #1182476 by greg.1.anderson: --backend should not imply --yes if --no specified on commandline
  • #1119686: pm-uninstall doesn't respect module dependencies.
  • #1081524: add support to exclude reserved files for git and hg.
  • #1158504 by anarcat: cache cwd before changing it, do not rely on PWD
  • #1149454 by mikeker: Add a --no-core option to pm-updatecode.
  • #1023120 by jonhattan: Include also disabled extensions in update-info's project array.
  • #1149284: Specifying the version to update a module doesn't work in d7.
  • #1002658 by DamienMcKenna, jonhattan: reworked project status requests so work around a Drupal core limitation.
  • #1105826 by moshe weitzman. Achieve 8.x compatibility by renaming the 7.x engine files.
  • #1105642 by jonhattan: Allow pm-enable to enable disabled dependencies for already enabled extensions.
  • #1050978 by alexpott: Drush doesn't check if a module is compatible with Drupal during pm-enable
  • #1171182 by greg.1.anderson, msonnabaum: Fixed a regression introduced by removing the file arg from drush_print_table().
  • #1171722 by soxofaan and greg.1.anderson: %drush script is obsolete; fix documentation
  • #1164894 by msonnabaum: Support setting UNISH_DRUSH with an evironment variable.
  • #1159146 by jonhattan: Automate commands translation: drop usage of dt() in hook_command().
  • #1148084 by v.sidorov: Incorrect expression evaluation in drush_print() function.
  • #1114728 by jonhattan: fix 'drush @sites some-command' flaw when cancelling operation.
  • Changed some expected output on the tests to match what's in drush4. Not sure how we didn't catch this before.
  • #1151464 by moshe weitzman. Move define() from top of drush_testcase() to bottom so we can use is_windows() method there. Also change some Drush_TestCase:: to self:: for readability.
  • #1151646 by das-peter: add defaults for constants in drush_testcasee.inc
  • Add instructions on installing PHPUnit
  • Since all unit tests pass on postgres (Wow! I had no idea), show how to configure that.
  • Add nocolor to drush method in tests.
  • More robust user test. Works when DB auto-increment is not 1.
  • Fix tests by enabling menu manually due to some odd devel interaction.
  • Consistently use unish_escapeshellarg() method in Tests.
  • #1151464 by greg.1.anderson: escape parameters in drush tests
  • Speed up fieldTest by using the testing install profile instead of standard. Do so by creating field on user entity, instead of node+article.
  • Added handle argument to drush_print_table so it won't interfere with test output
  • drush_op() should not drush_print() but rather drush_log(). Fixes test failure under --verbose mode.
  • Let unit tests run in verbose mode in addition to --debug mode (which was recently added).
  • Let drush_op() handle arrays/objects as params. Not sure why this has not bitten us before.
  • Fix notice - bad variable name.
  • Get rid of a harmless warning during test. Quoting a string in evaluated PHP.
  • #1152020 by bjaspan: Fixes for archive-dump command.
  • Added missing drush_export_info() function required by archive-dump command.
  • Pass phpunit's --debug flag to drush.
  • #1049660 by greg.1.anderson: Remove extension cache. ("Doctor, it hurts when I jab this stick in my eye...")
  • #1048514 by jonhattan: Discard custom projects in drush up.
  • #1055416 by Greg Anderson, willieseabrook: Drush rsync should support a --include-vcs argument
  • #1113796 by jonhattan. more succinct core compat lines.
  • Backporting drush json functions since the new cache commands require them.
  • #1059112 by deviantintegral, kotnik, moshe weitzman, msonnabaum: Added cache-get and cache-set commands.
  • 'core' element in command definition can now contain a plus at the end such as '6+'. This means 'compatible with drupal core version 6, 7, 8, ...
  • Return location of archive file during --backend calls to archive-dump.
  • #1081610 by pwolanin: Fixed drush archive-dump should create an archive that extracts a directory.
  • A new archive-dump command. See http://groups.drupal.org/site-archive-format.
  • #1103568 by moshe weitzman: Fixed Environment pollution in the unit tests.
  • Merging in tests from master.
  • #535788 by greg.1.anderson, jonhattan: Look for drush commands in sites/MYSITE/themes in addition to sites/all/themes
  • #1087002: Enable setting a specific port in the --uri option.
  • #1110590 by mr.baileys. Confusing error message when using --package-handler.
  • Fixed a bug preventing the gitsubmodules option from working.
  • #1104450 - do not warn about aliases we can't open
  • Document hook_drush_load().
  • Add gitusername option for git_drupalorg package handler. When provided, this option lets us clone a repository using SSH which lets the admin push back changes to git.drupal.org. When not provided, clones continue to be read only.
  • #1025858 by frjo, jonhattan: Fix pm-update for bzr when there's more than one project.