Release Notes / Version 10.2107
Table Of ContentsRemoval: Methods 'CommerceBean#getCatalog' and 'Catalog#isMasterCatalog'
Use the newly introduced utility method
AbstractCommerceBean#getCatalog(CommerceBean)
to obtain a commerce bean's catalog. The replacement for
Catalog#isMasterCatalog
is to use custom commerce bean attributes (
CommerceBean#getCustomAttributes
) instead.
(CMS-14963)
Removal: Method AbstractCatalogResource#getConnection
The method
com.coremedia.ecommerce.studio.rest.AbstractCatalogResource#getConnection
was removed. Use the commerce connection provided by the commerce entity's store context instead.
(CMS-14574)
`CommerceConnection` returns optional services wrapped in `Optional` instead of as `null`s
The
CommerceConnection
interface has been changed to no longer return optional services as
null
if they are not available, but as {{Optional}}s instead.
Follow Section, “`CommerceConnection` returns optional services wrapped in `Optional` instead of as `null`s” for upgrade information.
(CMS-14529)
Removal: PriceService
The deprecated
PriceService
interface has been removed.
Follow Section, “Removal: PriceService” for upgrade information.
(CMS-14386)
`PreviewUrlService#getExternalPageUrl` split
The interface method
PreviewUrlService#getExternalPageUrl
has been split into two separate methods,
getExternalPageSeoUrl
and
getExternalPageNonSeoUrl
. The former is required to be implemented in custom commerce adapters, the latter is optional.
(CMS-14338)
Removal: StoreContextBuilderImpl#from(String)
Deprecated method
StoreContextBuilderImpl#from(String)
has been removed.
Follow Section, “Removal: StoreContextBuilderImpl#from(String)” for upgrade information.
(CMS-14195)
Replaced Betamax with Hoverfly in LC-ECommerce Rest Tests
Get ready for Java 11. Get rid of Betamax and its transitive deprecated Jetty dependency
Follow Section, “Replaced Betamax with Hoverfly in LC-ECommerce Rest Tests” for upgrade information.
(CMS-13860)
`StoreContext#getConnection()` added
StoreContext#getConnection()
has been introduced to make the commerce connection available via the store context.
Follow Section, “`StoreContext#getConnection()` added” for upgrade information.
(CMS-10394)