Skip to content

Releases: remp2020/remp

3.7.1

24 May 13:30
Compare
Choose a tag to compare

[Beam]

  • Fixed newsletters not being sent anymore if there was an issue with sending for more than two sending periods. remp/remp#1351
  • [Tracker] Updated Goa library from v1 to v3. remp/remp#1341
  • [Segments] Updated Goa library from v1 to v3. remp/remp#1341
  • [Segments] Added load_progress attribute to journal list pageviews. remp/remp#1335

[Mailer]

  • BREAKING: Removed autoload flag from configs table and ConfigsRepository::loadAllAutoload.
  • BREAKING: Removed command mail:remove-old-batches. remp/remp#1354
    • Use newly added application:cleanup instead.
  • BREAKING: Fixed RedisClientTrait default database value from 0 to null. remp/remp#1357
    • This affects you only if you configure Redis database manually to something other than 0 in your config.
    • The change fixes use of RedisClientTrait ignoring database configured in RedisClientFactory and forcing DB 0 instead, causing your data to be stored in DB 0 even if you configured your environment/RedisClientFactory to use other database.
    • IMPORTANT: It is important to move hermes keys hermes_tasks_high, hermes_tasks, hermes_tasks_low (with MOVE command) to correct Redis DB after you shut down your old Hermes workers, and before you start the new ones.
    • IMPORTANT: We also recommend not having any active jobs (processing or sending) during the release process.
  • Added option to track variant subscriptions to Tracker. remp/web#2404
  • Added Mailer's segment "Everyone" which lists all subscribers known to Mailer. remp/crm#2973
    • This segment should ideally replace all_users provided by CRM and effectively serve as a default. Mailer still filters users based on their newsletter subscription to the email they're receiving.
  • URL parser generator's segment is now optional. remp/crm#2973
    • If not provided, Mailer's segment with subscribers of selected mail type is used as a default.
  • Fixed duplicate entry error when subscribing to already subscribed variant within UserSubscriptionsRepository->subscribeUser. remp/remp#1355
  • Added application:cleanup command to execute configured data retention policies. remp/remp#1354
    • By default, the system purges all expired autologin tokens and processed batches not sent within 24 hours.
    • You can configure/change the retention polices in config.neon, see README for more information.
  • Fixed status set to batch by ProcessJobCommand after processing failed. Batch is now set to original status. remp/remp#1360
  • Fixed ContentGenerator bug where static time from class instance creation was being passed to the email template instead of an actual time. remp/remp#1316
  • Added ability to filter mail_logs by mail template codes in LogsHandler api handler. remp/respekt#211

3.6.0

24 Apr 06:54
Compare
Choose a tag to compare

[Beam]

  • BREAKING: Removed unused autoload property within Config. remp/remp#992
    • If you're loading configs yourself and actively using autoload property, you need to remove dependency on it before updating to this version.
  • DEPRECATED: Deprecated usage of ConversionRateConfig from DI container or creating directly through constructor. Use ConversionRateConfig::build() method instead. remp/remp#992
    • Remember, by using ConversionRateConfig::build() you'll get newer values from the config and not cached ones.
  • DEPRECATED: Deprecated Article::getConversionRateConfig(). Create your own instance of ConversionRateConfig instead. remp/remp#992
  • DEPRECATED: Deprecated usage of Article::getConversionRateAttribute without passing ConversionRateConfig as a first parameter. remp/remp#992
  • Fixed issue with load_timespent parameter in /journal/pageviews/list which didn't include the timespent into pageview object. remp/remp#1334
  • Added average spent times into article detail page. remp/remp#1328
  • Added parameter to pass ConversionRateConfig as a first parameter to Article::getConversionRateAttribute(). remp/remp#992
  • Added ConversionRateConfig::build() to create new instance of ConversionRateConfig with fresh values from the config. remp/remp#992
  • Added ability to cache values for 60 seconds within Article::getConversionRateConfig() for long-running processes/workers. remp/remp#992
  • Fixed slow load of datatables for systems with high amount of authors and tags. remp/remp#1347

[Campaign]

  • Fixed typo in event name for Newsletter banner in README.
  • Fixed loading of available countries for campaign copy action. remp/remp#1323
  • Fixed the paging of scheduled campaigns. remp/remp#1310
  • Refactored referer filter to traffic source filter. remp/remp#1336
  • Added ability to filter campaign by session referer (traffic source) in showtime. remp/remp#1336

[Mailer]

  • IMPORTANT: The default Hermes queue for asynchronous events is now hermes_tasks (medium priority) instead of hermes_tasks_low (low priority). remp/remp#1342
    • If you emit your own Hermes events with the default priority, please revise whether they should keep using the default priority, or whether they should be explicitly emitted as "low priority".
  • DEPRECATED: Deprecated autoload flag within configs. From now on, all configs are loaded regardless of this flag and this flag will be removed in the next major release. remp/remp#992
    • Consequently, we deprecated method ConfigsRepository::loadAllAutoload(). Use ConfigsRepository::all() instead.
  • DEPRECATED: Deprecated MailgunMailer::mailer(). Use MailgunMailer::createMailer() instead. remp/remp#992
  • Fixed incorrect /mailer/health healthcheck HTTP status code in case of failure (was always 200). remp/remp#1322
  • Fixed conditions to unreachable healthcheck messages. remp/remp#1322
  • Added new parameters between default template parameters to identify newsletter (newsletter_id, newsletter_code, newsletter_title) and variant (variant_id, variant_code, variant_title). remp/remp#1321
  • Added support for One-Click unsubscribe according to RFC8058. remp2020/mailer-module#3
  • Added option to configure maximum number of send attempts in SendEmailHandler. remp/remp#1331
    • You can configure this in your config.local.neon by calling e.g. setMaxRetries(10) within setup directive of sendEmailHermesHandler service.
  • Fixed issue with oversize images in MS Outlook. remp/remp#1330
  • Fixed issue with persistent embed cookies stored in system tmp folder, which were shared across releases. remp/helpdesk#2587
    • Each release now stores embed cookies in its own temp folder.
  • Added ability to set custom CURL settings for EmbedParser. remp/helpdesk#2594
  • Fixed buggy regexp pattern in NewsfilterGenerator causing elements to be removed non-voluntary. remp/crm#3151
  • Added ability to refresh internal config cache after a certain amount of time mainly for a longer running processes/workers. remp/remp#992
  • Added ability for MailgunMailer and SmtpMailer to refresh config during the runtime (for example when there's long-running worker and the config is changed). remp/remp#992
  • Added new events emitted before (Remp\MailerModule\Events\BeforeUserEmailChangeEvent) and after (Remp\MailerModule\Events\UserEmailChangedEvent) email change. remp/remp#1348

3.5.1

23 Jan 13:50
Compare
Choose a tag to compare

[Mailer]

  • Fixed issue with missing IUserStorage interface caused by removal of a dependency during nette/security update.

3.5.0

23 Jan 13:35
Compare
Choose a tag to compare

Project

  • Fixed possible redirect issue after login causing HTTP 404 after successful login. remp/remp#1235

[Beam]

  • Fixed entity and segment group seeder to avoid duplicates in the database. remp/remp#1317
  • Added --force parameter to migration in update-prod make target. remp/remp#1317

[Campaign]

  • Changed campaign display rules evaluation to evaluate pageview attributes before including campaign between active campaigns. remp/remp#1302
  • Fixed bug - when copying campaign, removal of assigned segment affected existing campaign segments. remp/remp#1308
  • Fixed reporting unknown country as exception. remp/remp#1314
  • Added --force parameter to migration in update-prod make target. remp/remp#1317

[Mailer]

  • BREAKING: Updated monolog/monolog to version ^3.0. remp/remp#1315
    • If any of your extensions rely on monolog, please review your implementation.
  • BREAKING: Updated robmorgan/phinx library to the latest version. remp/remp#1315
    • If you write your own migrations, you might want to test them against an empty DB. Types are now strict and older migrations could be broken if you used incorrect type in the past.
  • BREAKING: Updated latte/latte templating system to version ^3.0. remp/remp#1315
  • BREAKING: Updated nette/mail library to version ^4.0. remp/remp#1315
  • IMPORTANT: Updated Nette's underlying libraries to version ^4.0 (nette/robot-loader, nette/utils). remp/remp#1315
  • IMPORTANT: Updated mailgun/mailgun-php to version ^4.0. remp/remp#1315
  • Fixed possible render time / memory issues on job detail belonging to newsletter list with lots of emails.
  • Changed generator rule for <em> HTML tag - removed new line. remp/crm#3012
  • Changed command order in update-dev and update-prod make targets to clear cache before running other command. remp/remp#1317

[Sso]

  • Added --force parameter to migration in update-prod make target. remp/remp#1317

3.4.0

23 Nov 06:59
Compare
Choose a tag to compare

Project

  • Fixed possible redirect issue after login causing HTTP 404 after successful login. remp/remp#1235

[Campaign]

We want to thank @pulzarraider for the optimization-related contributions.

  • Fixed search by name on snippets listing. remp/remp#1303
  • Added snippet search to the universal search bar. remp/remp#1303
  • Fixed Campaign's showtime.php crashing if there are no active campaigns.
  • Added campaign collections. remp/remp#1286
  • Added ONE_TIME_BANNER_ENABLED env variable to disable fetching data for one time banners.
  • Added REDIS_PERSISTENT env variable to enable presistent redis connection.
  • Added showtime optimizations for better performance.
  • Fixed routes same name conflict.
  • Added support for Redis PHP extension.
  • Added REDIS_PARAMETER_LIMIT env variable to avoid errors when calling Redis functions with large arrays. remp/remp#1307
  • Added index to created_at and updated_at campaign columns. remp/remp#1286
  • Fixed sorting campaigns by is active column. remp/helpdesk#2231

[Mailer]

  • BREAKING: Removed EnvironmentConfig::setParam() and EnvironmentConfig::getParam() methods. remp/remp#1299
    • Use of these could lead to circular dependency issues if values were read by environment config itself.
    • We recommend the extraction of these values to their separate config classes.
  • Fixed circular dependency issue with configs using environment variables. remp/remp#1299
  • Added new parameter start_at into v1/mailer/jobs and v2/mailer/jobs to allow schedule the start of sending. remp/respekt#19
  • Added BeforeUsersDeleteEvent and UsersDeletedEvent events to emit before and after users are deleted. remp/remp#1301

[Sso]

  • Fixed scenario when invalidated token was allowed to be refreshed just to be evaluated as invalid again.
  • Fixed blacklist-related exception if token was blacklisted but the blacklist was not enabled.

3.3.1

03 Oct 13:08
Compare
Choose a tag to compare

[Mailer]

  • BREAKING: Removed EnvironmentConfig::setParam() and EnvironmentConfig::getParam() methods. remp/remp#1299
    • Use of these could lead to circular dependency issues if values were read by environment config itself.
    • We recommend the extraction of these values to their separate config classes.
  • Fixed circular dependency issue with configs using environment variables. remp/remp#1299

3.3.0

03 Oct 11:36
Compare
Choose a tag to compare

[Beam]

  • Added article.show.info widget group placeholder. remp/remp#1274
    • You can implement your own widget using arrilot/laravel-widgets package and display it at provided placeholder in the view.
  • Added JS tracker parameters canonicalUrl and referer, allowing overriding URL and referer that are being tracked. remp/remp#1297

[Campaign]

  • Added visual changes for the overlay two buttons banner - minor button texts are now on separate line.
  • Added ability to target campaign by user system language. remp/remp#1283
  • Added suppressed banners listing to JS console if prioritization is enabled (for easier debugging). remp/remp#1295

[Mailer]

  • BREAKING Changed that X-Mailer-Template-Params mail header is no longer sent to SmtpMailer, as it may have contained sensitive information. remp/remp#1296
    • If this header is still required by your implementation, you need to implement a custom SmtpMailer.
  • Added string error code to the Subscribe APIs to differentiate between different 404 scenarios. remp/web#2263
  • Fixed Mailer segment provider users acquiring. Provided segment code needs to be processed before fetching users from database. remp/mnt#114
  • Fixed New template generator form - broken sorting value after. If after was selected, select box was not shown. remp/helpdesk#2073
  • Added command crm:validate-emails to validate all email addresses for users in a given time period. remp/remp#1026
    • You can enable this command in your config.neon if you already defined crmClient service:
    services:
      console:
          setup:
              # Enable only if "crmClient" service is available
              - add(Remp\MailerModule\Commands\ValidateCrmEmailsCommand())
    
    This command directly replaces Remp\MailerModule\Hermes\ValidateCrmEmailHandler handled, which is not necessary if the command is used.

3.2.2

05 Sep 10:32
Compare
Choose a tag to compare
  • Fixed Beam's invalid namespaces and routes.

3.2.1

05 Sep 10:25
Compare
Choose a tag to compare
  • Fixed Mailer segment provider users acquiring. Provided segment code needs to be processed before fetching users from database. remp/mnt#114

3.2.0

24 Aug 12:18
04d69d4
Compare
Choose a tag to compare

Project

  • Removed dockerize from Dockerfiles across the project. It's been replaced by native Docker Compose healthcheck feature.
  • Added Elasticsearch and Telegraf configs directly to their respective Docker images, so there's a default config if one is not provided via volume.
  • Fixed issue with yarn link not being able to link JS packages due to version conflict. remp/remp#1293
  • Added explicit packageManager definition into package.json files so Yarn v3 doesn't complain about outdated lockfile. remp/remp#1294

[Beam]

  • Fixed schedules not being registered for Skeleton application. remp/remp#1292
  • Fixed commands not being available to execute for synchronous web event handlers. remp/remp#1292
  • Refactored system settings configuration so they're available within Beam module and for Skeleton apps. remp/remp#1292

[Campaign]

  • Changed asset() function in showtime.php to return absolute URL. remp/remp#1282

[Mailer]

  • Removed HermesException for missing mail_sender_id from ValidateCrmEmailHandler. remp/remp#1291
    • This is valid state. It was introduced as fix by commit c2d55b5
  • Added new Mailer segment provider which provides segments of users subscribed to mail types. remp/mnt#114
  • Added check for clicked_at to mail:unsubscribe-inactive-users at all times. remp/novydenik#1115