Magento 2 0.74.0-beta8 to 0.74.0-beta14 and something else

Last month I had a lot of activities and travels, including Meet-Magento DE, Meet-Magento NL and most recent China vacation travel with Meet-Magento team – Kuba, Thomas and Thomas (What a great time). Being busy and out i still struggling to keep my post to be published regularly, but i am working on my schedule πŸ™‚
While i was out some additional backward incompatible changes were made in codebase since my last post. Let’s catch up on those to help you with your Magento 2 efforts:

0.74.0-beta8

Upgraded dependency on Zend Framework 2 components from 2.3.4 to 2.4.0 versions.


0.74.0-beta9

Refactored Classes:
Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryContentInterface to Magento\Framework\Api\Data\ImageContentInterface
Magento\Catalog\Model\Product\Media\GalleryEntryContent to Magento\Framework\Api\ImageContent
Extracted Magento\Catalog\Model\Product\Gallery\ContentValidator as Magento\Framework\Api\ImageContentValidatorInterface and moved implementation to Magento\Framework\Api\ImageContentValidator
Moved all classes under Magento\Integration\Service\V1 to Magento\Integration\Api


Config file split
The app/etc/config.php has been split into two files. app/etc/config.php now contains just the list of enabled modules and app/etc/env.php contains all other setting. If you have a current installation of Magento 2 with just one app/etc/config.php, you will need either split the configuration manually, or remove the current config file and re-install with the new version.


Option names for bin/magento commands changed
Option names for commands that had an underscore ‘_’ have been changed to have dashes ‘-‘ instead. This was to conform to the naming convention for commands.
For instance “–db_name” is now “–db-name”.

Commands Moved
The following commands have been moved into the bin/magento command. You can see more details about each command by using bin/magento --help

 

Old Tool location New Command Name
dev/tools/Magento/Tools/SampleData/install.php
setup:sampledata:install
dev/shell/cron.sh
cron:run
dev/tools/performance-toolkit/generate.php
setup:performance:generate-fixtures
dev/tools/Magento/Tools/Dependency/generate/framework-dependencies.php
info:dependencies:show-framework
dev/tools/Magento/Tools/Dependency/generate/modules-circular-dependencies.php
info:dependencies:show-modules-circular
dev/tools/Magento/Tools/Dependency/generate/modules-dependencies.php
info:dependencies:show-modules
dev/tools/Magento/Tools/Layout/xmlUpdater.php
dev:xml:convert

Performance toolkit moved
The performance toolkit was moved from dev/tools/performance-toolkit to setup/performance-toolkit.


0.74.0-beta10

Removed unused method _initMessageTemplates from \Magento\Integration\Model\Oauth\Consumer\Validator\KeyLength
Replaced constructor parameter \Magento\Integration\Model\Oauth\Consumer\Validator\KeyLengthFactory $keyLengthFactory with \Magento\Integration\Model\Oauth\Consumer\Validator\KeyLength $keyLength
Removed factory class \Magento\Integration\Model\Oauth\ConsumerFactory
Removed factory class \Magento\Integration\Model\Oauth\NonceFactory
Removed factory class \Magento\Integration\Model\IntegrationFactory


0.74.0-beta11

Renamed service_data_attributes.xml to extension_attributes.xml
Renamed abstract collection from \Magento\Framework\Data\Collection\Db to \Magento\Framework\Data\Collection\AbstractDbk\Data\Collection\AbstractDb


Add new argument \Magento\Framework\View\TemplateEngine\Xhtml\CompilerInterface $compiler into __construct for \Magento\Config\Model\Config\Structure\Reader
Add new argument \Magento\Payment\Model\Method\Logger $logger into __construct for following classes:
\Magento\Payment\Model\Method\AbstractMethod
\Magento\Payment\Model\Method\Cc
\Magento\Payment\Model\Method\Free
Replace arguments for method debug from ($logData, ConfigInterface $config) to (array $debugData, array $debugReplaceKeys, $debugFlag) in \Magento\Payment\Model\Method\Logger


0.74.0-beta12

No significant backward compatible changes. If i miss something – feel free to add πŸ™‚


0.74.0-beta13

Changed return type from \Magento\Sales\Api\Data\OrderSearchResultInterface[] to \Magento\Sales\Api\Data\OrderInterface[] in the API method getList in Magento\Sales\Api\Data\OrderSearchResultInterface


Updated composer dependency to newer version


ext-xsl is added as a dependency


0.74.0-beta14

Added functionality to uninstall an extension/language/theme which was installed via composer, backup entire code base/DB/Media and rollback via CLI.


Summary

As you can see, we are minimizing backward incompatible changes as we approaching Merchant Beta release. Version name for Merchant Beta may be 1.0.0-beta, if you have better ideas – share with me.
It is good time to start porting you extensions from Magento 1 to Magento 2, if you are not doing it yet. Really, not much time left, and probably you want to have your extensions to be published in the new Magento Connect at the same date as Magento 2 v.1.0.0 will be released.
As usual – you can contribute in our Magento 2 GitHub and report issues. Do it! πŸ™‚
Soon you may see new changes in our continues delivery process for github.
Even more exciting changes are coming :)… (teaser)

Advertisements

One thought on “Magento 2 0.74.0-beta8 to 0.74.0-beta14 and something else

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 )

w

Connecting to %s