Releases: webgriffe/SyliusAkeneoPlugin
v1.14.1
v1.13.4
v1.14.0
v1.13.3
🔧 Fixes
- Value handlers set values based on their scopes (Sylius channel) by @LucaGallinari in #121
🧑🏻💻 New Contributors
- @LucaGallinari made their first contribution in #121 🎉
Full Changelog: 1.13.2...1.13.3
v1.13.2
🔧 Fixes
📝 Upgrade notes
This will fix the BC break introduced in v1.13.0. If you have to import price or original price in a product property different from price you SHOULD use the bind arguments by name.
Full Changelog: 1.13.1...1.13.2
v1.13.1
⚠️ BC Break
Attention, this version contains a BC break fixed in v1.13.2. Please, consider upgrading to this version.
🔧 Fixes
- Removed conflicts with doctrine/dbal ^3.0 and doctrine/orm ^2.10.0 by @lruozzi9
📝 Upgrade notes
They were necessary for making the build green in the plugin, but there is no real conflict of the plugin with these packages. If you encounter problems with any of these, please consider upgrading your project to the latest Sylius version.
Full Changelog: 1.13.0...1.13.1
v1.13.0
⚠️ BC Break
Attention, this version contains a BC break fixed in v1.13.2. Please, consider upgrading to this version.
💪 Improvements
🔧 Fixes
- Fix psalm errors by @lruozzi9 in #113
- Format metrical amount number by @lruozzi9 in #110
- Wrong image handling for simple products leads to duplicate images (#116) by @lruozzi9 in #117
- Add ECS on test action (#108) by @lruozzi9 in #115
📝 Upgrade notes
- Until now, the most relevant thing in configuring value handler options was their order. For example, in the previous versions you had:
The key options
name: type: 'translatable_property' options: akeneo_attribute_code: 'name' sylius_translation_property_path: 'name'
akeneo_attribute_code
andsylius_translation_property_path
were not relevant for the connector (you could insert any label to your liking, also Goofy and Mickey Mouse!), it relied on the order of the parameters. With #105 we had to introduce an optional service after these mandatory options. So to make it possible we started to use the bind parameters by name feature by Symfony. So, even if this is not required unless you need to import an original price from Akeneo, we strongly recommend changing your parameters key label with the variable name as follows below, this will become necessary from v2.0.0 since the pass values by sort will be deprecated.You can find the variable name in the directoryname: type: 'translatable_property' options: $akeneoAttributeCode: 'name' $translationPropertyPath: 'name'
src/ValueHandler/
or check in the README file. - A new deprecation in the ProductEnqueueController has been added in #113. Not passing a translator will cause an error from v2.0.0. This is due to the deprecation of the method
$this->get('translator')
in Symfony 5. - The
webgriffe_sylius_akeneo.ui.metric_amount_unit
translation message is changed. In the #110 has been added a number formatted to format the number in the current locale. If you override it and you want to update it also in your project you can add this formatted simply by adding number after the amount:{amount, number}
.
Full Changelog: 1.12.0...1.13.0