Skip to content

Releases: webgriffe/SyliusAkeneoPlugin

v1.14.1

14 Apr 10:21
Compare
Choose a tag to compare

🔧 Fixes

  • Avoid throwing if any of the values have an applicable scope by @lruozzi9 in #131

Full Changelog: 1.14.0...1.14.1

v1.13.4

14 Apr 10:20
Compare
Choose a tag to compare

🔧 Fixes

  • Avoid throwing if any of the values have an applicable scope by @lruozzi9 in #131

Full Changelog: 1.13.3...1.13.4

v1.14.0

04 Apr 10:48
Compare
Choose a tag to compare

💪 Improvements

Full Changelog: 1.13.3...1.14.0

v1.13.3

21 Mar 13:12
Compare
Choose a tag to compare

🔧 Fixes

  • Value handlers set values based on their scopes (Sylius channel) by @LucaGallinari in #121

🧑🏻‍💻 New Contributors

Full Changelog: 1.13.2...1.13.3

v1.13.2

02 Feb 16:53
Compare
Choose a tag to compare

🔧 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

02 Feb 09:51
Compare
Choose a tag to compare

⚠️ 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

02 Feb 09:27
Compare
Choose a tag to compare

⚠️ BC Break

Attention, this version contains a BC break fixed in v1.13.2. Please, consider upgrading to this version.

💪 Improvements

🔧 Fixes

📝 Upgrade notes

  • Until now, the most relevant thing in configuring value handler options was their order. For example, in the previous versions you had:
    name:
        type: 'translatable_property'
        options:
            akeneo_attribute_code: 'name'
            sylius_translation_property_path: 'name'
    
    The key options akeneo_attribute_code and sylius_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.
    name:
        type: 'translatable_property'
        options:
            $akeneoAttributeCode: 'name'
            $translationPropertyPath: 'name'
    
    You can find the variable name in the directory 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

v1.12.0

21 Oct 14:12
6dcd05a
Compare
Choose a tag to compare

What's Changed

💪 Improvements

Full Changelog: 1.11.2...1.12.0

1.11.2

30 Jul 14:33
Compare
Choose a tag to compare

🔧 Fixes

  • Sort attribute options by their sort order #98 (@mmenozzi)

1.11.1

23 Jul 08:39
Compare
Choose a tag to compare

🔧 Fixes

  • Skip not defined locales in ImmutableSlugValueHandler #95 (@mmenozzi)