Breaking changes for Commerce Connect 14
Breaking changes for upgrading from Optimizely Commerce Connect 13 to Commerce Connect 14.
Commerce Admin user interface replaces Commerce Manager
The Commerce Administration view is an administrative application replacing the legacy Commerce Manager administration backend system. The new user interface provides a unified and improved user experience.
The Admin view provides support for working with markets, warehouses, catalog indexing, tax configuration, shipping, and payments.
Due to the removal of Commerce Manager, ​the following tasks are now managed through the API:
- Import and export catalogs.
- Add countries and regions.
- Add currencies.
- Work with business objects.
- Work with catalog and order meta classes fields.
The Mediachase.BusinessFoundation assembly was also removed as it was mainly used to support Commerce Manager.
Configurations
Support for the various configuration files in the Configs project folder was removed. The functionality was replaced with the use of Options classes, where you can configure settings in the appSettings file or use the ConfigureServices of the Startup class to override default values for Options. This provides a unified way of configuration methods in ASP.NET Core. See Option configuration classes.
Membership Provider not supported
The support for ASP.NET Membership Provider was removed. Only ASP.NET Identity Provider is supported for Optimizely Commerce Connect. See Security and Migrating from SQL membership to ASP.NET identity.
Payments
Mediachase.Commerce.Plugins.Payment was removed because it does not support AuthorizeNet. The library is no longer supported in ASP.NET Core.
Support for payment providers PayPal, DIBS, Datacash, and gift card was removed. The CreatedCardPayment class was marked as obsolete and will be removed later. It is strongly recommended that you adopt a PCI-compliant solution for managing payments in your project.
Solr search providers not supported
Support for Mediachase.Search.Solr35SearchProvider and Mediachase.Search.SolrSearchProvider packages has been removed. As a replacement, you can use the LuceneSearchProvider or FindSearchProvider. There is in-built support for FindSearchProvider in the Optimizely DXP cloud service environments. See Search.
OleDb import parser removed
The Mediachase.MetaDataPlus.Import.Parser.OleDbIncomingDataParser has been removed, and parsing of files using OleDb connection is not supported. CSV and XML data parsers are still supported.
UserTimeZone not supported
The UserTimeZone functionality was removed from Mediachase.BusinessFoundation.Data to avoid dependency on Windows OS.
Webservice support for catalog system removed
You can no longer access the Catalog subsystem through web service calls.
Synchronous execution of events
The following changes were done:
- ReportingOrderEventListener executes the listeners synchronously.
- On MetaDataChanged events, the synchronization with the content type model repository is done synchronously.
Binary serialization not supported for ASP.NET Core types
Some ASP.NET Core built-in types are no longer binary serializable. NumberFormatInfo is one example. Since serializable Commerce Connect types like Money and Currency use NumberFormatInfo, these also become unserializable. This is considered a breaking change for solutions that rely on binary serialization of these types, meaning that probably SerializationExceptions is thrown.
Removed APIs
- Mediachase.Commerce.Engine.Template and Mediachase.Commerce.Engine.Image have been removed.
- Since HttpModules are not supported in .NET core. EPiServer.Business.Commerce.HttpModules.ProfileModule has been removed.
- The upgrading migration steps MigrateAdminsRoleStep, PopulateUserPermissionStep, and UpdateContactUserIdStep were removed, and you should upgrade your solution to Commerce version 13 before upgrading to version 14.
Upgrading support
To make upgrading easier, there is an upgrading tool available. See the Upgrade assistant article.
Updated 5 months ago