Drush 12 supports Drupal 10+. The code has been modernized for latest Drupal and latest PHP. Commandfiles for prior versions of Drush should run on Drush 12 without modification.
What's Changed
- 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
- Add security vulnerability reporting instructions to README.md by @cilefen in #5487
- 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
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
Full Changelog: 11.5.1...12.0.0-beta1