Broadleaf Microservices
  • v1.0.0-latest-prod

Data Tracking Release Notes for 2.0.3-GA

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

Notable Changes

  • Modified ContextInfoWebRequestResolver to set the context info includePendingCatalogs flag to false by default, and thus prevent displaying catalogs in PENDING status in storefront.

Automatic support for extensible Indexable entities in SearchServices

  • The SingleIndexRequest message now contains an additional field _baseClass. This is intended to be used by SingleIndexRequestMessageBuilder implementations to provide the base/OOB Broadleaf entity class in outgoing messages. Message consumers in SearchServices should now consider this base class first before checking the already existing _class field when determining whether a message is supported. The benefit is that extensions of Indexable entities will automatically be honored by the OOB listeners and it is no longer necessary to extend those listeners to explicitly add support for the extended entities.

Note that downstream services (CatalogServices, SearchServices, etc) have been updated to take advantage of this new field as described above. Please visit the matching release notes for this release train for more details.

Bug fixes

  • Modified UlidUserType implementation of Hibernate EnhancedUserType#toSqlLiteral to return the single-quoted value instead of the raw value.

    • This prevents potential SQL grammar exceptions when using Hibernate’s InlineMutationStrategy, which ultimately relies on the toSqlLiteral method to generate certain queries.