Skip to content

Releases: webgriffe/SyliusActiveCampaignPlugin

v0.12.2

02 Sep 08:43
Compare
Choose a tag to compare

Fix throwing HTTP exceptions from Guzzle client.

Full Changelog: v0.12.1...v0.12.2

v0.12.1

27 Aug 07:39
Compare
Choose a tag to compare

What's Changed

  • Check for duplicated contact email if creation fails due to validation by @lruozzi9 in #87

Full Changelog: v0.12.0...v0.12.1

v0.12.0

26 Aug 10:06
Compare
Choose a tag to compare

Release notes

BC The Webgriffe\SyliusActiveCampaignPlugin\Generator\ChannelHostnameUrlGeneratorInterface is changed

You can now specify which liip filter image applies to the product images sended on AC, see the doc for more info: https://github.com/webgriffe/SyliusActiveCampaignPlugin/blob/master/docs/usage/index.md#ecommerce-orderabandoned-cart.

What's Changed

  • Introduce Liip imagine filter for product images by @lruozzi9 in #85

Full Changelog: v0.11.0...v0.12.0

v0.11.0

27 May 10:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

20 Sep 14:42
Compare
Choose a tag to compare

Release notes

BC Method Webgriffe\SyliusActiveCampaignPlugin\Model\CustomerActiveCampaignAwareTrait#__construct() was removed

There was a bug due to a __construct method on the trait CustomerActiveCampaignAwareTrait. The constructor of the trait was never called. So that
the channelCustomers property was never initialized, or it was initialized to a null value. Even if it was a null value this was then used in a foreach, and it will trigger a deprecation error.
This bug has been fixed in this release. If you use the trait you can proceed in two ways:

1 - You can import the channelCustomersInitializers method and call it in the constructor of your entity. The result will be like this:

<?php

namespace App\Entity\Customer;

use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\Customer as BaseCustomer;
use Webgriffe\SyliusActiveCampaignPlugin\Model\ActiveCampaignAwareTrait;
use Webgriffe\SyliusActiveCampaignPlugin\Model\CustomerActiveCampaignAwareInterface;
use Webgriffe\SyliusActiveCampaignPlugin\Model\CustomerActiveCampaignAwareTrait;

/**
 * @ORM\Entity
 * @ORM\Table(name="sylius_customer")
 */
class Customer extends BaseCustomer implements CustomerActiveCampaignAwareInterface
{
    use ActiveCampaignAwareTrait;
    use CustomerActiveCampaignAwareTrait {
        CustomerActiveCampaignAwareTrait::channelCustomersInitializers as private __channelCustomersInitializers;
    }

    public function __construct()
    {
        parent::__construct();
        $this->__channelCustomersInitializers();
    }
}

2 - If you prefer you can avoid to import the channelCustomersInitializers method and initialize yourself the
channelCustomers property in the constructor. The result will be like this:

<?php

namespace App\Entity\Customer;

use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Sylius\Component\Core\Model\Customer as BaseCustomer;
use Webgriffe\SyliusActiveCampaignPlugin\Model\ActiveCampaignAwareTrait;
use Webgriffe\SyliusActiveCampaignPlugin\Model\CustomerActiveCampaignAwareInterface;
use Webgriffe\SyliusActiveCampaignPlugin\Model\CustomerActiveCampaignAwareTrait;

/**
 * @ORM\Entity
 * @ORM\Table(name="sylius_customer")
 */
class Customer extends BaseCustomer implements CustomerActiveCampaignAwareInterface
{
    use ActiveCampaignAwareTrait;
    use CustomerActiveCampaignAwareTrait;

    public function __construct()
    {
        parent::__construct();
        $this->channelCustomers = new ArrayCollection();
    }
}

What's Changed

  • Remove __construct call from CustomerActiveCampaignAwareTrait by @lruozzi9 in #82

Full Changelog: v0.9.0...v0.10.0

v0.9.0

18 Sep 09:38
c12b667
Compare
Choose a tag to compare

Breaking Changes

  • The webgriffe.sylius_active_campaign_plugin.serializer service has been removed, now we use the default serializer, please see #78 for more details.
  • Now the plugin messages use the webgriffe_sylius_active_campaign_plugin.command_bus messenger bus with some middleware, please see #80 for more details.
  • The webgriffe.sylius_active_campaign_plugin.logger service has been removed. Even the webgriffe_sylius_active_campaign.logger.channel_name parameter. Now we use a channel webgriffe_sylius_active_campaign_plugin on monolog, please see #79 for more details.

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

04 Sep 07:43
Compare
Choose a tag to compare

What's Changed

  • Add support for post contact info to webhook on AC automations by @lruozzi9 in #75

Full Changelog: v0.7.0...v0.8.0

v0.7.0

07 Aug 10:48
Compare
Choose a tag to compare

Release notes

Plugin configuration paths are changed! Please see the UPGRADE guide here!

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

09 Jun 14:44
Compare
Choose a tag to compare

What's Changed

  • Export contact and ecommerce customer on abandoned carts command

Full Changelog: v0.5.0...v0.6.0

v0.3.2

09 Jun 14:43
Compare
Choose a tag to compare

Full Changelog: v0.3.1...v0.3.2