2002.0.12
shiftedreality
released this
12 Jun 21:12
·
322 commits
to 2002.0
since this release
Changelog (30 related PRs)
- Docker Compose for Cloud—Added a command—
docker:build
—to generate a Docker Compose configuration from the Cloud ECE-Tools repository. - Change Locales—Now you can change store locale without the exporting and importing configuration process. While Magento is in Production and the
SCD_ON_DEMAND
is enabled, the Magento store and admin locale options are available. - Site map and Robots—Created a workflow to add a
robots.txt
file and generate asitemap.xml
file for a single domain configuration without requiring a change to the infrastructure. - Wizards—Added two wizards to help you with Cloud configuration:
ideal-state
—configure the ideal state for minimal deployment downtimemaster-slave
—configure load balancing for database and Redis
- Module Refresh—Added a Cloud command—
module:refresh
—to enable modules that were disabled or not explicitly enabled, similar to the way that it is done automatically during a build. - Added the ability to choose to merge or overwrite configuration for services using the
_merge
option inCACHE
,SESSION
,QUEUE
, andSEARCH
configurations. - Environment Configuration sample file—We added a
.magento.env.yaml
sample file to the ece-tools package that includes a detailed description and possible values for each environment variable.- We also added a deep validation for the
.magento.env.yaml
configuration that prevents failures in the deployment process caused by unexpected values. When a failure occurs, you now receive a detailed error message that begins with:Environment configuration is not valid. Please correct .magento.env.yaml file with next suggestions:
- We also added a deep validation for the
- Added the following Environment variables:
- Now you can define multiple locales for each theme using the new
SCD_MATRIX
environment variable, which reduces the amount of theme files to deploy. - Added the
DATABASE_CONFIGURATION
environment variable to customize your database connections for deployment. - The new
MIN_LOGGING_LEVEL
variable overrides the minimum logging level for all output streams without making changes to the code.
- Now you can define multiple locales for each theme using the new
- Fixed an issue that caused downtime between the deploy and post-deploy phase. Now, the post_deploy phase begins immediately after the deploy phase ends.
- Fixed an issue that did not clean the successful cron jobs, those with
status = success
, from the schedule. - Fixed an issue with the
post_deploy
hook that cleared the cache in the deploy phase instead of the post-deploy phase of the project. - Fixed an issue when using SCD with multiple locales, which generated the same
js-translation.json
file for each locale. - Optimized the
db:dump
command in the ECE-Tools package to avoid locking tables and increase speed.