Releases: remp2020/crm-remp-mailer-module
Releases · remp2020/crm-remp-mailer-module
3.4.0
3.3.0
- Added
MailReceivedCriteria
scenario criteria. respekt#211- BREAKING: Fixed
Client::getMailLogs
filter param to match mailer api logs endpoint params and addedmailTemplateCodes
param. - Refactored
MailLogQueryBuilder::setFilter
method + added filter by mail template codes param.
- BREAKING: Fixed
3.2.0
- Added parameter
$successUrl
toMailSettingsPresenter::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
- Added option to display only selected mail type categories on the
subscribeEmailSuccess
page. remp/helpdesk#2533- Method
render()
within theMailSettings
component is already prepared to accept an array of mail type category codes. Added argument toMailSettingsPresenter->renderSubscribeEmailSuccess()
allows to preset these categories before the user is redirected.
- Method
- Fixed wrong link to filtered users list within mail logs. remp/crm#1892
3.0.0
2.11.0
2.10.0
2.7.0
- 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
- BREAKING: Changed return type of
Api/Client#subscribe
method, now it returns object of typeMailSubscribeResponse
instead of booleantrue
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.
- Object
- BREAKING: Changed return type of
MailUserSubscriptionRepository#subscribe
method, now it returns object of typeMailSubscribeResponse
instead of booleantrue
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.
- Object
- Added optional
subscribed_variants
value (containing list of variants) in data returned byEmailSubscriptionApiHandler
. 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
- 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.
- Removed
- 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.
- Method
- Added
includeVariantsData
parameter to all methods ofMailTypesRepository
, which allows to return more data (e.g. code) about type's variants. remp/crm#2723 - Added
isUserSubscribed
method inMailUserSubscriptionsRepository
, supporting mail_type variant ID parameter. remp/crm#2723