Pwa Kit Versions Save

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.

v2.8.3

1 month ago

What's Changed

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v2.8.1...v2.8.3

v3.5.1

1 month ago

@salesforce/[email protected]


  • Update SLAS private proxy path #1752

@salesforce/[email protected]


  • Update SLAS private proxy path #1752

@salesforce/[email protected]


  • Update dependency @salesforce/commerce-sdk-react@1.4.2

v3.5.0

1 month ago

@salesforce/[email protected]


  • Add Support for SLAS private flow #1722
  • Fix invalid query params warnings and allow custom query #1655
  • Fix cannot read properties of undefined (reading 'unshift') #1689
  • Add Shopper SEO hook #1688
  • Update useLocalStorage implementation to be more responsive #1703
  • Storefront Preview: avoid stale cached Commerce API responses, whenever the Shopper Context is set #1701

@salesforce/[email protected]


  • Add Support for SLAS private flow #1722

@salesforce/[email protected]


  • Add Support for SLAS private flow #1722

@salesforce/[email protected]


New Feature

  • Add Support for SLAS private flow #1722

Bug Fixes

  • Fix promo codes not being properly applied in cart #1692
  • Fix checkout shipping method fetching #1693
  • Fix invalid query params warnings #1655
  • Fix internal server error on account pages #1675
  • Fix product-item component imports to ensure that it is overridable. #1672
  • Fix locale selector navigating back to default locale #1670
  • Fix handling of offline products on Cart, Checkout, Order History, and Wishlist pages #1691
  • Fix tracking of viewSearch event for Einstein analytics, in the case of no-search-results #1702
  • Remove invalid header _sfdc_customer_id due to recent MRT HTTP3 upgrade #1731

v3.4.0

4 months ago

@salesforce/[email protected]


  • Add support for node 20 #1612
  • Fix bug when running in an iframe #1629

@salesforce/[email protected]


  • Add support for node 20 #1612
  • Fix bug when running in an iframe #1629

@salesforce/[email protected]


  • Add support for node 20 #1612
  • Generate SSR source map with environment variable #1571

@salesforce/[email protected]


  • Add support for node 20 #1612

@salesforce/[email protected]


  • Add support for node 20 #1612

@salesforce/[email protected]


Accessibility improvements

  • Add correct keyboard interaction behavior for variation attribute radio buttons #1587
  • Change radio refinements (for example, filtering by Price) from radio inputs to styled buttons #1605
  • Update search refinements ARIA labels to include "add/remove filter" #1607
  • Improve focus behavior on my account pages, address forms, and promo codes #1625

Bug Fixes

  • Fix checkout allowing you to proceed to review with invalid billing address #1632
  • Fix password change functionality #1634

Other features

  • Add local development support for node 20 #1612
  • Display selected refinements on PLP, even if the selected refinement has no hits #1622
  • Added option to specify isLoginPage function to the withRegistration component. The default behavior is "all pages ending in /login". #1572

v3.3.0

5 months ago

@salesforce/[email protected]


  • Add StorefrontPreview component 'onContextChange' property to prepare for future Storefront Preview release #1527
  • Update engine compatibility to include npm 10 #1597

@salesforce/[email protected]


  • Replace max-age with s-maxage to only cache shared caches #1564
  • Update engine compatibility to include npm 10 #1597

@salesforce/[email protected]


  • Update engine compatibility to include npm 10 #1597
  • Improve pwa-kit-dev start command to accept CLI arguments for babel-node that get passed as CLI args to pwa-kit-dev start #1591
  • Bugfix for TS not loading in typescript minimal project ssr.js #1591
  • Add source-map-loader plugin to webpack configuration. #1535
  • Only use source maps in server when inspect flag is being used. #1535

@salesforce/[email protected]


  • Update engine compatibility to include npm 10 #1597
  • Create a flag to allow toggling behavior that treats + character between words as space in search query #1557

@salesforce/[email protected]


  • Update engine compatibility to include npm 10 #1597

@salesforce/[email protected]


Accessibility Improvements

  • Ensure the ListMenuTrigger component applies ARIA attributes to the correct element for the trigger icon #1600
  • Ensure form fields and icons have accessible labels #1526
  • Ensure active user interface components have sufficient contrast #1534
  • Fix outline on keyboard focus #1536
  • Fix improper nesting of elements in product tile #1541
  • Ensure all interactive functionality is operable with the keyboard #1546
  • Make security code tooltip receive keyboard focus #1551
  • Improve accessibility of quantity picker #1552
  • Improve keyboard accessibility of product scroller #1559
  • Fix focus indicator for hero features links on homepage #1561
  • Ensure color is not the sole means of communicating information #1570

Other Features

  • Add Active Data files, update pages (app index.jsx, product list and product details pages) to trigger events on product category and product detail views #1555
  • Replace max-age with s-maxage to only cache shared caches #1564
  • Implement gift option for basket #1546
  • Update extract-default-messages script to support multiple locales #1574
  • Update engine compatibility to include npm 10 #1597
  • Add support for localization in icon component #1609

Bug Fixes

  • Remove internal linter rule that is missing in generated projects #1554
  • Fix bug where you can add duplicates of the same item to the wishlist. Also fixes bug where skeleton appears when removing last item from the wishlist. #1560
  • Replace max-age with s-maxage to only cache shared caches #1564
  • Fix PLP filters for mobile #1565

v3.2.1

6 months ago

@salesforce/[email protected]

  • Revert mandatory enforcement of Content-Security-Policy headers. Provide middleware as an opt-in replacement. #1528

Example usage:

// your-project/app/ssr.js
import {defaultPwaKitSecurityHeaders} from '@salesforce/pwa-kit-runtime/utils/middleware'
const {handler} = runtime.createHandler(options, (app) => {
    app.use(defaultPwaKitSecurityHeaders)
    // ...
}

@salesforce/[email protected]

  • Use the new opt-in mechanism for enforcing the default security headers required by PWA Kit projects. #1528

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v3.2.0...v3.2.1

v2.8.1

6 months ago

What's Changed

  • Revert mandatory enforcement of Content-Security-Policy headers. Provide middleware as an opt-in replacement. #1530

Example usage:

// your-project/app/ssr.js
import {defaultPwaKitSecurityHeaders} from 'pwa-kit-runtime/utils/middleware'
const {handler} = runtime.createHandler(options, (app) => {
    app.use(defaultPwaKitSecurityHeaders)
    // ...
}

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v2.8.0...v2.8.1

v3.2.0

6 months ago

@salesforce/[email protected]

  • Support Storefront Preview
  • Show discounted and strikethrough prices when there is a promotion on product detail page 1455
  • Move Content-Security-Policy logic to pwa-kit-runtime 1457

@salesforce/[email protected]

  • Add StorefrontPreview component #1508
  • Using login for authentication instead of email in registration process #1464

@salesforce/[email protected]

  • Move Content-Security-Policy logic to pwa-kit-runtime #1457

New Contributors

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v3.1.1...v3.2.0

v2.8.0

6 months ago

What's Changed

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v2.7.4...v2.8.0

v3.1.1

7 months ago

Release v3.1.1 (v1.0.2 commerce-sdk-react / 2.0.0 retail-react-app) https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1438

@salesforce/[email protected]

  • Update commerce-sdk-isomorphic to v1.10.4
  • Move typedoc-related deps to dev dependencies #1425

@salesforce/[email protected]

  • V3 Fix Checkout Card Number #1424
  • Cleanup wrong import path for page-designer component #1441
  • Modularize country code source for targeting via extensibility #1445
  • Export icon helper function for target via overrides #1420
  • Migrate Page Designer core types to commerce-sdk-react #1441

@salesforce/[email protected]

  • V3: Bugfix: Resolve performance issue due to webpack stats#1391

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v3.1.0...v3.1.1