Broadleaf Microservices
  • v1.0.0-latest-prod

Admin Metadata Release Notes for 2.0.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.

Notable Changes

  • Added validation for the maximum amount of augmentation fields to show in rule builders that can be added to a container. The maximum number of fields is controlled by the use-in-query-builder-restrictions property.

  • Modified DefaultAugmentationProvider to only apply augmentations to Rule Builder components and never Query Builders.

    • Rule builder components use SpEL expressions that can be evaluated in memory against attribute maps, whereas query builders use RSQL criteria that must be evaluated against the database. Since attributes maps are transformed to JSON in the database, they are not valid targets for RSQL rules at this time. Therefore, query builders shouldn’t be augmented by custom fields automatically.

Configuration Properties

Added Properties

  • broadleaf.metadata.augmentation.use-in-query-builder-restrictions

    • Description: Map of restrictions establishing the maximum amount of augmentation fields that can be added to a container.

    • Default value:

      • '[customer:customers:update]': 5

      • '[customer:customers:create]': 5