Skip to content

4.0.0

Choose a tag to compare

@rootpd rootpd released this 03 Apr 10:17
· 71 commits to master since this release
  • BREAKING: Renamed column addresses.address to addresses.street and address_change_requests.address to address_change_requests.street. remp/crm#2368
    • Since this is big change in whole project, we didn't create v2 version of API endpoints.
      • Changed request parameters (address -> street) for APIs /v1/users/change-address-request and v1/users/address.
      • Changed response parameters (address -> street) of API /v1/users/addresses.
  • BREAKING: Renamed enum StatusEnum that was missing context in class name. remp/crm#3453
  • BREAKING: Removed deprecated address change request status constants from AddressChangeRequestsRepository. remp/crm#3453
  • BREAKING: Removed deprecated \Crm\UsersModule\Events\UserCreatedEvent. remp/crm#3459
  • BREAKING: Removed deprecated class Crm\UsersModule\Models\Auth\SignInRedirectValidator. remp/crm#3459
    • Use Crm\ApplicationModule\Router\RedirectValidator instead.
    • If you registered allowed domains in config under signInRedirectValidator, just rename it to redirectValidator.
      - signInRedirectValidator:
      + redirectValidator:
          setup:
              - addAllowedDomains('domain.example.com')
  • BREAKING: Removed deprecated method \Crm\UsersModule\Models\Auth\Sso\GoogleSignIn::signInUsingIdToken(). remp/crm#3459
    • Use method getUserUsingIdToken() from same class.
  • BREAKING: Renamed method \Crm\UsersModule\Models\Auth\Sso\AppleSignIn::signInUsingIdToken() to getUserUsingIdToken(). remp/crm#3459
    • This method returns user but it doesn't log user in.
  • IMPORTANT: Added UserStatsUserDataProvider to handle deletion of user_stats records when user is anonymized. remp/crm#3332
    • All user_stats of already anonymized users are deleted by migration (DeleteUserStatsOfAnonymizedUsers). Migration is non-blocking but it could take longer than other data migrations - depending on the size of your user_stats table and number of anonymized users. Consider to run it at off-peak times.
  • Fixed application cleanup issue caused by mass update generating invalid query. remp/crm#3407
  • Fixed current_sign_in_at typo. remp2020/crm-users-module#21
  • Added minutes and hours timeframe units to UserCreatedAtCriteria. remp/crm#3265
  • Fixed admin filter form issue not allowing to use 0 as value for filter. remp/crm#3418
  • Fixed query condition in LoginAttemptsUserDataProvider.download. remp/crm#3441