Skip to content

6.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 May 10:32
· 1184 commits to main since this release
74d1c9d

@comet/blocks-admin@6.8.0

Minor Changes

  • 90c6f19: Deprecate SpaceBlock

    It will be replaced by the createSpaceBlock factory since it had no real use case.

  • 90c6f19: Add createSpaceBlock factory

    Allows selecting a spacing value out of a list of provided options.

    Example

    API

    enum Spacing {
        d150 = "d150",
        d200 = "d200",
    }
    
    export const SpaceBlock = createSpaceBlock({ spacing: Spacing }, "DemoSpace");

    Admin

    const options = [
        { value: "d150", label: "Dynamic 150" },
        { value: "d200", label: "Dynamic 200" },
    ];
    
    export const SpaceBlock = createSpaceBlock<string>({ defaultValue: options[0].value, options });

@comet/blocks-api@6.8.0

Minor Changes

  • 90c6f19: Deprecate SpaceBlock

    It will be replaced by the createSpaceBlock factory since it had no real use case.

  • 90c6f19: Add createSpaceBlock factory

    Allows selecting a spacing value out of a list of provided options.

    Example

    API

    enum Spacing {
        d150 = "d150",
        d200 = "d200",
    }
    
    export const SpaceBlock = createSpaceBlock({ spacing: Spacing }, "DemoSpace");

    Admin

    const options = [
        { value: "d150", label: "Dynamic 150" },
        { value: "d200", label: "Dynamic 200" },
    ];
    
    export const SpaceBlock = createSpaceBlock<string>({ defaultValue: options[0].value, options });

Patch Changes

  • be8664c: Fix RichTextBlock draft content validation

    Extend validation to validate inline links in draft content.

@comet/cms-api@6.8.0

Minor Changes

  • d6ca50a: Enhanced the access log functionality to now skip logging for field resolvers in GraphQL context. This change improves the readability and relevance of our logs by reducing unnecessary entries.

  • ebdbabc: Extend searchToMikroOrmQuery function to support quoted search strings.

    Quotes searches can be done with single ('...') or double quotation marks ("...").

Patch Changes

  • 35efa03: API-Generator: Remove unnecessary await for delete mutation

  • d3a06fc: Prevent block-meta.json write in read-only file systems

  • a696ec7: Handle DAM scope correctly in the findCopiesOfFileInScope query and the importDamFileByDownload mutation

    Previously, these endpoints would cause errors if no DAM scoping was used.

@comet/cli@6.8.0

Minor Changes

  • 360b8b1: Add --input-file and --output-file options to generate-block-types script for enhanced flexibility.

@comet/cms-admin@6.8.0

Patch Changes

  • c1ca9c3: Don't remove references to DamFile from blocks when copying a document from one scope to another if DAM scoping is not enabled