Skip to content

v1.2.0

Choose a tag to compare

@sejal-salesforce sejal-salesforce released this 22 Nov 21:45
· 4169 commits to develop since this release
dfa68de

🥳 This release focuses on a number of updates for localization and improvements related to SEO, performance, and shopper experience.

Changes

Full changelog: v1.1.0...v1.2.0

Retail React App: Localization

You can now build translation bundles using npm run build-translations as well as associate locale selectors with preferred currencies. Configurations are enabled so that you can keep all localization-related configurations in one place. For more information about localization, see the Localization README.

  • Use the preferred currency when switching locales. #105
  • When adding a new locale, minimize configuring the locale selector UI by having a list of commonly-used locales #175
  • Rename the extract-messages and compile-messages commands to extract-default-translations and compile-translations #160
  • For search engine crawlers, add hreflang links to the current page's HTML #137
  • Allow individual Commerce API calls to pass in a different locale/currency and override the global value. #177
  • Enabling pseudo locale now affects only the loading of the translation messages. The rest of the app still knows about English and the other locales. #177
  • Fix regression with loading the correct translation file #193
  • Fix Missing Locale Param for Commerce API Calls #174

Retail React App: Performance & Usability

A new simplified homepage makes it easier to get started with developing your storefront. We also implemented a couple of other fixes for performance and usability.

  • Simplified storefront homepage #201
  • Add cache-control header to product details page #172

Retail React App: Shopper Experience

Improvements in Einstein recommendation and wishlists enhance the shopper experience for the storefront.

  • Ensure cookieId value is sent always for Einstein recommendations #179
  • Integrate wishlist with Einstein recommended products. #131
  • Enable favorite icons on product tiles for guest users #173
  • Fix: Enable adding wishlist items to the cart. #158
  • Rename CartItemVariant to ItemVariantProvider to improve reuse. #155

Fixes and Security Updates

  • Remove x-powered-by HTTP response header #165
  • Upgrade chakra-ui/react to ^1.7.1 version. #204
  • Upgrade copy-webpack-plugin to fix tar vulnerability #181
  • Clear SLAS tokens when OID is changed, so that when you connect to the different sandbox the new tokens are used #178
  • Security package updates