Release Notes / Version 10.2107
Table Of ContentsUpdate docker java-application-base image
The docker base image
coremedia/java-application-base
has been updated to
2.1.3
. This major update includes the following changes:
Follow Section, “Update docker java-application-base image” for upgrade information.
(CMS-15576)
Refined CommerceBeanInvalidator
The
ContentStringPropertyValueChangeEvent
has been enhanced with the property descriptor which the value belongs to. The
CommerceBeanInvalidator
checks the property descriptor and handles only values of properties named "externalId". If your content model contains other observed properties that contain commerce IDs to be handled by the
CommerceBeanInvalidator
, you must adjust
CommerceBeanInvalidator#isApplicable
.
(CMS-15096)
Removed: Optionals
The class
com.coremedia.common.util.Optionals
with its sole, deprecated method
streamOfOptional(Optional)
has been removed.
Follow Section, “Removed: Optionals” for upgrade information.
(CMS-15030)
XliffImporter allows importing into checked out content
The Studio upload dialog and the
com.coremedia.cap.translate.xliff.XliffImporter API
now allow importing XLIFF with translations into documents that are checked out by the current user. In previous releases an error was raised (XliffImportResultCode#ALREADY_CHECKED_OUT) and users had to check in content manually before importing XLIFF. This change removes the need for this manual step.
Follow Section, “XliffImporter allows importing into checked out content” for upgrade information.
(CMS-14396)
Third-Party Update: JUnit Jupiter, Mockito, and Maven Surefire
JUnit Jupiter has been updated to 5.5.1 and related JUnit Platform to 1.5.1. Dependency Management is now done via JUnit 5 BOM
org.junit:junit-bom
.
Follow Section, “Third-Party Update: JUnit Jupiter, Mockito, and Maven Surefire” for upgrade information.
(CMS-14134)
Multi-Site API change in ContentObjectSiteAspect
The behaviour of methods
#getMasterVersionNumber
and
#getMasterVersion
in
com.coremedia.cap.multisite.ContentObjectSiteAspect
was changed to return correct values for derived contents that haven't been translated yet.
Follow Section, “Multi-Site API change in ContentObjectSiteAspect” for upgrade information.
(CMS-14121)
XLIFF Validation Enabled
XLIFF is now validated on import by default.
Follow Section, “XLIFF Validation Enabled” for upgrade information.
(CMS-14102)
New XliffImportResultCode INVALID_PROPERTY_TYPE
The enum
com.coremedia.cap.translate.xliff.XliffImportResultCode
got the new value
INVALID_PROPERTY_TYPE
that represents errors while importing XLIFF that are caused by a wrong type of target property.
Follow Section, “New XliffImportResultCode INVALID_PROPERTY_TYPE” for upgrade information.
(CMS-14055)
JVM Options
With Java 11, many JVM options have changed. This concerns especially (but not only) garbage collection, mainly because the default garbage collector has been switched from parallel GC to G1 with Java 10. We have reworked all JVM options throughout deployment, examples and documentation, so that they are now suitable for Java 11.
(CMS-13649)
Added Time Unit to Property `sql.store.sgml-cache-interval`
Property
sql.store.sgml-cache-interval
was renamed to
sql.store.sgml-cache-interval-seconds
.
(CMS-13115)
CoreMedia Bricks and Themes no longer rely on bootstrap
With the general restructuring of our bricks and themes we removed the dependency to the bootstrap framework. This means that the framework is no longer integrated by default when loading any of our bricks.
Follow Section, “CoreMedia Bricks and Themes no longer rely on bootstrap” for upgrade information.
(CMS-12965)
Dissolved module bpbase-multisite-api
The module bpbase-multisite-api has been resolved.
Follow Section, “Dissolved module bpbase-multisite-api” for upgrade information.
(CMS-15133)
Improved Image transformation API
The image transformation API has been improved.
Follow Section, “Improved Image transformation API” for upgrade information.
(CMS-14661)
Removal: Class BeanWrappingBeanCustomizer
Class
com.coremedia.springframework.customizer.BeanWrappingBeanCustomizer
was deleted. Use XML customizer
customize:wrap
instead
(CMS-14068)