Release Notes / Version 12.2404
Table Of ContentsSpring Boot was upgraded to version 3 and Spring to version 6. With these upgrades, many further dependencies had to be upgraded as well.
Upgrade Information
The following dependencies were upgraded:
Spring Boot from 2.7.16 to 3.2.2 - see also
Spring Framework from 5.3.30 to 6.1.3 - see also
Spring Security from 5.8.7 to 6.2.1 - see also
Spring Data BOM from 2021.2.12 to 2023.1.2
Jakarta Activation API from 1.2.2 to 2.1.2
the dependency coordinates changed from
com.sun.activation:jakarta.activationtojakarta.activation:jakarta.activation-apithe packages of the Java classes changed from
javax.activationtojakarta.activation
Jakarta Annotations API from 1.3.5 to 2.1.1
the packages of the Java classes changed from
javax.annotationtojakarta.annotation
Jakarta Dependency Injection API from 1 to 2.0.1
the dependency coordinates changed from
javax.inject:javax.injecttojakarta.inject:jakarta.inject-apithe packages of the Java classes changed from
javax.injecttojakarta.inject
Jakarta Mail API from 1.6.7 to 2.1.2
the dependency coordinates changed from
com.sun.mail:jakarta.mailtojakarta.mail:jakarta.mail-apithe packages of the Java classes changed from
javax.mailtojakarta.mail
Jakarta Servlet API from 4.0.4 to 6.0.0
the packages of the Java classes changed from
javax.servlettojakarta.servlet
Jakarta Server Pages API from 2.3.5 to 3.1.1
the packages of the Java classes changed from
javax.servlet.jsptojakarta.servlet.jsp
Jakarta Transactions API from 1.3.3 to 2.0.1
the packages of the Java classes changed from
javax.transactiontojakarta.transaction
Jakarta Validation API from 2.0.2 to 3.0.2
the packages of the Java classes changed from
javax.validationtojakarta.validation
Jakarta XML Binding API from 2.3.3 to 4.0.1
the packages of the Java classes changed from
javax.xml.bindtojakarta.xml.bind
Other changes:
The
RequestMappingannotation was exchanged forControllerannotation on type-level, see Spring Framework Issue #22154.Class
com.coremedia.blueprint.cae.web.FreemarkerEnvironmentwas turned intocom.coremedia.blueprint.cae.web.WebEnvironmentThe spring-boot maven plugin no longer supports disabling of forking, so
spring-boot:runnow always forksSpring no longer attempts to deduce parameter names by parsing bytecode. As dependency injection, property binding, SpEL expressions etc. are heavily used by the CoreMedia CMS, all sources must now be compiled with the common Java 8+
-parametersflag for parameter name retention. For more information see Upgrading to Spring Framework 6.x - Parameter Name Retention.Spring Boot no longer loads auto configuration classes from
spring.factories, use theorg.springframework.boot.autoconfigure.AutoConfiguration.importsresource instead to list auto configuration classesThe public API bean
translate.xliff.translatableExpressionswas renamed totranslateXliffTranslatableExpressions.
(CMS-21716)


