Releases: remp2020/crm-segment-module
Releases · remp2020/crm-segment-module
3.6.0
3.5.0
- 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 flag
- 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
3.2.0
3.1.0
- 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%
)
- Feature is turned off by default, since it's only supported by our default implementation of
- Added API endpoint
/api/v1/segments/items
(served byItemsHandler
) - 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
- BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
- Use package
remp/crm-rector:^3.0
to automatically fix these renames.
- Use package
- BREAKING: Changed signature of
SegmentFactoryInterface::buildSegment
method.- If you implement your own
SegmentFactory
, update the signature tobuildSegment(string|ActiveRow $segment): SegmentInterface
and handleActiveRow $segment
scenario. remp/crm#2518
- If you implement your own
- 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