Skip to content

Releases: remp2020/crm-remp-mailer-module

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

2.4.0: Fix URL structure of redirect handler

24 Mar 07:52
Compare
Choose a tag to compare
  • Fixed URL structure of redirect handler to Mailer to comply with Mailer 2.0 changes. remp/remp#1220

2.3.0

23 Feb 20:14
Compare
Choose a tag to compare
  • Fixed the order of actions by subscribe/unsubscribe newsletter. It generates outdated user cache in Redis. remp/crm#2721

2.2.0

27 Jan 12:38
Compare
Choose a tag to compare
  • Changed return types of DI factory interfaces from type hints to actual return types to comply with nette/di v3.1 deprecations. remp/crm#2692
  • Fixed unnecessary access to sent mail count in MailLogs user detail widget. remp/crm#2725

2.1.1

19 Dec 17:54
Compare
Choose a tag to compare
  • Changed return types of DI factory interfaces from type hints to actual return types to comply with nette/di v3.1 deprecations. remp/crm#2692

2.1.0

25 Nov 14:07
Compare
Choose a tag to compare
  • Changed the registration of widgets - module now uses improved LazyWidgetManager and all widgets extend BaseLazyWidget class. remp/crm#2075

2.0.0

26 Aug 14:28
Compare
Choose a tag to compare
  • BREAKING: Changed PHP version requirement to 8.0. remp/crm#2519
  • BREAKING: Changed Latte version from v2 to v3. remp/crm#2519
  • Added support for locale use in case it's set in the NotificationEvent. remp/crm#2533

1.1.0

02 Jun 06:42
Compare
Choose a tag to compare
  • IMPORTANT: This version requires REMP Mailer v0.32.2 and higher due to the API-compatibility.
    • Please update the Mailer prior releasing/using this version of RempMailerModule.
  • BREAKING: Changed signature of Crm\RempMailerModule\Models\ApiClient::getMailTypes(). remp/crm#2387
    • The first parameter string $code was changed to array $codes to support filtering of multiple mail types. If you use the API client directly, check your implementation and pass array of codes instead of just one string.
  • Added ability to specify mail type categories in MailSettings component used to manage newsletter subscriptions on frontend. remp/crm#2387
  • Fixed issues with subscribe/unsubscribe requests if rtm params contaned rtm_variant. remp/crm#1100
  • Stopped sending accompanying emails when user bulk subscribes/unsubscribes to/from newsletters. remp/crm#2407
  • Added support for multi-language emails. remp/remp#1085

1.0.0

31 Mar 08:44
Compare
Choose a tag to compare

Changelog

  • BREAKING: Dropped support for utm_* variants when tracking subscribes/unsubscribes.
    • The support was deprecated more than a year ago and by now all of your REMP tools should already have rtm_* params support anyway. If you've updated Mailer within the last year, no action is necessary.
  • Fixed possibly incorrectly built request to Mailer when unsubscribing user with rtm_variant parameter. remp/crm#2277
  • Changed translation files. remp/crm#2276
    • Switch tabs to 4 spaces. Weblate can parse only YAML format (doesn't support tabs).
    • Change extension from NEON to YML.
  • Removed forgotten flag for disabling extension (do not install extension if you don't want to use it). remp/crm#2312
  • Changed API handlers (non breaking). remp/crm#2342
    • Changed return type of handle() from Crm\ApiModule\Response\ApiResponseInterface to Tomaj\NetteApi\Response\ResponseInterface.
    • Changed deprecated Crm\ApiModule\Api\JsonResponse to Tomaj\NetteApi\Response\JsonApiResponse.

Nette 3.0

  • Changed Compiler::loadDefinitions() (deprecated) to CompilerExtension->loadDefinitionsFromConfig(). remp/crm#1979
  • Removed calling parent constructor from widgets. Constructor was removed from Nette\ComponentModel\Component. remp/crm#1979
  • Fixed use of Nette\Utils\Json::decode() - second parameter should be Nette\Utils\Json::FORCE_ARRAY, not true. remp/crm#1979

Nette 3.1

  • Changed deprecated Nette\Database classes. Nette\Database\IRow and Nette\Database\Table\IRow are deprecated. Using Nette\Database\Table\ActiveRow instead. remp/crm#1979
  • Changed deprecated Nette\Localization\ITranslator to Nette\Localization\Translator. remp/crm#1979
  • Changed DataRow (which extended deprecated Nette\Database\Table\IRow) to ActiveRowFactory (which returns ActiveRow. remp/crm#1979

0.36.0

18 Nov 13:42
Compare
Choose a tag to compare
  • Fixed improbable redirects pointing to non-existing presenter. remp/crm#2115
  • Fixed incorrect subscribe/unsubscribe all button redraw on newsletter settings page. remp/crm#2115