Release Notes / Version 11.2201
Table Of ContentsRe-introduce RichTextPropertyFieldDelegatePlugin
The
RichTextPropertyFieldDelegatePlugin
was removed in CMCC 11, but is now reintroduced. It can now be found in the
@coremedia/studio-client.main.ckeditor4-components
package.
It can be imported as follows:
import RichTextPropertyFieldDelegatePlugin from "@coremedia/studio-client.main.ckeditor4-components/plugins/RichTextPropertyFieldDelegatePlugin";
(CMS-21884)
Fixed Memory Leaks in CMPictureForm and CMImageMapForm.
We fixed memory leaks in CMPictureForm and CMImageMapForm.
(CMS-21802)
Third-Party Update: CKEditor 4 to 4.19.0
CKEditor 4 has been updated from 4.17.1 to 4.19.0. This also includes 4.18.0 which contains highly recommended security fixes.
(CMS-21781)
Scripts and documentation now make sure that pnpm 6.x is used
Although suggested by the pnpm client simply upgrading to pnpm 7.x leads to errors in the frontend workspace as well for the studio-client. If you have already upgraded to pnpm 7, please downgrade the used version by executing:
npm install -g pnpm@6
(CMS-21717)
Fixed Upload Settings "maxFileSize"
The upload setting maxFileSize can overwrite the existing maximum upload size of 64MB now. The size is valid for all upload fields.
(CMS-21641)
Fixed Library Performance Issue
Fixed issue of too many NewContentActions which slowed down the library significantly.
(CMS-21628)
hideLabel Does not Always Work in PropertyFieldGroups.
An issue with the
hideSingleComponentLabel
configuration in
PropertyFieldGroups
has been resolved: The
hideLabel
config now works for all group items.
(CMS-21586)
TypeScript Handbook Is Now Properly Provided
The link in the README of the studio-client pointed to a dead end. This has been fixed now.
(CMS-21582)
Jangaroo npm Updated to Version 1.1.3
This fixes an issue when declaring a bindable Ext Config in TypeScript with a
#
-private field name with the same name as the public property
and
adding custom logic to the
set
accessor, like in this example:
interface MyComponentConfig extends ..., Pick<MyComponent, ... | "myConfig"> { } class MyComponent ... { #myConfig: number = 42; get myConfig(): number { return this.#myConfig; } set myConfig(value: number) { this.#myConfig = value; // any custom code, otherwise the accessor will be suppressed: console.log("gotcha!"); } }
The private field used to be rewritten to a public field with the same name, so that the line
this.#myConfig = value;
resulted in an infinite recursion at run-time.
Now, the private field is rewritten to use an
_
prefix like Ext does for Configs, so in the example,
_myConfig
would be used.
As a workaround, you can use
#_myConfig
directly in the TypeScript source code, but after the fix, the
#
-private field name without underscore should be best practice.
Furthermore, Jangaroo npm 1.1.3 updates the Jest version from 26 to 28 and it is now possible to customize the
jest.config.js
as the jangaroo build will no longer regenerate it.
(CMS-21513)
RotateStyleClassPlugin Is Now Robust Against Being Destroyed While Active
Before the change the timer wasn't properly cleaned up which could have led to many console errors.
(CMS-21471)
Fixed Referrer List Panel
The bindTo expression for the referrer list panel allows null values now too.
(CMS-21448)
Augmentation Folder Issue Fixed
The display name of a categories (and its parent categories) is used as storage path below the Augmentations folder. If such a category name contained a space at the end the augmentation functionality was broken (nothing happened, the error was only visible in the browser console). These illegal characters are now removed from the storage path.
(CMS-21438)
raphael.js: Added Note About False Positive SAST Report
First of all: the code is not reached by any of our usages
Even if the part were reached the assignment to innerHTML actually is escaped (some tools do seem to detect it properly)
The remaining two usages are assignments to actual properties of a DOM element which may not need to be escaped at all
(CMS-21399)
Fixed Layout of Additional Workflow Fields
The fields added as an additional workflow fields are now using the available width automatically - no additional configuration required.
(CMS-21351)
State of MergeStrategyChooser is persisted in Studio
The MergeStrategyChooser has a state handling now.
(CMS-20723)
Feedback Hub Comment Button Misplaced For Two Level Field Group Hierarchy
Components like
StringPropertyField
and
RichTextPropertyField
now provide the
sideButtonVerticalAdjustment
and
sideButtonHorizontalAdjustment
config options to reposition their
EditorialCommentsButton
.
(CMS-20621)