Releases: putyourlightson/craft-campaign
Releases · putyourlightson/craft-campaign
2.13.2
Fixed
- Fixed the buttons to create new campaign types and mailing list types appearing when allow admin changes was disabled or the user did not have the necessary permissions.
- Fixed an error that could appear when clicking on a sent sendout as an impersonated user in Craft Cloud.
3.0.0-beta.3
Added
- Added a content migration for when upgrading from Craft 4 to 5.
3.0.0-beta.2
Added
- Added batching to import queue jobs.
- Added batching to sync queue jobs.
Fixed
- Fixed a bug in which the expected recipients count could fail in sendouts with very large numbers of contacts.
- Fixed a bug in which sendout actions were unavailable on the sendout index page.
- Fixed a bug in which newly created contacts were not being indexed for searching if only an email address was the only field added (#463).
Removed
- Removed the
SendoutElement::getPendingRecipients()
method. UseCampaign::$plugin->sendouts->getPendingRecipients()
instead. - Removed the
SendoutElement::getPendingRecipientCount()
method. UseCampaign::$plugin->sendouts->getPendingRecipients()
instead.
2.13.1
2.13.0
Added
- Added batching to import queue jobs.
- Added batching to sync queue jobs.
Changed
- Campaign now requires Craft CMS 4.4.0 or later.
- The sendout job batch size is now set to
100
by default, unless it was previously modified by themaxBatchSize
config setting. - The sendout job batch delay is now set to
0
by default, unless it was previously modified by thebatchJobDelay
config setting. - Renamed the
maxBatchSize
config setting tosendoutJobBatchSize
. - Renamed the
batchJobDelay
config setting tosendoutJobBatchDelay
.
Fixed
- Fixed a bug in which the expected recipients count could fail in sendouts with very large numbers of contacts.
- Fixed a bug in which sendout actions were unavailable on the sendout index page.
Deprecated
- Deprecated the
maxBatchSize
config setting. UsesendoutJobBatchSize
instead. - Deprecated the
batchJobDelay
config setting. UsesendoutJobBatchDelay
instead. - Deprecated the
memoryLimit
config setting. - Deprecated the
memoryThreshold
config setting. - Deprecated the
timeLimit
config setting. - Deprecated the
timeThreshold
config setting. - Deprecated the
Campaign::maxPowerLieutenant()
method. UseApp:maxPowerCaptain()
instead. - Deprecated the
SendoutElement::getPendingRecipients()
method. UseCampaign::$plugin->sendouts->getPendingRecipients()
instead. - Deprecated the
SendoutElement::getPendingRecipientCount()
method. UseCampaign::$plugin->sendouts->getPendingRecipients()
instead.
2.12.2
Changed
- A custom log target is now only registered if a dispatcher exists.
Security
- Improved escaping of table values in the plugins settings.
- Removed the ability to use
contact
andmailingList
variables in sendout subjects.
1.25.1
Changed
- Logs are now output to the Craft log, in addition to the Campaign log file.
Security
- Removed the ability to use
contact
andmailingList
variables in sendout subjects.
3.0.0-beta.1
{warning} “Legacy” and “Template” segments are no longer available will be deleted in this update. They should be replaced with regular segments
before updating.
Added
- Added compatibility with Craft 5.0.0.
Changed
- Changed the default maximum size of sendout batches setting to
100
. - Changed the default sendout batch job delay setting to
0
.
Removed
- Removed the “Legacy” and “Template” segment types. Use regular segments instead.
- Removed the
segmentType
property and function from the segment element query. - Removed the
SegmentHelper
class. - Removed the
SendoutHelper
class. - Removed the
Campaign::maxPowerLieutenant
method. - Removed the
memoryLimit
config setting. - Removed the
memoryThreshold
config setting. - Removed the
timeThreshold
config setting.
2.12.1
2.12.0
Added
- Added a
syncJobPriority
config setting that determines what priority to give sync jobs.
Fixed
- Fixed a bug in which the element count was not appearing for campaigns and mailing lists when there were no results.
- Fixed a bug that could cause an error when viewing contacts in an incomplete segment (#441).
- Fixed a bug in which the import job TTR setting was not being respected (#445).
- Fixed a bug in which the sendout job max retry attempts setting was not being respected.
- Fixed a bug in which filtering contacts by last activity was not working (#446).