You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-1.4.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,3 +53,32 @@ If you're using Behat and want to be up-to-date with our configuration
53
53
* Make your Behat services public by default with `<defaultspublic="true" />`
54
54
* Change `contexts_services ` in your suite definitions to `contexts`
55
55
* Take a look at [SymfonyExtension UPGRADE guide](https://github.com/FriendsOfBehat/SymfonyExtension/blob/master/UPGRADE-2.0.md) if you have any more problems
56
+
57
+
# UPGRADE FROM `v1.2.X` TO `v1.4.0`
58
+
59
+
Firstly, check out the [PluginSkeleton 1.3 upgrade guide](https://github.com/Sylius/PluginSkeleton/blob/1.4/UPGRADE-1.3.md) to update Sylius version step by step.
60
+
To upgrade to Sylius 1.4 follow instructions from [the previous section](https://github.com/Sylius/PluginSkeleton/blob/1.4/UPGRADE-1.4.md#upgrade-from-v13x-to-v140) with following changes:
61
+
62
+
### Doctrine migrations
63
+
64
+
* Change namespaces of copied migrations to `Sylius\Migrations`
65
+
66
+
### Dotenv
67
+
68
+
* These changes are not required, but can be done as well, if you've changed application directory structure in `1.2.x` to `1.3` update
69
+
70
+
### Behat
71
+
72
+
* Add `\FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle()` to your bundles lists in `tests/Application/AppKernel.php` (preferably only in `test` environment)
73
+
* Import Sylius Behat services in `tests/Application/config/config_test.yml` and your own Behat services as well:
0 commit comments