CoreMedia Content Cloud v13 Upgrade Guide / Version 2512.0
Table Of ContentsThe following changes to Public API packages have been made:
Package @coremedia/studio-client.base-models
Deprecations
The module TimeZones_properties has been deprecated.
Use the new timeZoneLocalizationRegistry to add localization for time zones instead.
Package @coremedia/studio-client.cap-base-models
Changes
Member
svgIconofIContentTypeLocalizationis nowstring | URL, wasstring.getPreferencesStateofPostUploadPreferencesnow returns aPromise<boolean | undefined>. In addition to this the type has been sharpened, reflecting that it can also return undefined (which it could before but it was not stated).
Deprecations
The import for types ILocalization and ILocalizationWithIcon have been deprecated.
Please import the types now from @coremedia/studio-client.base-models.
Package @coremedia/studio-client.content-services-api
Deprecations
The methods getActiveContent and getOpenedContents of
ContentFormService have been deprecated.
Please utilize observe_activeContent and observe_openedContents instead
(also check
https://rxjs.dev/api/index/function/firstValueFrom
).
Package @coremedia/studio-client.interaction-services-api
Removal
The abstract classes Clipboard and ClipboardItem have been removed in favor of
the standard Web API interface
(
Clipboard API - Web APIs | MDN
).
The class ClipboardItemImpl and the singleton clipboard have been removed without replacement.
To access clipboard data utilize new API observeClipboardData and writeToClipboard
of new package @coremedia/studio-client.interaction-services-toolkit instead.
Move
DataTransferTypes has been moved to package
@coremedia/studio-client.interaction-services-toolkit.
Package @coremedia/studio-client.project-services-api
Deprecations
The methods getActiveProject and getOpenedProjects of
ProjectFormService have been deprecated.
Please utilize observe_activeProject and observe_openedProjects instead
(also check
https://rxjs.dev/api/index/function/firstValueFrom
).
Package @coremedia/studio-client.workflow-services-api
Deprecations
The methods getActiveProcess, getActiveTask,
getOpenedProcesses and getOpenedTasks of
WorkflowFormService have been deprecated.
Please utilize observe_activeProcess, observe_activeTask,
observe_openedProcesses and observe_openedTasks instead
(also check
https://rxjs.dev/api/index/function/firstValueFrom
).
General
The API of many types extending (and including) RemoteBean has been sharpened.
It is now correctly stated if a property can be null.
In addition to this all properties that are only available if a RemoteBean has been loaded
are now also declared as undefined.
Furthermore, the isLoaded method has been improved with a type guard meaning that
Typescript is now working when checking isLoaded first (see TypeScript Narrowing)
before accessing a RemoteBean property.
While improving the types has no impact on runtime code, you might need to consider the undefined / null results in your code in case you have enabled strict null checks in your TypeScript project. The latter however, is not relevant for packages build with jangaroo as strict null checks are not enabled per default.


