Skip to content

0.38.0

Compare
Choose a tag to compare
@rootpd rootpd released this 11 Feb 23:13
· 322 commits to master since this release
  • BREAKING: Changed UsersRepository::add() function signature. remp/crm#2060
    • Removed firstName, lastName and address arguments as they're not mandatory anymore and AddressRepository / UserMetaRepository should preferably be used to store these fields. If you want to store them in users table, update the $user row right after the add() method.
    • Added preregistration argument to support new user pregeristration flow.
    • If you use UsersRepository::add() in your own modules, please revise the usage to reflect the changes.
  • BREAKING: Changed UserCreatedEvent event to UserRegisteredEvent. Old UserCreatedEvent extends new UserRegisteredEvent so custom implementations dependent on UserCreatedEvent should work for now. UserCreatedEvent event is deprecated and will be removed in the future. remp/crm#2060
    • If you emit or listen to UserCreatedEvent, change it to UserRegisteredEvent.
    • This change intends to create room for user to be created, but not officially registered - intended for unclaimed users and other backend-only users. Unless you work with backend-only flows, UserRegisteredEvent is the one that you want to use onwards. This event is complemented with NewUserEvent. Read their PhpDocs if you want to know more.
    • Any scenarios using user_created trigger will automatically be migrated to user_registered trigger.
  • BREAKING: Renamed user-created hermes event to user-registered to maintain consistency with the previous changes. remp/crm#2060
    • If you emit or listen to the user-created hermes event, update it to the new user-registered hermes event.
  • Added option to /api/v1/users/create API endpoint to create unclaimed user. remp/crm#2060
  • Added login attempts tracking to the /api/v1/users/email (UsersEmailHandler) to include the API in the rate-limiter coverage. remp/crm#1779
  • Added widget into User administration to manage user connected accounts. remp/crm#2158
  • Added confirmation dialog into reset password hyperlink in user settings. remp/#crm2168
  • Added support for user-specific locales. remp/crm#2187
    • Column locale added to users table. Column is non-null and is filled with default locale during migration.
    • Scenario criteria LocaleCriteria added.
    • Added UserDataLocaleResolver, supporting switching locales based on user-specific locale.
  • Fixed directory names to follow PSR-4 standard. Namespaces weren't changed (no breaking change). remp/crm#2228
  • Added hungarian translations. remp/crm#2255