Skip to content

Releases: remp2020/crm-remp-mailer-module

3.4.0

20 Sep 12:59
Compare
Choose a tag to compare
  • Fixed filter set for MailLogQueryBuilder in MailReceivedCriteria. remp/crm#3263

3.3.0

12 Jul 11:16
Compare
Choose a tag to compare
  • Added MailReceivedCriteria scenario criteria. respekt#211
    • BREAKING: Fixed Client::getMailLogs filter param to match mailer api logs endpoint params and added mailTemplateCodes param.
    • Refactored MailLogQueryBuilder::setFilter method + added filter by mail template codes param.

3.2.0

24 May 10:25
Compare
Choose a tag to compare
  • Added parameter $successUrl to MailSettingsPresenter::renderSubscribeEmail(). remp/helpdesk#2533
    • User will be redirected to this URL (if valid) after email is subscribed.
  • Fixed possible XSS vulnerability and enabled proactively-before-disabled escaping of values. remp/crm#1794
  • Changed ChangeNewsletterSubscriptionsGenericEvent scenario generic event operator from "OR" to "AND". remp/crm#3178
    • This only affects UI, no functional change.

3.1.0

13 Mar 11:16
Compare
Choose a tag to compare
  • Added option to display only selected mail type categories on the subscribeEmailSuccess page. remp/helpdesk#2533
    • Method render() within the MailSettings component is already prepared to accept an array of mail type category codes. Added argument to MailSettingsPresenter->renderSubscribeEmailSuccess() allows to preset these categories before the user is redirected.
  • Fixed wrong link to filtered users list within mail logs. remp/crm#1892

3.0.0

22 Jan 20:55
Compare
Choose a tag to compare
  • Fixed incorrect Mailer token check during unsubscribe scenario if unsubscribing different user. #4

2.11.0

21 Nov 12:17
Compare
Choose a tag to compare
  • Fixed bug causing "unsubscribe all" functionality to remove subscription to locked mail types. remp/helpdesk#2206

2.10.0

03 Oct 10:59
Compare
Choose a tag to compare
  • Changed the registration of events - module now uses LazyEventEmitter which supports lazy event listeners registration. remp/crm#2116

2.7.0

28 Jun 09:04
Compare
Choose a tag to compare
  • Changed UI of admin component to manage newsletters in user detail page to hide unsubscribed newsletters by default. remp/crm#2883
  • Fixed incorrect state of admin component to manage newsletters after submission (missing times, showing state as it was submitted). remp/crm#2883
  • Fixed newsletter subscription not correctly propagating to Mailer if the user/email records weren't present in Mailer yet. remp/crm#2883

2.6.0

25 May 08:36
Compare
Choose a tag to compare
  • BREAKING: Changed return type of Api/Client#subscribe method, now it returns object of type MailSubscribeResponse instead of boolean true value. remp/crm#2723
    • Object MailSubscribeResponse wraps details about user subscription (e.g. when mail_type is subscribed, what variants are subscribed with it)
    • Do not check for positive boolean return value when calling the function - if error occurs, exception is now thrown.
  • BREAKING: Changed return type of MailUserSubscriptionRepository#subscribe method, now it returns object of type MailSubscribeResponse instead of boolean true value. remp/crm#2723
    • Object MailSubscribeResponse wraps details about user subscription (e.g. when mail_type is subscribed, what variants are subscribed with it)
    • Do not check for positive boolean return value when calling the function - if error occurs, exception is now thrown.
  • Added optional subscribed_variants value (containing list of variants) in data returned by EmailSubscriptionApiHandler. remp/crm#2723
    • Value is present only if applicable - when subscribing mail type having variants.
  • Added user's mail logs to the personal data package that's available to download in the customer zone. remp/crm#2847

2.5.0

21 Apr 12:26
Compare
Choose a tag to compare
  • BREAKING: Changed tracking from Universal Analytics to Google Analytics 4.
    • Removed ga() calls and added data layer events.
    • Include Google Tag Manager in your page header code (/admin/config-admin/ -> Application page) to process data layer.
  • BREAKING: Changed front-end implementation of MailSettings module from Nette to Vue to speed up UX. remp/crm#2723
    • The change avoids un-necessary queries to Mailer API while re-rendering.
    • In case you programmatically changed MailSettings template, make sure you adjust to the new implementation.
  • BREAKING: Removed API Client unSubscribeUserVariant method, since it has no support in Mailer. remp/crm#2723
    • Method MailUserSubscriptionsRepository#unSubscribeUserVariant calling the API function was also removed.
  • Added includeVariantsData parameter to all methods of MailTypesRepository, which allows to return more data (e.g. code) about type's variants. remp/crm#2723
  • Added isUserSubscribed method in MailUserSubscriptionsRepository, supporting mail_type variant ID parameter. remp/crm#2723