As you may be aware, 2.1 RC1 was released last week as well as 2.0.7 yesterday.

I know 2.1 implies a lot of changes.

My question is, as a developer, which are the changes I should be aware of and take into consideration ?

I'm not looking for the release notes, I would like a list of stuff that changed in the code that are considered as major changes / breaking changes.

To rephrase it: which changes should I be aware of when coming from 2.0 to 2.1 developer wise ?

有帮助吗?

解决方案

The CMS, Catalog and GiftCard modules received a major version bump because methods have been added to API interfaces:

  • Magento\Cms\Api\Data\PageInterface
  • Magento\Catalog\Api\ProductCustomOptionRepositoryInterface
  • Magento\Catalog\Api\ProductLinkRepositoryInterface
  • Magento\GiftCard\Api\Data\GiftcardAmountInterface (EE)

Source: https://maxyek.wordpress.com/2016/05/24/2-1-0-rc1-semver-and-major-version-bump/

But this does not count in breaking changes in classes/methods outside the @api service contracts.

其他提示

If you are asking about changes(developer wise), one of the major breaking changes I've found is the use of UI Components for the Category New/Edit page. Which means that if you've added a custom attribute to category, it will now need to be specified using an XML file catalog_form.xml.

Apparently, this is the way they're going. You can find more details in here. (https://github.com/magento/magento2/issues/5942)

Edit

Another thing broken in M2.1 is the configurable swatches. https://github.com/magento/magento2/issues/5691 This was working completely fine in the M2.07

许可以下: CC-BY-SA归因
scroll top