Releases: remp2020/crm-scenarios-module
Releases · remp2020/crm-scenarios-module
3.4.0
- BREAKING: A trait
NotificationTemplateParamsTrait
now needs access toApplicationConfig
to work properly. remp/novydenik#1269 - Added
BeforeRecurrentPaymentExpiresEventGenerator
to check card expiration dates in advance. remp/crm#3231 - Added trait
TimeframeScenarioTrait
which contains validation ofTimeframeParam
and returns operator and limit which can be further used within selection. remp/remp#2998 - Partially refactored
NotificationTemplateParamsTrait
. remp/novydenik#1269 - Fixed
TestUserCommand
type error error when using--user_id
option. remp/novydenik#1269
3.3.1
3.3.0
3.2.0
- DEPRECATED: Deprecated use of
EventsStorage
public events to register new trigger handlers. - IMPORTANT: Added
TriggerManager
- a new official way to register trigger handlers for scenarios + rewritten existing registrations. remp/crm#1409- We encourage using
TriggerManager
to register new trigger handlers and to rewrite existing ones until the next major release, where the source of registered handlers will switch toTriggerManager
instead of the current public events on top ofEventsStorage
. - We found a few "Event Trigger" events that were listed by mistake or weren't working as expected. To list all scenarios which is affected by this change and should be manually reviewed, run
scenarios:list_scenarios_to_review
command.
- We encourage using
- Added handling
renewal_payment_id
toNotificationTemplateParamsTrait
. remp/novydenik#1147 - Added ability to add additional scenario jobs parameters. remp/novydenik#1147
- Added
ScenarioGenericEventAdditionalParamsInterface
interface which defines methods needed for adding additional parameters. - Added support for handling additional job parameters to
RunGenericEventHandler
. remp/novydenik#1147
- Added
- Added
AttachRenewalPaymentEvent
event andAttachRenewalPaymentEventHandler
handler which handles creating and attaching renewal payment to job parameters. remp/novydenik#1147 - Fixed scenario builder didn't work with generic actions with empty options. remp/novydenik#1147
- Rewritten existing hermes registrations/handlers to use new
TriggerManager
to register 'Trigger handlers' events. remp/crm#1409 - Changed existing implementation of condition models in
ConditionCheckEventHandler
to registered separated condition models. remp/crm#1409 - Added
EventGeneratorOutputProviderInterface
to existingBeforeRecurrentPaymentChargeEventGenerator
andSubscriptionEndsEventGenerator
. remp/crm#1409- Added
user_id
explicitly to output params.
- Added
- Scenarios now validates triggers with a given elements during creation and update. remp/crm#1409
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
- Added payment param into
NotificationEvent
also in casepayment_id
was not provided but subscription is connected to one. remp/helpdesk#2329 - Added check if database is already in transaction (
ScenariosRepository->createOrUpdate()
). remp/crm#3055
2.11.0
2.10.0
2.5.0
2.2.0
2.1.0
- Added soft delete and restore to scenarios. remp/crm#2531
- Changed
Engine
to process only jobs of enabled scenarios that were created after scenario restore (if restored). - Added deletion of unprocessable jobs. These are jobs of deleted scenarios or jobs created before scenario restore.
- Changed