Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Services Release Notes for 2.1.1-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.

New Features & Notable Changes

  • Added support for durably-sending ExternalPaymentTransactionCartFinalizationEvents (triggered by CartOps interactions)

  • Added support for gathering historical carts by id

Upgrade Guide

API Changes

New Endpoints

Path Description

GET /carts/{cartId}?customerId={customerId}&allowedStatuses={allowedStatuses}

Retrieves the cart by the ID, customer ID and specified statuses.

GET /carts/{cartId}?emailAddress={emailAddress}&allowedStatuses={allowedStatuses}

Retrieves the anonymous cart by the ID, email address and specified statuses.

Spring Cloud Stream Message Binding Updates

In your project, make sure to define the following properties to complete the configuration:

spring:
  cloud:
    stream:
      bindings:
        externalPaymentTransactionCartFinalizationOutput:
          destination: externalPaymentTransactionCartFinalization