Repository navigation
commerce-sdk-react v5.4.1 (retail-react-app v10.2.1)
·
653 commits
to develop
since this release
Summary
This package-only patch release keeps the Page Designer preview URL bar synchronized with client-side storefront navigation. It publishes @salesforce/commerce-sdk-react@5.4.1 together with its runtime dependent, @salesforce/retail-react-app@10.2.1. PWA Kit SDK packages remain at 3.20.0.
Changes
@salesforce/commerce-sdk-react@5.4.1
- Re-export
usePreviewContextthroughShopperExperienceV2, allowing storefront code to read the Page Designer preview channel'sisConnectedstate and callnotifyClientRouteChanged. - Upgrade
@salesforce/storefront-next-runtimeto1.3.1.
@salesforce/retail-react-app@10.2.1
- Notify the connected Page Designer preview channel whenever client-side navigation changes the pathname, query string, or URL hash.
- Parse the exact
modequery parameter instead of matching substrings. - Upgrade
@salesforce/storefront-next-runtimeto1.3.1.
Install
npm install @salesforce/commerce-sdk-react@5.4.1
npm install @salesforce/retail-react-app@10.2.1Validation
- Preview packages
5.4.1-preview.0and10.2.1-preview.0were published and tested by the affected feature teams with no reported release blockers. - All required stable-release PR checks passed, including the rerun of the initially flaky private-client E2E job.
- Both stable packages are available on npm and their
latesttags point to5.4.1and10.2.1respectively. - PWA Kit SDK packages remain at
3.20.0;@salesforce/pwa-kit-mcpremains at0.5.0.
References
- Source change: #4021
- Preview release PR: #4027
- Stable release PR: #4029
commerce-sdk-reactchangelogretail-react-appchangelog