close

Filter

loading table of contents...

Release Notes / Version 12.2412.0

Table Of Contents

CoreMedia Headless Server

Headless responds to HTTP-Head over REST now as in CM11

In CMCC 11 (2310), Headless Server responded to HEAD requests over the REST-API with 200 and 404 as long as JSLT was enabled (which is the default).

With the introduction of Spring-GraphQL, the HTTP transport layer was redefined by Spring. As a consequence, its basic implementation was only able to respond to POST requests. The ability to respond to GET requests was add by CoreMedia but support for HEAD requests was omitted, as such requests to a GraphQL endpoint are neither covered by the GraphQL-over-HTTP spec, nor does it make sense to respond to a HEAD request on a plain GraphQL endpoint.

Nevertheless, supporting HEAD requests makes sense for the REST-API and in CMCC 11 (2310), Headless Server responded with 200 or 404 to a HEAD request as long as JSLT was enabled. Note that the response was always 200, when JSLT was disabled.

This changed behavior was now reestablished for CMCC 12.

Also note that HEAD requests to the REST-API are not recommended and you should strive for solutions avoiding HEAD requests!

Upgrade Information

(CMS-28337)

Richtext headings are resolved with inline handlers

Before, links to content in richtext headlines were not resolved via GraphQL in fields text, textReferencedContent and textAsTree. The content links are resolved correctly now together with other inline elements, by adding the inline handlers to the headline context.

(CMS-28203)

Update to latest minor version of Spring-GraphQL and GraphiQL 5.0

Due to an update in the publishing policy of GraphiQL, spring-graphql library could not deliver graphiql correctly. This was fixed by updating Spring-GraphlQL to the corresponding latest minor version:

CMS 2506.0: Spring-GraphQL V 1.4.1 delivering GraphiQL 5.0.0 esm.sh (was 4.0.0 via esm.sh) CMS 2412.0: Spring-GraphQL V 1.3.6 delivering GraphiQL 5.0.0 via esm.sh (was via unpkg.com) CMS 2406.2: Spring-GraphQL V 1.4.1 delivering GraphiQL 5.0.0 via esm.sh (was 4.0.0 via esm.sh) CMS 2416.1: Spring-GraphQL V 1.3.6 delivering GraphiQL 5.0.0 via esm.sh (was via unpkg.com)

(CMS-28156)

Fixed Regression: Non-trivial server context path for REST request was ignored

A non-trivial server context path, e.g. ‘/customContextPrefix’ was not working anymore with REST requests. That regression was now fixed.

(CMS-27931)

Exception handling by DataFetcherExceptionResolverAdapter

To resolve exceptions to GraphQL errors, a DataFetcherExceptionResolverAdapter has been added which resolves implementations of RuntimeException to ErrorType.DataFetchingError. Specific exceptions and corresponding ErrorTypes can be configured via configuration property caas.exceptionErrorMap. Exceptions are resolved via configuration for the most specific super class.

(CMS-27811)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.