Skip to content

2.1.0

Compare
Choose a tag to compare
@rootpd rootpd released this 25 Apr 08:34
· 322 commits to master since this release
1ebe9d4

[Beam]

  • Added an optimizations to speed up the statistics of articles on dashboard. remp/remp#1250
  • Added an optimization /api/articles API call to eager load necessary relationships. remp/remp#1254
  • Added an optimization /articles/conversions view to use article pageviews to calculate conversion rate instead of unique browsers from Journal API which can be slow. This may change the resulting values in conversion rate column. remp/remp#1253
  • Added an optimizations for dashboard view to reduce obsolete database calls and speed up the filtering by property. remp/remp#1251
    • Added optional env configurations ARTICLE_TRAFFIC_GRAPH_SHOW_INTERVAL_7D and ARTICLE_TRAFFIC_GRAPH_SHOW_INTERVAL_30D to disable possibility of choosing longer time intervals in the article histogram.
  • Added an optimization for /authors, /sections and /tags views by removing redundant join from datatable query and removing datatable count queries. remp/remp#1255
    • Changed pagination in datatable to use displayed data length instead of executing count query.
  • Added an optimization for API call /api/v2/articles/top. remp/remp#1252
  • Added new optional parameter published_from to filter out older articles from the counted data. Recommended to use for longer time periods, significantly speed up calls. remp/remp#1252

[Mailer]

  • Added code attribute in response in /api/v1/mailers/mail-type-categories API. remp/crm#2723
  • Added default_variant_id attribute in response in /api/v1/mailers/mail-types API (same for "v2" and "v3"). remp/crm#2723
  • Added keep_list_subscription parameter in /api/v1/users/un-subscribe API. remp/crm#2723
    • By default, when mail type has variants and user unsubscribe from all of them, mail type is automatically unsubscribed too. Parameter keep_list_subscription set to true changes this behaviour - when last variant is unsubscribed, mail type subscription is retained.
  • Added API endpoint /api/v3/mailers/mail-types, which works similarly to v2, but returns more variant details in API response. remp/crm#2723
  • Added API endpoint /api/v1/users/is-subscribed checking if user is subscribed to particular mail type (and variant). remp/crm#2723
  • Added ability to specify variant in Job form. remp/crm#2723
  • Added support for variant in unsubscribe URL generated by DefaultServiceParamsProvider. remp/crm#2723