This repository was archived by the owner on Feb 12, 2022. It is now read-only.
1.0.0-alpha.2
·
149 commits
to master
since this release
Breaking:
- Replace product detail wire adaptor with @lwce/apollo-client
- Replace product search wire adaptor with lwc-apollo-client (W-7034206)
- Add lwc-apollo-client wire adapters for basket services
- Update product search to use Commerce SDK instead of OCAPI (W-7142268)
- Update Basket Resolver to use Commerce SDK instead of OCAPI
- Remove lwc-services in favor of using rollup directly
- Remove .mjs files and use esm for modern module support
- Dev and prod mode now both use port 3000
- Add app directory. Files within app are meant to be modified, whereas those in scripts are not.
- Disable CORS by default. Add it back by defining an environment variable (or api.js export) COMMERCE_CORS=*
- Replace universal-router with @lwce/router
- Update the session cookie to have a strict same-site policy
New:
- Added Cross site scripting prevention to search box and query string
- Added viewing of empty cart page (W-7114838)
- Added No Search Results Page
- Added “Loading” view transition message
- Added LWC GraphQL Apollo Client
- Added a new Basket page with image, attributes, price, availability (W-7114827)
- Coupon add and remove functionality on cart page (W-7114978)
- PDP - Quantity Selector - (W-6984829)
- Session Management and Authentication for Guest User
- Functionality to remove a product from Basket
- Header Basket Product Count
- Added Session management documentation
- Auth token will be recreated after timeout on error.
- New basket will be created on “add product to basket” if the auth token has timed out.
- Error Handling Component to capture Page Not Found, Internal Server Errors and LWC Front End Errors
- Added heading to product search and cart pages (W-7360766)
- Migrate @sfcc-core modules to TypeScript
- Add bundle analysis to the deployment
- Add example LWC tests on the PDP page
Bug:
- Fixed issue on PDP where only list price is available and no sale price (W-7162332)
- Fixed issue running the sample app on Windows
- Fixed issue where carousel back and forward buttons were broken on PDP page (W-7361322)
UPDATE
- Added documentation for HomePage, PLP, and PDP components (W-7156928)
- Update getBasket resolver to get product details for product line item display (W-7114827)
- Update links on home page to not expose bundles and sets (W-7208727)
- Update commerce-sdk to 1.3.0-alpha.9
- Update how errors propagate in basketapi, productapi (W-7361704)
Chore: