Change log for Magento 2 Zero Downtime Deployment
Version 2.0.23 (June 12, 2024)
Features:
- - Performed security improvements. Now Magento SecureRenderer is used to whitelist an inline script.
- - The composer install command is now not executed in a live folder, when it's not needed (when nothing changed in composer.json and composer.lock files).
Fixes:
- - The Static cache files is now cleaned after the Magento page cache flush. This prevents from occuring the 404 errors on static files when the old static cache was removed but the cache has not been flushed yet.
Version 2.0.22 (June 12, 2024)
Fixes:
- - Fixed issue with -m param. Deployment commands without git did run when git was enabled in the extension config. Now config settings for git is ignored when -m option used.
Version 2.0.21 (April 11, 2024)
Features:
- - Minor code improvements.
Fixes:
- - Fixed the "Unknown module" error during deployment.
Version 2.0.20 (February 14, 2024)
Features:
- - Added new parameters to the bin/magento magefan:zero-downtime:deploy command — -g and -c — which define whether to use pull from Git during deployment and to run composer commands. Read more about these parameters.
Version 2.0.19 (January23, 2024)
Features:
- - Improved deployment without Git. Now it can be done just in one command: bin/magento magefan:zero-downtime:deploy -m.
- - Option to disable default Magento deploy commands to prevent their accidental execution on live instances.
- - Minor code improvements.
Version 2.0.18 (September 1, 2023)
Features:
- - Added -b (Git Branch) option to pull data and switch to a specific branch during deployment.
Version 2.0.17 (June 16, 2023)
Features:
- - New option "Instance Files And Folders" (Copy To Temporary Instance / Copy From Temporary Instance) that allows to add custom files in your infrastructure.
- - Minor code improvements.
Fixes:
- - Webhooks from Bitbucket do not work.
Version 2.0.16 (March 30, 2023)
Features:
- - Compatibility with PHP8.2.
Version 2.0.15 (February 01, 2023)
Features:
- - Compatibility with Amasty Jet Theme.
Version 2.0.14 (December 29, 2022)
Fixes:
- - If a module has just been updated and no new modules have been added the "bin/magento setup:upgrade" command is not triggered by "bin/magento magefan:zero-downtime:composer".
Version 2.0.13 (October 19, 2022)
Features:
- - Added Capistrano compatibility.
- - Added composer options to composer commands.
- - Added jobs parameter for parallel processing of static content deploy.
Version 2.0.12 (August 4, 2022)
Features:
- - Added megapack bundle support.
Version 2.0.11 (July 20, 2022)
Features:
- - New CLI command for composer require/update/remove. E.g. bin/magento magefan:zero-downtime:composer require vendor/module-name.
Version 2.0.10 (June 8, 2022)
Features:
- - Opcode Cache (OPcache) compatibility.
Version 2.0.9 (May 13, 2022)
Features:
- - Added --no-interaction parameter to the composer install command.
Version 2.0.8 (December 29, 2021)
Fixes:
- - Comparability issue with Magento 2.3.x in extension version 2.0.7.
Version 2.0.7 (December 21, 2021)
Features:
- - Switching Magento deployment mode without downtime. Use command bin/magento magefan:zero-downtime:deploy-mode-set -m .
- - Improved static content deploy.
Version 2.0.6 (July 20, 2021)
Features:
- - GitHub, GitLab web-hooks support to automatically initialize the deployment.
- - Comparability with Bitnami servers (bin/magefan-bitmani-zdd script added).
- - Additional bin/magento CLI commands that allow deploying changes without GIT.
- - Option to define specific git branch to pull from.
- - Option to define custom bin/magento command to run.
Fixes:
- - Error when running bin/magento magefan:zero-downtime:deploy command from some bash script
Version 2.0.5 (March 5, 2021)
Bug Fixes:
- - Error during static content deploy on vanilla Magento 2 installation without sample data when no storefront theme is selected in design settings.
Version 2.0.4 (February 16, 2021)
Fixes:
- - The issue with remove files in the "generated" folder after running composer install.
- - Error: Undefined index code on line 313.
Version 2.0.3 (February 10, 2021)
Features:
- - Added events dispatches so you can easily extend the deployment script using the observers.
Fixes:
- - Issue with synchronization of the live instance from tmp deployment instance.
Version 2.0.2 (January 26, 2021)
Fixes:
- - Fixed error "Invalid configuration file: '/var/mfzerodwt/instance/app/etc/env.php'".
Version 2.0.1 (January 22, 2021)
Fixes:
- - Fixed a few errors that pop up when "bin/magento magefan:zero-downtime:deploy" command is running.