What's New Digest

What's New Digest 5.3.0

No permission to download
  • bugfix: user preference field in AdminCP wasn't showing in XF 2.3 due to template modifications that no longer worked - this has been fixed
  • bugfix: unsubscribe uses stopAllExcept by default in XF 2.3 - so we need to ensure we're stopping Whats New Digest if this is called instead of StopAll
  • update test tool to allow sending test emails to a specific user - and handling no threads

Updated test tool now allows you to choose a user to receive a test email digest - which means you can use a test user to validate that unsubscribe options are working as expected.

1752139261720.webp
  • Like
Reactions: BassMan
  • update helper_account template modification to work with both XF2.3 and earlier versions
  • listen for sparkpostmail_non_transactional_stop_map event and use the whatsnewdigest email stopper
  • tweak unsubscribe confirmation message
  • separate out getMail function so we can over-ride it and add functionality
  • Like
Reactions: Stuart Wright
XenForo 2.2.14 adds new functionality for adding one-click unsubscribe headers to emails. Unfortunately, the code released in 2.2.14PL2 breaks functionality by removing a core option.

This release of WND fixes the errors by relying on XF 2.2.14 to set the headers for us - which should work in the majority of cases.

Note: if you are not planning to upgrade to XF 2.2.14 yet, I recommend you do not install v5.0.6 of this addon. Installing 5.0.6 with XF 2.2.13 or earlier won't break anything - but the one-click unsubscribe headers won't be added to your digest emails, which is not ideal.

So I currently recommend:
  • XF <= 2.2.13, you remain on WND 5.0.5
  • XF >= 2.2.14, install WND 5.0.6
The test tool was not respecting the exclude forums list from the options - that is now fixed.

Note that this bug did not affect the emails sent to users - that did use the exclude forums list correctly.
Fixed typo in XF\EmailUnsubscribe\Processor::applyUserUnsubscribeAction - thanks to @Mouth for finding the bug!
  • Like
Reactions: yin9 and BassMan
No changes to functionality - but I removed all of the testing code from the release package.

There is no need to install this version if you already have v5.0.3 installed - it won't fix the problem and there is no new code.

If you have already installed 5.0.3 and you want to clean up the additional files, you can safely remove the following files and directories under src/addons/Hampel/WhatsNewDigest/...:
  • composer.json
  • composer.lock
  • phpunit.xml
  • tests/
  • vendor/
The upgrade process doesn't delete the additional files, but it won't do any harm to leave them there.
  • Like
Reactions: yin9
Critical bugfix release - all users of v5.x should update to this version immediately
  • rewrite job to fix some logic issues
  • fix repo query which wasn't counting users the same way that we were selecting them
  • remove redundant PreferenceFieldId helper class - field no longer used
  • remove redundant listener function - has been moved to adapter addon
  • bugfix: was trying to filter new or updated threads even if none were found
  • Like
Reactions: yin9
bugfix: missing use statement in XF\EmailUnsubscribe\Processor

Thanks to @Wutime for finding and reporting this bug!
  • Like
Reactions: yin9
  • Fixed a bug with the display of HTML in emails
  • Like
Reactions: yin9
Back
Top Bottom