New Stuff!
Multi-store Magento support! #111
New property storeDomains will allow to set different domains for Magento stores. Use store code as key and domain as a value.
Note that CMA will retrieve store codes from the store_website table, so make sure that the table is not empty.
Note that admin is a default store code. This replaces the host property functionality.
Default value: storeDomains: { admin: 'localhost' }
NewRelic support (Linux only) #126
NewRelic will allow monitoring performance during development, hopefully allowing to spot performance regressions before going to prod.
You will need an infrastructure container running for the NewRelic daemon.
- Retrieve your NR license key.
- Run the following command. It will spin up a NewRelic infra container (Note that it will run in privileged mode):
docker run \ -d \ --name newrelic-infra \ --network=host \ --cap-add=SYS_PTRACE \ --privileged \ --pid=host \ -v "/:/host:ro" \ -v "/var/run/docker.sock:/var/run/docker.sock" \ -e NRIA_LICENSE_KEY=<LICENSE_KEY> \ newrelic/infrastructure:latest
- Add the following configuration to your
cma.js:module.exports = { ... // other configurations configuration: { newRelic: { enabled: true, licenseKey: '<LICENSE_KEY>' } } };
- Run the
startcommand without the-soption.
Other Changes
- Added support for Magento 2.4.4-p5, 2.4.4-p6, 2.4.5-p4, 2.4.5-p5, 2.4.6-p2, 2.4.6-p3, 2.4.7-beta2
- Added prompt after DB import to index products or not.
- Added
ImagickPHP extension to the@scandipwa/magento-scripts-php-extensionspackage. - Added ability to pass custom environment variables to the PHP container.
- Updated PHP images: added
opensshdependency to allow the composer to download packages via ssh. - Updated PHP versions: PHP 8.1 image uses 8.1.24, 8.2 image uses 8.2.11.
Fixes
- Fixed access to the Magento with an external SSL provider. #129
- Fixed crashing when CMA tried to retrieve the ElasticSearch version from the container.
- CMA will install the correct version of
magento/composer-root-update-pluginnow.
Breaking Changes
host property is not supported anymore, you will have to use storeDomains to set a custom domain name. See Multi-store feature description.
Honourable mentions:
@SamuelColacchia in #120
@aNereds in #130
New Contributors
- @neeeeecka made their first contribution in #134
Full Changelog: https://github.com/scandipwa/create-magento-app/compare/@scandipwa/[email protected]...@scandipwa/[email protected]