Improved null
safety by adding optional chaining to various parts of the storefront, specifically for when Fulfillment Groups are undefined or when Select
fields have no options.
Changes to support new Remember-Me Login feature.
Added a modal to prompt the user to log out or stay signed in when the end of session is about to be reached. If no action is taken by the end of the session, the user is automatically signed back in. This leverages the new /remember-me-continuation
endpoint. This modal behavior will only engage when all the following conditions are met:
Refresh token rotation is disabled
This is configured via property NEXT_PUBLIC_AUTH_USE_REFRESH_TOKENS
, which has a default value of false
.
Remember-Me is currently enabled by the user
The user’s maximum session expiration is about to be reached
This value can be configured with NEXT_PUBLIC_EXPIRATION_COUNTDOWN_INTERVAL
, which has a default value of 180000 ms
.
Note
|
This implementation relies on a non-cross-origin setup, reason for which it is only engaged when the refresh token rotation is disabled. For more information on how Remember-Me Login works in a cross-origin setup, visit the Auth React documentation |
Anonymous CSR user now treated as a guest customer on site
Added missing fields that were preventing adding billing address for a customer account
Fixed UX issues with the edit Roles selector for Account Members
Expanded the Roles selector component when the list grows to better see the roles
Fixed an issue when the selectors' dropdown does not highlight which roles are already selected once the user has multiple roles
Fixed an issue when a user can’t remove previously added roles because the dropdown does not know which roles are already selected
Fixed stuttered loading behavior on the PDP by fixing the loading procedure of components on the page
Fixed alignment issue of select fields across the storefront
Fixed issue where the CSR price override was throwing a currency mismatch error due to the override request not including the desired currency for the cart and fulfillment prices
Fixed visual bug where the sale price blinks in and out while fetching the contract price
Disabled looping in the Product slideshow by default
Implemented fixes to prevent incorrectly redirecting to sign in when authentication is still loading, and decreased page reloads to trigger when the account has been updated