- Compatible with Drupal 10+.
- Existing commands should run without modification unless you are doing something exotic.
- Changing commands to use PHP Attributes and static create() factory may be done at your leisure, before Drupal 13.
What's Changed
- Always call the site-local Drush, if possible by @greg-1-anderson in #5583
- field-create: Make it easier for field types extending entity reference to add target type/bundles options (12.x) by @DieterHolvoet in #5609
- Remove drush.services.yml warning message by @greg-1-anderson in #5570
- Fix #5128. Deprecate global configuration commands. by @weitzman in #5573
- Discover generators same as commands, without backward compat by @weitzman in #5581
- Remove drush's own service providers. by @weitzman in #5584
- Remove pm:security-php in favor of composer audit by @weitzman in #5392
- Fix #5071. Drop LegacyAliasConverter command. by @weitzman in #5393
- Convert all Drush core commands to use PHP8 Attributes instead of Annotations (e.g. ConfigCommands in #5396)
- Use PHP 8.1 as min by @weitzman in #5397
- Use final keyword for command classes, and constants for command names. Part n of many. by @weitzman in #5410
- field-create/field-delete: Filter bundles according to passed field name by @DieterHolvoet in #5416
- Update dcf generator for Attributes and D10 by @weitzman in #5442
- php strict_types on commandfiles by @weitzman in #5450
- Better composer bin by @weitzman in #5455
- site:install Fix: database containing certain characters breaks creating of database by @MakerTim in #5167
- Fix #3793: Don't validate config name on config:set. by @donquixote in #5370
- Use Composer Runtime API to determine Drush version by @weitzman in #5462
- Upgrade to drupal-code-generator v3 by @Chi-teck in #5371
- Auto-enable pg_trm extension for postgres during DB creation. by @weitzman in #5467
- Update queue:run to run garbage collection by @marcaddeo in #5203
- Fix #5301. Add suggested values for completion to various args/options by @weitzman in #5499
- Field definition commands by @Chi-teck in #5517
- Remove dual autoloader feature from global Drush installs by @greg-1-anderson in #5521
- Add YAML edit commands from YAML-CLI project by @weitzman in #5530
- Fix #5146. Document single file config import using config:set by @weitzman in #5543
- Follow the DI pattern used by Drupal Forms/Controllers/Blocks to instantiate Drush command classes by @greg-1-anderson in #5547
- Update the Drush commandfile generator to use create() by @weitzman in #5548
- Use own DrupalFinder which pulls path from Composer API by @weitzman in #5542
- Create a service adapter for drush.services.yml by @greg-1-anderson in #5553
- Static create commands by @greg-1-anderson in #5562
New Contributors
- @MakerTim made their first contribution in #5167
- @cilefen made their first contribution in #5487
- @halisonfernandes made their first contribution in #5354
- @marcaddeo made their first contribution in #5203
- @wimleers made their first contribution in #5588
Full Changelog: 11.5.1...12.0.0