Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
7.5.0
->7.6.0
Release Notes
vivid-planet/comet (@comet/admin)
v7.6.0
Compare Source
Minor Changes
bc19fb1
:useDataGridExcelExport
: Add support fornumber
andnull
values in the Data Grid Excel export without the need for avalueFormatter
00d7dda
: Allow hiding the header (summary) ofFieldSet
by making thetitle
prop optionalPatch Changes
37d71a8
: Fix hover styling ofToolbarBackButton
cf2ee89
: Fix missing key error inCrudMoreActionsMenu
03afcd0
: Allow customizingCrudContextMenu
Customize existing parts of
CrudContextMenu
using theslotProps
,iconMapping
andmessagesMapping
props.Add custom actions by adding instances of
RowActionsItem
to thechildren
:fe89094
: Slightly adjust the color of the clear button of inputs to match the Comet CIvivid-planet/comet (@comet/admin-date-time)
v7.6.0
Compare Source
Patch Changes
bc19fb1
]37d71a8
]cf2ee89
]03afcd0
]00d7dda
]fe89094
]vivid-planet/comet (@comet/admin-icons)
v7.6.0
Compare Source
vivid-planet/comet (@comet/admin-rte)
v7.6.0
Compare Source
Patch Changes
bc19fb1
]37d71a8
]cf2ee89
]03afcd0
]00d7dda
]fe89094
]vivid-planet/comet (@comet/admin-theme)
v7.6.0
Compare Source
Patch Changes
vivid-planet/comet (@comet/blocks-admin)
v7.6.0
Compare Source
Patch Changes
bc19fb1
]37d71a8
]cf2ee89
]03afcd0
]00d7dda
]fe89094
]vivid-planet/comet (@comet/blocks-api)
v7.6.0
Compare Source
Minor Changes
9e2b0fa
: Add support for literal arrays to block metaString, number, boolean, and JSON arrays can be defined by setting
array: true
.Example
vivid-planet/comet (@comet/cli)
v7.6.0
Compare Source
Minor Changes
d353fc8
: Theinject-site-configs
command locates the site-config-file argument relative to the current directory9e2b0fa
: Add support for literal arrays to block metaString, number, boolean, and JSON arrays can be defined by setting
array: true
.Example
vivid-planet/comet (@comet/cms-admin)
v7.6.0
Compare Source
Minor Changes
1f5c29c
: Show the number of permissions and content scopes in the User Permissions Admin panel671e2b2
: Create site preview JWT in the APIWith this change the site preview can be deployed unprotected. Authentication is made via a JWT created in the API and validated in the site. A separate domain for the site preview is still necessary.
Note: This requires the
sitePreviewSecret
option to be configured in thePageTreeModule
.Run
npx @​comet/upgrade@latest v7/add-site-preview-secret.ts
in the root of your project to perform the necessary code changes.Changes to the deployment setup might still be necessary.
3ea66fb
: Add support for user impersonationPrerequisites for setups with separate domains for admin and api:
credentials: "include"
must be set in thecreateApolloClient
function in the admin.Adds an "Impersonation" button to the detail view of a user in the User Permissions admin panel. The impersonation can be exited by clicking the button in the user's info on the top right.
d54a8c9
: Add support for multiple paths inContentScopeProvider
This enables using different paths for scopes with non-overlapping dimensions.
The
location.createPath
andlocation.createUrl
functions can be used to override the default behavior.Example
05058fc
: Export components to allow customization of User Permissions Admin panelThe application can provide a custom UserPermissionsPage based on the default UserPermissionsPage.
0589ef5
: AdddisplayName
prop tocreateTextLinkBlock
factory to support setting a custom display namePatch Changes
11ce320
: Fix validation of emptyPhoneLinkBlock
Previously, the default phone value was an empty string, meaning
@IsOptional()
didn't prevent validation.Since an empty string is not a valid phone number, the validation failed.
This change sets the default value to
undefined
.700ddc3
: Fix copy/paste for documents containing aDamFileDownloadLinkBlock
18a9f22
: Keep current location when changing scope on publisher and user permissions page6a43bee
: Display globalContentScopeIndicator
if redirects are scoped globallyPreviously, an empty
ContentScopeIndicator
was displayed if noscopeParts
were passed tocreateRedirectsPage
.1cf01f7
: FixContentScopeIndicator
for scope with optional dimensionsUpdated dependencies [
bc19fb1
]Updated dependencies [
37d71a8
]Updated dependencies [
cf2ee89
]Updated dependencies [
03afcd0
]Updated dependencies [
00d7dda
]Updated dependencies [
fe89094
]vivid-planet/comet (@comet/cms-api)
v7.6.0
Compare Source
Minor Changes
73c07ea
: Set content scopes in request objectThis allows accessing the affected content scopes inside a block's transformer service.
Example
671e2b2
: Create site preview JWT in the APIWith this change the site preview can be deployed unprotected. Authentication is made via a JWT created in the API and validated in the site. A separate domain for the site preview is still necessary.
Note: This requires the
sitePreviewSecret
option to be configured in thePageTreeModule
.Run
npx @​comet/upgrade@latest v7/add-site-preview-secret.ts
in the root of your project to perform the necessary code changes.Changes to the deployment setup might still be necessary.
f8ae084
: API Generator: Add support for disabling sort/filter using the@CrudField()
decorator for embeddablesd535e32
: Improve error message for empty IDs arrays in@AffectedEntity
44ec9eb
: Redirects: AddredirectBySource
query that can be used to query for a single redirect by source3ea66fb
: Add support for user impersonationPrerequisites for setups with separate domains for admin and api:
credentials: "include"
must be set in thecreateApolloClient
function in the admin.Adds an "Impersonation" button to the detail view of a user in the User Permissions admin panel. The impersonation can be exited by clicking the button in the user's info on the top right.
Patch Changes
700ddc3
: Fix copy/paste for documents containing aDamFileDownloadLinkBlock
979d5f4
: Improve error message inMigration20240702123233
Migration20240702123233
adds a valid file extension to every DamFile#name that doesn't have an extension yet.Previously, the migration crashed without a helpful error message if the mimetype of a file wasn't in mime-db.
Now, the migration throws an error including the problematic mimetype.
b03f3df
: CallcreateUserFromRequest
beforecreateUserFromIdToken
The latter is marked as deprecated and should only be used if the
first one is not defined.
cc2a117
: Redirects: Improve GraphQL API performance by preloading the page tree to speed up target page lookupAlso, increase the maximum limit from 100 to 1000.
72cf8fd
: Treatnull
andundefined
scope dimensions the same inAccessControlService#isAllowed
Optional scope dimensions may sometimes be
null
orundefined
depending on how the scope object is created.For instance, when the scope is loaded from the database, the optional dimension will be
null
, but when the scope is coming from GraphQL, the dimension can beundefined
.Due to strict equality comparison, this led to incorrect access control checks in
AccessControlService#isAllowed
.This is now prevented by treating
null
andundefined
dimensions as the same when checking the scope.6b0eceb
: DAM: Fix/set cache-control headers6f93191
: Avoid duplicate file extension increateFileUploadInputFromUrl
Updated dependencies [
9e2b0fa
]vivid-planet/comet (@comet/cms-site)
v7.6.0
Compare Source
Minor Changes
671e2b2
: Create site preview JWT in the APIWith this change the site preview can be deployed unprotected. Authentication is made via a JWT created in the API and validated in the site. A separate domain for the site preview is still necessary.
Note: This requires the
sitePreviewSecret
option to be configured in thePageTreeModule
.Run
npx @​comet/upgrade@latest v7/add-site-preview-secret.ts
in the root of your project to perform the necessary code changes.Changes to the deployment setup might still be necessary.
c92fd5e
: PixelImageBlock: Allow different aspect ratio formatsThe
aspectRatio
prop now supports values in the following formats:aspectRatio="3x1"
aspectRatio="16:9"
aspectRatio="4/3"
aspectRatio={1.5}
aspectRatio="3"
e0dea4c
: Allow setting a customheight
oraspectRatio
onPreviewSkeleton
when usingtype="media"
When no value is provided, the fallback height of
300px
is used.c3bebef
: Use non-preview DAM URLs for the site preview7ac8bb0
: gql: Handle non-string variables in GraphQL documentsNon-string variables were incorrectly converted to strings, e.g.,
'[object Object]'
. This error usually occurred when trying to import a GraphQL fragment from a React Client Component. Thegql
helper now throws an error for non-string variables.ec57e2d
: Add support to set a custom preview image icon toDamVideoBlock
,VimeoVideoBlock
, andYouTubeVideoBlock
Use the
previewImageIcon
prop to pass the icon to the defaultVideoPreviewImage
component:<DamVideoBlock data={props} fill={fill} + previewImageIcon={<CustomPlayIcon />} />
Patch Changes
41b6cd6
: Fix preview overlay not updating on style-only changesPreviously, the preview overlay would only update when the HTML structure changed or the window was resized.
Now it also responds to attribute changes, including
class
modifications, ensuring the overlay updates correctly when elements are repositioned through CSS.7ac8bb0
: GraphQLFetch: Correctly report GraphQL schema validation errorse0dea4c
: Render preview skeletons of image and video blocks with the block'saspectRatio
orheight
, if defined, instead of using a fixed height of300px
This applies to
SvgImageBlock
,PixelImageBlock
,DamVideoBlock
,YouTubeVideoBlock
, andVimeoVideoBlock
.b0de0bd
: Prevent rendering of empty blocks inPreviewSkeleton
Previously, in non-preview environments,
PreviewSkeleton
would still render its children, even ifhasChanges
was set tofalse
, causing unwanted empty HTML tags in the site.For instance, an empty rich text block would still render a
<p>
tag.Now, the children will only be rendered if
hasContent
is set totrue
.Doing so removes the need for duplicate empty checks.
vivid-planet/comet (@comet/eslint-config)
v7.6.0
Compare Source
Patch Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.