@salesforce/[email protected]
- Add
meta.displayName
to queries. It can be used to identify queries in performance metrics or logs. #1895 - Upgrade to commerce-sdk-isomorphic v3.0.0 #1914
⚠️ Planned API Changes ⚠️
Shopper Context
Starting July 31st 2024, all endpoints in the Shopper context API will require the siteId
parameter for new customers. This field is marked as optional for backward compatibility and will be changed to mandatory tentatively by January 2025. You can read more about the planned change here in the notes section.
Shopper Login (SLAS)
SLAS will soon require new tenants to pass channel_id
as an argument for retrieving guest access tokens. You can read more about the planned change here.
Please be aware that existing tenants are on a temporary allow list and will see no immediate disruption to service. We do ask that all users seek to adhere to the channel_id
requirement before the end of August to enhance your security posture before the holiday peak season.
In practice, we recommend:
- For customers using the SLAS helpers with a private client, it is recommended to upgrade to
v3.0.0
of thecommerce-sdk-react
.
@salesforce/[email protected]
- Update default Node.js version to v20. #1867
@salesforce/[email protected]
- Add
beforeHydrate
option to withReactQuery component #1912 - Add server side rendering performance metrics via query parameter
__server_timing
or environment variableSERVER_TIMING
, the metrics is available in the console logs and response headerserver-timing
. #1895
@salesforce/[email protected]
New Features
Bug Fixes
- Update serialized query data via
beforeHydrate
to prevent data re-fetching on load #1912 - Out of stock and low stock items are removed from cart and checkout as unavailable products #1881
- Fix infinity sign price on product tile #1903
- Remove unecessary params from product search #1873
Accessibility Improvements
- Improve accessibility readout for strikethrough price on shipping options in checkout page #1892
- Ensure credit card informational tooltip on checkout page persists after the user is no longer hovering over it #1890
- A11y: Add aria-label to the address form based on the address type #1904
- A11y: Account Nav fixes #1884
- A11y: Replace
<p>
tags with header tag in home page Features section #1902 - Add aria-label for Checkout's action buttons #1906
- Avoid forced focus changes that are not user-initiated #1940