Skip to content

4.4.0

Choose a tag to compare

@rootpd rootpd released this 12 Dec 08:42
· 38 commits to master since this release
  • BREAKING: Removed pre-populating of first name and last name in user's address form in admin. remp/crm#3624
  • BREAKING: Removed token auth source metadata from /api/v1/user/info API handler. remp/crm#3663
    • If you need to extend the API handler with extra data, extend/override it with your own handler instead.
  • Added claim unclaimed user in RegisterFormFactory. remp/helpdesk#4008
  • Added UserAddressListWidget component for user detail pages. remp/crm#3511
    • You can configure address type icons and visibility via UserAddressListConfig.
    • Displays user addresses with configurable icons per address type.
    • Added "Load more" functionality via AJAX for additional addresses.
  • Fixed UserAddressListWidget to support module widget injection via simpleWidget placeholder. remp/crm#3511
  • Removed AddressWidget registration from admin.user.address.partial placeholder. remp/crm#3511
    • Prevents duplicate address rendering in UserAddressListWidget.
  • Changed UserAddressListWidget to sort addresses by type with default addresses at the top of each type group. remp/crm#3511
    • Addresses are now sorted by type, then by default status within type, then by creation date (newest first).
    • Added fallback to display 3 newest addresses when no always-visible address types are configured.
  • Added flag with_uuid to /api/v1/users/list API to include uuid in response data. remp/crm#3617
  • Added user data cache (Redis) as a source of data for /api/v1/user/info API handler. remp/crm#3663
    • If there's nothing stored in cache, handler uses DB (former implementation) as a fallback.
  • Changed how (when) information about the last user login is stored. remp/crm#3665
    • Affected database columns: users.current_sign_in_at and users.current_sign_in_ip.
    • Previously, storing this data was the responsibility of each implementation of AuthenticatorInterface.
    • Now, the information is stored whenever the event Crm\UsersModule\Events\UserSignInEvent is emitted. This event is emitted by UserAuthenticator upon successful authentication and is handled by event handler Crm\UsersModule\Events\SignEventHandler.
    • Removed direct calls to the addSignIn() from the authenticators AutoLoginAuthenticator and UsernameAuthenticator.
  • Fixed possible user ID type inconsistency during SSO login. remp/crm#3670