v1.6.0
What's New
-
Import db command now has --remote-db option to import database dumps from remote servers.
Usage example:yarn run import-db --remote-db ssh://[email protected]
Now it will connect via ssh to your server, create dump files (
dump-0.sqlanddump-1.sql), download them to your projects root folder, merge them to singledump.sqland import them to your local instance with applied fixes.Note, that the dump file created by this command is much smaller than dump files that are created by default. This is because we omit orders and customers data when we're creating dump file so it comes in a much smaller size.
For example, previously a dump from a database could weigh 2.7GB, now using this import feature size will be reduced to 4MB.
-
start command now have --recompile-php option to recompile PHP, if needed.
Sometimes, for example on macOS when dynamic dependencies are updated, PHP might break. To fix this issue you had to manually delete the PHP binary in~/.phpbrew/php/php-<version>, so CMA will detect it and compile it.
Now, you just need to pass this option in the start command and CMA will take care of everything. -
Refactored start command tasks display and execution view.
Now it should look less cluttered with unnecessary information and also show timestamps for the tasks. -
Windows platform is now also supported through WSL!
Docs available here.
Miscellaneous
- Refactored link command logic.
- Link command now also automatically start the project if it was stopped.
- If no connection string was supplied to import-db command with remote-db option, CMA will ask for it during runtime.
- Adjusted Magento configuration task execution order.
- Persisted query setup for ScandiPWA theme is now also executed during the Magento configuration task.
- Start command will print into command output
magento-scriptsversion.