Skip to content

Releases: remp2020/crm-coupon-module

3.0.0

22 Jan 20:53
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.
  • Fixed errors reported by PHPStan (level 3). remp/crm#2988
  • Added use statements for classes where we used FQN. remp/crm#2228

2.7.0

28 Jun 09:03
Compare
Choose a tag to compare
  • Fixed coupon filter for type column. Lowercasing searched type and types returned from database. Coupon types example and Example should be grouped together. remp/crm#2877

2.4.0

24 Mar 07:51
Compare
Choose a tag to compare
  • Changed the default ordering of coupons to prevent duplicated views for coupons generated at same time. remp/crm#2710
  • Added option to filter coupons by the date of creation. remp/crm#2711

2.3.0

23 Feb 20:13
Compare
Choose a tag to compare
  • BREAKING - Added setLength method into CouponGeneratorInterface. remp/crm#2666
    • Added the length of coupon between generators form inputs.

2.0.0

26 Aug 13:46
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
  • Added edit coupon form. remp/crm#2469

1.0.0

31 Mar 08:37
Compare
Choose a tag to compare

Changelog

  • Changed translation files. remp/crm#2276
    • 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
  • Changed nette/forms method from setAttribute() to setHtmlAttribute(). remp/crm#1979

Nette 3.1

  • Changed deprecated Nette\Caching\IStorage to Nette\Caching\Storage. 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:09
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: Fix whitespaces in neon configs

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

0.31.0

21 May 10:04
Compare
Choose a tag to compare
  • Added notifyUser param to CouponsRepository activate coupon method and ActivateCouponApiHandler. remp/crm#1812
  • Added SubscriptionHasCouponCriteria scenario builder condition. remp/crm#1812