Skip to content

Releases: remp2020/crm-onboarding-module

3.0.0

22 Jan 20:54
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.
  • Added use statements for classes where we used FQN. remp/crm#2228

2.10.0

03 Oct 10:58
Compare
Choose a tag to compare
  • Changed the registration of events - module now uses LazyEventEmitter which supports lazy event listeners registration. remp/crm#2116

2.1.0

25 Nov 14:06
Compare
Choose a tag to compare
  • Changed the registration of widgets - module now uses improved LazyWidgetManager and all widgets extend BaseLazyWidget class. remp/crm#2075

2.0.0

26 Aug 13:59
Compare
Choose a tag to compare
  • BREAKING: Changed PHP version requirement to 8.0. remp/crm#2519
  • BREAKING: Changed Latte version from v2 to v3. remp/crm#2519
  • Refactored presenters to use PreviousNextPaginator instead of VisualPaginator. remp/crm#2512

1.2.0

30 Jun 09:18
Compare
Choose a tag to compare
  • Fixed graphs on dashboard to consider date range filter. remp/crm#2450

1.0.0

31 Mar 08:42
Compare
Choose a tag to compare

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() from Crm\ApiModule\Response\ApiResponseInterface to Tomaj\NetteApi\Response\ResponseInterface.
    • Changed deprecated Crm\ApiModule\Api\JsonResponse to Tomaj\NetteApi\Response\JsonApiResponse.

Nette 3.0

  • Changed Compiler::loadDefinitions() (deprecated) to CompilerExtension->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 to Nette\Application\Response. remp/crm#1979
  • Changed deprecated Nette\Database\Context to Nette\Database\Explorer. remp/crm#1979
  • Changed deprecated Nette\Database classes. Nette\Database\IRow and Nette\Database\Table\IRow are deprecated. Using Nette\Database\Table\ActiveRow instead. remp/crm#1979
  • Changed deprecated Nette\Localization\ITranslator to Nette\Localization\Translator. remp/crm#1979

0.38.0

11 Feb 23:11
Compare
Choose a tag to compare
  • Fixed directory names to follow PSR-4 standard. Namespaces weren't changed (no breaking change). remp/crm#2228

0.35.0

25 Oct 12:05
Compare
Choose a tag to compare
  • BREAKING: Bump minimal PHP version to 7.4. remp/crm#2068

0.31.0

21 May 10:02
Compare
Choose a tag to compare
  • 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 into OnboardingGoalCompletedCriteria 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

02 Mar 13:41
Compare
Choose a tag to compare
  • BREAKING: Bump minimal PHP version to 7.3.
  • Added column timedout_at to table user_onboarding_goals. Updated UserOnboardingGoalsRepository. remp/crm#1729
  • BREAKING: Removed unique index user_id+onboarding_goal_id on user_onboarding_goals table. Refactored UserOnboardingGoalsRepository 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 using UserOnboardingGoalsRepository->all() (now it can return multiple user's entries for one onboarding goal and/or multiple completed goals).
  • BREAKING: Added unique index to code column of onboarding_goals table. remp/crm#1705
  • Changed UserOnboardingGoalsRepository 's methods complete() and timeout(). remp/crm#1732
    • If last user's goal is completed, complete() just updates completed_at.
    • If last user's goal is completed, timeout() just updates timedout_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).
  • 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 in user_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