Require upgraded Sylius version using Composer:
composer require sylius/sylius:~1.5.0
Copy a new migration file and run new migrations:
bin/console doctrine:migrations:migrate
-
If you want to support extended locale codes, as introduced in #10178, you should modify
_locale
requirement inconfig/routes/sylius_shop.yml
sylius_shop: resource: "@SyliusShopBundle/Resources/config/routing.yml" prefix: /{_locale} requirements: _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$