Release Notes / Version 11.2310
Table Of ContentsRemoved Usage of PowerMock Java Test Library
Previous releases used the PowerMock library in a small number of Java unit tests to mock static methods and object construction. These usages have now been replaced with new functionality of the Mockito testing library. PowerMock isn't used anymore.
Follow Section, “Removed Usage of PowerMock Java Test Library” for upgrade information.
(CMS-20448)
The site-manager container image is now also build with google jib
Because of this change, the convenience feature, that the zip will be configured at startup has been removed.
(CMS-20332)
Support for IBM DB2 has been removed
Support for IBM DB2 has been removed
(CMS-20120)
Removal: Deprecated Private API BlobHelper Class
The private API class
com.coremedia.cap.transform.undoc.BlobHelper
has
been removed.
Follow Section, “Removal: Deprecated Private API BlobHelper Class” for upgrade information.
(CMS-20049)
Removal: Deprecated Editorial Comments cache properties editorial.comments.data.cache.* Properties
The deprecated configuration properties
editorial.comments.data.cache.*
have been removed.
editorial.comments.data.cache.comments-cache-size
is nowcache.capacities.com.coremedia.editorial.comments.data.editorial.comments
editorial.comments.data.cache.qualifiers-cache-size
is nowcache.capacities.com.coremedia.editorial.comments.data.editorial.comments.qualifiers
editorial.comments.data.cache.threads-cache-size
is nowcache.capacities.com.coremedia.editorial.comments.data.editorial.comments.commentThreads
(CMS-20047)
Removal: Deprecated SettingsPageResourceBundleFactory Class
The deprecated class
com.coremedia.blueprint.cae.web.i18n.SettingsPageResourceBundleFactory
has been deleted. If you still like it, keep it in your project code.
As alternative, it is recommended moving resource bundles to
resourceBundles
, and using
LinklistPageResourceBundleFactory
instead.
(CMS-19999)
Removal: Deprecated ThemeImporterImpl#legacyExternalLinkToDocumentName Method
The deprecated method
com.coremedia.blueprint.themeimporter.ThemeImporterImpl#legacyExternalLinkToDocumentName
has been deleted. If you still like it, keep it in your project code.
Otherwise, it is recommended using
stringToDocumentName
instead.
(CMS-19995)
Removal: Deprecated UserProvider2 Interface
The interface UserProvider2
has been deleted. If
you are still using it in your project code, simply switch to
UserProvider
.
(CMS-19988)
Removal: Deprecated Legacy RuleProviders Classes
com.coremedia.blueprint.base.links.impl.PropertiesRuleProvider
and
com.coremedia.blueprint.base.links.impl.SitesRuleProvider
have been deleted from the Java API, incl. the
bpbase-links-legacy.xml
configuration file. You
probably do not use the classes directly in your project code.
Instead, check if you still import the legacy configuration file in
the blueprint-links.xml
file in the
cae-base-lib
module, and eventually migrate to the
AbsoluteUrlPrefixRuleProvider
.
(CMS-19987)
Removal: Deprecated LdapMember#getOrganizationalUnit Method
We have finally deleted
LdapMember#getOrganizationalUnit
, which has never
been used. If you have implemented the LdapMember
interface, you can delete the method. You must at least delete the
@Override
annotation.
Follow Section, “Removal: Deprecated LdapMember#getOrganizationalUnit Method” for upgrade information.
(CMS-19986)
Removal: management.health.contentRepository.enabled Property
The deprecated application property
management.health.contentRepository.enabled
has
been removed. Please use its replacement
management.health.uapiConnection.enabled
.
(CMS-19962)
Migrated Blueprint Content Hub Adapters to Plugins
The extensions for the Content Hub Adapters
content-hub-adapter-rss
content-hub-adapter-youtube
Follow Section, “Migrated Blueprint Content Hub Adapters to Plugins” for upgrade information.
(CMS-19911)
Dropped supported deprecated databases, servers, and browsers
With CMCC v11 the following deprecated databases and servers are not supported anymore: IBM DB2, MySQL 5.7, Postgres 9.6, MongoDB 3.6, and Microsoft Windows Server 2016 Standard.
Follow Section, “Dropped supported deprecated databases, servers, and browsers” for upgrade information.
(CMS-19867)
New API For Custom Workflow Extension Point
Accompanying the new Workflow app, there is a new API to add custom workflows. The former API was targeted specifically at the Control Room in the main Studio.The new API can be used to customize both the main Studio and the Workflow App.
Follow Section, “New API For Custom Workflow Extension Point” for upgrade information.
(CMS-19858)
Removal: Corporate Extension Modules for Content Server
The (content) server modules for the corporate extension were empty and have been removed:
com.coremedia.blueprint:corporate-server
com.coremedia.blueprint:content-server.corporate
Follow Section, “Removal: Corporate Extension Modules for Content Server” for upgrade information.
(CMS-19851)
Removal: Unused class SiteToStoreContextCacheKeyWithTimeout
The deprecated class
com.coremedia.blueprint.base.livecontext.ecommerce.common.SiteToStoreContextCacheKeyWithTimeout
was part of the legacy Blueprint commerce integration and has been
removed in favour of the Commerce Hub integration.
(CMS-19850)
New API for Content Type Localization
To support content type localization in both the Main Studio App and the Workflow App (and further apps in the future), we fundamentally changed the API to localize doctypes. One particular change is the direct support for SVG icons.
Follow Section, “New API for Content Type Localization” for upgrade information.
(CMS-19816)
Removal: Old live context settings struct
The old 'livecontext.store.config' StructProperty was removed for all commerce Hub enabled sites, tests and demo data. Please use only the new struct below the 'commerce' struct. For more details see JavaDoc for CommerceSettings.java. In addition LiveContextCloneSitePostProcessor.java and it's usages were removed completely, the CommerceCloneSitePostProcessor.java is used instead. Please note: the cms catalog is not affected by this refactoring as it's not a commerce hub enabled site.
(CMS-19396)
Removal: Deprecated API of TransformImageService
The following methods have been deleted from the Java API:
com.coremedia.cap.transform.TransformImageService#transformWithDimensions(Content content, Blob data, TransformedBlob operationsForTransformation, String variantName, String extension, Integer width, Integer height)
- Use {com.coremedia.cap.transform.TransformImageService#transformWithDimensions(Content, String, String, Integer, Integer)}} instead.com.coremedia.cap.transform.TransformImageService#getTransformationOperations(Content picture, String property, Map<String,String> transformations)
- Replace withcom.coremedia.cap.transform.TransformImageService#getTransformationOperations(Content, String)
, which also resolves the given transformation with the help ofContentOperationsResolver
.
(CMS-19254)
Logging Standardization
The logging setup has changed to implement a more standardized setup. This includes:
the removal of any thirdparty logback appenders to push logs to a log aggregation like elasticsearch.
the removal of the Spring-Boot
elk
profile to activate elastic log aggregationthe removal of the
com.coremedia.blueprint:logging-config
maven modulethe removal of any
logback-spring.xml
in favor of Spring-Boot standard setupthe removal of the Studio Console logfile endpoint
a simpler default logging pattern
removal of logback appenders
Follow Section, “Logging Standardization” for upgrade information.
(CMS-19224)
Removal: Optimizely Extension
The extension Optimizely
has been removed from
applications CAE
and
Studio-Client
. The settings starting with
"optimizely.
" have no effect anymore and
can be removed from custom content. Additionally the helper class
ExtensionAspectUtil.java
has been removed.
(CMS-19060)
New Blueprint Parent
A new parent POM cms-blueprint-parent
has been
introduced and is used as (transitive) parent for every Blueprint
module. It contains basic plugin management, especially for the
install- and deploy-plugin for which it is important that all modules
use the same versions. If you need a custom parent in your Blueprint,
you can simply search and replace our parent element. You could use
the cms-blueprint-parent
as parent of your custom
parent, or integrate the pluginManagement as necessary.
(CMS-18934)
Replaced deprecated org.junit.Assert.assertThat
All remaining occurrences of the deprecated
org.junit.Assert.assertThat
have been replaced by
the equivalent
org.hamcrest.MatcherAssert.assertThat
.
(CMS-18795)
Replaced Guava Function and co. with JDK counterparts
Guava Optional, Function, Predicate, Supplier and most Guava utilities from com.google.common.collect have been replaced with their JDK counterparts. Most of these Guava features are available in the JDK by now, so it is unnecessary to bother with a third-party library. Although it is not required, we would recommend that you also refactor these Guava usages in your code for consistency.
(CMS-18659)
Removal: Deprecated Consumer, Function, Predicate Classes
The classes com.coremedia.common.util.Consumer
,
com.coremedia.common.util.Function
and
com.coremedia.common.util.Predicate
have been
deleted from the Java API. All usages have been replaced with the
according JDK classes of package
java.util.function
.
Follow Section, “Removal: Deprecated Consumer, Function, Predicate Classes” for upgrade information.
(CMS-18658)
Implementations of Comparable: Added Type Arguments
For several parts of the public API the implementation of the
Comparable
interface now uses correct generic type
arguments. As part of this change, following interfaces/classes have
been updated by adding type parameter.
com.coremedia.cap.user.Group
com.coremedia.cap.user.User
com.coremedia.cap.workflow.Process
com.coremedia.cap.workflow.ProcessDefinition
com.coremedia.cap.workflow.Task
com.coremedia.cap.workflow.TaskDefinition
com.coremedia.workflow.WfValue
com.coremedia.workflow.common.expressions.Aggregate
(CMS-17548)
Consolidate Blueprint groupIds and versions
The Blueprint now uses the groupId
com.coremedia.blueprint
for every module and
Blueprint modules are now always referenced by using $
{project.version}
Follow Section, “Consolidate Blueprint groupIds and versions” for upgrade information.
(CMS-17559)