Broadleaf Microservices
  • v1.0.0-latest-prod

Commerce SDK Release Notes for 1.4.2

Table of Contents

Notable Changes

  • Added methods to use new cart ops endpoints

    • ItemListClient#updateItemListName: Updates an item list’s name.

    • ItemListClient#updateItemListAttributes: Updates an item list’s attributes—can remove and add attributes as well.

  • Encode search facet values

    • Updated ClientFilter#values to be an array of strings, to ensure that multiple facet values don’t get encoded as a whole

    • Encoded filter values

    • Updated stringifyParams to also encode for filters with updated structure

    • Decoded value before encoding again, in case the value is already encoded

  • Add support for PTS-managed saved payments

    • Add SavedPaymentClient to support saved payment management via PTS

    • Add domains for create and update saved payment

    • Add notes about saved payment method storage location configuration on PaymentAccount-related properties and methods

  • Added displayTemplate field to product

  • Deprecated PaymentAccount-related types and hooks

  • Renamed saved payment owner properties

  • Removed account owned saved payment support

  • Added new fields to replace savePaymentForCustomer and customerPaymentAccountId properties

    • Renamed shouldSavePaymentToCustomer to shouldSavePaymentForFutureUse to support owning user types other than a customer (i.e. account).

    • Added the savedPaymentMethodId property and deprecate customerPaymentAccountId

  • Added checkout payment method options endpoint call and response domain

  • Added method to PaymentClient to send the request to POST /api/payment/handle-transaction-result/{gatewayType}

  • Updated URI of the endpoint to handle 3ds transaction in PaymentClient

  • Added Content Service client