Skip to content

Releases: remp2020/crm-segment-module

3.6.0

28 Nov 09:13
Compare
Choose a tag to compare
  • Fixed isIn segment check crashing in case tested column was requested with prefix (e.g. users.id) but segment fields were not prefixed (id, email). remp/crm3344

3.5.0

25 Oct 12:20
Compare
Choose a tag to compare
  • IMPORTANT: Added segment widget metrics (widget-based) recalculation when segments are recalculated by command segment:actualize_counts. remp/crm#3193
    • Added flag --no_widgets. If this option is used, command will not recalculate statistics for widgets visible on the segment detail screen, only the number of people within the segment. Use this flag if you want to keep previous behavior.
  • Added segment code into exception thrown when segment:actualize_counts command fails to recalculate segment. remp/crm#3331
  • Added show action to deleted segments list which shows disabled edit form version 1. remp/crm#2107
    • Forced redirect from segment detail to edit if the segment is deleted.

3.3.0

12 Jul 11:17
Compare
Choose a tag to compare
  • Added /api/v1/segments/daily-count-stats endpoint to get daily values/counts of the segment. remp/respekt#203

3.2.0

24 May 10:25
Compare
Choose a tag to compare
  • Added ability to validate stored segments before saving them (with option to skip the validation). remp/crm#3043
  • Fixed invalid stored segments not giving a feedback in admin and showing meaningful error message with a reason instead. remp/crm#3043

3.1.0

13 Mar 11:16
Compare
Choose a tag to compare
  • Added "nested segments" feature. remp/crm#2518
    • Feature is turned off by default, since it's only supported by our default implementation of SegmentFactoryInterface.
    • To turn on the feature, add segment_nesting: true feature flag to NEON configuration (see README for details).
    • Feature adds SegmentCriteria to Segmenter interface - one can compose segment using other segments
    • Feature also works for segments text editor, where special placeholder can be used (%segment.SEGMENT_CODE%)
  • Added API endpoint /api/v1/segments/items (served by ItemsHandler) - returning list of segment items. remp/crm#2518
    • Segmenter Vue library was also upgraded, now having ability to list segment items (even for unsaved segments).
  • Fixed missing select labels for the payment amount parameter. remp/helpdesk#2540

3.0.0

22 Jan 20:56
Compare
Choose a tag to compare
  • BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
    • Use package remp/crm-rector:^3.0 to automatically fix these renames.
  • BREAKING: Changed signature of SegmentFactoryInterface::buildSegment method.
    • If you implement your own SegmentFactory, update the signature to buildSegment(string|ActiveRow $segment): SegmentInterface and handle ActiveRow $segment scenario. remp/crm#2518
  • Fixed bugs when loading segments data with datetime parameter in segments visual editor. remp/helpdesk#2307
  • Fixed errors reported by PHPStan (level 3). remp/crm#2988

2.10.0

03 Oct 10:59
Compare
Choose a tag to compare
  • Fixed clickability of IDs in the list of segment values if the segment is for users table. remp/crm#2943
  • Added link to detail of payment and subscription from segment's data. remp/crm#2398 remp/crm#2487 remp/crm#2943

2.9.0

24 Aug 15:32
Compare
Choose a tag to compare
  • Added an option to attach note to segment. remp/crm#2931
    • Added note field to /api/v1/segments/show API, to support this change.

2.6.0

25 May 08:40
Compare
Choose a tag to compare
  • Added updated version of segment builder with the optimized count loading and higher nodejs version. remp/crm#2708

2.5.0

21 Apr 12:27
Compare
Choose a tag to compare
  • Fixed possible syntax error in segment:actualize_counts command if all internal recalculation locks expired before the execution of the command. remp/crm#2808