- bugfix: on a forum running
Hampel/Monolog, the message event fetch job failed when SparkPost
rate-limited it, instead of waiting as long as SparkPost asked, so the next cron run tried again
at once. A rate limit is now logged as a warning only, and no longer writes a server error log
entry. A failed fetch still writes one, now prefixedSparkPostMail:like the add-on's others- logging: each message event fetched or processed is now logged at
debugrather thaninfo,
while the jobs' counts and every bounce, unsubscribe or spam complaint acted on stay atinfo.
The per-event line no longer includes the email's subject, which is usually a thread or
conversation title, or SparkPost's raw recipient metadata, and the member is identified by
user_idalone, without the username- bugfix: the fetch job's count of stored events included events it skipped for having no
recipient- bugfix: the jobs did not pass their attempt count on to XenForo, so its retry back-off treated
every failed run as the first- several conditions that were fatal errors now fail safely: the SparkPost mail settings applied
to a message that is not a SparkPost one, amonologservice that is not the Monolog add-on,
and a malformed timestamp in a message event. Building the API client with no API key now says
so, rather than raising aTypeError- a forum running the Admin API can now run the
sparkpost:validatechecks over it, except the
one that calls SparkPost
- bugfix: message event processing failed when the Monolog addon was not installed
- bugfix: SparkPost error details render correctly again on the outbound email test page - the
message, description and error code fields were empty and the code shown was the HTTP status
rather than SparkPost's own- remove a template modification which no longer matched any XenForo 2.3 template
- align the bundled Symfony packages with the versions XenForo itself ships, so that the versions
Composer resolves are the versions which actually run- latest composer dependencies, including hampel/symfonymailer-sparkpost 1.1.4
Updates:
handle WhatsNewDigest emails in this addon rather than via adapter
check for WndSparkPost adapter during setup and fail until it is removed - it is incompatible with this version
change execution order of XF\Admin\Controller\Tools class extension
addresses a bug in an underlying SparkPost package which resulted in the from header not containing the forum title
Some composer dependencies were missing from the 3.0.0 release, causing issues with bounced email handling on some platforms that didn't already have those dependencies installed via other addons. This release fixes the issue.
Version 3.x of this addon will only work on XenForo 2.3.x - do not try to install it on an earlier version.
- add composer dependency of "symfony/translation": "^5.0" (used by nesbot/carbon) to avoid installing v6.0 which breaks compatibility with older versions installed by other addons