Releases: SalesforceCommerceCloud/pwa-kit
Releases · SalesforceCommerceCloud/pwa-kit
v2.8.3
What's Changed
- Fix env conflicts by @wjhsf in #1531
- V2/update babel traverse by @alexvuong in #1562
- [v2] Your Experience With PWA Kit - Fall 2023 by @wjhsf in #1542
- @W-14544940@ Release v2.8.2 by @joeluong-sfcc in #1590
- Add deprecation notice to v2 pwa-kit-create-app by @wjhsf in #1575
- Security patch for v2 by @kevinxh in #1737
- [Storefront Preview] SCAPI cache breaker for older v2 PWA Kit (@W-15214446@) by @vmarta in #1740
- Release PWA Kit 2.8.3 by @vmarta in #1741
Full Changelog: v2.8.1...v2.8.3
v3.5.1 (retail-react-app@2.4.2 and commerce-sdk-react@1.4.2)
v3.5.0 (retail-react-app@2.4.0 and commerce-sdk-react@1.4.0)
@salesforce/commerce-sdk-react@1.4.0
- 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/pwa-kit-create-app@3.5.0
- Add Support for SLAS private flow #1722
@salesforce/pwa-kit-dev@3.5.0
- Add Support for SLAS private flow #1722
@salesforce/retail-react-app@2.4.0
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 (retail-react-app@2.3.0 and commerce-sdk-react@1.3.0)
@salesforce/commerce-sdk-react@1.3.0
@salesforce/pwa-kit-create-app@3.4.0
@salesforce/pwa-kit-dev@3.4.0
@salesforce/pwa-kit-react-sdk@3.4.0
- Add support for node 20 #1612
@salesforce/pwa-kit-runtime@3.4.0
- Add support for node 20 #1612
@salesforce/retail-react-app@2.3.0
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
v3.3.0 (retail-react-app@2.2.0 and commerce-sdk-react@1.2.0)
@salesforce/commerce-sdk-react@1.2.0
- Add StorefrontPreview component 'onContextChange' property to prepare for future Storefront Preview release #1527
- Update engine compatibility to include npm 10 #1597
@salesforce/pwa-kit-create-app@3.3.0
- Replace max-age with s-maxage to only cache shared caches #1564
- Update engine compatibility to include npm 10 #1597
@salesforce/pwa-kit-dev@3.3.0
- 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 topwa-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/pwa-kit-react-sdk@3.3.0
- 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/pwa-kit-runtime@3.3.0
- Update engine compatibility to include npm 10 #1597
@salesforce/retail-react-app@2.2.0
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
@salesforce/pwa-kit-runtime@3.2.1
- 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/retail-react-app@2.1.1
- Use the new opt-in mechanism for enforcing the default security headers required by PWA Kit projects. #1528
Full Changelog: v3.2.0...v3.2.1
v2.8.1
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: v2.8.0...v2.8.1
v3.2.0
@salesforce/retail-react-app@2.1.0
- 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/commerce-sdk-react@1.1.0
- Add StorefrontPreview component #1508
- Using
login
for authentication instead ofemail
in registration process #1464
@salesforce/pwa-kit-runtime@3.2.0
- Move Content-Security-Policy logic to pwa-kit-runtime #1457
New Contributors
- @cbrother-csu made their first contribution in #1420
- @luanrafaelpinheiro made their first contribution in #1465
Full Changelog: v3.1.1...v3.2.0
v2.8.0
What's Changed
- Support Storefront Preview by @SalesforceCommerceCloud/mobifyers
- storefront preview : add promotional pricing to PDP by @sandragolden in #1468
- [Storefront Preview] - 3P CDN, add search parameters to be returned on context refresh by @sandragolden in #1478
- [v2] Move Content-Security-Policy header enforcement to pwa-kit-runtime. by @wjhsf in #1491
- Add warning to pwa-kit-create-app that v2 is outdated. by @wjhsf in #1497
- Update
ssrFunctionNodeVersion
to use Node 18 by @adamraya in #1521
Full Changelog: v2.7.4...v2.8.0
v3.1.1
Release v3.1.1 (v1.0.2 commerce-sdk-react / 2.0.0 retail-react-app) #1438
@salesforce/commerce-sdk-react@1.0.2
- Update commerce-sdk-isomorphic to v1.10.4
- Move typedoc-related deps to dev dependencies #1425
@salesforce/retail-react-app@2.0.0
- 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/pwa-kit-dev@3.1.1
- V3: Bugfix: Resolve performance issue due to webpack stats#1391
Full Changelog: v3.1.0...v3.1.1