Releases: drush-ops/drush
Releases · drush-ops/drush
12.2.0
What's Changed
- Handle final entity class in php:cli by @heddn in #5729
- Fix #5730. php:cli should avoid duplicate class name. by @weitzman in #5733
- Use class references and first class callable syntax in cli command by @weitzman in #5735
- Fix multiselect choice() by @weitzman in #5737
- Add locale:import:all - imports multiple custom translation po files by @andypost in #5569
- Use logger method in locale:import-all by @weitzman in #5738
- Update StateCommands.php by @Elvin-Xhimitiku in #5740
- Fix fatal error when no PHP version is specified in drush.yml by @AronNovak in #5743
- Catch fatal errors as well during service instantiation by @weitzman in #5749
- Move cache:rebuild to own command file by @weitzman in #5750
- Use createEarly() for DI in CacheRebuildCommands by @weitzman in #5752
- Honor Bootstrap in LoginCommands by using createEarly() by @weitzman in #5753
New Contributors
- @Elvin-Xhimitiku made their first contribution in #5740
Full Changelog: 12.1.3...12.2.0
12.1.3
What's Changed
- update twig:compile to use load() method by @weitzman in #5705
- Move bootstrapDrupalCore() up a level in class hierarchy by @weitzman in #5706
- PsySh quick entity access by @chx in #5709
- Document project-specfic psysh config file by @weitzman in #5710
- Run batch process when (un)installing modules via config:import by @claudiu-cristea in #5714
- Follow-up: Run batch process when (un)installing modules via config:import by @claudiu-cristea in #5715
- Information dense entity dumper by @chx in #5716
- add loadRevision functionality by @chx in #5717
- Update commands.md with current command names by @ptmkenny in #5720
- Update drush.api.php typo by @codebymikey in #5723
- Add argument/option autocompletion to field commands by @DieterHolvoet in #5678
- Fix uncaught TypeError when docs path not found by @MarttiR in #5726
New Contributors
Full Changelog: 12.1.2...12.1.3
12.1.2
What's Changed
- Make query example work by using the database service by @kekkis in #5680
- Fix #5672. TypeError when setting config value to '[]' by @weitzman in #5682
- --editor must have a value. Fixes #5670 by @weitzman in #5683
- Fix #5651. drush sec could give better guidance when using drupal/core-recommended by @weitzman in #5684
- Fix 'TypeError: SymfonyStyle::ask(): Argument #2 ($default) must be of type ?string, int given' by @DieterHolvoet in #5690
- Add an EntityToArray simplifier to FormatterManager by @weitzman in #5685
- Fix #5688. sql:query fails when given a Gzip file with path starting … by @phparkle in #5689
- Add Twig debug command by @Chi-teck in #5668
- #5686 Fix issue "Drush installation is not detected for other site al… by @ordermind in #5687
- Update CommandInfoAlterers docs for Drush 12. Also update Woot's CommandInfoAlterer. by @weitzman in #5695
- Add note about dir change when porting commands to Drush 12 by @weitzman in #5696
- Add FieldTextHooks by @DieterHolvoet in #5693
- Fix 'TypeError: FieldBaseOverrideCreateCommands::askFieldDescription(): Argument #1 ($default) must be of type ?string, TranslatableMarkup given' by @DieterHolvoet in #5699
- Defensive code in options hook for field:create by @weitzman in #5700
- Fix image:flush --all by @weitzman in #5702
- Default to render cache clear by @weitzman in #5704
New Contributors
- @kekkis made their first contribution in #5680
- @phparkle made their first contribution in #5689
- @ordermind made their first contribution in #5687
Full Changelog: 12.1.1...12.1.2
12.1.1
What's Changed
- Inject database service into Watchdog commands by @weitzman in #5665
- Fix config file name documentation by @darrenoh in #5671
- Update Example query as JSON by @weitzman in #5676
- Bring back Drupal kernel terminate event by @weitzman in #5677
New Contributors
Full Changelog: 12.1.0...12.1.1
12.1.0
What's Changed
- Remove theme:in command alias to make list command column less wide. by @weitzman in #5648
- Add CASCADE to table drop in Postgres driver by @weitzman in #5649
- Add on_error_stop to postgres driver. Fixes #5591 by @weitzman in #5650
- Work around legacy generators crashing drush by @neclimdul in #5656
- user:cancel - arg is optional by @weitzman in #5658
- Return new user in user:create. Fixes #5660 by @weitzman in #5661
Full Changelog: 12.0.2...12.1.0
12.0.2
What's Changed
- Add hook_deploy_NAME function by @DieterHolvoet in #5615
- Use command name constants as hook targets by @weitzman in #5633
- Fix broken links in generators.md by @weitzman in #5634
- Use more constants for selector and command names by @weitzman in #5636
- Fix #2281. Document that quotes are recommended when passing bash to ssh command. by @weitzman in #5637
- Legacy service instantiator dynamic property by @Chi-teck in #5638
- Entity delete fails with chunks option by @Chi-teck in #5642
- Fix #5639. ArchiveRestoreCommands::importDatabase problem with DB drop or create logic by @weitzman in #5644
- Issue #5643 - 12.x - Fix return value of the \Drush\Sql\SqlPgsql::dbExists() by @Sweetchuck in #5646
Full Changelog: 12.0.1...12.0.2
12.0.1
What's Changed
- Make Drush 12 the default on www.drush.org by @weitzman in #5620
- Add 11/23 EOL for Drupal 10, tweak other parts of install compat table by @weitzman in #5627
- Fix alias name conflict for cache:set and config:set by @weitzman in #5632
- Satisfy type hint with cast to string in watchdog:list by @weitzman in #5631
- Sanity check service data in legacy service instantiator by @greg-1-anderson in #5629
- Add drush sset examples for new Twig debugging / caching settings by @DieterHolvoet in #5614
Full Changelog: 12.0.0...12.0.1
11.6.0
What's Changed
- field-create/field-delete: Filter bundles according to passed field name (11.x) by @DieterHolvoet in #5345
- Update sql:sync to use --field to find tmp dir (11.x) by @weitzman in #5437
- Better composer bin (11.x) by @weitzman in #5456
- field-create: Fix the field-create-field-storage event (11.x) by @DieterHolvoet in #5555
- Backport static create factory commands for Drush 11.x by @greg-1-anderson in #5565
- field-create: Make it easier for field types extending entity reference to add target type/bundles options (11.x) by @DieterHolvoet in #5556
Full Changelog: 11.5.1...11.6.0
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 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
12.0.0-rc4
What's Changed
- Fix archive:dump for Composer 2.5.7 by @greg-1-anderson in #5606
- Fixes #5586: Allow legacy service instantiation to supply service parameters by @greg-1-anderson in #5607
- Skip legacy generators by @Chi-teck in #5605
- 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
Full Changelog: 12.0.0-rc3...12.0.0-rc4