Skip to content

7.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Nov 09:28
· 3 commits to main since this release
1d9c70b

@comet/[email protected]

Patch Changes

  • 8ffc90e: Set the select field in OneOfBlock to required based on the allowEmpty prop

  • a9d2e2e: Fix linking from block preview to block admin for composite + list/blocks/columns block combinations

    Previously, the generated route was wrong if a composite contained multiple nested list, blocks or columns blocks.

@comet/[email protected]

Minor Changes

  • 6cb498f: Add search results highlighting to ContentScopeSelect

    Also, add the helper function findTextMatches, which can be used to add search highlighting to a custom renderOption implementation:

    <ContentScopeSelect
        renderOption={(option, query) => {
            const text = `${option.domain.label}${option.language.label}`;
            const matches = findTextMatches(text, query);
            return <ListItemText primary={<MarkedMatches text={text} matches={matches} />} />;
        }}
    />

Patch Changes

  • bb9215f: Don't move files to a folder called "." when uploading them to the DAM

    This bug only occurred in projects with a react-dropzone version >= 14.3.2.

@comet/[email protected]

Patch Changes

  • af892c1: Prevent the API from crashing because of stream errors when delivering a file

  • 253aebb: Allow overriding requestHandler in BlobStorageS3Storage

  • af892c1: Prevent socket exhaustion in BlobStorageS3Storage

    By default, the S3 client allows a maximum of 50 open sockets.
    A socket is only released once a file is streamed completely.
    Meaning, it can remain open forever if a file stream is interrupted (e.g., when the user leaves the site).
    This could lead to socket exhaustion, preventing further file delivery.

    To resolve this, the following changes were made:

    1. Add a close handler to destroy the stream when the client disconnects
    2. Set a 60-second requestTimeout to close unused connections

@comet/[email protected]

Minor Changes

  • 723a0b8: Disable showing related videos from other channels in YouTubeVideoBlock

    By setting the parameter rel to 0 only related videos from the same channel as the embedded video are shown.