close

Filter

loading table of contents...

Release Notes / Version 12.2406.4

Table Of Contents

Migration to Jackson 3

The CMS applications have been migrated from using Jackson 2 to Jackson 3. The migration required some breaking changes. Some minor parts of the applications still require Jackson 2.

Spring Boot for Jackson 2 dependencies have been removed from the classpaths of the CMS applications. Spring Boot for Jackson 3 dependencies are in place now.

The CoreMedia CMS applications use Jackson 3 dependencies wherever possible. However, Jackson 2 dependencies cannot be banned entirely so far, because there’re still required transitively by other thirdparty dependencies. But as Jackson 2 and Jackson 3 use different Maven coordinates and Java packages, they can both be added to the application classpaths without producing conflicts.

In the public APIs and in the blueprint workspace, the following Jackson references have been changed:

  • com.fasterxml.jackson.databind.ObjectMappertools.jackson.databind.json.JsonMapper

Affected public API:

  • Headless Server:

    • com.coremedia.blueprint.base.caas.model.converter.FacetFilterInputTypeConverter
      and bean definition com.coremedia.blueprint.base.caas.search.HeadlessSearchAutoConfiguration#facetFilterInputTypeConverter

    • com.coremedia.caas.model.adapter.RemoteServiceAdapter

    • com.coremedia.caas.model.adapter.RemoteServiceAdapterFactory

    • com.coremedia.caas.model.converter.CMGrammarRichTextToMapConverter

Further changes to the public API:

  • Headless Server:

    • The org.springframework.boot.jackson.autoconfigure.JacksonAutoConfiguration has been added to the com.coremedia.blueprint.base.headless.test.ImportHeadlessTestConfiguration. With this, the Jackson auto configurations could be removed from all tests in the blueprint that use the ImportHeadlessTestConfiguration.

    • The com.coremedia.caas.web.metadata.PropertyMappingConfig has been removed from the public API.

Changes to the blueprint workspace:

  • A new auto configuration com.coremedia.blueprint.headlessserver.CaasJacksonAutoConfiguration has been added. It contains customizations for the Jackson 3 defaults that are required for the Headless Server.

For further information see:

(CMS-28694)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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