drush-ops/drush
### [`v12.0.0`](https://togithub.com/drush-ops/drush/releases/tag/12.0.0)
[Compare Source](https://togithub.com/drush-ops/drush/compare/11.5.1...12.0.0)
- Compatible with Drupal 10+.
- Existing commands should run without modification unless you are doing something exotic.
- Changing commands to use [PHP Attributes](https://www.drush.org/11.x/commands/#attributes-or-annotations) and [static create() factory](https://www.drush.org/11.x/dependency-injection/#create-method) may be done at your leisure, before Drupal 13.
#### What's Changed
- Always call the site-local Drush, if possible by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5583](https://togithub.com/drush-ops/drush/pull/5583)
- field-create: Make it easier for field types extending entity reference to add target type/bundles options (12.x) by [@DieterHolvoet](https://togithub.com/DieterHolvoet) in [https://github.com/drush-ops/drush/pull/5609](https://togithub.com/drush-ops/drush/pull/5609)
- Remove drush.services.yml warning message by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5570](https://togithub.com/drush-ops/drush/pull/5570)
- Fix [#5128](https://togithub.com/drush-ops/drush/issues/5128). Deprecate global configuration commands. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5573](https://togithub.com/drush-ops/drush/pull/5573)
- Discover generators same as commands, without backward compat by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5581](https://togithub.com/drush-ops/drush/pull/5581)
- Remove drush's own service providers. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5584](https://togithub.com/drush-ops/drush/pull/5584)
- Remove pm:security-php in favor of composer audit by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5392](https://togithub.com/drush-ops/drush/pull/5392)
- Fix [#5071](https://togithub.com/drush-ops/drush/issues/5071). Drop LegacyAliasConverter command. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5393](https://togithub.com/drush-ops/drush/pull/5393)
- Convert all Drush core commands to use PHP8 Attributes instead of Annotations (e.g. ConfigCommands in [https://github.com/drush-ops/drush/pull/5396](https://togithub.com/drush-ops/drush/pull/5396))
- Use PHP 8.1 as min by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5397](https://togithub.com/drush-ops/drush/pull/5397)
- Use final keyword for command classes, and constants for command names. Part n of many. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5410](https://togithub.com/drush-ops/drush/pull/5410)
- field-create/field-delete: Filter bundles according to passed field name by [@DieterHolvoet](https://togithub.com/DieterHolvoet) in [https://github.com/drush-ops/drush/pull/5416](https://togithub.com/drush-ops/drush/pull/5416)
- Update dcf generator for Attributes and D10 by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5442](https://togithub.com/drush-ops/drush/pull/5442)
- php strict_types on commandfiles by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5450](https://togithub.com/drush-ops/drush/pull/5450)
- Better composer bin by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5455](https://togithub.com/drush-ops/drush/pull/5455)
- site:install Fix: database containing certain characters breaks creating of database by [@MakerTim](https://togithub.com/MakerTim) in [https://github.com/drush-ops/drush/pull/5167](https://togithub.com/drush-ops/drush/pull/5167)
- Fix [#3793](https://togithub.com/drush-ops/drush/issues/3793): Don't validate config name on config:set. by [@donquixote](https://togithub.com/donquixote) in [https://github.com/drush-ops/drush/pull/5370](https://togithub.com/drush-ops/drush/pull/5370)
- Use Composer Runtime API to determine Drush version by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5462](https://togithub.com/drush-ops/drush/pull/5462)
- Upgrade to drupal-code-generator v3 by [@Chi-teck](https://togithub.com/Chi-teck) in [https://github.com/drush-ops/drush/pull/5371](https://togithub.com/drush-ops/drush/pull/5371)
- Auto-enable pg_trm extension for postgres during DB creation. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5467](https://togithub.com/drush-ops/drush/pull/5467)
- Update queue:run to run garbage collection by [@marcaddeo](https://togithub.com/marcaddeo) in [https://github.com/drush-ops/drush/pull/5203](https://togithub.com/drush-ops/drush/pull/5203)
- Fix [#5301](https://togithub.com/drush-ops/drush/issues/5301). Add suggested values for completion to various args/options by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5499](https://togithub.com/drush-ops/drush/pull/5499)
- Field definition commands by [@Chi-teck](https://togithub.com/Chi-teck) in [https://github.com/drush-ops/drush/pull/5517](https://togithub.com/drush-ops/drush/pull/5517)
- Remove dual autoloader feature from global Drush installs by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5521](https://togithub.com/drush-ops/drush/pull/5521)
- Add YAML edit commands from YAML-CLI project by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5530](https://togithub.com/drush-ops/drush/pull/5530)
- Fix [#5146](https://togithub.com/drush-ops/drush/issues/5146). Document single file config import using config:set by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5543](https://togithub.com/drush-ops/drush/pull/5543)
- Follow the DI pattern used by Drupal Forms/Controllers/Blocks to instantiate Drush command classes by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5547](https://togithub.com/drush-ops/drush/pull/5547)
- Update the Drush commandfile generator to use create() by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5548](https://togithub.com/drush-ops/drush/pull/5548)
- Use own DrupalFinder which pulls path from Composer API by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5542](https://togithub.com/drush-ops/drush/pull/5542)
- Create a service adapter for drush.services.yml by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5553](https://togithub.com/drush-ops/drush/pull/5553)
- Static create commands by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5562](https://togithub.com/drush-ops/drush/pull/5562)
#### New Contributors
- [@MakerTim](https://togithub.com/MakerTim) made their first contribution in [https://github.com/drush-ops/drush/pull/5167](https://togithub.com/drush-ops/drush/pull/5167)
- [@cilefen](https://togithub.com/cilefen) made their first contribution in [https://github.com/drush-ops/drush/pull/5487](https://togithub.com/drush-ops/drush/pull/5487)
- [@halisonfernandes](https://togithub.com/halisonfernandes) made their first contribution in [https://github.com/drush-ops/drush/pull/5354](https://togithub.com/drush-ops/drush/pull/5354)
- [@marcaddeo](https://togithub.com/marcaddeo) made their first contribution in [https://github.com/drush-ops/drush/pull/5203](https://togithub.com/drush-ops/drush/pull/5203)
- [@wimleers](https://togithub.com/wimleers) made their first contribution in [https://github.com/drush-ops/drush/pull/5588](https://togithub.com/drush-ops/drush/pull/5588)
**Full Changelog**: https://github.com/drush-ops/drush/compare/11.5.1...12.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
11.5.1
->12.0.0
Release Notes
drush-ops/drush
### [`v12.0.0`](https://togithub.com/drush-ops/drush/releases/tag/12.0.0) [Compare Source](https://togithub.com/drush-ops/drush/compare/11.5.1...12.0.0) - Compatible with Drupal 10+. - Existing commands should run without modification unless you are doing something exotic. - Changing commands to use [PHP Attributes](https://www.drush.org/11.x/commands/#attributes-or-annotations) and [static create() factory](https://www.drush.org/11.x/dependency-injection/#create-method) may be done at your leisure, before Drupal 13. #### What's Changed - Always call the site-local Drush, if possible by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5583](https://togithub.com/drush-ops/drush/pull/5583) - field-create: Make it easier for field types extending entity reference to add target type/bundles options (12.x) by [@DieterHolvoet](https://togithub.com/DieterHolvoet) in [https://github.com/drush-ops/drush/pull/5609](https://togithub.com/drush-ops/drush/pull/5609) - Remove drush.services.yml warning message by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5570](https://togithub.com/drush-ops/drush/pull/5570) - Fix [#5128](https://togithub.com/drush-ops/drush/issues/5128). Deprecate global configuration commands. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5573](https://togithub.com/drush-ops/drush/pull/5573) - Discover generators same as commands, without backward compat by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5581](https://togithub.com/drush-ops/drush/pull/5581) - Remove drush's own service providers. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5584](https://togithub.com/drush-ops/drush/pull/5584) - Remove pm:security-php in favor of composer audit by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5392](https://togithub.com/drush-ops/drush/pull/5392) - Fix [#5071](https://togithub.com/drush-ops/drush/issues/5071). Drop LegacyAliasConverter command. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5393](https://togithub.com/drush-ops/drush/pull/5393) - Convert all Drush core commands to use PHP8 Attributes instead of Annotations (e.g. ConfigCommands in [https://github.com/drush-ops/drush/pull/5396](https://togithub.com/drush-ops/drush/pull/5396)) - Use PHP 8.1 as min by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5397](https://togithub.com/drush-ops/drush/pull/5397) - Use final keyword for command classes, and constants for command names. Part n of many. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5410](https://togithub.com/drush-ops/drush/pull/5410) - field-create/field-delete: Filter bundles according to passed field name by [@DieterHolvoet](https://togithub.com/DieterHolvoet) in [https://github.com/drush-ops/drush/pull/5416](https://togithub.com/drush-ops/drush/pull/5416) - Update dcf generator for Attributes and D10 by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5442](https://togithub.com/drush-ops/drush/pull/5442) - php strict_types on commandfiles by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5450](https://togithub.com/drush-ops/drush/pull/5450) - Better composer bin by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5455](https://togithub.com/drush-ops/drush/pull/5455) - site:install Fix: database containing certain characters breaks creating of database by [@MakerTim](https://togithub.com/MakerTim) in [https://github.com/drush-ops/drush/pull/5167](https://togithub.com/drush-ops/drush/pull/5167) - Fix [#3793](https://togithub.com/drush-ops/drush/issues/3793): Don't validate config name on config:set. by [@donquixote](https://togithub.com/donquixote) in [https://github.com/drush-ops/drush/pull/5370](https://togithub.com/drush-ops/drush/pull/5370) - Use Composer Runtime API to determine Drush version by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5462](https://togithub.com/drush-ops/drush/pull/5462) - Upgrade to drupal-code-generator v3 by [@Chi-teck](https://togithub.com/Chi-teck) in [https://github.com/drush-ops/drush/pull/5371](https://togithub.com/drush-ops/drush/pull/5371) - Auto-enable pg_trm extension for postgres during DB creation. by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5467](https://togithub.com/drush-ops/drush/pull/5467) - Update queue:run to run garbage collection by [@marcaddeo](https://togithub.com/marcaddeo) in [https://github.com/drush-ops/drush/pull/5203](https://togithub.com/drush-ops/drush/pull/5203) - Fix [#5301](https://togithub.com/drush-ops/drush/issues/5301). Add suggested values for completion to various args/options by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5499](https://togithub.com/drush-ops/drush/pull/5499) - Field definition commands by [@Chi-teck](https://togithub.com/Chi-teck) in [https://github.com/drush-ops/drush/pull/5517](https://togithub.com/drush-ops/drush/pull/5517) - Remove dual autoloader feature from global Drush installs by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5521](https://togithub.com/drush-ops/drush/pull/5521) - Add YAML edit commands from YAML-CLI project by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5530](https://togithub.com/drush-ops/drush/pull/5530) - Fix [#5146](https://togithub.com/drush-ops/drush/issues/5146). Document single file config import using config:set by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5543](https://togithub.com/drush-ops/drush/pull/5543) - Follow the DI pattern used by Drupal Forms/Controllers/Blocks to instantiate Drush command classes by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5547](https://togithub.com/drush-ops/drush/pull/5547) - Update the Drush commandfile generator to use create() by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5548](https://togithub.com/drush-ops/drush/pull/5548) - Use own DrupalFinder which pulls path from Composer API by [@weitzman](https://togithub.com/weitzman) in [https://github.com/drush-ops/drush/pull/5542](https://togithub.com/drush-ops/drush/pull/5542) - Create a service adapter for drush.services.yml by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5553](https://togithub.com/drush-ops/drush/pull/5553) - Static create commands by [@greg-1-anderson](https://togithub.com/greg-1-anderson) in [https://github.com/drush-ops/drush/pull/5562](https://togithub.com/drush-ops/drush/pull/5562) #### New Contributors - [@MakerTim](https://togithub.com/MakerTim) made their first contribution in [https://github.com/drush-ops/drush/pull/5167](https://togithub.com/drush-ops/drush/pull/5167) - [@cilefen](https://togithub.com/cilefen) made their first contribution in [https://github.com/drush-ops/drush/pull/5487](https://togithub.com/drush-ops/drush/pull/5487) - [@halisonfernandes](https://togithub.com/halisonfernandes) made their first contribution in [https://github.com/drush-ops/drush/pull/5354](https://togithub.com/drush-ops/drush/pull/5354) - [@marcaddeo](https://togithub.com/marcaddeo) made their first contribution in [https://github.com/drush-ops/drush/pull/5203](https://togithub.com/drush-ops/drush/pull/5203) - [@wimleers](https://togithub.com/wimleers) made their first contribution in [https://github.com/drush-ops/drush/pull/5588](https://togithub.com/drush-ops/drush/pull/5588) **Full Changelog**: https://github.com/drush-ops/drush/compare/11.5.1...12.0.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.