Release Notes / Version 12.2506.0
Table Of ContentsSpring Boot and Spring Security as well as several other dependencies have been updated.
Spring Boot → 3.5.0
Spring Security → 6.5.0
For details on the changes in Spring Boot 3.5 release, see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.5.0-Release-Notes. For other updated dependencies, view the release notes of “Updated Maven Dependencies and Plugins”.
Upgrade Information
With Spring Boot 3.5 rules for profile names have been tightened. Profiles can now only contain
-(dash),_(underscore), letters and digits. For this, the commerce blueprintwcs-8.0,wcs-9.0,wcs-9.1as well aswcs-9.1-solrprofiles had to be renamed. Now, they are namedwcs-8_0,wcs-9_0,wcs-9_1andwcs-9_1-solrrespectively. Blueprint docker compose deployment files have been adapted. In case you are using these profiles, adjust their names accordingly.With Spring Security 6.5 the
org.springframework.security.web.util.matcher.AntPathRequestMatcherhas been deprecated. Instead, theorg.springframework.security.web.servlet.util.matcher.PathPatternRequestMatchershould be used. The deprecated usages have been replaced in blueprint code. In contrast toorg.springframework.util.AntPathMatcher, which was used with the deprecatedAntPathRequestMatcher, the now activeorg.springframework.web.util.pattern.PathPatternonly supports*at the end of a pattern. For example,/pages/{} is valid but/pages/{*}/detailsis not.This directly affects the property
cae.csrf.ignore-paths, which now needs to be a path pattern opposed to Ant path before. The paths must be specified relative to any servlet path prefix (meaning you should exclude the context path and any servlet path prefix in stating your pattern).
There might be more changes that affect your application. Refer to the official release notes mentioned above if you encounter any issues.
(CMS-27313)


