Release Notes / Version 12.2406.1
Table Of ContentsHeadless-Server now uses Spring-GraphQL as its main Spring integration. Because of that the following libraries were removed and their APIs cannot be used anymore. They were removed because the corresponding projects are not updated or supported anymore.
com.graphql-java:graphql-java-spring-webmvc
com.graphql-java-kickstart:graphql-spring-boot-starter
If you have used some of the classes provided by these libraries in your custom code, this code will not compile anymore. Depending on what your code was doing, it might be necessary to reimplement it, using the API and principles of the newly introduced Spring-GraphQL library.
As a replacement for the removed libraries Headless-Server now uses the new Spring-GraphQL library.
org.springframework.graphql:spring-graphql:1.2.5
For further reference please see the official documentation of Spring-GraphQL at https://docs.spring.io/spring-graphql/reference/index.html
With the introduction of Spring-GraphQL, the following transitively dependent libraries were updated:
com.graphql-java:graphql-java:20.7
com.graphql-java:java-dataloader:3.2.2
If you have based custom code on some of the classes provided by these or the removed libraries, they might not compile anymore as there were some breaking changes introduced. For details please see the original release note at https://github.com/graphql-java/graphql-java/releases and https://github.com/graphql-java/java-dataloader/releases.
Furthermore, several configuration properties have changed. Even if a deployment does not rely on potentially breaking code extension, at least all configuration properties should be checked and updated accordingly.
With the introduction of Spring-GraphQL, the developer tool GraphiQL is now not a static part of the library anymore. Instead it is delivered via the means http://unpkg.com CDN. This way, the formerly statically built-in resources are now served instead dynamically, always with the latest version.
For details about all changes, it is highly recommended to study our CM12 migration guide in depth.
(CMS-19714)