Releases: SalesforceCommerceCloud/pwa-kit
v2.7.4
v3.1.0
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
semverdependency #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
semverdependency #1358
@salesforce/pwa-kit-dev@3.1.0
- Allow setting cookies using the
MRT_ALLOW_COOKIESenvironment variable #1318 - Send package versions as bundle metadata #1354
- Fix loading screen sometimes hanging on refresh #1370
- Avoid an error when using
pwa-kit-devoutside a directory with apackage.jsonfile 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
v2.7.3
v3.0.0
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
v2.7.1
Featured Changes:
- Added optional session bridge call to login for phased launch
- Product-list refinements to allow multiple types and better handling of
isCheckedand 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
Featured Changes
- Initial release of Page Designer page rendering support in
template-retail-react-app. - Support for
product-setproduct types intemplate-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
Authstorage keys with site identifier to allow multi-site support #911. - Add Shopper Experience
usePageandusePageshooks#958. - Refactors and security package updates.
pwa-kit-dev
- Add explicit
wsdependency #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
- Thanks @breadadams for your first contribution in #950.
v2.6.0
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
- Thanks @GoodNightBuddy for your first contribution in #899.
Release 2.5.0
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
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
v2.4.0
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
instanceUrlon retail-react-app-demo preset. #799 - Update usage of
zzrf-001in ODS instances to the new short URL format. #816
pwa-kit-dev
pwa-kit-react-sdk
template-retail-react-app
- Dynamic footer copyright date. #741
- Footer copyright: remove the remaining hardcoded year. #760
ImageGalleryusesimage.linkwhen 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-001in ODS instances to the new short URL format. #816