CoreMedia Content Cloud v13 Upgrade Guide / Version 2512.0
Table Of ContentsThe following types / consts / classes are now deprecated. You can find additional information about what to use instead in the code documentation:
Severityof@coremedia/studio-client.base-modelsILocalization,ILocalizationWithIcon,ITypeLocalization,IPropertyLocalizationandIContentTypeLocalizationof@coremedia/studio-client.cap-base-modelsIContentTypeLocalizationRegistry#getLocalizationByContentTypeof@coremedia/studio-client.cap-base-models
For the interfaces WorkflowIssueLocalization, WorkflowIssuesLocalization and
WorkflowLocalization of @coremedia/studio-client.workflow-plugin-models we now have explicit
configuration interfaces WorkflowIssueLocalizationConfig,
WorkflowIssuesLocalizationConfig and WorkflowLocalizationConfig.
While the former is meant to provide consistent, more strict access to registered Localization, the latter is meant to provide configuration where some properties can be undefined or have shorthand syntax. The configuration interfaces are now also used when registering new workflows via the CustomWorkflow API.
This means two things:
In case you have made use of the non-configuration interfaces inside your custom code, e.g., in function signatures or to store local variables, you might need to switch to the new configuration interfaces instead.
You might be able to simplify code that utilizes localization interfaces, as many properties can no longer be undefined and have their shorthand syntax resolved to the explicit syntax.


