Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 834 Bytes

UPGRADE-1.5.md

File metadata and controls

25 lines (18 loc) · 834 Bytes

UPGRADE FROM v1.4.X TO v1.5.0

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

Routing

  • If you want to support extended locale codes, as introduced in #10178, you should modify _locale requirement in config/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}))?$