From da579e84f8333250590f93225db6dc5f794fae05 Mon Sep 17 00:00:00 2001 From: Joao Silva Date: Fri, 30 Jun 2023 12:03:47 +0200 Subject: [PATCH] DQA-7313: Release 9.11.0 --- CHANGELOG.md | 10 ++++++++++ docs/guide/commands.rst | 33 ++++++++++++++++---------------- phpdoc.dist.xml | 2 +- src/Toolkit.php | 2 +- tests/fixtures/commands/tool.yml | 4 ++-- 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80a51d3df..0de462267 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Toolkit change log +## Version 9.11.0 + - DQA-6750: Command to check drupal permissions. + - DQA-6750: Control blocker of drupal:check-permissions. + - DQA-7006: Duplicated options when running toolkit:lint-php. + - DQA-6154: Component check - remove limitation of checking drupal module only. + - DQA-6681: Command drupal:permissions-setup should not apply permissions recursively. + - DQA-7280: Support Drush12. + - DQA-7333: Add aliases to commands. + - DQA-7296: Add user-agent to the Toolkit api calls. + ## Version 9.10.0 - DQA-7047: Deploy commands run drush cr as first. - DQA-5985: Update default value of toolkit to match the new environment. diff --git a/docs/guide/commands.rst b/docs/guide/commands.rst index c35cf6a0e..f8477c818 100644 --- a/docs/guide/commands.rst +++ b/docs/guide/commands.rst @@ -21,6 +21,7 @@ See bellow current list of available commands: docker docker:refresh-configuration [dk-rc] Update docker-compose.yml file based on project's configurations. drupal + drupal:check-permissions Command to check the forbidden permissions. drupal:config-import Run the Drupal config import. drupal:disable-cache Disable aggregation and clear cache. drupal:drush-setup Write Drush configuration file at "${drupal.root}/drush/drush.yml". @@ -32,34 +33,34 @@ See bellow current list of available commands: drupal:symlink-project Symlink project as module, theme or profile in the proper directory. drupal:upgrade-status [tdus] Check project compatibility for Drupal 9/10 upgrade. toolkit - toolkit:build-assets [tba|tk-assets] Build theme assets (Css and Js). + toolkit:build-assets [tk-bassets|tk-assets|tba] Build theme assets (Css and Js). toolkit:build-dev [tk-bdev] Build site for local development. - toolkit:build-dev-reset Build site for local development from scratch with a clean git. + toolkit:build-dev-reset [tk-bdev-reset] Build site for local development from scratch with a clean git. toolkit:build-dist [tk-bdist] Build the distribution package. toolkit:check-phpcs-requirements Make sure that the config file exists and configuration is correct. toolkit:check-version Check the Toolkit version. toolkit:code-review This command will execute all the testing tools. toolkit:complock-check Check if 'composer.lock' exists on the project root folder. toolkit:component-check Check composer.json for components that are not whitelisted/blacklisted. - toolkit:create-dump Export the local snapshot. - toolkit:download-dump Download ASDA snapshot. + toolkit:create-dump [tk-cdump] Export the local snapshot. + toolkit:download-dump [tk-ddump] Download ASDA snapshot. toolkit:fix-permissions Run script to fix permissions (experimental). - toolkit:hooks-delete-all Remove all existing hooks, this will ignore active hooks list. - toolkit:hooks-disable Disable the git hooks. - toolkit:hooks-enable Enable the git hooks defined in the configuration or in given option. - toolkit:hooks-list List available hooks and its status. - toolkit:hooks-run Run a specific hook. + toolkit:hooks-delete-all [tk-hdel] Remove all existing hooks, this will ignore active hooks list. + toolkit:hooks-disable [tk-hdis] Disable the git hooks. + toolkit:hooks-enable [tk-hen] Enable the git hooks defined in the configuration or in given option. + toolkit:hooks-list [tk-hlist] List available hooks and its status. + toolkit:hooks-run [tk-hrun] Run a specific hook. toolkit:import-config [DEPRECATED] Run the Drupal config import. toolkit:install-clean [tk-iclean] Install a clean website. toolkit:install-clone [tk-iclone] Install a clone website. toolkit:install-dependencies Install packages present in the opts.yml file under extra_pkgs section. - toolkit:install-dump Import the production snapshot. - toolkit:lint-js [tljs|tk-js] Run lint JS. - toolkit:lint-php [tlp|tk-php] Run lint PHP. - toolkit:lint-yaml [tly|tk-yaml] Run lint YAML. + toolkit:install-dump [tk-idump] Import the production snapshot. + toolkit:lint-js [tk-js|tljs] Run lint JS. + toolkit:lint-php [tk-php|tlp] Run lint PHP. + toolkit:lint-yaml [tk-yaml|tly] Run lint YAML. toolkit:opts-review Check project's .opts.yml file for forbidden commands. toolkit:requirements Check the Toolkit Requirements. - toolkit:run-blackfire [tbf|tk-bfire] Run Blackfire. + toolkit:run-blackfire [tk-bfire|tbf] Run Blackfire. toolkit:run-deploy Run deployment sequence. toolkit:run-phpcbf [tk-phpcbf] Run PHP code autofixing. toolkit:setup-behat Setup the Behat file. @@ -67,11 +68,11 @@ See bellow current list of available commands: toolkit:setup-eslint Setup the ESLint configurations and dependencies. toolkit:setup-phpcs Setup PHP code sniffer. toolkit:setup-phpunit Setup the PHPUnit file. - toolkit:test-behat [tb|tk-behat] Run Behat tests. + toolkit:test-behat [tk-behat|tb] Run Behat tests. toolkit:test-phpcs [tk-phpcs] Run PHP code sniffer. toolkit:test-phpmd [tk-phpmd] Run PHPMD. toolkit:test-phpstan [tk-phpstan] Run PHPStan. - toolkit:test-phpunit [tp|tk-phpunit] Run PHPUnit tests. + toolkit:test-phpunit [tk-phpunit|tp] Run PHPUnit tests. toolkit:vendor-list Check 'Vendor' packages being monitored. .. toolkit-block-commands-end diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index f1277b683..95092b981 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -9,7 +9,7 @@ docs - + latest diff --git a/src/Toolkit.php b/src/Toolkit.php index 6239f667a..5da642047 100644 --- a/src/Toolkit.php +++ b/src/Toolkit.php @@ -14,7 +14,7 @@ final class Toolkit /** * Constant holding the current version. */ - public const VERSION = '9.10.0'; + public const VERSION = '9.11.0'; /** * Returns the Toolkit root. diff --git a/tests/fixtures/commands/tool.yml b/tests/fixtures/commands/tool.yml index 9249f1033..03ad731ed 100644 --- a/tests/fixtures/commands/tool.yml +++ b/tests/fixtures/commands/tool.yml @@ -86,7 +86,7 @@ [WARNING] Failed to get Toolkit version from composer.lock. Minimum version: ^9.6 - Current version: 9.10.0 + Current version: 9.11.0 Version check: OK - command: toolkit:check-version @@ -99,7 +99,7 @@ > Checking Toolkit version: Minimum version: ^9.6 - Current version: 9.10.0 + Current version: 9.11.0 Version check: OK - command: toolkit:vendor-list