Broadleaf Microservices
  • v1.0.0-latest-prod

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

Note
Includes changes in 2.0.2-GA

New Features & Notable Changes

  • Improved performance of the query to select Carts by adding a new compound index (TRK_TENANT_ID,TRK_ARCHIVED,STATUS,TYPE,EXPIRATION_DATE) to the BLC_CART table

  • Added a new field failureType on the CheckoutRollbackEvent that includes a reason for the failure for the step within the checkout workflow

  • Added new fields on CartItem to track recurring and usage pricing.

  • Added new fields on Adjustment to track the type of discount, free trial length, and recurring discount start and end periods.

  • Both Cart and CartItem received new computed fields and helper methods to handle the new recurring prices to allow more easily working with and display these values in a storefront application.

Upgrade Guide

Note
If using liquibase to pull in base Broadleaf changelogs, then it is not necessary to manually run this script.
Add new compound index to the BLC_CART table
CREATE INDEX CONCURRENTLY IF NOT EXISTS blc_cart_trk_tenant_id_idx ON cart.blc_cart (trk_tenant_id,trk_archived,status,"type",expiration_date);