Release Notes / Version 10.2101
Table Of ContentsAssetSearchService in commerce extension now uses a dedicated SearchResultFactory
AssetSearchService in commerce extension now uses a dedicated SearchResultFactory. Furthermore the factory uses a default caching time of 300 seconds (=5 minutes). The caching time is configurable by the config parameter 'caas.commerce.assetsearchservice. cache.seconds'. The change is considered breaking as the caching time was previously set by 'caas.querylist.search.cache.seconds', which may contain a different value than the new default of 300 seconds.
Follow Section, “AssetSearchService in commerce extension now uses a dedicated SearchResultFactory” for upgrade information.
(CMS-18188)
Update of graphql-java
The dependency com.graphql-java.graphql-java has been updated to version 15.0 and corresponding com.graphql-java.graphql-java-spring-webmvc to version 2.0. With the graphql-java update, non-standard scalars need to be defined explicitely now. For more breaking changes that may affect custom code, see release notes of graphql-java.
(CMS-17662)
Set row limit for AssetSearchService with correct config value
Previously the row limit of the commerce AssetSearchService, used for linked objects on commerce objects, was set with a wrong config parameter. This is fixed, introducing a dedicated new config parameter: 'caas.commerce.assetsearchservice.limit'. The default is -1 = unlimited.
Follow Section, “Set row limit for AssetSearchService with correct config value” for upgrade information.
(CMS-18158)
Headless now always sends JSON body with JSON properties and proper HTTP response code
Depending on the useragent, Headless Server sends the default Spring mvc white label error page, in case of invalid requests, for example, missing query. Headless Server now makes sure to always send a JSON body with dedicated JSON properties and the proper HTTP response code.
Follow Section, “Headless now always sends JSON body with JSON properties and proper HTTP response code” for upgrade information.
(CMS-18039)