Skip to content

6.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 May 08:33
· 1154 commits to main since this release
53ee875

@comet/admin@6.11.0

Minor Changes

  • 8e3dec5: Change writeClipboardText/readClipboardText clipboard fallback to in-memory

    Using the local storage as a fallback caused issues when writing clipboard contents larger than 5MB.
    Changing the fallback to in-memory resolves the issue.

@comet/cms-admin@6.11.0

Minor Changes

  • e10753b: Allow disabling the "Open preview" button in the PageTree for certain document types

    The "Open preview" button is shown for all document types in the PageTree.
    But some document types (e.g., links) don't have a preview.
    Clicking on the preview button leads to an error page.

    Now, it's possible to disable the button by setting hasNoSitePreview for the document:

    export const Link: DocumentInterface<Pick<GQLLink, "content">, GQLLinkInput> = {
        // ...
    +   hasNoSitePreview: true,
    };
  • fdf9fa7: Per default disable the automatic creation of redirects when changing a document's slug if the document is unpublished or archived

Patch Changes

  • 815ba51: Fix link target validation in ExternalLinkBlock

    Previously, two different validation checks were used.
    This resulted in an error when saving an invalid link target but no error message was shown.

@comet/cms-api@6.11.0

Minor Changes

  • 0db10a5: Add a console script to import redirects from a csv file

    You can use the script like this: npm run console import-redirects file-to-import.csv

    The CSV file must look like this:

    source;target;target_type;comment;scope_domain
    /test-source;/test-target;internal;Internal Example;main
    /test-source-external;https://www.comet-dxp.com/;external;External Example;secondary
    

@comet/blocks-api@6.11.0

Patch Changes

  • 93a84b6: Fix type of youtubeIdentifier in YouTubeVideoBlock

    Previously, it was incorrectly typed as required. Now it's optional.