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.activation
tojakarta.activation:jakarta.activation-api
the packages of the Java classes changed from
javax.activation
tojakarta.activation
Jakarta Annotations API from 1.3.5 to 2.1.1
the packages of the Java classes changed from
javax.annotation
tojakarta.annotation
Jakarta Dependency Injection API from 1 to 2.0.1
the dependency coordinates changed from
javax.inject:javax.inject
tojakarta.inject:jakarta.inject-api
the packages of the Java classes changed from
javax.inject
tojakarta.inject
Jakarta Mail API from 1.6.7 to 2.1.2
the dependency coordinates changed from
com.sun.mail:jakarta.mail
tojakarta.mail:jakarta.mail-api
the packages of the Java classes changed from
javax.mail
tojakarta.mail
Jakarta Servlet API from 4.0.4 to 6.0.0
the packages of the Java classes changed from
javax.servlet
tojakarta.servlet
Jakarta Server Pages API from 2.3.5 to 3.1.1
the packages of the Java classes changed from
javax.servlet.jsp
tojakarta.servlet.jsp
Jakarta Transactions API from 1.3.3 to 2.0.1
the packages of the Java classes changed from
javax.transaction
tojakarta.transaction
Jakarta Validation API from 2.0.2 to 3.0.2
the packages of the Java classes changed from
javax.validation
tojakarta.validation
Jakarta XML Binding API from 2.3.3 to 4.0.1
the packages of the Java classes changed from
javax.xml.bind
tojakarta.xml.bind
Other changes:
The
RequestMapping
annotation was exchanged forController
annotation on type-level, see Spring Framework Issue #22154.Class
com.coremedia.blueprint.cae.web.FreemarkerEnvironment
was turned intocom.coremedia.blueprint.cae.web.WebEnvironment
The spring-boot maven plugin no longer supports disabling of forking, so
spring-boot:run
now 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+
-parameters
flag 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.imports
resource instead to list auto configuration classesThe public API bean
translate.xliff.translatableExpressions
was renamed totranslateXliffTranslatableExpressions
.
(CMS-21716)