Broadleaf Microservices
  • v1.0.0-latest-prod

Commerce SDK Release Notes for 1.7.1

Requirements

  • Node 20 supported since 1.6.3.

    • No migration or code changes required.

    • Node 14, Node 16, and Node 18 have reached end of life.

New Features & Notable Changes

  • Add new otherMessagesMap and otherItemMessagesMap map fields to the MarketingMessageResponse.

  • Introduce invalidatePricing flag:

    • Add invalidatePricing field to the PriceableCartClientCallOptions type, and to the AddAttributeRequest interface.

    • Add attachInvalidatePricingParamIfPresent method to the CartClient.

  • Add new X_Customer_Ref header to cart requests:

    • This header is useful for CSRs acting as themselves rather than impersonating a customer to retain the cart’s customer ref pricing when modifying a cart.

    • Add customerRef to CheckoutClientCallOptions and CartClientCallOptions.

    • Add attachCustomerRefHeaderIfPresent to the CartClient and the CheckoutClient.