Magento 2 0.74.0-beta3

With Dev RC (0.74.0-beta1) release, we have made majority changes in Magento 2 framework, but we didn’t stop improvements and more changes is coming. The upcoming changes may affect ongoing migration and development for Magento 2, and Magento 2 team keeps everyone informed on the changes.

I want to share some updates in framework and in public interfaces, which were delivered with latest 0.74.0-beta3 publication. It will be helpful for those developers who already have started create new extensions or migrate existing extensions from Magento 1 to Magento 2.

So, there are some backward incompatible changes which you can see in Magento 2 0.74.0-beta3.


\Magento\GiftMessage\Helper\Message
\Magento\MediaStorage\Model\File\Storage\Response

In constructor was added required parameter \Magento\Framework\Stdlib\DateTime.


\Magento\GiftMessage\Helper\Message
Method isMessagesAvailable was renamed to be isMessagesAllowed.
Method getIsMessagesAvailable was removed.


Removed dependency on gridAggregator from resource models.
Signature of constructor was changed in next classes:
Magento\Sales\Model\Resource\Entity
Magento\Sales\Model\Resource\Order
Magento\Sales\Model\Resource\Order\Item
Magento\Sales\Model\Resource\Order\Address
Magento\Sales\Model\Resource\Order\Payment
Magento\Sales\Model\Resource\Order\Payment\Transaction
Magento\Sales\Model\Resource\Order\Status\History
Magento\Sales\Model\Resource\Order\Shipment
Magento\Sales\Model\Resource\Order\Shipment\Item
Magento\Sales\Model\Resource\Order\Shipment\Track
Magento\Sales\Model\Resource\Order\Shipment\Comment
Magento\Sales\Model\Resource\Order\Invoice
Magento\Sales\Model\Resource\Order\Invoice\Item
Magento\Sales\Model\Resource\Order\Invoice\Comment
Magento\Sales\Model\Resource\Order\Creditmemo
Magento\Sales\Model\Resource\Order\Creditmemo\Item
Magento\Sales\Model\Resource\Order\Creditmemo\Comment


Magento\Cms\Model\BlockRepository
Method name get was renamed to getById


Magento\Cms\Model\Resource\Block\Collection
Method name init was renamed to _renderFiltersBefore


Magento\Cms\Model\Resource\Page\Collection
Method init was renamed to _construct


Magento\Cms\Model\Resource\Page\Collection
Method addStoreFilter signature was changed


Magento\Checkout\Controller\Sidebar\UpdateItemQty
The methods have been removed:
checkQuoteItem
updateQuoteItem
normalize
getSummaryQty
getSummaryText
getSubtotalHtml


Next classes/interfaces have been removed:
Magento\Cms\Model\Resource\Block\Grid\Collection
Magento\Cms\Model\Resource\Page\Grid\Collection
Magento\Cms\Model\DataSource\BlockCollection
Magento\Cms\Model\DataSource\PageCollection
Magento\Cms\Model\Resource\BlockCriteria
Magento\Cms\Model\Resource\BlockCriteriaMapper
Magento\Cms\Model\Resource\CmsAbstractCriteria
Magento\Cms\Model\Resource\CmsCriteriaMapper
Magento\Cms\Model\Resource\PageCriteria
Magento\Cms\Model\BlockCriteriaInterface
Magento\Cms\Model\PageCriteriaInterface
Magento\Cms\Model\Resource\PageCriteriaMapper

If you have found more such changes, do not hesitate and share it in comments. I will update.

P.S. Answer on why Dev RC version is 0.74.0-XXX, is today.

Advertisements

One thought on “Magento 2 0.74.0-beta3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s