github drush-ops/drush 11.0.0

latest releases: 12.5.1, 12.5.0, 12.4.4...
2 years ago

This release is recommended for all Drupal 9 sites. Drush 10 is no longer supported.

Highlights

  • Drupal 8 support is removed. Lots of dependencies updated as a result.. Composer warns if you try to enable Drush 11 with Drupal 8 or Drupal 9.1-.
  • The command API is unchanged so your custom and contrib commands should run successfully, without changes
  • The Generator API has changed. Very few contrib/custom modules ship with generators so minimal impact.
  • A bundle class generator! by @weitzman in #4903
  • Add field:create and other field commands by @DieterHolvoet in #4853, #4926, #4930
  • Commands may now be authored using PHP8 Attributes instead of annotations. Annotations are still supported.
  • Add entity:save command by @weitzman in #4858
  • pm:enable should fail by default if hook_requirements() is not met by @weitzman in #4874
  • Remove core:init command. by @weitzman in #4875
  • Fix #4541: Add again uid and mail options for user commands (#4542) [O'Briat]
  • Fix #2927. Don't issue a login link if user is blocked. (#4934) [Moshe Weitzman]
  • Fixed drush_backend_batch_process() not clearing batch_get() by @plach79 in #4886
  • Let config:set change multiple top-level keys. Add docs and tests. (#4983) [Moshe Weitzman]
  • Move from PSR2 to PSR12 coding standard (#4994) [Moshe Weitzman]
  • Remove Drush's cache API. We no longer need to cache annotation parsing. (#4965) [Moshe Weitzman]
  • Lots of doc improvements at www.drush.org, including new pages for Generators and Last Updated info at bottom of most pages.
  • Lots of source code modernizations as proposed by Rector tool.

Don't miss a new drush release

NewReleases is sending notifications on new releases.