Releases: scandipwa/create-magento-app
@scandipwa/[email protected]
Added support for custom host
field in the configuration file. This field is controlling default base_url in Magento.
NOTE: if you are using
host
configuration and some custom port that is not 80 or 8080, browsers can throw an error ERR_UNSAFE_PORT: https://superuser.com/questions/188006/how-to-fix-err-unsafe-port-error-on-chrome-when-browsing-to-unsafe-ports
@scandipwa/[email protected]
Legacy Magento configuration from cache-folder/app-config.json
file will be automatically transferred to the new config file located in the projects root directory.
@scandipwa/[email protected]
This alpha version brings proper support for the configuration file.
Now Magento configuration file app-config.json
is moved to cma.js
file which is located in the projects root folder, this should allow easier access to the configuration and brings access to the configuration of CMA project itself!
With cma.js
you can:
- Update versions of Nginx, MySQL, ElasticSearch and Redis containers.
- Use custom nginx configuration file.
- Use custom PHP configuration file.
- Add PHP extensions or override existing ones. (like updating XDebug version)
In the future, we're also planning on adding support to override environmental variables for MySQL and ES containers.
MySQL 8.0 and XDebug 3.0.2 and bug fixes!
Bug Fixes
- Previously, some docker volume names could interfere between themselves which caused
Couldn't mount volume, no such file or directory
docker error. (For example volume name for nginx inbe
directory will bebe_nginx-data
, and if you try to create new CMA project in a directory with nameadditional-name-be
it will not create new docker volume for nginx and throw an error.) #9
This update fixes that. - Command
link
tasks for check folder and run setup persistent cache received titles.
What is new
- MySQL version was bumped to 8.0 (migration guide from MySQL 5.7), XDebug version to 3.0.2.
- Bumped node dependencies versions.
MySQL 8.0 and XDebug 3.0.2
This version includes bugfixes from version 1.1.5, MySQL version 8.0 as well as XDebug 3.0.2.
Bug Fixes
This release is small but important:
- There was some small bug in command execution utility that leads to issues in command response processing logic, for example in checking in current instance is using
url-rewrites
or not.
Also, settingurl-rewrites
task had no name, so it was invisible to the user.
Bug Fixes
This release is small but important:
- In [email protected]
php.ini
was moved from the user's home directory to the project cache folder, but commands wrappers that were using PHP for Composer and Magento commands execution still used the defaultphp.ini
in users home directory which caused memory-limit errors across the app. Now with correctphp.ini
configuration file, there should be no such issues.
Bug Fixes
This release is small but important:
create-magento-app
had a typo inside package.json template forexec
command.magento-scripts
was replacing existingcomposer.json
file if it detected that magento is not installed. #6
Now it will not replacecomposer.json
but install missing dependencies for magento and setup composer repository torepo.magento.com
.
Instances isolation and prompts timer improvement.
Bug Fixes
- Fixed possible interference in PHP config between different instances of CMA on the same machine. #4
Now when running CMAphp.ini
configuration will be stored inside the cache folder. This will prevent different CMA instances from causing interference on each other, so you can debug one CMA project and run the second CMA instance at the same time on the same machine. - Magento version and application config prompt will not timeout and fallback to the default value after 5 mins and will not interfere with task title state.
Previously, users might have noticed that when creating new CMA project and choosing default values in the prompts they will still say that "n sec left" even after the user chose his answer. With this patch, they should behave as intended.
Bug Fixes, New Feature and More.
What's New
- Command start received a new option -s which skips Magento setup on start-up.
- Added new command exec which allows to run commands inside docker containers.
Bug Fixes
- Theme link command is now able to use a relative path to the theme in composer.json repository path field. #2
- Fixed incorrect free port retrieving on macOS. #1
- Fixed possible error during installation and re-installation of a CMA project - SQLSTATE[HY000] [2002] No such file or directory.
Now it should work just fine.