close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

CoreMedia Headless Server

Deprecation of ViewBySiteDataFetchingEnvironment

The class ViewBySiteDataFetchingEnvironment has been deprecated. Use builder of DataFetchingEnvironmentImpl.newDataFetchingEnvironment() instead

(CMS-19161)

MediaController Supports Conversion of Image Formats

The MediaController supports the conversion of images into supported image formats (jpeg, png and gif) by specifying the corresponding file extension with the file name. The conversion ist also reflected in the content-schema. It is now possible, to specifiy an optional image format when querying for uri templates.

(CMS-18878)

New Fields Contain Lists of Content Objects Embedded in Richtexts

Starting with version 2104.1, the content schema offers complementing fields for all rich text fields. For GraphQL type CMTeasable

  • detailTextReferencedContent

  • teaserTextReferencedContent

For GraphQL type CMMedia

  • captionReferencedContent

(CMS-18844)

[Deprecation] JSON Preview URL Controller in Headless Server deprecated

The JsonPreviewUrlController was deprecated and will be removed in version 2110.

The JsonPreviewUrlController generates preview URLs for content objects served by Headless Server. The preview URL generation is replaced by the multi preview feature, that is the HeadlessPreviewProvider as part of the Studio server.

(CMS-18791)

Update of GraphiQL to 11.0.0

The tool GraphiQL (com.graphql-java-kickstart:graphiql-spring-boot-starter) has been updated to version 11.0.0. The base path for static resources are now configured via the configuration property graphiql.basePath instead of graphiql.static.pasePath.

(CMS-18775)

Add PreparsedDocumentProvider to cache parsing of queries

A PreparsedDocumentProvider is added to the graphql object so queries will be cached after being parsed and won't be parsed every time. Note that variables are better to be passed as a parameter and their values not be hardcoded in the query. Otherwise similar queries with different hardcoded variable values are parsed each time.

(CMS-18593)

Page object now provides navigational infos of the related site

Any CMNavigation content object now has the new property 'parent', by which it is possible to render the current navigation level, for example:

{
  content {
    pageByPath(path: "corporate/for-consumers") {
      currentNavigationLevel: parent {
        children {
          id
          name
          segment
        }
      }
    }
  }
}

Furthermore any CMTeasable content object now has the property 'root', which may be used in the same manner to render the main navigation.

(CMS-18560)

Support multiple metadata PDE mapping files

Metadata PDE mapping can now be defined in multiple files. See documentation for details.

(CMS-18525)

Added CMHTML type to headless schema

Headless schema now supports CMHTML type for fetching Html Fragments with minor differences with CAE behavior with regard to link building.

Example:

query getHtmlFragmentById($id: String!) {
  content {
    content(id: $id) {
      ... on CMHTML {
        id
        type
        description
        html
      }
    }
  }
}

(CMS-18429)

Docs in Content Schema

The content schema is enhanced by inline help docs.

(CMS-18346)

Search Results

Table Of Contents