Broadleaf Microservices
  • v1.0.0-latest-prod

Release Notes for 1.1.2

Features & Enhancements

  • Introduced a new way to manage content items in the Admin UI. Allows user’s to build a hierarchy of content items and manage them in a tree view. Additionally, users can mark content items as "starred" to easily access frequently used content items. This feature is enabled by default and can be disabled by setting the following property to true: broadleaf.content.metadata.content-items.legacy.enabled.

  • Introduced the ability to define display rules for reference type fields within content items. This allows users to define a set of rules that will determine which content items are returned to the frontend for a specific content item.

    • Requires AdminWeb 1.10.7 or later.

Migration Scripts

The following migration script is required to be able to view existing content items in the new Admin UI. This script will move all existing content items to the default root folder. This script will only run once and will not affect any existing content items.

Tip
These scripts will be automatically run similar to schema changesets, so users should not need to do anything besides upgrade the dependency version to include these on the next app start.

For convenience, the migration scripts are listed below in case they should be rerun or debugged.

-- liquibase formatted sql
-- changeset broadleaf:content-folder-item-root-folder-migration

INSERT INTO BLC_CONTENT_FOLDER_ITEM (ID, CONTEXT_ID, CONTENT_ITEM_CONTEXT_ID, FOLDER_CONTEXT_ID, TRK_ARCHIVED, AUDIT_CREATION_TIME, AUDIT_CREATOR, TRK_CATALOG_CONTEXT_ID, TRK_CATALOG_LEVEL, TRK_CATALOG_LOCALE, TRK_CATALOG_NAME, TRK_COMPOSITE_SORT_LEVEL, TRK_LEVEL, TRK_SANDBOX_ARCHIVED, TRK_TENANT_ID)
SELECT
    ci.id,
    ci.id,
    ci.context_id,
    'ROOT',
    'N',
    CURRENT_TIMESTAMP,
    'master@test.com',
    '01FVJ73AVTT7RHQMQQ3TN8ZMGN',
    1,
    'en_US',
    'Tenant Profile',
    100001.00000,
    100000,
    'N',
    '5DF1363059675161A85F576D'
FROM BLC_CONTENT_ITEM ci
    ON CONFLICT DO NOTHING;