Release Notes / Version 10.2107
Table Of ContentsIntroduce StructAdapter for access to structs
StructAdapter handling access to Structs
SettingsAdapter is just a wrapper for the StructAdapter
(CMS-17128)
Added Content Id to Content-Object of content-schema and commerce-schema
All content and commerce objects now consist of an 'id' field. For commerce objects, the 'id' field is an alias to the existing field 'externalId'. Also the 'id' field is now declared non-null. These measures should make it easier to implement client side caching, using 'id' as the cache key.
(CMS-16982)
Query argument 'siteId' is optional now. Along with the introduction of the site filter feature, the siteId argument on all commerce queries and the 'site by id' query itself is declared optional. The 'id' argument on 'site by id' queries is declared deprecated in favor for the more specific named argument 'siteId'.
(CMS-16964)
Add validity check for request mappings
It is logged when a request mapping for REST refers to a non existent persisted query
(CMS-16902)
Configurable http header/cookie forwards
Headless is now able to forward configurable http headers and cookies of incoming requests to secondary request, like jsonpreview to graphql. The configuration key 'caasserver.endpoint' is deprecated as of this version and replaced by 'previewclient.caasserver-endpoint'.
(CMS-16716)
Introducing Views: Access restriction to one site with views
The new release introduces 'views' to the headless server. A view is a pathprefix to the standard endpoints, like '/graphql'. Using a view like '/calista/graphql', headless server automatically restricts the access to content objects of the mapped site id of the pathprefix, the 'view'.
(CMS-16601)
Links in Rich Text
For Rich Text several links with attributes can be added: internal links, external links and links to images. Internal and external links are provided together with a link behaviour attribute (data-show).
Internal links are generated with an example link composer, that may be customized. See Headless-Server manual for details.
Internal links:
data-href: Link generated with an example link composer contentUriLinkComposer, that is configured in CaasConfig.java
data-show: Link behaviour
Example: <a data-href="coremedia:///cap/content/596" data-show="embed">Link</a>
External links:
href: Configured external link
data-show: Link behaviour
data-role: target frame identifier
Example: <a href=" http://www.coremedia.com" data-show="new">Link</a>
Image links:
data-src: Link generated with an example link composer contentUriLinkComposer, that is configured in CaasConfig.java
data-uritemplate: generated uri template
alt: content property
(CMS-16598)
New query 'pageByPath' available
Starting with 20.04 release, coremedia headless server features the new 'pageByPath' query. The query offers the ability to query for page using the segment path instead of the content id.
(CMS-16588)