Skip to content

v3.12.0 (retail-react-app@8.0.0 and commerce-sdk-react@4.0.0)

Choose a tag to compare

@vmarta vmarta released this 04 Sep 23:03
8fe2805

Highlights

For release highlights, see PWA Kit 3.12 Changes in the Composable Storefront Developer Guide.

BREAKING: Multiple shipments in checkout

This enhancement to the PWA Kit retail react app checkout flow enables shoppers to assign unique shipping addresses and/or fulfillment methods (e.g., ship-to-home, pick-up in-store) to individual items or item groups within a single order.

This change is [Breaking] due to some changes to function signatures. For more details on this change, see #3056

Link to dev guide

BREAKING: Commerce SDK React has been updated to v4.0

This version bump is due to the upgrade of the commerce-sdk-isomorphic dependency to v4. For details on what has changed with commerce-sdk-isomorphic v4, see https://github.com/SalesforceCommerceCloud/commerce-sdk-isomorphic/releases/tag/v4.0.0

In addition to the version bump, the following changes were made to commerce-sdk-react:

  • ShopperSeo API has been renamed to ShopperSEO.
  • Query parameters and types have changed to be compatible with commerce-sdk-isomorphic v4
  • Constants relating to /mobify paths have been removed from commerce-sdk-react/constant.ts
  • Deprecated return properties in useDNT have been removed

For more details on what has changed in commerce-sdk-react, see the following PR:
#2879

@salesforce/commerce-sdk-react@4.0.0

  • [Breaking] Upgrade to commerce-sdk-isomorphic v4.0.0 2879
  • [Breaking] Remove deprecated properties from useDNT in commerce-sdk-react #3177
  • Add support for environment level base paths on /mobify routes #2892
  • Update USID expiry to match SLAS refresh token expiry #2854
  • [Bugfix] Skip deleting dwsid on shopper login if hybrid auth is enabled for current site. #3151
  • Update Auth class and CommerceApiProvider to support custom headers in SCAPI requests #3183

@salesforce/pwa-kit-create-app@3.12.0

  • This feature introduces an AI-powered shopping assistant that integrates Salesforce Embedded Messaging Service with PWA Kit applications. The shopper agent provides real-time chat support, search assistance, and personalized shopping guidance directly within the e-commerce experience. #2658
  • Add BOPIS and MULTISHIP configuration defaults #3142
  • Add support for environment level base paths on /mobify routes #2892
  • Update _app-config generator template to include hybridAuthEnabled prop #3151
  • Update templates files to include sfdc_user_agent header for debugging and metrics prupose #3183

@salesforce/pwa-kit-dev@3.12.0

  • Add support for environment level base paths on /mobify routes #2892

@salesforce/pwa-kit-mcp@0.2.0

  • Normalize tool names; Add introduction section for PWA Kit MCP and resize the images on README. #3239

@salesforce/pwa-kit-react-sdk@3.12.0

  • Add support for environment level base paths on /mobify routes #2892

@salesforce/pwa-kit-runtime@3.12.0

  • Add support for environment level base paths on /mobify routes #2892
  • [This feature is a pilot.] This feature introduces an AI-powered shopping assistant that integrates Salesforce Embedded Messaging Service with PWA Kit applications. The shopper agent provides real-time chat support, search assistance, and personalized shopping guidance directly within the e-commerce experience. #2658
  • Disallow the SLAS private client proxy from handling trusted system on behalf of requests #3042
  • Mask user not found messages to prevent user enumeration from passwordless login #3113

@salesforce/retail-react-app@8.0.0

  • Add support for environment level base paths on /mobify routes #2892
  • Remove deprecated properties from useDNT in commerce-sdk-react #3177
  • This feature introduces an AI-powered shopping assistant that integrates Salesforce Embedded Messaging Service with PWA Kit applications. The shopper agent provides real-time chat support, search assistance, and personalized shopping guidance directly within the e-commerce experience. #2658
  • [Breaking] Added support for Multi-Ship #3056 #3199 #3203 [#3211] (#3211) #3217 [#3216] (#3216) [#3231] (#3231) [#3240] (#3240)
  • The feature toggle for partial hydration is now found in the config file (config.app.partialHydrationEnabled) #3058
  • Mask user not found messages to prevent user enumeration from passwordless login #3113
  • [Bugfix] Pin @chakra-ui/react version to 2.7.0 to avoid breaking changes from 2.10.9 #2658
  • Introduce optional prop hybridAuthEnabled to control Hybrid Auth specific behaviors in commerce-sdk-react #3151
  • Inject sfdc_user_agent request header into all SCAPI requests for debugging and metrics prupose #3183
  • Fix config parsing to gracefully handle missing properties #3230
  • [Bugfix] Fix unit test failures in generated projects 3204