6.17.0
@comet/admin@6.17.0
Minor Changes
-
7ecc30e: Add
color
prop toCometLogo
It now supports a colored and a white version of the logo.
Patch Changes
-
536e95c: Fix error dialog to show GraphQL errors again
Previously, GraphQL errors without an http status code didn't trigger an error dialog anymore.
-
ec4685b: Prevent unintended
width: 100%
on nestedInputBase
components insideFieldContainer
andField
componentsFieldContainer
(and thereforeField
) needs to set the with of theInputBase
it wraps to 100%.
This also caused deeply nestedInputBase
components, e.g., inside aDialog
, to get thiswidth
and break the styling of these components, as they are not intended to be styled byFieldContainer
.
@comet/cms-admin@6.17.0
Minor Changes
-
9ddf655: Require a file extension when changing the filename in the DAM
Previously, files in the DAM could be renamed without restrictions.
Files could have invalid extensions (for their mimetype) or no extension at all.
This theoretically made the following attack possible:- Creating a dangerous .exe file locally
- Renaming it to .jpg locally
- Uploading the file as a .jpg
- Renaming it to .exe in the DAM
- The file is now downloaded as .exe
Now, filenames must always have an extension that matches their mimetype.
This is enforced in the admin and API.
Existing files without an extension are automatically assigned an extension via a DB migration.
Patch Changes
-
987fe9a: Fix
DocumentInterface.updateMutation
typeThe type for the
input
variable needs to beDocumentOutput
, notDocumentInput
.
@comet/cms-api@6.17.0
Minor Changes
-
9ddf655: Require a file extension when changing the filename in the DAM
Previously, files in the DAM could be renamed without restrictions.
Files could have invalid extensions (for their mimetype) or no extension at all.
This theoretically made the following attack possible:- Creating a dangerous .exe file locally
- Renaming it to .jpg locally
- Uploading the file as a .jpg
- Renaming it to .exe in the DAM
- The file is now downloaded as .exe
Now, filenames must always have an extension that matches their mimetype.
This is enforced in the admin and API.
Existing files without an extension are automatically assigned an extension via a DB migration. -
9ddf655: Loosen the filename slugification rules
When uploading a file to the DAM, the filename is automatically slugified.
Previously, the slugification used pretty strict rules without a good reason.Now, the rules were loosened allowing uppercase characters and most special characters.
Also, slugify now uses the localeen
instead ofde
for special character replacements.
Patch Changes
- 5a9c49a: CronJobModule: Fix job creation if resulting name exceeds 63 characters