Skip to content

Releases: SalesforceCommerceCloud/pwa-kit

v2.7.4

29 Aug 20:08
3c095b7

Choose a tag to compare

Changes

  • Fix performance issue caused by potentially large amounts of stats data from webpack #1391

v3.1.0

27 Jul 04:54
9903df6

Choose a tag to compare

Release v3.1.0 (v1.0.1 commerce-sdk-react / retail-react-app) #1386

@salesforce/commerce-sdk-react@1.01

  • Updated the expiry of the guest refresh token cookie to 30 days, to match the actual duration of the token. #1342
  • Fix potential security vulnerability in semver dependency #1358
  • Fix request headers to be the intended headers, rather than parameters #1377

@salesforce/retail-react-app@1.0.1

  • Fix price display when a discounted price is zero #1361
  • Fix price adjustments of a line item when more than one is present #1362
  • Registered user checkout should set order with an email #1363

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

  • Fix potential security vulnerability in semver dependency #1358

@salesforce/pwa-kit-dev@3.1.0

  • Allow setting cookies using the MRT_ALLOW_COOKIES environment variable #1318
  • Send package versions as bundle metadata #1354
  • Fix loading screen sometimes hanging on refresh #1370
  • Avoid an error when using pwa-kit-dev outside a directory with a package.json file if the command does not require one #1376 #1380

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

  • No changes

@salesforce/pwa-kit-runtime@3.1.0

  • Allow setting cookies using the MRT_ALLOW_COOKIES environment variable #1318
  • Fix potential security vulnerability in semver dependency #1358

v2.7.3

20 Jun 21:45
9f9ed0c

Choose a tag to compare

Changes:

  • Add support for ES module import statements in ssr.js #1284
  • Support Node 18 and NPM 9. #1265

v3.0.0

15 Jun 20:59
7445bd8

Choose a tag to compare

What’s New

We’ve added lots of new features to PWA Kit v3, including:

🔨 Template extensibility: Greatly reduce your project's code footprint and reduce development toil, cost of ownership, and future upgrade headaches. For more details, see the Template Extensibility guide!

🪝 @salesforce/commerce-sdk-react "hooks" integration: Decouples API calls from a project's implementation, allows API calls to be upgraded as an npm library dependency, and brings along many of the great features (including state management, and others) via TanStack Query. See the the Commerce SDK React docs to get started!

⚛️ Major vendor library updates, including support for React 18, Node 16 / 18, Chakra 2, and more.

Upgrade to v3

As of v3, it's now possible to consume @salesforce/retail-react-app updates by adding it as an npm dependency and enabling template extensibility in your project.

For details on upgrading from PWA Kit 2.7.x, see the Upgrade to v3 guide.

Changes

Full changelog: v2.7.2...v3.0.0

v2.7.2

13 Jun 19:26
2c82d32

Choose a tag to compare

Bugfix

  • Add missing babel dependency #1231

v2.7.1

11 May 23:19
dabfcda

Choose a tag to compare

Featured Changes:

  • Added optional session bridge call to login for phased launch
  • Product-list refinements to allow multiple types and better handling of isChecked and query parameters
  • Fix multi-value query params being lost
  • Make mergeBasket conditional more robust to fix basket issues when a new account is created
  • Security package updates

Bugfixes

  • Changed type of the phone number field to bring up numberic keyboard on mobile devices
  • Fixed addresses not having preferred address listed first
  • Prevent modal from opening when add an item to cart fails
  • Fix getConfig referencing config from incorrect location
  • Performance improvements on webpack build
  • Remove duplicated site alias and locale from location.state.directedFrom path on hybrid sites
  • Fix Page Designer ImageWithText Link component
  • Fix a local dev memory leak issue when making changes to the retail react app
  • Fix file collisions when client side js have the same name as server side js
  • Replace invalid value for wrap property
  • Add internal lib build typescript dev dependency
  • Fix static file serving

Changes
Full changelog: See #1197

Contributors

Thank you to the following members of our community for contributing to this release!

2.7.0

03 Mar 19:55
02dfe24

Choose a tag to compare

Featured Changes

  • Initial release of Page Designer page rendering support in template-retail-react-app.
  • Support for product-set product types in template-retail-react-app.
  • Support for Node 16 across the board for PWA Kit.

Changes

Full changelog: release-2.6.x...release-2.7.x

commerce-sdk-react-preview

  • Add Page/Region/Component components for shopper experience/page designer page rendering #963.
  • Namespace Auth storage keys with site identifier to allow multi-site support #911.
  • Add Shopper Experience usePage and usePages hooks#958.
  • Refactors and security package updates.

pwa-kit-dev

  • Add explicit ws dependency #865.
  • Security package updates.

pwa-kit-runtime

  • Support Node 16 #965.
  • Security package updates.

template-retail-react-app

  • Add Page Designer ImageTile component #967.
  • Add Page Designer ImageWithText component #991.
  • Add Page Designer carousel component #977.
  • Add Page Designer layout components #993.
  • Support the product-set type #1019.

New Contributors

v2.6.0

26 Jan 01:00
d944dd6

Choose a tag to compare

Featured Change: Mega Menu Improvements

Performance of the mega menu used by the Retail React App has been improved.

Changes

Full changelog: release-2.5.x...develop

pwa-kit-dev

  • Upgrade prettier to v2. #926
  • Security package updates.

pwa-kit-runtime

  • Security package updates.

template-retail-react-app

  • Changes to the mega menu to improve site performance. The mega menu now accepts a configuration for initial render 'depth' and then lazy loads further submenus when the page is loaded. #875 and #910
  • Cache SLAS callback using request processor. #884
  • Fix padding of footer drawer component. #899
  • Fix to support order data tracking for the new Einstein event tracking. #920
  • Fix PropTypes. #924
  • Remove unnecessary map statement. #929

New Contributors

Release 2.5.0

07 Jan 00:34
eb7e4c0

Choose a tag to compare

Featured Change: New Preview of commerce-sdk-react Library

A new preview release of commerce-sdk-react is now available on npm.

The new commerce-sdk-react library includes ready-made React hooks for fetching data from B2C Commerce.

For more information on how to use commerce-sdk-react, see the README.

Changes

Full changelog: v2.4.0...v2.5.0

pwa-kit-create-app

  • Add instanceType to Einstein activity body #858.
  • Do not use a proxy to call Einstein #857.

pwa-kit-dev

  • Logging cid from res header instead of req in local development #821.

pwa-kit-react-sdk

  • Replace morgan stream to use console.log #847.
  • Do not use a proxy to call Einstein #857.
  • Reuse server correlation ID when hydrating error pages #846.

pwa-kit-runtime

  • Logging cid from res header instead of req in local development #821.
  • Replace morgan stream to use console.log #847.

template-retail-react-app

  • Add instanceType to Einstein activity body #858.
  • Do not use a proxy to call Einstein #857.
  • Einstein handle variants #867.
  • Fix cc exp year #874.

v2.4.0

02 Dec 03:31
e05036c

Choose a tag to compare

Featured Change: Preview of commerce-sdk-react Library

A preview release of commerce-sdk-react is now available on npm.

The new commerce-sdk-react library includes ready-made React hooks for fetching data from B2C Commerce.

For more information on how to use commerce-sdk-react, see the README.

Changes

Full changelog: v2.3.0...v2.4.0

pwa-kit-create-app

  • Update instanceUrl on retail-react-app-demo preset. #799
  • Update usage of zzrf-001 in ODS instances to the new short URL format. #816

pwa-kit-dev

  • Add tail-logs command. #789
  • Upgrade minimatch. #793

pwa-kit-react-sdk

  • Fix useServerContext returning isServerSide=false when on server. #782
  • Upgrade minimatch. #793 

template-retail-react-app

  • Dynamic footer copyright date. #741
  • Footer copyright: remove the remaining hardcoded year. #760
  • ImageGallery uses image.link when DIS is not set. #786
  • Use default locale as target if none is specified. #788
  • Password change bug fix. #803
  • Add command for tailing logs to pwa-kit-dev. #789
  • Update usage of zzrf-001 in ODS instances to the new short URL format. #816