Releases: webgriffe/SyliusActiveCampaignPlugin
v0.12.2
v0.12.1
v0.12.0
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
Full Changelog: v0.11.0...v0.12.0
v0.11.0
v0.10.0
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
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Breaking Changes
- The
webgriffe.sylius_active_campaign_plugin.serializer
service has been removed, now we use the defaultserializer
, 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 thewebgriffe_sylius_active_campaign.logger.channel_name
parameter. Now we use a channelwebgriffe_sylius_active_campaign_plugin
on monolog, please see #79 for more details.
What's Changed
- Fix object normalizer priority by @lruozzi9 in #78
- Use specific command bus to handle messages by @lruozzi9 in #80
- Use monolog to log messages by @lruozzi9 in #79
- Fix roave bc check by @lruozzi9
Full Changelog: v0.8.0...v0.9.0
v0.8.0
v0.7.0
v0.6.0
What's Changed
- Export contact and ecommerce customer on abandoned carts command
Full Changelog: v0.5.0...v0.6.0
v0.3.2
Full Changelog: v0.3.1...v0.3.2