Skip to content

3.0.0

Choose a tag to compare

@rootpd rootpd released this 22 Jan 20:56
· 116 commits to master since this release
  • BREAKING: Fixed class namespaces to follow PSR4 specification. remp/crm#2228
    • Use package remp/crm-rector:^3.0 to automatically fix these renames.
  • BREAKING: Added return type to SubscriptionTypePaymentItem->fromSubscriptionTypeItem(). remp/crm#2988
  • Fixed content access matching in FirstSubscriptionInPeriodCriteria. remp/novydenik#1074
    • Checking previous subscription's content accesses should be treated with OR operator. If it contains any of provided content accesses, criteria should return false.
    • E.g. If current subscription has web, print accesses and previous has web, mobile, print and criteria filter contains print, it should be enough to match previous subscription and return false.
  • Updated conditions in HasLaterEndingSubscriptionCriteria to treat stopped subscription (start_time=end_time) as no subscription. remp/novydenik#1174
  • Fixed ContentAccessCriteria not evaluating the scenario condition correctly if the single condition contained two chained criteria of this same type. remp/crm#3048
  • Fixed errors reported by PHPStan (level 3). remp/crm#2988
  • Added SubscriptionEndsSuppressionManager to be able to suppress subscription ends notifications for selected subscription. remp/respekt#121