8.28.0
@comet/cms-admin@8.28.0
Minor Changes
-
17bdce0: 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.
-
-
b8e0b19: 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
-
e08b7de: 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.
@comet/cms-api@8.28.0
Minor Changes
-
17bdce0: 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-nextjs@8.28.0
Minor Changes
-
17bdce0: 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@8.28.0
Minor Changes
-
17bdce0: 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.
-