7.7.0
@comet/[email protected]
Patch Changes
-
8ffc90e: Set the select field in
OneOfBlock
torequired
based on theallowEmpty
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 customrenderOption
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
inBlobStorageS3Storage
-
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:
- Add a close handler to destroy the stream when the client disconnects
- 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
to0
only related videos from the same channel as the embedded video are shown.