Release Notes / Version 13.2512.0
Table Of ContentsUpgrade Steps:
The following deprecated API has been removed and may require adapting usages:
Module bpbase-cae-api:
com.coremedia.blueprint.base.cae.web.taglib.ImageFunctions
The overloaded frontendImageFunctions#getImageLinkForAspectRatiomethods have been removed. UseImageFunctions#getImageLinkForAspectRatio(Blob, String, Map, boolean, String, HttpServletRequest, HttpServletResponse, boolean)instead.
The implementation ofcom.coremedia.blueprint.cae.web.taglib.BlueprintFreemarkerFacade#transformedImageUrlgot adapted accordingly.
Module bpbase-lc-common:
com.coremedia.blueprint.base.livecontext.ecommerce.common.CommercePropertyHelper:The method
replaceTokens(String, Map<String,Object>, boolean):Stringhas been removed.
UseAbstractPropertyResolver#resolvePlaceholders(String):Stringinstead using thePropertySourcesPropertyResolverprovided byCommercePropertyHelper#propertySourcesPropertyResolver.
Module bpbase-pagegrid-api:
com.coremedia.blueprint.base.pagegrid.PageGridContentKeywordsRemoved constants
LEGACY_LINK_PROPERTY_NAME(original value:"LinkPropertyName") andLEGACY_LINK_LIST_PROPERTY_NAME(original value"LinkListPropertyName") that were only required to deal with legacy content items. While corresponding legacy content items continue to work, if they define these properties, new page grids should use the values ofPageGridContentKeywords#SECTION_PROPERTY_NAMEfor the former andPageGridContentKeywords#ITEMS_PROPERTY_NAMEfor the latter.
Module bpbase-sfmc:
com.coremedia.blueprint.base.sfmc.libservices.dataextensions.SFMCDataExtensionService
The methodpushToDataExtension(SFMCContext, String, List<DataExtensionEntry>)has been removed. Use instead:pushToDataExtension(SFMCContext, SFMCDataExtensionContext, String, List<DataExtensionEntry>)of the same interface.
Module cae-contentbeanservices:
com.coremedia.objectserver.blob.BeanPropertyBlobAligned with deprecation removal
Blob.getSize():intin common tier, removed methodgetSize():int. UsegetSizeLong():longinstead.
Module cap-feeder-api:
com.coremedia.cap.feeder.FeedableWeightHelperRemoved method
weighElement(FeedableElement):int. UseweighElementLong(FeedableElement):longinstead.Removed method
weighFeedable(Feedable):int. Use methodweighFeedableLong(Feedable):longinstead.
Module cap-rest-service:
com.coremedia.rest.cap.validators.AvailableLocalesConfigurationClass removed. Related removals:
com.coremedia.rest.cap.CapRestServiceBaseConfiguration#availableLocalesConfigurationcom.coremedia.rest.cap.validators.AvailableLocalesValidator#setConfiguration
Use constructorAvailableLocalesValidator(String, String)instead.No-argument constructor
com.coremedia.rest.cap.validators.AvailableLocalesValidator.
Module cap-transform:
com.coremedia.cap.transform.ExtractDimensionCacheKeyRemoved 5-arg constructor (with additional MIME-Type and size) as the additional parameters were ignored and the 3-arg constructor (signature:
ExtractDimensionCacheKey(ContentRepository, ImageDimensionsExtractor, String)) should be used instead.
com.coremedia.cap.transform.ImageVariantSettingRemoved methods
setGamma(Double):voidandgetGamma():Doublewithout replacement. They showed misaligned and thus hardly predictable behavior for different types of images.
com.coremedia.cap.transform.TransformImageService:The method
getTransformationStringhas been removed without replacement (accidentally made it to public API).
Module cap-unified-api-util:
com.coremedia.cap.util.ObjectCacheKeyClass removed. Use
com.coremedia.cache.util.ObjectCacheKeyinstead (module:coremedia-cache).
com.coremedia.cap.util.PairCacheKeyClass removed. Use
com.coremedia.cache.util.PairCacheKeyinstead (module:coremedia-cache).
com.coremedia.cap.util.StructUtil
Methods removed. Use alternatives incom.coremedia.cap.util.CapStructUtilinstead:findString(Struct, String):Optional<String>getBoolean(Struct, String):booleangetInteger(Struct, String):IntegergetLink(Struct, String):ContentgetLinks(Struct, String):List<Content>getLong(Struct, String):LonggetString(Struct, String):StringgetStrings(Struct, String):List<String>getSubstruct(Struct, String):StructgetSubstructs(Struct, String):List<Struct>hasPropertyDescriptor(Struct, String):boolean
Module coremedia-transform:
com.coremedia.transform.image.ImageOperationsRemoved method
crop(ImageTransformerState<Image>, int, int, int, int, String):voidfrom the interface. Method to use and implement instead:crop(ImageTransformerState<Image>, int, int, int, int, String):void.Removed method
gamma(ImageTransformerState<Image>, double):voidwithout replacement aligned with removedgetGammaandsetGammainImageVariantSetting.
**Note on image transformations: With this change the image transformation operationgamma(aliasg) is not available anymore (raises anUnsupportedOperationExceptionif still part of the transformation string). The section “Image Operations” in section “Image Transformation API” in CAE Developer Manual got adapted accordingly.Replaced method
unsharpMask(ImageTransformerState<Image>, float, float, int):voidby its no-parameter variantunsharpMask(ImageTransformerState<Image>):void, which is aligned with the deprecation notice, that any other than the default parameters (amount=0.15, radius=2, threshold=10) should not be used.
com.coremedia.transform.image.java2d.Java2DImageOperationsAdapted according to changes in
ImageOperations(removed one of the implementedcropmethods, methodgamma).Updated implementation of
unsharpMaskto align with the signature change applying the defaults for amount, radius, and threshold as described above.
Module middle.cap-validation:
com.coremedia.rest.cap.validation.ContentTypeValidatorBaseClass removed. Use
com.coremedia.rest.cap.validation.AbstractContentTypeValidatorinstead (same module).
com.coremedia.rest.cap.validation.PredicateAwareValidatorBaseClass removed. Implement
com.coremedia.rest.cap.validation.CapTypeValidatordirectly instead (same module).
com.coremedia.rest.cap.validators.CrossSiteLinkValidatorRemoved method
setSeverity(Severity):void. UsesetDefaultSeverity(Severity):voidinstead.
Module middle.coremedia-validation:
com.coremedia.rest.validation.ObjectPropertyValidatorBaseClass removed. Use
com.coremedia.rest.validation.AbstractPropertyValidatorinstead (same module).
com.coremedia.rest.validation.PropertyValidatorBaseClass removed. Use
com.coremedia.rest.validation.AbstractPropertyValidatorinstead (same module)
(CMS-27564)


