Skip to content
Compare
Choose a tag to compare
@bfeister bfeister released this 29 Oct 18:52
· 30 commits to develop since this release
17b9e0c

retail-react-app v5.0.0 (Oct 28, 2024)

New Features

  • Implement ability to set Shopper Context via search parameters in the Retail React App #1986
  • Display a promo banner from Page Designer in the PLP page of the Retail React App #2016

Performance Improvements

  • PLP: When products are being refetched, only the pricing and promotions sections will display a skeleton in the ProductTile #2064
  • Remove ocapi session-bridging on phased launches #2011

Other Changes

  • [Hybrid Stability] - Attach dwsid to SCAPI request headers & remove OCAPI proxy #2090
  • Announce wishlist change in total for screen readers (a11y) #2033
  • Fixed a bug that incorrectly imports uninstalled package @chakra-ui/layout #2047
  • Replace getAppOrigin with useOrigin to have a better support for an app origin building. #2050
  • PWA Kit projects have Active Data tracking set to "true" by default #1983.

Bug Fixes

  • The unused njwt npm package had a security vulnerability, since it was unused, the package has been dropped
  • Remove save/edit billing action in checkout page for the registered user #1976
  • Product scroller: don't skip tiles if window is too large #2003
  • PDP / PLP: Render non HTTP 404 erros #2003
  • Error page: Render home page when clicking nav icon #2003
  • Encode non ASCII HTTP headers when encodeNonAsciiHttpHeaders flag is set to true in ssr.js #2009
  • Updated @salesforce/commerce-sdk-react to 3.0.1 to fix an issue with the expires attribute of cookies, ensuring it uses seconds instead of days #1994

Accessibility Improvements

  • [a11y] Hide svg from screenreader as they are decorative on homepage #1980
  • [a11y] Hide log out svg from screenreader as they are decorative #2000
  • [a11y] Ensure heading level matches the heading's visual importance/level #2000
  • [a11y] Provide a descriptive dialog title for Mobile Navigation Header #2000
  • Hide breadcrumb chevrons from screen readers #1965
  • Add descriptive text for screen readers on product edit modal in cart page #1965
  • A11y: Fix search bar header element focus order #1969
  • A11y: Order Details - hide decorative image and convert some p tags as proper headings #2026
  • Add aria-labels for buttons in product item wishlist component to ensure they are unique and descriptive. #2023
  • Focus onto the ToggleCard title whenever the component is opened to be editted #2029
  • Add descriptive acccessibility label for edit/remove buttons on account addresses and checkout pages #2037
  • [a11y] Mobile view account menu a11y adjustments #2059
  • [a11y] PLP - Use header tags for filter options #2065

commerce-sdk-react v3.1.0 (Oct 28, 2024)

  • [Hybrid Stability] Attach dwsid to SCAPI request headers #2090
  • Add the authorizeCustomer and getPasswordResetToken to the ShopperLoginMutations #2056
  • Add useDNT hook to commerce-sdk-react and put DNT in auth #2067
  • Add Trusted Agent on Behalf of (TAOB) support for SLAS APIs #2077
  • Add optional refreshTokenRegisteredCookieTTL and refreshTokenGuestCookieTTL to Commerce API config #2077
  • Improve refresh token error logging #2028
  • Remove ocapi session-bridging on phased launches #2011
  • Add defaultDnt to support setting the dnt flag for SLAS. Upgrade commerce-sdk-isomorphic to v3.1.1 #1979
  • Update logout helper to work for guest users #1997
  • Update useCustomMutation hook to accept request body as a parameter to the mutate function #2030
  • Simplify useCustomMutation hook implementation #2034
  • Documentation for useCustomMutation hook along with new dynamic body param option #2042

pwa-kit-create-app v3.8.0 (Oct 28, 2024)

  • Removed OCAPISessionURL prop from provider template. #2090
  • Update ssr.js templates to include new feature flag to encode non ASCII HTTP headers #2048
  • Replace getAppOrigin with useOrigin to have a better support for an app origin building. #2050

pwa-kit-dev v3.8.0 (Oct 28, 2024)

(No changes)

pwa-kit-react-sdk v3.8.0 (Oct 28, 2024)

  • [Hybrid Stability] - Attach dwsid to SCAPI request headers #2090
  • Create useOrigin hook to return an app origin that takes x-forwarded-host header into consideration. #2050

pwa-kit-runtime v3.8.0 (Oct 28, 2024)

  • Add proxy handling for trusted agent on behalf of (TAOB) requests #2077
  • Encode non ASCII HTTP headers when encodeNonAsciiHttpHeaders flag is set to true in ssr.js in the retail react app #2009
  • Add x-forwarded-host header into res locals, which can be used to build an app origin #2050