- Incorporate the following changes in your application in order to be able to override external configuration files like specified in our documentation.
-
MongoDB and PHPCR drivers have been deprecated in
ResourceBundleandGridBundle. -
Referring to any file from
vendor/sylius/sylius/appdirectory has been deprecated.
-
Run
composer config config.platform.php 7.2.4 -
Run
composer require sylius/sylius:~1.3.0 sylius-labs/sensio-distribution-bundle:^6.0 incenteev/composer-parameter-handler:^2.1 --no-update -
Add the following code in your
behat.yml(.dist)file:default: extensions: FriendsOfBehat\SymfonyExtension: env_file: ~ cached: extensions: FriendsOfBehat\SymfonyExtension: env_file: ~
If you have any of those nodes, don't duplicate them.
-
Incorporate changes from the following files into your application:
-
Update PHP and JS dependencies by running
composer updateandyarn upgrade -
Clear cache by running
bin/console cache:clear -
Install assets by
bin/console assets:install webandyarn build
- Remove the build for PHP 7.1.
- If you want to reuse Sylius contexts, run
composer require friends-of-behat/page-object-extension —-devto add a new development dependency.
-
See the Github issue for the details.
-
This feature can be enabled by adding the following config to your application:
sylius_shop: product_grid: include_all_descendants: true
Sylius 1.3 uses new directory structure, introduced in Symfony 4. Even though it's not required, we strongly encourage you to follow this convention. Take a look at official Symfony upgrade documentation, to know what exactly should be done.
After upgrading the catalog structure, copy public/index.php and bin/console files from Sylius-Standard to make the whole process completed.