ÃÛ¶¹ÊÓÆµ

  • new icon Infrastructure updates—

    • new icon Logging improvements—Improved log-tracking capability by assigning exit codes to critical deploy errors and exposing the exit codes in error message notifications and log events. See Error message reference for ece-tools.

    • new icon Improved the process for database dumps (vendor/bin/ece-tools db-dump) and updated log messages to clarify that the database dump operation switches the application to maintenance mode, stops consumer queue processes, and disables cron jobs before the dump begins.

    • fix icon Fixed an issue to ensure that the project URL is updated correctly when deploying to Staging and Production environments. Now, ece-tools uses the URL for the route with the primary:true attribute set in the project route configuration. See Deploy variables.

    • fix icon Updated the generate.xml build scenario workflow for applying patches. Patches must be applied earlier to update ÃÛ¶¹ÊÓÆµ Commerce to fix any issues that might cause the di:compile and module:refresh steps to fail.

    • fix icon Fixed an issue in the installation process that incorrectly returns the Crypt key missing error. The crypt/key value is generated automatically during the installation.

  • new icon Service updates—

    • new icon Added support for PHP 7.4 and MariaDB 10.4.
  • new icon Environment variable updates—

    • new icon Added the SCD_USE_BALER variable to enable the Baler module for JavaScript bundling during the ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructure build process. See the variable description in the build variables.

    • new icon Added the REDIS_BACKEND environment variable to configure the Redis backend model for Redis cache for ÃÛ¶¹ÊÓÆµ Commerce 2.3.5 or later. See the variable description in the deploy variables.

  • new icon CLI command updates—

    • new icon Updated the following CLI commands with an option for more detailed logging:

      • app:config:dump
      • app:config:import
      • module:enable

      The logging level for each call is determined by the configuration of the VERBOSE_COMMANDS variable in the .magento.env.yaml file.

  • new icon Validation improvements—

    • new icon Elasticsearch 7.x compatibility checks—Updated Elasticsearch validation for Elasticsearch 7.x software compatibility checks.

    • new icon Updated service version and EOL validation checks—Updated validation to check installed service versions against ÃÛ¶¹ÊÓÆµ Commerce 2.4. requirements.

    • fix icon Fixed a validation issue so that the following post-deploy warning message displays only if the post-deploy hook configuration is missing from the .magento.app.yaml file:

      code language-text
      Your application does not have the "post_deploy" hook enabled.
      
    • new icon Added validation for Zend Framework dependencies—Added composer dependency validation for the Zend Framework which has migrated to the Laminas project. If the required dependencies are missing, the following error message displays during the build process.

      code language-text
      Required configuration is missing from the autoload section of the composer.json file.
      Add ("Laminas\Mvc\Controller\Zend\": "setupsrc/ Zend/Mvc/Controller/") to
      the `autoload -> psr-4` section. Then, re-run the "composer update" command locally, and
      commit the updated composer.json and composer.lock files.
      

      See Verify Zend Framework dependencies.

    • new icon Added validation for env.php file and data—Added checks for the env.php file and data during the install and upgrade process.

      • If the env.php file is missing from the installation, and the crypt/key value is not specified in the .magento.app.yaml file, the deployment fails with the following notification:

        code language-text
        The crypt/key key value does not exist in the ./app/etc/env.php file or the CRYPT_KEY cloud environment variable``Missing crypt key for upgrading Magento`.
        
      • If the installation does not include the env.php file, or the configuration contains only one cache type, the cron:enable command runs during the upgrade process to restore the file with all cache_types. The following notification is added to the log:

        code language-text
        Magento state indicated as installed but configuration file app/etc/env.php was empty or did not exist.
        Required data will be restored from environment configurations and from the .magento.env.yaml file.
        

v2002.1.0

Release date: February 6, 2020

  • new icon Infrastructure updates—

    • new icon Added separate package for Cloud Docker for Commerce—Decoupled the Docker package from the ece-tools package to maintain code quality and provide independent releases. Updates and fixes related to ece-tools are managed from the GitHub repository.

    • new icon Updated patching capabilities—Moved the patching functionality from the ECE-Tools package to a separate package. During deployment, ece-tools uses the new package to apply patches. See Cloud patches release notes.

    • new icon Updated Composer dependencies—Updated the composer.json file for ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructure with a dependency for the magento/magento-cloud-docker package. Now, ece-tools includes dependencies for all packages in the Cloud Tools Suite for Commerce. These packages are installed and updated automatically when you install or update ece-tools.

  • new icon Support for scenario-based deployments—

    • new icon Now you can customize the build, deploy, and post-deploy processes using XML configuration files to override or customize the default configuration.

    • new icon Changed the hooks configuration in .magento.app.yaml—We updated the hooks configuration format to support scenario-based deployments. The legacy format from earlier ECE-Tools 2002.0.x release is still supported. However, you must update to the new format to use the scenario-based deployment feature. See Scenario-based deployments.

NOTE
Before updating to ECE-Tools version 2002.1.0, review the backward incompatible changes to learn about changes that might require you to update ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructure project configuration or processes.
  • new icon Service updates—

    • new icon Added support for PHP 7.3.

    • new icon Added support for RabbitMQ 3.8.

    • new icon Added validation to check installed service versions against the EOL date for each service. Now, customers receive a notification if a service version is within three months of the EOL date, and a warning if the EOL date is in the past.

    • fix icon Fixed an Elasticsearch configuration issue to ensure that the correct Elasticsearch settings are configured in all environments.

NOTE
See Service versions for a list of services used in ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructure and their version compatibility with the Cloud template.
  • new icon Environment variable updates—

    • new icon Extended the functionality of the WARM_UP_PAGES environment variable to support cache preloading for specific product pages. See the expanded definition in the post-deploy variables topic.

    • new icon Added the ERROR_REPORT_DIR_NESTING_LEVEL environment variable to simplify error report data management in the <magento_root>/var/report/ directory. See the variable description in the build variables topic.

    • fix icon Removed the SCD_EXCLUDE_THEMES, STATIC_CONTENT_THREADS,DO_DEPLOY_STATIC_CONTENT, and STATIC_CONTENT_SYMLINK environment variables. See Backward incompatible changes.

    • fix icon Fixed an issue in the Elastic Suite configuration process so that the default configuration is overwritten as expected when you configure the ELASTICSUITE_CONFIGURATION deploy variable without the _merge option.

  • new icon CLI command updates—

    • new icon New cron command—You can now manually manage cron processing in your ÃÛ¶¹ÊÓÆµ Commerce on cloud infrastructure environment using the cron:disable and cron:enable commands. Use the disable command to stop all active cron processes and disable all cron jobs. Use the enable command to re-enable cron jobs when you are ready. See Disable cron jobs.

    • new icon Improved error reporting—Added better logging for CLI command failures that occur during ECE-Tools processing.

    • new icon Remove deprecated build commands— Removed the following build commands: m2-ece-build, m2-ece-deploy, m2-ece-scd-dump, and renamed ece-tools docker commands to ece-docker. See Backward incompatible changes

  • new icon Removed the deprecated build_options.ini file and added validation to fail the build if the file exists. Use the .magento.env.yaml file to configure build options.

  • fix icon Fixed an issue that caused the build process to fail when the config.php file is empty.

2002.0.23

Release date: February 27, 2020

  • fix icon Fixed a compatibility issue with ece-tools 2002.0.x releases that prevented on-demand static content generation from completing successfully in production mode.

Older releases

See the release notes archive for version 2002.0.22 and earlier.

recommendation-more-help