Releases: remp2020/crm-onboarding-module
Releases · remp2020/crm-onboarding-module
3.0.0
2.10.0
2.1.0
2.0.0
1.2.0
1.0.0
Changelog
- Changed translation files. remp/crm#2276
- Use double quotes around one single quote.
- Switch tabs to 4 spaces. Weblate can parse only YAML format (doesn't support tabs).
- Change extension from NEON to YML.
- Changed API handlers (non breaking). remp/crm#2342
- Changed return type of
handle()
fromCrm\ApiModule\Response\ApiResponseInterface
toTomaj\NetteApi\Response\ResponseInterface
. - Changed deprecated
Crm\ApiModule\Api\JsonResponse
toTomaj\NetteApi\Response\JsonApiResponse
.
- Changed return type of
Nette 3.0
- Changed
Compiler::loadDefinitions()
(deprecated) toCompilerExtension->loadDefinitionsFromConfig()
. remp/crm#1979 - Removed calling parent constructor from widgets. Constructor was removed from
Nette\ComponentModel\Component
. remp/crm#1979
Nette 3.1
- Changed deprecated
Nette\Application\IResponse
toNette\Application\Response
. remp/crm#1979 - Changed deprecated
Nette\Database\Context
toNette\Database\Explorer
. remp/crm#1979 - Changed deprecated
Nette\Database
classes.Nette\Database\IRow
andNette\Database\Table\IRow
are deprecated. UsingNette\Database\Table\ActiveRow
instead. remp/crm#1979 - Changed deprecated
Nette\Localization\ITranslator
toNette\Localization\Translator
. remp/crm#1979
0.38.0
0.35.0
0.31.0
- Fixed
UserOnboardingGoalsRepository::timeout()
. If user had no goal to timeout, new goal was added which was (incorrectly) completed instead of timed out. remp/crm#1732 - Added
locked
field set to true to all segments seeded for onboarding goals. These segments are generated, we don't want to allow editing by user. remp/crm#1763 - Added
TimeframeParam
intoOnboardingGoalCompletedCriteria
which handles check of user's completed goals within timeframe set in scenario's condition node. remp/crm#1764 - Added events for user's onboarding goal's changes (created/completed/timed out). remp/crm#1765
- Added
UserOnboardingGoalEventsHandler
which adds/removes user's entry in cached segment in REMP/campaign. remp/crm#1765
0.29.0
- BREAKING: Bump minimal PHP version to 7.3.
- Added column
timedout_at
to tableuser_onboarding_goals
. UpdatedUserOnboardingGoalsRepository
. remp/crm#1729 - BREAKING: Removed unique index
user_id+onboarding_goal_id
onuser_onboarding_goals
table. RefactoredUserOnboardingGoalsRepository
to follow removal of unique index. remp/crm#1729- This is BREAKING change if your module is directly accessing DB table
user_onboarding_goals
or usingUserOnboardingGoalsRepository->all()
(now it can return multiple user's entries for one onboarding goal and/or multiple completed goals).
- This is BREAKING change if your module is directly accessing DB table
- BREAKING: Added unique index to
code
column ofonboarding_goals
table. remp/crm#1705 - Changed
UserOnboardingGoalsRepository
's methodscomplete()
andtimeout()
. remp/crm#1732- If last user's goal is completed,
complete()
just updatescompleted_at
. - If last user's goal is completed,
timeout()
just updatestimedout_at
. - We don't want to create too many entries in
user_onboarding_goals
(in case goal can be fulfilled by common action - e.g. accessing website).
- If last user's goal is completed,
- Added scenario condition criteria to check if user completed goal. remp/crm#1764
- Added
SegmentsSeeder
for onboarding goals. Each goal now has its own generated segment which contains users with not completed, not timed out, active goal (entry inuser_onboarding_goals
). remp/crm#1705 - Removed option to change
code
of existing onboarding goal. Code is used to identify goal and link it to segment and it should be persistent. remp/crm#1705