Releases: remp2020/remp
Releases · remp2020/remp
3.7.1
[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 andConfigsRepository::loadAllAutoload
. - BREAKING: Removed command
mail:remove-old-batches
. remp/remp#1354- Use newly added
application:cleanup
instead.
- Use newly added
- BREAKING: Fixed
RedisClientTrait
default database value from0
tonull
. 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 inRedisClientFactory
and forcing DB0
instead, causing your data to be stored in DB0
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
(withMOVE
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.
- This affects you only if you configure Redis database manually to something other than
- 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.
- This segment should ideally replace
- 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
[Beam]
- BREAKING: Removed unused
autoload
property withinConfig
. 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.
- If you're loading configs yourself and actively using
- DEPRECATED: Deprecated usage of
ConversionRateConfig
from DI container or creating directly through constructor. UseConversionRateConfig::build()
method instead. remp/remp#992- Remember, by using
ConversionRateConfig::build()
you'll get newer values from the config and not cached ones.
- Remember, by using
- 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 toArticle::getConversionRateAttribute()
. remp/remp#992 - Added
ConversionRateConfig::build()
to create new instance ofConversionRateConfig
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 ofhermes_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()
. UseConfigsRepository::all()
instead.
- Consequently, we deprecated method
- DEPRECATED: Deprecated
MailgunMailer::mailer()
. UseMailgunMailer::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)
withinsetup
directive ofsendEmailHermesHandler
service.
- You can configure this in your
- 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
andSmtpMailer
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
3.5.0
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 inupdate-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 inupdate-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- If you create your own presenters/templates, please see the migration guide at https://latte.nette.org/en/cookbook/migration-from-latte2.
- BREAKING: Updated
nette/mail
library to version^4.0
. remp/remp#1315- If you use it directly or extend our
SmtpMailer
, please review breaking changes from https://github.com/nette/mail/releases/tag/v4.0.0.
- If you use it directly or extend our
- 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
andupdate-prod
make targets to clear cache before running other command. remp/remp#1317
[Sso]
- Added
--force
parameter to migration inupdate-prod
make target. remp/remp#1317
3.4.0
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
andupdated_at
campaign columns. remp/remp#1286 - Fixed sorting campaigns by
is active
column. remp/helpdesk#2231
[Mailer]
- BREAKING: Removed
EnvironmentConfig::setParam()
andEnvironmentConfig::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
intov1/mailer/jobs
andv2/mailer/jobs
to allow schedule the start of sending. remp/respekt#19 - Added
BeforeUsersDeleteEvent
andUsersDeletedEvent
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
[Mailer]
- BREAKING: Removed
EnvironmentConfig::setParam()
andEnvironmentConfig::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
[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.
- You can implement your own widget using
- Added JS tracker parameters
canonicalUrl
andreferer
, 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 toSmtpMailer
, 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
.
- If this header is still required by your implementation, you need to implement a custom
- 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
. Ifafter
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 definedcrmClient
service:
This command directly replacesservices: console: setup: # Enable only if "crmClient" service is available - add(Remp\MailerModule\Commands\ValidateCrmEmailsCommand())
Remp\MailerModule\Hermes\ValidateCrmEmailHandler
handled, which is not necessary if the command is used. - You can enable this command in your
3.2.2
3.2.1
3.2.0
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 intopackage.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 inshowtime.php
to return absolute URL. remp/remp#1282
[Mailer]
- Removed
HermesException
for missingmail_sender_id
fromValidateCrmEmailHandler
. 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
tomail:unsubscribe-inactive-users
at all times. remp/novydenik#1115