9.2.0
@comet/admin@9.2.0
Patch Changes
-
5a05d97: Fix separation of multiple selected values in
FinalFormSelectWhen using
multiple, the selected values were rendered concatenated without any separator (e.g.value-2value-1value-3value-4). They are now separated by a comma, matching the display ofSelectField.This affects all fields that render their selected values through the options/
getOptionLabelpath (i.e. without JSXchildren), namelyAsyncSelectFieldand anyFinalFormSelectused with an array value. Within Comet, this also corrects the display of thetargetGroupsand test email address selects in@comet/brevo-admin(SendManagerFields,TestEmailCampaignForm), which consumeFinalFormSelectand had the same issue.
@comet/cms-admin@9.2.0
Minor Changes
-
ee0bf93: Add AI content disclosure for DAM assets (EU AI Act, Article 50)
Editors can mark a DAM asset as AI generated or AI modified in the file settings. When such an asset is published, the site renders the official EU AI-content label and merges the disclosure into the media element's accessible name, so screen-reader users learn which asset is AI.
API
New
aiContentTypefield (Generated|Modified) on DAM files, exposed through thePixelImageandDamVideoblocks.Admin
New "AI content" field in the DAM file settings, shown for image, video and audio assets only (other file types cannot constitute a deep fake).
Site
PixelImageBlockandDamVideoBlockrender the disclosure automatically for marked assets. Both accept props to customize it:-
aiContentDisclosureProps— override the badge. -
customAiContentDisclosure— render your own disclosure, ornullfor none. -
aiContentAltTextPrefixLabels— localize the accessible-name prefix (defaults to English).@comet/site-reactalso exports theAiContentDisclosurebadge and thegetAiContentAltTextWithPrefixhelper.
-
-
ba56f97: Warn editors when videos that are too large for performant delivery are used
Videos are delivered without optimization, so large videos can lead to poor loading performance. A warning is now shown when a video exceeds a configurable file size:
-
as a snackbar after uploading it to the DAM
-
as an alert on the DAM asset detail page
-
as an alert in the
DamVideoBlockwhen such a video is selectedThe threshold defaults to 10 MB and can be configured (or the warning disabled entirely) via the new
videoPerformanceWarningFileSizeoption in thedamconfig:<CometConfigProvider dam={{ // ... videoPerformanceWarningFileSize: 25, // warn for videos larger than 25 MB // or set to `false` to disable the warning globally }} >
-
Patch Changes
-
8c866a3: Persist the DAM sorting preference across sessions
The Digital Asset Management asset list now remembers the selected sorting (column and direction) in
localStorageinstead of resetting to alphabetical (nameascending) on every visit. -
48d06d6: Fix hard-to-read text color in the DAM drag & drop upload overlay
The upload overlay (shown when dragging files over a DAM folder) used a dark grey text color on its near-black background, making the text hard to read. It now uses white text for proper contrast.
-
eb0b156: Fix the warnings page crashing due to an invalid
statefilterThe
WarningsGridinitialized its default filter with the fieldstateinstead ofstatus, which doesn't exist on theWarningFilterinput type. This caused the GraphQL request to fail with a400 Bad Request, crashing the warnings page (/system/warnings).
@comet/cms-api@9.2.0
Minor Changes
-
ee0bf93: Add AI content disclosure for DAM assets (EU AI Act, Article 50)
Editors can mark a DAM asset as AI generated or AI modified in the file settings. When such an asset is published, the site renders the official EU AI-content label and merges the disclosure into the media element's accessible name, so screen-reader users learn which asset is AI.
API
New
aiContentTypefield (Generated|Modified) on DAM files, exposed through thePixelImageandDamVideoblocks.Admin
New "AI content" field in the DAM file settings, shown for image, video and audio assets only (other file types cannot constitute a deep fake).
Site
PixelImageBlockandDamVideoBlockrender the disclosure automatically for marked assets. Both accept props to customize it:-
aiContentDisclosureProps— override the badge. -
customAiContentDisclosure— render your own disclosure, ornullfor none. -
aiContentAltTextPrefixLabels— localize the accessible-name prefix (defaults to English).@comet/site-reactalso exports theAiContentDisclosurebadge and thegetAiContentAltTextWithPrefixhelper.
-
-
8d46a98: Remove special handling that excluded DAM URLs from the access log
Previously, requests to DAM routes were excluded from the access log. They are now logged like any other HTTP request.
Patch Changes
-
3c28742: Prevent
pg_advisory_xact_lockquery spam when refreshing block index dependenciesDependenciesService.refreshViews()runs once per resolveddependents/dependenciesfield, so a single view (e.g. the DAM "Usages" column) triggers many parallel refreshes. When the last refresh was older than 15 minutes (or none existed), each took the blocking lock path and piled up waiting, each holding a database connection. This could exhaust the connection pool and surface asKnex: Timeout acquiring a connectionerrors.Parallel refreshes within a process are now deduplicated into a single in-flight refresh, so at most one advisory lock is taken per instance, while the cross-instance advisory lock still prevents concurrent
REFRESH MATERIALIZED VIEWruns.
@comet/site-nextjs@9.2.0
Minor Changes
-
ee0bf93: Add AI content disclosure for DAM assets (EU AI Act, Article 50)
Editors can mark a DAM asset as AI generated or AI modified in the file settings. When such an asset is published, the site renders the official EU AI-content label and merges the disclosure into the media element's accessible name, so screen-reader users learn which asset is AI.
API
New
aiContentTypefield (Generated|Modified) on DAM files, exposed through thePixelImageandDamVideoblocks.Admin
New "AI content" field in the DAM file settings, shown for image, video and audio assets only (other file types cannot constitute a deep fake).
Site
PixelImageBlockandDamVideoBlockrender the disclosure automatically for marked assets. Both accept props to customize it:-
aiContentDisclosureProps— override the badge. -
customAiContentDisclosure— render your own disclosure, ornullfor none. -
aiContentAltTextPrefixLabels— localize the accessible-name prefix (defaults to English).@comet/site-reactalso exports theAiContentDisclosurebadge and thegetAiContentAltTextWithPrefixhelper.
-
@comet/site-react@9.2.0
Minor Changes
-
ee0bf93: Add AI content disclosure for DAM assets (EU AI Act, Article 50)
Editors can mark a DAM asset as AI generated or AI modified in the file settings. When such an asset is published, the site renders the official EU AI-content label and merges the disclosure into the media element's accessible name, so screen-reader users learn which asset is AI.
API
New
aiContentTypefield (Generated|Modified) on DAM files, exposed through thePixelImageandDamVideoblocks.Admin
New "AI content" field in the DAM file settings, shown for image, video and audio assets only (other file types cannot constitute a deep fake).
Site
PixelImageBlockandDamVideoBlockrender the disclosure automatically for marked assets. Both accept props to customize it:-
aiContentDisclosureProps— override the badge. -
customAiContentDisclosure— render your own disclosure, ornullfor none. -
aiContentAltTextPrefixLabels— localize the accessible-name prefix (defaults to English).@comet/site-reactalso exports theAiContentDisclosurebadge and thegetAiContentAltTextWithPrefixhelper.
-