Releases: drush-ops/drush
Releases · drush-ops/drush
12.5.0
Commandfiles are now encouraged to inject their dependencies via Autowire (#5893). The drush.services.yml file is deprecated and may be removed in Drush 13. Now is also a good time to update commandfiles to use PHP Attributes instead of annotations.
A new content authoring command: entity:create. Added in 12.4.4 and so fun we had to mention it again in this minor release.
Full Changelog: 12.4.4...12.5.0
12.4.4
New
What's Changed
- Add asciinema and autocast in our DDEV by @weitzman in #5817
- Set correct generator type for alias-file generator by @Chi-teck in #5820
- Add tip that
--destination
starting point is Drupal root by @gitressa in #5819 - Report full path to archive dump when --destination is passed. by @weitzman in #5821
- Test trait must convert arg to string by @weitzman in #5822
- Avoid TypeError when calling a Drush command inside of php:cli by @weitzman in #5824
- Update path to /path/to/vendor/bin under Install > Execution by @gitressa in #5826
- Avoid newest Xdebug by @weitzman in #5835
- Remove crufty comment by @weitzman in #5841
- Fix #5816. PolicyCommands.php example produces errors by @weitzman in #5842
- Attribute also does the validate by @weitzman in #5818
- (documentation) Add a command example using %private path alias. by @jonpugh in #5847
- Replace usage of Assertion\Handle::register() by @claudiu-cristea in #5852
- DrushLoggerServiceProvider is not registered after cache rebuild by @mcdruid in #5863
- Fix update notes from prior Drush versions to include missing /src by @goba in #5874
- Add Drush 13 / Drupal 11 to compatibility to help users plan by @goba in #5875
- Skip abstract entity type classes from being exposed with their short… by @ceesgeene in #5856
- Remove the use of
mt_rand
by @bbeversdorf in #5857
New Contributors
- @jonpugh made their first contribution in #5847
- @bbeversdorf made their first contribution in #5857
Full Changelog: 12.4.3...12.4.4
12.4.3
What's Changed
- Use constants for command names by @weitzman in #5803
- Add Attribute for use by obsolete commands by @weitzman in #5804
- Add an attribute for formatter options by @weitzman in #5805
- Add minimal as profile option by @gitressa in #5791
- Fix #5810. Improve rendering of list in docs by @weitzman in #5811
- Correct fix for batch update scenario by @Berdir in #5809
- --ignore-roles for sql:sanitize 12.x, based on PR #4725 by @Berdir in #5808
Full Changelog: 12.4.2...12.4.3
12.4.2
12.4.1
12.4.0
What's Changed
- field-create: Don't list field types with no_ui set to true by @DieterHolvoet in #5782
- Fixes #5761 Fix remote call has wrong path for vendor/bin/drush… by @joelpittet in #5785
- Add a MariaDB driver to handle its mysqldump replacement by @weitzman in #5787
Full Changelog: 12.3.0...12.4.0
12.3.0
What's Changed
- SqlBase: Fix PHP 8.1 compatibility with
drush sql:create --simulate
by @codebymikey in #5757 - Fix 'TypeError: FieldCreateCommands::getExistingFieldStorageOptions(): Argument #3 ($showMachineNames) must be of type bool, string given' by @DieterHolvoet in #5759
- Update composer.lock so that the SDC generator from chi-teck/drupal-code-generator is displayed in help site by @weitzman in #5763
- Remove pm:security in favor of composer audit by @weitzman in #5775
New Contributors
- @adamzimmermann made their first contribution in #5758
Full Changelog: 12.2.0...12.3.0
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