Skip to content

Commit

Permalink
DQA-7313: Release 9.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocsilva committed Jun 30, 2023
1 parent a7c9316 commit da579e8
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 20 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
33 changes: 17 additions & 16 deletions docs/guide/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand All @@ -32,46 +33,46 @@ 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.
toolkit:setup-blackfire-behat Copy the needed resources to run Behat with Blackfire.
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
Expand Down
2 changes: 1 addition & 1 deletion phpdoc.dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<paths>
<output>docs</output>
</paths>
<version number="9.10.0">
<version number="9.11.0">
<folder>latest</folder>
<api>
<source dsn=".">
Expand Down
2 changes: 1 addition & 1 deletion src/Toolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/commands/tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit da579e8

Please sign in to comment.