v1.15.0
ejnshtein
released this
03 Jun 14:44
·
587 commits
to master
since this release
Varnish is finally here with a ton of other Improvements and Bug Fixes!
Improvements
exec
command now supports running proper commands when executing. dc8a867
To run a long command inside a container wrap it in quotes:npm run exec mysql "mysql -umagento -pmagento"
- Added check for existing tables in database before truncating them. 245c064
- Added check for empty characters in credentials in
auth.json
file. eaf6794 - Improved running
magento-scripts
on M1 Macs. Now you won't need to always runmagento-scripts
in Rosetta Terminal. It will work even from the native one if you have both versions of brew installed. - If you click on Skip dependency installation option during missing dependency installation prompt, setup will continue instead of throwing an error. 2453ccb
- ElasticSearch will now be pulled from Docker Hub instead of docker.elastic.co. b1e399a
cli
command output was updated, it also includes aliases to clean varnish cache and connect to mysql. bf380a4 3764dc7
- Changed Docker container logic to respect all arm systems, not only arm Macs. e91f724
- Added automatic Docker installation on Mac. c949098
- Added OOTB PHPStorm configuration setup with PHP CodeSniffer, PHPCSFixer, PHPMD, ESLint, StyleLint. #105
- Added PHP extensions validation for cases when the user tries to compile incorrect PHP with incorrect variants by themselves. #104
- Improved analytics collection. #102
- Added Varnish to setup. #97 #101 With Varnish also were enabled PHP APC (#49) and PHP OPCache extensions (c8861ad).
When Varnish is enabled application routing will be different. We added a second Nginx container called (SSL Terminator
) for SSL termination. By default request path will look like this:Request -> SSL Terminator (Nginx) -> Application Nginx
. When Varnish is enabled, request path will be different:Request -> SSL Terminator -> Varnish -> Application Nginx
.
Also, when Varnish is enabled,magento-scripts
will also enable full_page cache in Magento, but don't you worry! Our default Varnish VCL configuration file have cache bypassing for/static/frontend
so it won't impact you frontend theme development! 4d54cfa
If you are developing extensions for the Admin panel, you might want to disable Varnish as it will cache all static content in the Admin panel. - Improved theme-building experience. #98
- Added handling of not running Docker.
magento-scripts
will prompt to start docker if it is down. #95
-magento-scripts
will now prevent running itself as root to avoid a ton of possible issues. #96 - Added support for Magento 2.4.4, 2.4.3-p2, 2.3.7-p3 and 2.3.7-p2. #91
- Added
PATH
environment variable forwarding in PHP-FPM. c967180
Bug Fixes
- Fixed sodium PHP extension installation on M1 Macs. 095c4a3
- Fixed persisted query setup which worked on each start due to typo. 124d9a0
- Fixed an issue with missing cache folder when cache folder is not present, but SSL config is enabled. #99
- Fixed issues on Fedora-based systems with dependency installation. 4b71aea 3136609