Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Operation Release Notes for 2.0.5-GA

Tip
The 2.x versions are Spring Boot 3 compatible.

Requirements

  • JDK 17 is required for Broadleaf release trains 2.0.0-GA, and beyond.

Important Updates

Spring Boot Upgrade

  • As of Broadleaf Release Train 2.0.4-GA, all microservices have been upgraded to Spring Boot 3.3

New Features & Notable Changes

Dynamic Offers

  • Added hook point addDynamicOffersMap intended for customization to fetch the amounts of dynamic offers and populate the DYNAMIC_OFFER_MAP. This map is later used in the Offer Service to apply the offer.

Payment offers

  • Added method addPaymentsList that copies the PAYMENT_LIST cart attribute into the OrderDto#contextMap. This map is later used in the Offer Service to apply payment offers matching the supplied payment types.

Note
The PAYMENT_LIST cart attribute needs to be supplied by the frontend and managed through ManageCartEndpoint#addAttributeToCart. AddAttributeRequests coming to this endpoint must include invalidatePricing=true.