Skip to content

commerce-sdk-react v5.4.1 (retail-react-app v10.2.1)

Choose a tag to compare

@kevinxh kevinxh released this 23 Sep 17:07
· 653 commits to develop since this release
5ebd7c1

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 usePreviewContext through ShopperExperienceV2, allowing storefront code to read the Page Designer preview channel's isConnected state and call notifyClientRouteChanged.
  • Upgrade @salesforce/storefront-next-runtime to 1.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 mode query parameter instead of matching substrings.
  • Upgrade @salesforce/storefront-next-runtime to 1.3.1.

Install

npm install @salesforce/commerce-sdk-react@5.4.1
npm install @salesforce/retail-react-app@10.2.1

Validation

  • Preview packages 5.4.1-preview.0 and 10.2.1-preview.0 were 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 latest tags point to 5.4.1 and 10.2.1 respectively.
  • PWA Kit SDK packages remain at 3.20.0; @salesforce/pwa-kit-mcp remains at 0.5.0.

References