From 38046cd60e39c72086448490a37bc7960eccd40f Mon Sep 17 00:00:00 2001 From: DavidLamabuer Date: Thu, 2 Feb 2017 07:15:41 +0100 Subject: [PATCH 001/301] Updated Directory Names and added XML File Names I just updated the Directory Name, so they are now correct. Sql for example is not valid. In addition to that, I also added more XML File Names (I think I couldn't grab all yet). There were also a Scope Type missing unter the /etc Subdirectories. --- .../components/modules/mod_anatomy.md | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/guides/v2.0/architecture/archi_perspectives/components/modules/mod_anatomy.md b/guides/v2.0/architecture/archi_perspectives/components/modules/mod_anatomy.md index b422897d9ea..f7c121deabb 100644 --- a/guides/v2.0/architecture/archi_perspectives/components/modules/mod_anatomy.md +++ b/guides/v2.0/architecture/archi_perspectives/components/modules/mod_anatomy.md @@ -20,23 +20,23 @@ Module structure is defined by both module code components and logical structure All types of modules contain the following core elements, categorized by directory: -* `/block` +* `/Block` -* `/controllers` +* `/Controller` * `/etc` -* `/helper` +* `/Helper` -* `/model` +* `/Model` -* `/sql` +* `/Setup` ### Block Blocks help provide the data used in the View component of the module structure. Blocks coordinate models with the template files. The files in this folder load the data from database and transfer it to the templates in your theme (`PHTML` files). -### Controllers +### Controller Controllers represent all business logic actions for the given request. These actions include `dispatch()`, `preDispatch()`, `postDispatch()` methods and delegate commands to other parts of the system. Controllers correspond to the Controller portion of the Model-View-Controller model. @@ -58,7 +58,23 @@ Magento 2.x looks for configuration information for each module in that module's * webapi.xml -Configuration files that are in the top level of that module's `/etc` directory are global to that component. Configuration files placed in subdirectories (`adminhtml`, `frontend`, `webapi_rest`, `webapi_soap`) apply only to those respective functional areas. +* system.xml + +* adminhtml.xml + +* events.xml + +* page_types.xml + +* routes.xml + +* sections.xml + +* email_templates.xml + +* fieldset.xml + +Configuration files that are in the top level of that module's `/etc` directory are global to that component. Configuration files placed in subdirectories (`adminhtml`, `frontend`, `webapi_rest`, `webapi_soap`, `crontab`) apply only to those respective functional areas. The specific set of configuration files that your module requires depends on the module's purpose and the Magento area in which it functions. @@ -77,7 +93,7 @@ In a typical Model-View-Controller-based application, models are used to connect A Magento model object contains a reference to a resource model, which it uses to load its data. There's an individual resource model object for each model object. For example, a Product Model has a Product resource model. -### sql +### Setup Structures in this directory handle any custom database tables that are used by the module and process all upgrades to the extension. ## Related topics {#arch-modules-related} From 58e547c16dc7b58ff9c49f2e55aefa90cab825db Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Feb 2017 10:18:26 -0600 Subject: [PATCH 002/301] added basic file for scope check --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 74 ++++++++++++++++++ .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 75 +++++++++++++++++++ 2 files changed, 149 insertions(+) create mode 100644 guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md create mode 100644 guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md new file mode 100644 index 00000000000..1071cdb802d --- /dev/null +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -0,0 +1,74 @@ +--- +layout: default +group: release-notes +subgroup: 02_rel-notes +title: Magento CE 2.1.6 Release Notes +menu_title: Magento CE 2.1.6 Release Notes +menu_order: 164 +level3_menu_node: level3child +level3_subgroup: ce21-relnotes +github_link: release-notes/ReleaseNotes2.1.6CE.md +--- + +* TOC +{:toc} + + +We are pleased to present Magento Community Edition 2.1.6. This release includes multiple security enhancements. + +This release includes important enhancements to the security of your Magento software. While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. + +Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? + + +## Highlights + +Magento 2.1.6 contains 15 security enhancements. Look for the following highlights in this release: + +* **Removal of vulnerability with the Zend framework `Zend_Mail` library**. For more information, see New Zend Framework 1 Security Vulnerability. + + + +## Security enhancements + +* +* +* +* +* +* +* +* +* +* +* +* +* +* +* +* + + + + + + + + +## System requirements +Our technology stack is built on PHP and MySQL. For more information, see +System Requirements. + + +{% include install/releasenotes/ce_install_21.md %} + + + +## Migration toolkits +The Data Migration Tool helps transfer existing Magento 1.x store data to Magento 2.x. This command-line interface includes verification, progress tracking, logging, and testing functions. For installation instructions, see Install the Data Migration Tool. Consider exploring or contributing to the Magento Data Migration repository. + +The Code Migration Toolkit helps transfer existing Magento 1.x store extensions and customizations to Magento 2.0.x. The command-line interface includes scripts for converting Magento 1.x modules and layouts. + +## Credits +Dear community members, thank you for your suggestions and bug reports. + diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md new file mode 100644 index 00000000000..a6a6220c00b --- /dev/null +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -0,0 +1,75 @@ +--- +layout: default +group: release-notes +subgroup: 02_rel-notes +title: Magento EE 2.1.6 Release Notes +menu_title: Magento EE 2.1.6 Release Notes +menu_order: 265 +level3_menu_node: level3child +level3_subgroup: ee21-relnotes +github_link: release-notes/ReleaseNotes2.1.6EE.md +--- + +* TOC +{:toc} + +We are pleased to present Magento Enterprise Edition 2.1.6. This release includes multiple security enhancements. + + +This release includes important enhancements to the security of your Magento software. While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. + +Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? + + +## Highlights + +Magento 2.1.6 contains 15 security enhancements. Look for the following highlights in this release: + +* **Removal of vulnerability with the Zend framework `Zend_Mail` library**. For more information, see New Zend Framework 1 Security Vulnerability. + + + +## Security enhancements + +* +* +* +* +* +* +* +* +* +* +* +* +* +* +* +* + + + + + + +## System requirements +Our technology stack is built on PHP and MySQL. For more information, see +System Requirements. + + + + +{% include install/releasenotes/ee_install_21.md %} + + + +## Migration toolkits +The Data Migration Tool helps transfer existing Magento 1.x store data to Magento 2.x. This command-line interface includes verification, progress tracking, logging, and testing functions. For installation instructions, see Install the Data Migration Tool. Consider exploring or contributing to the Magento Data Migration repository. + +The Code Migration Toolkit helps transfer existing Magento 1.x store extensions and customizations to Magento 2.0.x. The command-line interface includes scripts for converting Magento 1.x modules and layouts. + +## Credits +Dear community members, thank you for your suggestions and bug reports. + + From 5866b3c6362251d3e63e90b3ade8b90b8d0b96cf Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Feb 2017 11:47:56 -0600 Subject: [PATCH 003/301] added basic file for scope check --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 23 ++++++++++++------- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 23 ++++++++++++------- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 1071cdb802d..cc1b844cc4e 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -32,20 +32,27 @@ Magento 2.1.6 contains 15 security enhancements. Look for the following highligh ## Security enhancements * -* -* -* +* We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) + +* You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. + +* The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users * -* -* +* Admin users without proper permissions can no longer delete store backups or system support reports. + +* Customer-authenticated APIs are no longer vulnerable to CSRF. + * * * * * -* -* -* +* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. + +* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. + +* Action logs no longer display plain-text passwords. + * diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index a6a6220c00b..6c01a98a48b 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -32,20 +32,27 @@ Magento 2.1.6 contains 15 security enhancements. Look for the following highligh ## Security enhancements * -* -* -* +* We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) + +* You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. + +* The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users * -* -* +* Admin users without proper permissions can no longer delete store backups or system support reports. + +* Customer-authenticated APIs are no longer vulnerable to CSRF. + * * * * * -* -* -* +* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. + +* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. + +* Action logs no longer display plain-text passwords. + * From ab9cc5331e8e971ccf03852702abcec31f482fba Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Feb 2017 11:54:02 -0600 Subject: [PATCH 004/301] edited intro --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 9 +++++++-- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 6 ++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index cc1b844cc4e..9ee052289ec 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -14,9 +14,14 @@ github_link: release-notes/ReleaseNotes2.1.6CE.md {:toc} -We are pleased to present Magento Community Edition 2.1.6. This release includes multiple security enhancements. +We are pleased to present Magento Community Edition 2.1.6. This release includes important enhancements to the security of your Magento software. + + +
+While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. +
+ -This release includes important enhancements to the security of your Magento software. While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 6c01a98a48b..04574e31987 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -13,10 +13,12 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md * TOC {:toc} -We are pleased to present Magento Enterprise Edition 2.1.6. This release includes multiple security enhancements. +We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important enhancements to the security of your Magento software. -This release includes important enhancements to the security of your Magento software. While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. +
+While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. +
Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? From 5ca5081c596c34ff4a57c0864794ff075eb222e7 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Feb 2017 13:50:11 -0600 Subject: [PATCH 005/301] edited intro --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 28 +++++++++++-------- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 26 +++++++++++------ 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 9ee052289ec..f518c6ac131 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -36,31 +36,37 @@ Magento 2.1.6 contains 15 security enhancements. Look for the following highligh ## Security enhancements -* + + * We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) * You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. * The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users -* + + + * Admin users without proper permissions can no longer delete store backups or system support reports. * Customer-authenticated APIs are no longer vulnerable to CSRF. -* -* -* -* -* -* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. + -* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. + -* Action logs no longer display plain-text passwords. + -* + + + +* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. + +* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. + +* Action logs no longer display plain-text passwords. + diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 04574e31987..8ebe6bce2b8 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -33,29 +33,37 @@ Magento 2.1.6 contains 15 security enhancements. Look for the following highligh ## Security enhancements -* + + * We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) * You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. * The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users -* + + + * Admin users without proper permissions can no longer delete store backups or system support reports. * Customer-authenticated APIs are no longer vulnerable to CSRF. -* -* -* -* -* + + + + + + + + + + * Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. -* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. +* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. * Action logs no longer display plain-text passwords. -* + From 4065dc0204916c121db49bd50424a90057af4069 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 8 Mar 2017 13:18:34 -0600 Subject: [PATCH 006/301] sanity check --- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 80 +++++++++++++------ 1 file changed, 57 insertions(+), 23 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 8ebe6bce2b8..6630f1a0be7 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -13,61 +13,95 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md * TOC {:toc} -We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important enhancements to the security of your Magento software. +We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento software. -
-While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. -
+Improved the performance of configurable products -Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? +Magento Performance team introduced bunch of optimizations to configurable product called to support large number of options with minimal impact on response time for both side of store: storefront and admin. Meanwhile when using configurable [big configurable] products together with Swatches module merchants report significant performance drop. Each option data is read and processed separately, moreover data processing duplication takes place. Goal of this story is to make configurable products pages responsiveness with swatches close to responsiveness without swatches. + + + + +performance enhancements: + +configurable products loading — removed redundancies + +enhance performance of swatch behavior, and added an option to turn off swatches for a category + + + + +Looking for the Magento Enterprise Cloud Edition Release Notes? ## Highlights Magento 2.1.6 contains 15 security enhancements. Look for the following highlights in this release: -* **Removal of vulnerability with the Zend framework `Zend_Mail` library**. For more information, see New Zend Framework 1 Security Vulnerability. -## Security enhancements +## Functional enhancements + + + + + + + + + + + + + + + + +* + + OMIT + + + + + + - +OMIT -* We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) + -* You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. + -* The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users - + OMIT -* Admin users without proper permissions can no longer delete store backups or system support reports. -* Customer-authenticated APIs are no longer vulnerable to CSRF. + - + - - + - - + -* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. + -* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. + -* Action logs no longer display plain-text passwords. - + + + + ## System requirements From 3d63dc2b6bfdb43cbaf2f56d75e6b4bfc4eacc99 Mon Sep 17 00:00:00 2001 From: Michele Fantetti Date: Mon, 13 Mar 2017 12:47:07 +0100 Subject: [PATCH 007/301] Update tshoot_opcache.md Replaced opcache.save-comments with opcache.save_comments (the right configuration term) --- guides/v2.0/install-gde/trouble/php/tshoot_opcache.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md b/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md index 1fce3fab315..4848505052f 100644 --- a/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md +++ b/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md @@ -19,10 +19,10 @@ In Magento 2.1 or later, when creating a new product in the Magento Admin, the f ### Detail Magento 2.1 and later use PHP code comments in the `getDocComment` validation call in the [`getExtensionAttributes`]({{ site.mage2100url }}lib/internal/Magento/Framework/Api/ExtensionAttributesFactory.php#L64-L73){:target="_blank"} method in `Magento\Framework\Api\ExtensionAttributesFactory.php`. -If you enabled the PHP OPcache (which we recommend), this error displays because by default, the OPcache setting [`opcache.save-comments`](http://php.net/manual/en/opcache.configuration.php#ini.opcache.save-comments){:target="_blank"} is disabled. +If you enabled the PHP OPcache (which we recommend), this error displays because by default, the OPcache setting [`opcache.save_comments`](http://php.net/manual/en/opcache.configuration.php#ini.opcache.save_comments){:target="_blank"} is disabled. ### Workaround -To solve the issue, locate your OPcache configuration settings and enable `opcache.save-comments` as follows: +To solve the issue, locate your OPcache configuration settings and enable `opcache.save_comments` as follows: #### Step 1: Locate your OPcache configuration {% collapsible To find OPcache configuration settings: %} @@ -47,9 +47,9 @@ If you have more than one `opcache.ini`, modify all of them. {% endcollapsible %} -#### Step 2: Enable `opcache.save-comments` +#### Step 2: Enable `opcache.save_comments` 1. Open your OPcache configuration file in a text editor. -2. Locate `opcache.save-comments` and uncomment it if necessary. +2. Locate `opcache.save_comments` and uncomment it if necessary. 3. Make sure its value is set to `1`. 4. Save your changes and exit the text editor. 5. Restart your web server: From 487721b3bf29394875edf08f208a5f1b3166f85b Mon Sep 17 00:00:00 2001 From: Michele Fantetti Date: Tue, 14 Mar 2017 10:00:23 +0100 Subject: [PATCH 008/301] Update tshoot_opcache.md It is important to regenarate DI files (ExtensionAttributesFactory.php) --- guides/v2.0/install-gde/trouble/php/tshoot_opcache.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md b/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md index 4848505052f..30005489a9a 100644 --- a/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md +++ b/guides/v2.0/install-gde/trouble/php/tshoot_opcache.md @@ -58,3 +58,6 @@ If you have more than one `opcache.ini`, modify all of them. * Apache, CentOS: `service httpd restart` * nginx, Ubuntu and CentOS: `service nginx restart` +6. Regenerate DI configuration and all missing classes that can be auto-generated: + + * `php bin/magento setup:di:compile` From 59eed4ae9fdc2cab566e4632a20a7b9c05ccd27e Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 14 Mar 2017 11:31:23 -0500 Subject: [PATCH 009/301] first review draft --- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 93 +++++++++++++------ 1 file changed, 63 insertions(+), 30 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 6630f1a0be7..dc69e8a89ab 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -13,86 +13,113 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md * TOC {:toc} -We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento software. +We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. +Looking for the Magento Enterprise Cloud Edition Release Notes? -Improved the performance of configurable products -Magento Performance team introduced bunch of optimizations to configurable product called to support large number of options with minimal impact on response time for both side of store: storefront and admin. Meanwhile when using configurable [big configurable] products together with Swatches module merchants report significant performance drop. Each option data is read and processed separately, moreover data processing duplication takes place. Goal of this story is to make configurable products pages responsiveness with swatches close to responsiveness without swatches. +## Highlights +Magento 2.1.6 contains over 15 significant performance enhancements when compared to 2.1.5. Look for the following highlights in this release: + * **Improved performance of the category page** + * loading configurable products from the database is now up to 5x faster -performance enhancements: + * price calculations is now up to 3-5% faster -configurable products loading — removed redundancies + * stock validation is now up to 20% faster -enhance performance of swatch behavior, and added an option to turn off swatches for a category +* **Optimized image resizing** + * image resize operations performed from the Command Line Interface (CLI) now generate full size images + * image resize operations from the Admin is fixed as well -Looking for the Magento Enterprise Cloud Edition Release Notes? + * IO activity and number of images requested is now up to 30% faster + * caching of image metadata is up to 50% faster, depending upon store size + + +* **Improved performance of layered navigation** + + * layered navigation is now up to 3% faster due to the caching of attribute options + + +* **Minimization of indexing operations after product import** -## Highlights -Magento 2.1.6 contains 15 security enhancements. Look for the following highlights in this release: ## Functional enhancements - +### Catalog - + Magento no longer permits JOIN operations to lock rows in the SQL `cataloginventory_stock_item` table during checkout. Previously, Magento permitted this type of operation to maintain the consistency of inventory information during checkout. However, under these conditions, you received this error: - +`General error: 1205 Lock wait timeout exceeded; try restarting transaction` - - +* The Magento image resize mechanism no longer generates images of all sizes upon user request. Instead, Magento generates and saves all image sizes after you save a product. Previously, some product images were re-sized on the fly during a request, which degraded performance. - +### Configurable products -* + The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state). - OMIT - - + Index optimizations have improved the speed of configurable product price calculation. - -OMIT + The speed of configurable product special price calculation and rendering on the Category page has improved. Magento now renders the regular price for a configurable product on the Product page, but not for the list of products on the Category page. Previously, Magento rendered the regular price in both locations, which affected performance. - - +### Indexers - OMIT + Magento now runs a full reindex after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. - - +### Import + Magento now displays imported product images in this order: first, the base image, then the additional images in the order in which they were listed in the CSV file. Previously, Magento displayed images in this unexpected order: first, an additional image, then the base image, and finally, all remaining additional images. - - +### Miscellaneous - + Magento now caches attribute options for the layered navigation feature, which reduces the number of queries to the database, and consequently improves performance. + + + Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`). + + + Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. - + Magento no longer performs unnecessary staging-related flag operations on the Category page. Previously, Magento performed staging-related flag operations even when the Staging module was not used. + + + + + +### Swatches + + Magento no longer creates redundant objects when initializing a configurable product on the Category page. + + + You can now disable swatches for both the Catalog page and search results (quick or advanced). To disable swatches from these requests, disable **Stores > Configuration > Catalog > Storefront > Show Swatches in Product List**. + + The logic that Magento uses to validate swatch attributes has been optimized. + + Magento now caches swatch data in block cache, which improves the responsiveness of the configurable product pages. @@ -103,6 +130,12 @@ Magento 2.1.6 contains 15 security enhancements. Look for the following highligh + + + + + + ## System requirements Our technology stack is built on PHP and MySQL. For more information, see From c98be767870df85ee9e28de38b89d334efacffc0 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 14 Mar 2017 13:00:12 -0500 Subject: [PATCH 010/301] fixed formatting issues --- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index dc69e8a89ab..fcb488012c4 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -22,7 +22,7 @@ Looking for the Date: Wed, 15 Mar 2017 07:57:15 -0500 Subject: [PATCH 013/301] added Anton's first round of comments --- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index fe5e1814424..3b593bca2f0 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -35,11 +35,11 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * **Optimized image resizing** - * image resize operations performed from the Command Line Interface (CLI) now generate full size images + * image resize operations performed from the Command Line Interface (CLI) now generate images of all sizes * image resize operations from the Admin is fixed as well - * IO activity and number of images requested is now up to 30% faster + * significant decrease in the number of file system operations when processing images on frontend * caching of image metadata is up to 50% faster, depending upon store size @@ -61,12 +61,10 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Catalog -* Magento no longer permits JOIN operations to lock rows in the SQL `cataloginventory_stock_item` table during checkout. Previously, Magento permitted this type of operation to maintain the consistency of inventory information during checkout. However, under these conditions, you received this error: +* Magento no longer locks the `cataloginventory_stock_item` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `cataloginventory_stock_item` and `category_product_entity` tables. (The second table is not required for checking stock information.) - `General error: 1205 Lock wait timeout exceeded; try restarting transaction` - -* The Magento image resize mechanism no longer generates images of all sizes upon user request. Instead, Magento generates and saves all image sizes after you save a product. Previously, some product images were re-sized on the fly during a request, which degraded performance. +* The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. @@ -75,17 +73,18 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state). +* Query optimizations have improved the speed of configurable product price calculation. -* Index optimizations have improved the speed of configurable product price calculation. -* The speed of configurable product special price calculation and rendering on the Category page has improved. Magento now renders the regular price for a configurable product on the Product page, but not for the list of products on the Category page. Previously, Magento rendered the regular price in both locations, which affected performance. +* Magento no longer calculates configurable product special prices on the Category page. Previously, Magento calculated special prices on the Category page, but did not display them. ### Indexers -* Magento now runs a full reindex after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. +* Magento now runs a selective partial re-indexing operation after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. + From a5667b3683898edd87d0119f9d2905ffa77b087a Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Mar 2017 08:14:37 -0500 Subject: [PATCH 014/301] created CE version --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 112 ++++++++++++++---- 1 file changed, 87 insertions(+), 25 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index f518c6ac131..7945c595729 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -14,61 +14,123 @@ github_link: release-notes/ReleaseNotes2.1.6CE.md {:toc} -We are pleased to present Magento Community Edition 2.1.6. This release includes important enhancements to the security of your Magento software. +We are pleased to present Magento Community Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. +Looking for the Magento Enterprise Cloud Edition Release Notes? -
-While there are no confirmed attacks related to these vulnerabilities to date, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. We recommend that you upgrade your existing Magento software to the latest version as soon as possible. -
+## Highlights +Magento 2.1.6 contains over 15 significant performance enhancements when compared to 2.1.5. Look for the following highlights in this release: -Looking for the Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes? + +* **Improved performance of the Category page** + + * loading configurable products from the database is now up to 5x faster + + * price calculations is now up to 3-5% faster + + * stock validation is now up to 20% faster + + + +* **Optimized image resizing** + + * image resize operations performed from the Command Line Interface (CLI) now generate images of all sizes + + * image resize operations from the Admin is fixed as well + + * significant decrease in the number of file system operations when processing images on frontend + + * caching of image metadata is up to 50% faster, depending upon store size + + +* **Improved performance of layered navigation** + + * layered navigation is now up to 3% faster due to the caching of attribute options + + +* **Minimization of indexing operations after product import** + + + + + + +## Functional enhancements + +### Catalog + + +* Magento no longer locks the `cataloginventory_stock_item` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `cataloginventory_stock_item` and `category_product_entity` tables. (The second table is not required for checking stock information.) + + +* The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. + + + +### Configurable products + +* The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state). + + + +* Magento no longer calculates configurable product special prices on the Category page. Previously, Magento calculated special prices on the Category page, but did not display them. + + + +### Indexers + +* Magento now runs a selective partial re-indexing operation after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. + + + + +### Import + +* Magento now displays imported product images in this order: first, the base image, then the additional images in the order in which they were listed in the CSV file. Previously, Magento displayed images in this unexpected order: first, an additional image, then the base image, and finally, all remaining additional images. -## Highlights -Magento 2.1.6 contains 15 security enhancements. Look for the following highlights in this release: +### Miscellaneous -* **Removal of vulnerability with the Zend framework `Zend_Mail` library**. For more information, see New Zend Framework 1 Security Vulnerability. +* Magento now caches attribute options for the layered navigation feature, which reduces the number of queries to the database, and consequently improves performance. +* Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`). -## Security enhancements - +* Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. -* We’ve updated several vulnerable moment.js libraries (query-migrate, query, jquery-ui-1.9.2.js) -* You can no longer instantiate an arbitrary object while adding conditions to an email reminder rule. -* The Admin URL in the response body of an HTTP request is no longer visible to unauthenticated users - -* Admin users without proper permissions can no longer delete store backups or system support reports. +### Swatches -* Customer-authenticated APIs are no longer vulnerable to CSRF. +* Magento no longer creates redundant objects when initializing a configurable product on the Category page. - - +* You can now disable swatches for both the Catalog page and search results (quick or advanced). To disable swatches from these requests, disable **Stores > Configuration > Catalog > Storefront > Show Swatches in Product List**. - +* The logic that Magento uses to validate swatch attributes has been optimized. - +* Magento now caches swatch data in block cache, which improves the responsiveness of the configurable product pages. - -* Magento now displays a 404 page when you try to route a request to index.phpadmin. Previously, Magento displayed an Admin page. -* We’ve removed the PHP serialized object from the JSON report_data component from the \Magento\Support\Ui\Component\Listing\Column\ReportActions response. -* Action logs no longer display plain-text passwords. + + - + + + + + + From d9108b46521d2b93b69094724acc130ac4596472 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 15 Mar 2017 10:14:37 -0500 Subject: [PATCH 015/301] changed table name for Catalog note per Anton --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 7945c595729..1c6bfc20cd1 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -62,7 +62,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Catalog -* Magento no longer locks the `cataloginventory_stock_item` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `cataloginventory_stock_item` and `category_product_entity` tables. (The second table is not required for checking stock information.) +* Magento no longer locks the `category_product_entity` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `category_product_entity` table. (The second table is not required for checking stock information.) * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 3b593bca2f0..7e5f58bf51b 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -61,7 +61,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Catalog -* Magento no longer locks the `cataloginventory_stock_item` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `cataloginventory_stock_item` and `category_product_entity` tables. (The second table is not required for checking stock information.) +* Magento no longer locks the `category_product_entity` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `category_product_entity` table. (The second table is not required for checking stock information.) * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. From 119a9ad469f47755cafc0a66cf1321b93935a766 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Fri, 17 Mar 2017 09:00:52 -0500 Subject: [PATCH 016/301] entered stevej's comments --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 18 +++++++++--------- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 1c6bfc20cd1..7c08fcfd905 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -28,7 +28,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * loading configurable products from the database is now up to 5x faster - * price calculations is now up to 3-5% faster + * price calculations are now up to 3-5% faster * stock validation is now up to 20% faster @@ -36,9 +36,9 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * **Optimized image resizing** - * image resize operations performed from the Command Line Interface (CLI) now generate images of all sizes + * image resize operations performed from the command line interface now generate images of all sizes. See [`magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. - * image resize operations from the Admin is fixed as well + * image resize operations from the Admin have been fixed * significant decrease in the number of file system operations when processing images on frontend @@ -50,7 +50,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * layered navigation is now up to 3% faster due to the caching of attribute options -* **Minimization of indexing operations after product import** +* **Minimized indexing operations after product import** @@ -62,7 +62,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Catalog -* Magento no longer locks the `category_product_entity` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `category_product_entity` table. (The second table is not required for checking stock information.) +* Magento no longer locks the `category_product_entity` table. Unlocking this table will reduce lock-related timeouts when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. @@ -71,17 +71,17 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Configurable products -* The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state). +* The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state)). -* Magento no longer calculates configurable product special prices on the Category page. Previously, Magento calculated special prices on the Category page, but did not display them. +* Magento no longer calculates configurable product special prices on the category page. Previously, Magento calculated special prices on the category page, but did not display them. ### Indexers -* Magento now runs a selective partial re-indexing operation after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. +* Magento now runs a selective partial re-indexing operation after import if you enabled **Update on Schedule**. Previously, Magento ran a full reindex no matter which index mode was set. @@ -115,7 +115,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The logic that Magento uses to validate swatch attributes has been optimized. -* Magento now caches swatch data in block cache, which improves the responsiveness of the configurable product pages. +* Magento now caches swatch data in the block cache, which improves the responsiveness of the configurable product pages. diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 7e5f58bf51b..e77ad3dd117 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -27,7 +27,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * loading configurable products from the database is now up to 5x faster - * price calculations is now up to 3-5% faster + * price calculations are now up to 3-5% faster * stock validation is now up to 20% faster @@ -35,9 +35,9 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * **Optimized image resizing** - * image resize operations performed from the Command Line Interface (CLI) now generate images of all sizes + * image resize operations performed from the command line interface now generate images of all sizes. See [`magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. - * image resize operations from the Admin is fixed as well + * image resize operations from the Admin have been fixed * significant decrease in the number of file system operations when processing images on frontend @@ -49,7 +49,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * layered navigation is now up to 3% faster due to the caching of attribute options -* **Minimization of indexing operations after product import** +* **Minimized indexing operations after product import** @@ -61,7 +61,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Catalog -* Magento no longer locks the `category_product_entity` table, which will reduce lock-related timeouts when indexing and checkout operations are running in parallel. Previously, Magento locked the `category_product_entity` table. (The second table is not required for checking stock information.) +* Magento no longer locks the `category_product_entity` table. Unlocking this table will reduce lock-related timeouts when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. @@ -70,20 +70,20 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare ### Configurable products -* The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state). +* The check that Magento runs to confirm a configurable product's readiness for sale is now faster. (The `isSalable` method checks that a configurable product can be sold (that is, is in a saleable state)). * Query optimizations have improved the speed of configurable product price calculation. -* Magento no longer calculates configurable product special prices on the Category page. Previously, Magento calculated special prices on the Category page, but did not display them. +* Magento no longer calculates configurable product special prices on the category page. Previously, Magento calculated special prices on the category page, but did not display them. ### Indexers -* Magento now runs a selective partial re-indexing operation after import if you've set **Update on Schedule** to on. Previously, Magento ran a full reindex no matter which index mode was set. +* Magento now runs a selective partial re-indexing operation after import if you enable **Update on Schedule**. Previously, Magento ran a full reindex no matter which index mode was set. @@ -120,7 +120,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The logic that Magento uses to validate swatch attributes has been optimized. -* Magento now caches swatch data in block cache, which improves the responsiveness of the configurable product pages. +* Magento now caches swatch data in the block cache, which improves the responsiveness of the configurable product pages. From 4105585ce327ea51ad18442ef829cb752b202a7c Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Fri, 17 Mar 2017 09:23:23 -0500 Subject: [PATCH 017/301] fixed formatting glitch --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 7c08fcfd905..c9c64f9d49e 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -36,7 +36,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * **Optimized image resizing** - * image resize operations performed from the command line interface now generate images of all sizes. See [`magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. + * image resize operations performed from the command line interface now generate images of all sizes. See [magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. * image resize operations from the Admin have been fixed diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index e77ad3dd117..5764a373326 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -35,7 +35,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * **Optimized image resizing** - * image resize operations performed from the command line interface now generate images of all sizes. See [`magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. + * image resize operations performed from the command line interface now generate images of all sizes. See [magento catalog:images:resize]({{ page.baseurl }}frontend-dev-guide/themes/theme-images.html) for more information. * image resize operations from the Admin have been fixed From e6cf7bce5bf0b30d565ec3de7d0ca80da78eb98e Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 20 Mar 2017 11:49:49 -0500 Subject: [PATCH 018/301] added preliminary notes for 66346 and 63343 --- guides/v2.1/release-notes/ReleaseNotes2.1.3EE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 7 +++++++ guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.3EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.3EE.md index 3ed98cb92e2..a9631d1d565 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.3EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.3EE.md @@ -208,7 +208,7 @@ We've enhanced the performance of configurable products in several ways: * Magento now successfully saves images that you edit in a WYSIWYG editor. Previously, when you tried to change an image by right-clicking it in a WYSIWYG editor and choosing Insert/Edit Image, Magento did not save your changes. * You can now preview uploaded images. - + * You can now set an image size for product watermarks. (GITHUB-5270) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index c9c64f9d49e..47552b4d18d 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -68,6 +68,11 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. +* The `\Magento\CatalogInventory\Model\Stock\Status::getStockId()` method now returns the website ID instead of the stock ID, as expected. + +* The `\Magento\CatalogWidget\Model\Rule` calss now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. + + ### Configurable products @@ -122,6 +127,8 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare + + diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 5764a373326..bb29d75266e 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -66,6 +66,10 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. +* The `\Magento\CatalogInventory\Model\Stock\Status::getStockId()` method now returns the website ID instead of the stock ID, as expected. + +* The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. + ### Configurable products @@ -128,6 +132,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare + From 2d918fdbd2d637b300590fba6f452390abdbfc94 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 21 Mar 2017 08:46:40 -0500 Subject: [PATCH 019/301] added fixed link to Cloud notes --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 9 ++++++--- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 47552b4d18d..9724cc5feb1 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -16,7 +16,7 @@ github_link: release-notes/ReleaseNotes2.1.6CE.md We are pleased to present Magento Community Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. -Looking for the Magento Enterprise Cloud Edition Release Notes? +Looking for the Magento Enterprise Cloud Edition Release Notes? ## Highlights @@ -57,7 +57,10 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare -## Functional enhancements +## Functional fixes and enhancements + +We address the following functional fixes and enhancements in this release. + ### Catalog @@ -70,7 +73,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * The `\Magento\CatalogInventory\Model\Stock\Status::getStockId()` method now returns the website ID instead of the stock ID, as expected. -* The `\Magento\CatalogWidget\Model\Rule` calss now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. +* The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index bb29d75266e..dbd29108720 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -15,7 +15,7 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. -Looking for the Magento Enterprise Cloud Edition Release Notes? +Looking for the Magento Enterprise Cloud Edition Release Notes? ## Highlights @@ -56,7 +56,10 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare -## Functional enhancements +## Functional fixes and enhancements + +We address the following functional fixes and enhancements in this release. + ### Catalog From e201608974420aba76469468b294c43f0237ad42 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 21 Mar 2017 09:05:02 -0500 Subject: [PATCH 020/301] fixed nav issues --- _includes/install/releasenotes/21_release-notes-links.md | 4 +++- guides/v2.1/release-notes/ReleaseNotes2.1.5EE.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_includes/install/releasenotes/21_release-notes-links.md b/_includes/install/releasenotes/21_release-notes-links.md index 20d6883354b..7374f860584 100644 --- a/_includes/install/releasenotes/21_release-notes-links.md +++ b/_includes/install/releasenotes/21_release-notes-links.md @@ -1,6 +1,7 @@
-{% collapsibleh2 Magento CE 2.1 Release Notes %} +{% collapsibleh2 Magento CE 2.1 Release Notes %} + * [Version 2.1.6]({{page.baseurl}}release-notes/ReleaseNotes2.1.6CE.html){:target="_blank"} * [Version 2.1.5]({{page.baseurl}}release-notes/ReleaseNotes2.1.5CE.html){:target="_blank"} * [Version 2.1.4]({{page.baseurl}}release-notes/ReleaseNotes2.1.4CE.html){:target="_blank"} * [Version 2.1.3]({{page.baseurl}}release-notes/ReleaseNotes2.1.3CE.html){:target="_blank"} @@ -11,6 +12,7 @@ {% endcollapsibleh2 %} {% collapsibleh2 Magento EE 2.1 Release Notes %} +* [Version 2.1.6]({{page.baseurl}}release-notes/ReleaseNotes2.1.6EE.html){:target="_blank"} * [Version 2.1.5]({{page.baseurl}}release-notes/ReleaseNotes2.1.5EE.html){:target="_blank"} * [Version 2.1.4]({{page.baseurl}}release-notes/ReleaseNotes2.1.4EE.html){:target="_blank"} * [Version 2.1.3]({{page.baseurl}}release-notes/ReleaseNotes2.1.3EE.html){:target="_blank"} diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.5EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.5EE.md index 040534fd5d4..d1f591274f7 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.5EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.5EE.md @@ -4,7 +4,7 @@ group: release-notes subgroup: 02_rel-notes title: Magento EE 2.1.5 Release Notes menu_title: Magento EE 2.1.5 Release Notes -menu_order: 265 +menu_order: 264 level3_menu_node: level3child level3_subgroup: ee21-relnotes version: 2.1 From 5b1fa4d522bbf6f30ffad43ed979103ae015bd45 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 21 Mar 2017 09:12:11 -0500 Subject: [PATCH 021/301] fixed nav issues --- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index dbd29108720..dd5a9b9f775 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -4,7 +4,7 @@ group: release-notes subgroup: 02_rel-notes title: Magento EE 2.1.6 Release Notes menu_title: Magento EE 2.1.6 Release Notes -menu_order: 265 +menu_order: 267 level3_menu_node: level3child level3_subgroup: ee21-relnotes github_link: release-notes/ReleaseNotes2.1.6EE.md From d5df95dae57aff006512e41ef495a24f0750e2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Rodr=C3=ADguez?= Date: Wed, 22 Mar 2017 11:35:54 +0100 Subject: [PATCH 022/301] Update widget_accordion.md --- guides/v2.0/javascript-dev-guide/widgets/widget_accordion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/javascript-dev-guide/widgets/widget_accordion.md b/guides/v2.0/javascript-dev-guide/widgets/widget_accordion.md index 9e2e504ec30..f8b63bdebcf 100644 --- a/guides/v2.0/javascript-dev-guide/widgets/widget_accordion.md +++ b/guides/v2.0/javascript-dev-guide/widgets/widget_accordion.md @@ -88,7 +88,7 @@ Mark-up examples: From f27d6ad2d70727b17e2e2f9fac589aee23bf0673 Mon Sep 17 00:00:00 2001 From: bassplayer7 Date: Sat, 25 Mar 2017 12:23:16 -0500 Subject: [PATCH 023/301] Adding a guide on how to create and display a category attribute --- .../howto/add_category_attribute.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 guides/v2.1/ui_comp_guide/howto/add_category_attribute.md diff --git a/guides/v2.1/ui_comp_guide/howto/add_category_attribute.md b/guides/v2.1/ui_comp_guide/howto/add_category_attribute.md new file mode 100644 index 00000000000..d915daff881 --- /dev/null +++ b/guides/v2.1/ui_comp_guide/howto/add_category_attribute.md @@ -0,0 +1,102 @@ +--- +layout: default +group: UI_Components_guide +subgroup: howto +title: How to add a Category Attribute +menu_title: Creating and displaying a category attribute with UI Components +menu_order: 3 +contributor_name: SwiftOtter Studios +contributor_link: https://swiftotter.com/ +version: 2.1 +github_link: ui_comp_guide/howto/add_category_attribute.md +--- + +# How to add a Category Attribute + +Category attributes were automatically displayed in the admin panel of Magento 1. In Magento 2, it is necessary to explicitly render it with a UI Component. This is quite easy to do and provides a great degree of control over the form input. In the code examples below, replace `attribute_id` and `Your Category Attribute Name` with your own values. + +### Step #1: Create the Attribute + +The following is a full example of an install script that creates a category attribute. If you already have a category attribute, it is not necessary. + +```php +// File: Namespace/Module/Setup/InstallData.php + +use Magento\Framework\Setup\{ + ModuleContextInterface, + ModuleDataSetupInterface, + InstallDataInterface +}; + +use Magento\Eav\Setup\EavSetup; +use Magento\Eav\Setup\EavSetupFactory; + +class InstallData implements InstallDataInterface +{ + private $eavSetupFactory; + + public function __construct(EavSetupFactory $eavSetupFactory) { + $this->eavSetupFactory = $eavSetupFactory; + } + + public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) + { + $eavSetup = $this->eavSetupFactory->create(['setup' => $setup]); + $eavSetup->addAttribute(\Magento\Catalog\Model\Category::ENTITY, 'attribute_id', [ + 'type' => 'int', + 'label' => 'Your Category Attribute Name', + 'input' => 'boolean', + 'source' => 'Magento\Eav\Model\Entity\Attribute\Source\Boolean', + 'visible' => true, + 'default' => '0', + 'required' => false, + 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_STORE, + 'group' => 'Display Settings', + ]); + } +} + ``` + + ### Step #2: Display the Attribute + +The category UI Component is rendered with configuration from the `category_form.xml` file. All files with that name are merged together. As a result, you can add a field by creating a `category_form.xml` file in the `view/adminhtml/ui_component` directory in your module. + +Here is a full example of adding a field under the "Display Settings" group. It is important to note that `attribute_id` should match the ID of the attribute that you created in the install script. + + ```xml + + +
+
+ + + + boolean + checkbox + Your Category Attribute Name + toggle + + 1 + 0 + + 0 + + + +
+
+``` + +### Step #3: Upgrade and Run + +[Upgrade the database schema](http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-db-upgr.html) to install the attribute [and clear your cache](http://devdocs.magento.com/guides/v2.0/howdoi/php/php_clear-dirs.html#howdoi-clear-how). + +#### How it works + +UI Component configuration is merged. When you add a new file, Magento will merge that with the base UI Component configuration file. In the example above, that is `category_form.xml`. The nodes inside of that reflect the structure of the base file. There are only two nodes necessary in this case before the custom field is added: `
` and `
`. Inside of that, the `` node is used to add a field with a name that matches the id of the attribute you want to render. + +The `` node is declared originally in `vendor/magento/module-ui/view/base/ui_component/etc/definition.xml`. If you open that file and look for ``, you will notice that there is only a PHP class referenced—nothing particularly helpful. This is where the `config` elements in the example above come in important. Notice the value of `` (`checkbox`)? Now, if you look in `definition.xml`, you will find a `` node that has some configuration values. In the PHP class that the `` element references, it looks up the `formElement` to use and loads that. As a result, `` is the node. In this case, that has the information that we are looking for. + +One of those elements is particularly useful when determining what XML you need to provide for your field: ``. That is a Javascript file that handles the functionality of the field. In our case, it is located in `vendor/magento/module-ui/view/base/web/js/form/element/single-checkbox.js`. If you open that file, there is a `defaults` object which contains values that can be modified through the XML above. For example, notice: `defaults.prefer: 'checkbox'`. In the XML above, we declared `toggle`. As a result, the XML value overrides the default value, and the Javascript renders a toggle instead of a plain checkbox. + +This opens up the opportunity for you to customize nearly anything about the UI Component. It also should provide you with a basis of how to determine what configuration is available for you to set through XML. From 6108073e1538092e786469caf02816d941e6a219 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 27 Mar 2017 09:12:31 -0500 Subject: [PATCH 024/301] added notes for 66401, 66400, and 66366 --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 6 ++++++ guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 9724cc5feb1..80159ca5d46 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -75,6 +75,8 @@ We address the following functional fixes and enhancements in this release. * The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. +* The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. + ### Configurable products @@ -111,6 +113,10 @@ We address the following functional fixes and enhancements in this release. * Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. +* Magento now shows a significant decrease in SQL queries on category and product pages while reading stock status on 2.1.4 after upgrading from 2.1.2. + +* Magento now shows a significant decrease in Redis traffic after upgrading 2.1.2 to 2.1.4. + diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index dd5a9b9f775..10223c098cb 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -73,6 +73,7 @@ We address the following functional fixes and enhancements in this release. * The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. +* The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. ### Configurable products @@ -114,7 +115,9 @@ We address the following functional fixes and enhancements in this release. * Magento no longer performs unnecessary staging-related flag operations on the Category page. Previously, Magento performed staging-related flag operations even when the Staging module was not used. +* Magento now shows a significant decrease in SQL queries on category and product pages while reading stock status on 2.1.4 after upgrading from 2.1.2. +* Magento now shows a significant decrease in Redis traffic after upgrading 2.1.2 to 2.1.4. From df933a81851b52438e1a0406b813f8994f51c714 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 27 Mar 2017 09:32:59 -0500 Subject: [PATCH 025/301] removed note for 66401 per Anton's suggestion --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 80159ca5d46..f9253cb9fba 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -113,8 +113,6 @@ We address the following functional fixes and enhancements in this release. * Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. -* Magento now shows a significant decrease in SQL queries on category and product pages while reading stock status on 2.1.4 after upgrading from 2.1.2. - * Magento now shows a significant decrease in Redis traffic after upgrading 2.1.2 to 2.1.4. From 89354ff568d3b81aa8222f9d860ac8b134e431e0 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 27 Mar 2017 09:40:22 -0500 Subject: [PATCH 026/301] fixed EE nav issue --- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 10223c098cb..1378592acca 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -4,7 +4,7 @@ group: release-notes subgroup: 02_rel-notes title: Magento EE 2.1.6 Release Notes menu_title: Magento EE 2.1.6 Release Notes -menu_order: 267 +menu_order: 262 level3_menu_node: level3child level3_subgroup: ee21-relnotes github_link: release-notes/ReleaseNotes2.1.6EE.md @@ -115,7 +115,6 @@ We address the following functional fixes and enhancements in this release. * Magento no longer performs unnecessary staging-related flag operations on the Category page. Previously, Magento performed staging-related flag operations even when the Staging module was not used. -* Magento now shows a significant decrease in SQL queries on category and product pages while reading stock status on 2.1.4 after upgrading from 2.1.2. * Magento now shows a significant decrease in Redis traffic after upgrading 2.1.2 to 2.1.4. From 7508468b010bd51f5c47b622bb35c895ac25446b Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 29 Mar 2017 07:45:55 -0500 Subject: [PATCH 027/301] sending out for final review --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index f9253cb9fba..cdaac66696e 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -14,7 +14,7 @@ github_link: release-notes/ReleaseNotes2.1.6CE.md {:toc} -We are pleased to present Magento Community Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. +We are pleased to present Magento Community Edition 2.1.6. This release includes important performance enhancements for your Magento installation, especially for operations that involve the category page as well as image resizing. Looking for the Magento Enterprise Cloud Edition Release Notes? diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 1378592acca..9fdf39f552f 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -136,6 +136,7 @@ We address the following functional fixes and enhancements in this release. + From 53c30bb8fc23c1d97fe9cdb59209dec589033c7a Mon Sep 17 00:00:00 2001 From: Andrii Voskoboinikov Date: Wed, 29 Mar 2017 15:58:47 +0300 Subject: [PATCH 028/301] MAGETWO-66727: Update performance profiles with swatches --- .../cli/config-cli-subcommands-perf-data.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.md b/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.md index bcbc00c7c23..fb7039685c7 100644 --- a/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.md +++ b/guides/v2.2/config-guide/cli/config-cli-subcommands-perf-data.md @@ -361,6 +361,41 @@ We support the following XML node formats: <!-- ... more entries ... --> </configurable_products> +* Generate products based on dynamically created attribute set with specified configuration per each attribute: + +
<configurable_products>
+        
+        <config>
+            <attributes>
+                <!-- Configuration for a first attribute -->
+                <attribute>
+                    <!-- Amount of options per attribute -->
+                    <options>{int}</options>
+                      
+                    <!-- Type of Swatch attribute -->
+                    <swatches>{string}</swatches>
+                </attribute>
+                 
+                <!-- Configuration for a second attribute -->
+                <attribute>
+                    <!-- Amount of options per attribute -->
+                    <options>{int}</options>
+                </attribute>
+            </attributes>
+            
+            <!-- Configurable sku pattern with %s -->
+            <sku>{string}</sku>
+            
+            <!-- Number of configurable products -->
+            <products>{int}</products>
+            
+            <!-- Category Name. Optional. By default category name from Categories fixture will be used -->
+            <category>[{string}]</category>
+        </config>
+     
+        <!-- ... more entries ... -->
+    </configurable_products>
+ ### Customers {#config-cli-gen-cust} Generates customers. Customers have a normal distribution on all available websites. Each customer has the same data except customer email, customer group, and customer addresses. From a1e29f4d4338fb1ec94b96316b2992f0e9b20d0c Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Thu, 30 Mar 2017 08:30:05 -0500 Subject: [PATCH 029/301] added Keharper's comments --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 10 +++++----- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 11 +++++------ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index cdaac66696e..5d4c5685f3a 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -65,14 +65,12 @@ We address the following functional fixes and enhancements in this release. ### Catalog -* Magento no longer locks the `category_product_entity` table. Unlocking this table will reduce lock-related timeouts when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. +* Magento no longer locks the `category_product_entity` table. Unlocking this table reduces the potential of lock-related timeouts that can occur when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -* The `\Magento\CatalogInventory\Model\Stock\Status::getStockId()` method now returns the website ID instead of the stock ID, as expected. - * The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. @@ -104,10 +102,10 @@ We address the following functional fixes and enhancements in this release. ### Miscellaneous -* Magento now caches attribute options for the layered navigation feature, which reduces the number of queries to the database, and consequently improves performance. +* Magento now caches attribute options for the layered navigation feature. This reduces the number of queries to the database, and consequently improves performance. -* Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`). +* Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`), which improves the performance of the category and product pages. * Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. @@ -135,6 +133,8 @@ We address the following functional fixes and enhancements in this release. + + diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 9fdf39f552f..a2850280b98 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -13,7 +13,7 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md * TOC {:toc} -We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento software, especially to the performance of operations involving configurable products with swatches. +We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento installation, especially for operations that involve the category page as well as image resizing. Looking for the Magento Enterprise Cloud Edition Release Notes? @@ -64,13 +64,11 @@ We address the following functional fixes and enhancements in this release. ### Catalog -* Magento no longer locks the `category_product_entity` table. Unlocking this table will reduce lock-related timeouts when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. +* Magento no longer locks the `category_product_entity` table. Unlocking this table reduces the potential of lock-related timeouts that can occur when indexing and checkout operations run in parallel. Previously, Magento locked the `category_product_entity` table. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -* The `\Magento\CatalogInventory\Model\Stock\Status::getStockId()` method now returns the website ID instead of the stock ID, as expected. - * The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. @@ -104,10 +102,10 @@ We address the following functional fixes and enhancements in this release. ### Miscellaneous -* Magento now caches attribute options for the layered navigation feature, which reduces the number of queries to the database, and consequently improves performance. +* Magento now caches attribute options for the layered navigation feature. This reduces the number of queries to the database, and consequently improves performance. -* Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`). +* Magento no longer performs unnecessary file check operations (for example, `file_exists`, `is_file`), which improves the performance of the category and product pages. * Magento now caches image metadata, which avoids the time-consuming need to read images for metadata loading. @@ -137,6 +135,7 @@ We address the following functional fixes and enhancements in this release. + From f2e14fee982ae004d338cef7d53034ff59148752 Mon Sep 17 00:00:00 2001 From: Joseph Maxwell Date: Sun, 2 Apr 2017 13:08:03 -0700 Subject: [PATCH 030/301] Adding guideline section for events. Two rules for events: 1. Treating all event inputs as immutable. If a value is not modified, this allows for Magento's expansion to using queue-based systems. 2. The second one is pretty easy: specific events. --- .../technical-guidelines.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md index 2af7333805c..23e2f8688cb 100644 --- a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md +++ b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md @@ -471,6 +471,39 @@ We are reviewing this section and will publish it soon. 13.4. Exception in a single CLI command SHOULD NOT break the CLI framework; running other commands SHOULD still be possible. +## 14. Events + +14.1. All values (including objects) passed to event MUST NOT be modified in the event observer. Use plugins instead for this application. + +{% collapsible Examples: %} +{%highlight php startinline=1%} + +``` +class SampleEventObserverThatModifiesInputs +{ + /** + * @param \Magento\Framework\Event\Observer $observer + */ + public function execute(\Magento\Framework\Event\Observer $observer) + { + /** @var \Magento\Framework\App\DataObject $transport */ + $transport = $observer->getData('transport'); + + if ($transport->getData('some_value') === true) { + /** + * Expecting this value to go back to the original event dispatcher violates + * this rule. Other observers could change the data, or Magento could make + * architectural changes always sending immutable objects. + */ + $transport->setData('output_return_value', true); + } + } +} +``` +{%endhighlight%} +{% endcollapsible %} + +14.2. Use as specific events as possible. Don't use a `global` event when the area impacted is just `frontend`. From 9899139da60ea4cd93338163f2deaa9701ab4c39 Mon Sep 17 00:00:00 2001 From: Joseph Maxwell Date: Tue, 4 Apr 2017 11:33:51 -0700 Subject: [PATCH 031/301] Update technical-guidelines.md --- .../technical-guidelines/technical-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md index 23e2f8688cb..caecea383c3 100644 --- a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md +++ b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md @@ -503,7 +503,7 @@ class SampleEventObserverThatModifiesInputs {%endhighlight%} {% endcollapsible %} -14.2. Use as specific events as possible. Don't use a `global` event when the area impacted is just `frontend`. +14.2. Use as specific events as possible. Don't use a `global` subscription to an event when the area impacted is just `frontend`. From 18c300aa1a3bc4f044bc78f47dfdfaebdd8fdf22 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Wed, 5 Apr 2017 19:03:02 +0300 Subject: [PATCH 032/301] added topics and updates --- common/images/fdg/create_install_theme.png | Bin 0 -> 18741 bytes .../frontend-dev-guide/themes/theme-create.md | 4 +- .../themes/theme-install.md | 48 ++++++++++++++++++ .../themes/theme-overview.md | 10 +++- 4 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 common/images/fdg/create_install_theme.png create mode 100644 guides/v2.0/frontend-dev-guide/themes/theme-install.md diff --git a/common/images/fdg/create_install_theme.png b/common/images/fdg/create_install_theme.png new file mode 100644 index 0000000000000000000000000000000000000000..344e9567fc596a9ebdd2d054db9e459d750579f7 GIT binary patch literal 18741 zcmeHvWmME%+b@iR44{&VARST)(j^@OgLFv?C=G&i!-&$|J%FTiH>enNcM8&>NcY*J z&;7jXUFWQ`&N?5?Iv<`d_boI3*m3P^|Ki#ctfBgKz9qyfRvMlPhB~e#AH9h6GTdHNgd7E+PbjNdkzS;2S z=26B`^J=qa=ANK+4Qt=rs=H`^)zL|-=g%tFl8dvWpZxj+ei%?13{03f285Bg;0=m3 znG%ck@81M|evE!7I>LW_P2eXk2Z0quVX)l#b2<7>0*xR4zMTLjk0EiJi01RZZ^uA} zQ2f{9X>n)@Bq8qv{&^jNxJvZ3f4`oF0TZez=SLFw@8`i-UtvK0`96Tb4~2^pwfN89 z;usP#w?Lc!{_P(HT0)DdM)B|KX$rpmyOA^mF&Icz2JsN7f3C-b-WL3)j~Gx%B5{>B zP&o(m82ou2=rs0!I{lxS{!e&=HBF<5+(>im!wC*uB(RTcKRwu-<;D$7qZhwg)t7t3 zEDLeikA)T8z1EdOLxANkAQZy9mDlG6*81Xd@9+#A0bDE@A#oe~X`LF5b&MR%9+Dw5 z_U`QOGwIg2OcvfoWtzTbxJpAN{!^HLGjwr_8RmZl{YH9a8if4;rz80YRI)|E)?;d^$1tToPsEDEXQWwx z`U?o-GEsa9Qh|O;R5@neV(}N)qmo#*jCsa~ei>?84DE{fkXuMNHA1yh;Nxn zGedqTFnf_4#{Fr@Zyxza_t5PaILyR2S@gZJOC#`Spl&}Fjq~#(Mh{h*{at!VLK-8< z?>Xi9e_9fsFOQr=x5KaYKT`&R=l}JT-Fk6&d2tqgS!mEyJ3J@z!d&B^@j5q%LEiZa zCIQU(J;pv4%GD|){C7K1?u0HPx!gso$O|2LA)H-^#jDe@E3Q~3WxjrqqcqF0;^c;t zl~lz{QST?|Le5<#ouvj%J;%FCikh17g4@-@U25he@zO8MU0N#74yRx8bDQ_^e5LZV zA+gh_?h_CW2@&f0)GdjMIjQtMbK!PcQ<d%?J$F+UjxJFNmwZ*D4tp3)rrgyr=RUOLa2YfCE|d?U}tEE3D(hq!Ww0 zwuMx$l>%8b<1H75EPBd5xyxMVTgsn-P6D^p`Mh>NlOB>z$&ea6_c>pp))sT#Tj^a% zHqYSHHuA2Stb7qlCiv=|)q<_X{vAg)$Y-gq+&v|ofW%ny}-LTI|mw8iqS!vTwV|Vq- z`AZBT-^;zs-hSUp$G!bw<gGX+J;Z=dkRY<8OWl=j-M;U@_?t|WOJY$OxX z%O+WuHhl5g>*YUev##75Ru9mioO6PSY=#-d~h`eiQFiWnL6F zwmq$U9(;1V6p6of#&w~oh%Cx$WtXFlxp;8UGI>#Z+Ldb8*y;7Vlc~1NsLsw{j*xXU zOO$;Wp6)!R<8ocfThs1}ojOwVbZx`6qtao@|-W2i+jZdV<0Q48dgaMX&T{ zzMLmbzQSKLB07~j`IFkRH`{I%=zLs1-7Ks7H1Ota^JqPL+xaUt=|-n@lh1KbsWzXB zt*iILs$UsYYn(T=&RkRGgfI4oOTM{n*Nhi`i(-x)5V|~G+UDMiFVm~DtMR7xIX0ea zWRPSCaFQq3a2N5|FAv{~hEs8F@a#9c&bhDp71o5Ih8%ql-W!qOq>6YRKHYsa>pZR_ z5j*>#tB+Rd?L;F-!w;fvIp6sYip<@+qEt{(KcJe;cqB;M@(*NscGDxF>|wFa%H8}AR{#&($w zi@{7<%49{#UE@cEZE8j?1uShQr;R4I-d7h#?=y3K9yZNit}FXmoyi}VZ`AP$N5AY+ z_P%_PXkd1wDt6F8tenJaJ@%CI{$TQS8$LPDx69+c#|jt8r&&E3MF}x$*o~K$(=Xe2 zU1uBu8xE(e6~V$#pM=vD&~53lPG*sC&zE|R6znwp6lEhabYH$LTuC=LP;M->H>US8 zxx(~oicXbTGO?0CR!W?Y^W&2rv9+{w9-Ad*BL%9p{+6Z9Nxvt*Rc#Ix3=qO8jIVS} z6m!(c9l9vru<%Gak7{a98p#nE=yD{q$cZ)$$4qpU>iKkG)Jj_^Zy3?oPdsbhaNqP?w z7d&tMQQN)c!(L}F=X-U5eL(gmulCj1dk}a9YrGn7z!08AZJ8Ig_3o23c;{YTk+vPb z*%o#je^vBTLoBcIpMpe}XPtixuay(r)53;iDM&=>cNg}w^KQRY&QP~!U|4t+n@ zDjd947C9J^@P0d%YUU$;d*f`xXq2HKWPLNFre>h()mhiprK)$9?3AwrzcM7}MB=T+XV-TBMy`Qq7R!qTwJlvd%httxy1=|J+Vp|VD1=qUB&ufS%T zSD%e(3AGfzxO z%@DGN*IR2CcssX(f5};r7>K<(_~bcJZfw@>hw0M$)b7eK7DZH-Xyh}gbY|J5Y{Kdq zEMIZSm=!6lA~O-KSt%8**I;zQQo)F7y}I~0Z9F$qBj;ghZD(kN;j%H(S^98bBt!bG z;rXeqO88Fsr(0EyJ5wGKH??o7U5T#0i^WYCU;NU;_&uSF{o$=%nBZh~g9q<^U%K!# zuf{1BJ#E2({#2es`V7ABu~d^5!a8lAO+G!_W|+jl%sX++tJAf2+kERm^;^X7O9?E^ zJj0ug=6EAppf4NCrfhmOD_MEwRBK9MD(s{VQ`{CmOO-_t$84+Tf?V~;DoIR_;5PSiqCr_krigdq!-A2{AExicI1ZEFm=GJ| zQmZ)U?g_GsxhuKDG`NgHZfl&<=K0Xp^&f*R<^36+cU<=1@l31oMZ8ZvB|_!)@c8ZN zKng1l&SC8hc>Wl&_40I63%YVIYv{(Cj;K?FcT$eeW|C<{=XBd9JWaNWOYHd7nQFLf zp_tZuaap!w{#l&-=hMUhQ6dS=j8^)W597B~=$t}})DeDON|p->PN`ljg!%!WLr$Ku ztS#}HqTZ~Z?xtTj8x45Gyz)(R@2|y??<7B$qXeuXWaNV)>eG)@T;ub8qLZANL>P;6N^gxG&xs7Z!n}`pcK7m~iv*Q^8YZ8s(WjdH!Z3bLa?t z_Ltt2PuTNA)6g{Qd)V+@H7?BGxzC+Q_LKe+6#>;pBD3hH4k-$e&Bbzb2GJWr>HjjE z&u^P(7jB@LmU-Hjs2D)e7;|z^U;lEIuffRm_50wd(RM?fzcRe!Whr*)?*1h?5BO$o zVw(RUeM>xViGZuo3{#2Zi84QWq@7}w-X8r>;93kK{Q&zzO`lbKw}T0w z`PN6We9m{z0jcU-V_xI@OEMj@pLsOm01Edm)rqT_$tZ>p-VBrd%T7aYx=OW^p$ENB zAe@#Fa5aQ1Tq5!>&x|C-8Xi^zPoDwT6lxOZ;t z+>(3-5Z%gVSsNdEkDov3bKMeaHS#>%;>`3pEkrXk!IdP_p6`LwJ8=q|<7KX0RACOW z;wztta-FT%GQAIzEde}_i`*@;I|vqb*?M%aInIBuF}l}v$Ut@vE*6YJsC^Mw=;ojI zGOc|%Z`XRfi08Of@ij#@oLumkrT{TRp6KPVX-?uBp^l|Uu{jFw{lPq?bfNF8?CR@4 zl;KK7@ZM%1s6n0nh*j?Ky*l!}hZA(?p>ERKoAsN z<8+9Cbi*nUUwK{_)O5;t7;1F>u_u+kKkOcVUl=)W7uk1J)+m67l1}zk^)mP8Yph1O z&{Tp<$f@9DH`3PzUQ$mJr3E2U1xhnNnq*S8v|Joc_oC^OaUf-a76bONfu`n*JM8)v z$xl*vaPH&W_d_AWcb(4krt+s^Q@OQ2K3&Uk z=|HIanWsA^ka3y>G^}NZ_5g&gGq$Qq2GwUOf8I&N{rnq&aPDZ4CfhXMRITl1<7CBT z;`eOdGJ~cuK$h;;n(v{G(L$AZ#xYZ=e!~zht74?QN;)8&!MpBPmlrD~b#q)*=KXw; zVwd%UJb^y(S4(1-Ib@<<^(U*om*!1cNIZ!AeHwonT1JUn!s&Z<^&cWy%VpQv3(B5W zeB9reovyYX?<>};WA9|~fBEGu^tPpn3xtS*NMl2sq2T(ByDEp~8jX@T?{D7YOY;2L zGLA;dhop^n7BT_LaOv1U;;}C*tF6=Qp3A{3td!NgQZ|HlJBWJ$G3t3kYIwJ^%BxJn z1d(mE*b!{jlf>ED^!kDqEv(bMU@EsBXFs!c9xK*yNsk`8#bYsm+Uj@6`uMW#V(k3# zsEwc7tml!k*hTdqMB@T6j<@pV-bLe54Wx1 zR0R^sX%#%U7C*f)}FX!hX)EHa12gk#8 z={dbmo%ViSUH&{|gO?PZCi4tDxVG}BN)oh znn~hjjb-ZjN@l$&yeI@Fum*6E`Z%P#v-!7V@P=vxL|E{KtxXC=>J8n#V{zL~@tlpu z`lN4QjZ~Q{J6;@&Ph&Od_Vi(4Qo}5uF28?t9(IddSPXo7pLfhN`qkM2vT?1ZPYsFi zrqTWl0w9KZDa5USSLPIMLKm(MAyOkRYy<<*<9oU4JCzuHxZL<7Mxn=f+`!!D*K6vD z&&~P-_VMjtzRXLTeCORLC`Yq@&vGW+Sq|gIs z3R@Zr-5hN;`=LhnUK_ehzBpuKDXCaM`dLG(S5rhw2R!7$i>!p9uSRQ_jU%mr^jsCZl0FSr_aPkMqq&BCi>K}Kplmxu z%v&XUU35G`?{_HcSl%08eLRf*qRa$ayPL|C;r4OHb>7>>zpOPOCMl*MrXJC)%gu!J zC&VU*3POK!8t8kBz4z-A{`AFYJq?EcBAD8cr49oEW;Xw}^JR{eimz1Mj;npVKU>dA zOU_2rm3hT3)|I!%HNH~1>g!~}Ul1@$iw}ED#c6$ITaT$9CvjG*6QU)iA-D}@QR8_b zDMW@~VA5~OM3SQlU-a0|5fb|B%fn@Q6xOP)TPfC>?sR^Qx{z!z9)tj<1PrA#GDZXq z%IHJm@n|Y_Mn{}+cz(ROhseHDRySuqE)XA8`fMg|ea2gA3@jRMR+^%MdJv3b(D@m=YZG4tAruiZh zSYRK-P6s2m;+`Ds%nJHVzM*k9dEMdOYML2mnxZvkmVWA=BQjj=62kTv)0>P%HTUzm zywE3}$H`73Aa}vj*j93(@rPxD9LAJVXsJrJ&?@NdouW1X5f9fgUUVlUZ%@~0Q@0l{ z**IZ1?zHkvN!u@d33oB~P^vC_+9FJJU)+<%Hy+vaL55_ia2Q%9g%^&B2_&{0xmRTVB|Ye2<#u zYv?tJR49d<%IS3`!?5wG^vO)!tv=((Jzyc#t+TU*KV+<~3AQnV%A`6W>>c70#ep{S zU^AGQX-ZYRbe~XMB^N}PXR-P?H$5|v1`($I2OJC93eXh?zGO#qw-m%%_Jrg3 zWM=`PM0}Wl(Ds`#RmEhk&rgybeNYlxdof?{V4831GAZCZb+t=ecSnO1y77BKI0yW_ToZugOvLt)vw1oAJGwJ z)Zp`4^v22NJ6TF2LI=*!88>&|^>h{N*k(Vtkk1Y`M!QQLdx~{J7YH@hK~jvzmOvnb zb-S}jea*C2fHHaiLrKU9iiNU;##t66n{Vj3%`0pYFUX|wHr;7R-eq@pRNKgaQ`p_! z3tDZIoOj|hTB0|e_Nt3zrI&yHal0Q7AX9F$X?2)uAToH&`zZF#_xh*#Cf>=%#<_*3 zHlY15=?72-42B{egIr!wC!z1<^yG`EbPwvpOaNz zm3DtLIk7LyUtP>k_b)fZ$S zYM2l#Sp9?TdNj1!H)f2{GFI8S)_G%urSf@m z9pixv0f$URf(u0620nE?&-Le=mWm}eP~R0j6Rt8D+{XT?1<1UDvHqrUflTpw1C>@b z)iZ)ZaA;DbFy@#pNMz#iqXTHnM1)qUzGb89PrIWLy(X83NY(?L2oxO_t8{y!sRg*O zK;@geO$ZJ{1*N8@CRzGCzr&)mX9qDU^lla%Hml@9IR9LElb7|X)ApkG=iAyE9T6#1 zDIKH|ilTc*1kC*Y?`m>N^y*T84oj|hW;;>t&#SSlbT@L-w5xw<;l!%3Z||O%PjfP_ zbpjc$Ra_PJ@%?R?1?$#lb@R}eu?QZnT*4xt3?&2Q`-GCBn1cyEn(&a55%2+QX83HUer#d$7Ro)qPM1~@yc@@p z^sa=Mp@5+nV69seYiZN+9)tqeq_5SaXymu$kXC45pzvIb3@aM<|vpFGV@_&^EOB%@K2v4oCru3G_R z)AF{oKC2}MGRQ$y1p1o@MHzk9k{0X=3h#EgAAxA{k54On4? zH$@`Gr9li5(_T_Rc!^Pzqdh^wF%lT)w6!P$1;Hnc5znd)_j8GBjLIJ~hH6?#MK19Y zF370->y}?FlcuBq2cxKN$)>XGHOMW7m|CrP4cK#fJGssp5y>c6gYV=n;POODz8 zPwx6)!k`UeAZSk_p}9NK?gu6K)j;`Br?O*zbG-i_6pcC9 z{)QPW-0XJ>voeGOoIJoJ-~uqQ#>8r--a%VFq@JQIOlAp24;r>ZT@ zj(>gU99Se2B^FmXp=g0lUVfvGocI*eFR*k&7?I0i#p-=>PFKJqoPqCu1Jh_ax^HvX zDU)6CsG+hpw&ztMSoyOP@4C2d<}0Y!PF8-#Wqqhrw!gd?iW-`66NOgd98X28^dy_U zy+LNu=(24EFRZ6gAqG*e7;t>{6lO6E#bNbU%wcI$&5=zOa^C3py(Njidmy8tYVnu? zA_(=eh3kqP0P|#en+QN{1$|l-dT@7mP(3X>gh(B&PH(rD)-Q&H{DgzI(v-UGQou;0 z+Q(hq)uc}isH=O2lk>8E(cF<21h;h&w=*6c)MVzJ1L9tZilAS3k7DiB zL*yodyx2SV^+<|nK}H-YPV*RZO4aS{$O1OlQ>Yz2cHt6$V8UE`%;f;GWiTGgt=lx9 zCWemvv9o$of zf_>vBVD+LMq^?Eb_;;b8w+6dkrZJ#i9)wW)_YdkWH?-ThjJyxx1s8+p!#YNT2O`YQt1x45njL6WeCho+nRGcgX|DWuHvm{R;beR^No0?nwM+PxT8i4n(>kDC ztCU1TkIu1tme0aF^`G=Tw`=m;_g1j$nJ}3+b67;e!{mQ71B*zj-O@=yyOppA(43j6 zcdK%K@;vf#;b8Nk@|(_8AZ4r6sP(}CLw z@mV=k@0gME^ts7iJTRJy4v33L8EhLbH3&t82yqfU6+^Q6OB~EH+UDgaF5P?CY;2?- zFZA|HBB{j8?&T8ol?6PKfxLAu{pZu~j=-i%25#&CVD&X%sJ-(5_;%SxEW+V#%y|vI z?8Z3?NQ8AI+FCjLnJ(;_0-TwN8DLTclH4b9RTe#YciWa+eke$XR>FB$kv|#D&(nZ` zsa0Qi`M$KVt8_L-z-ppAYxbLJ4hhCJS;MF%Md}v5o!=|2#G0jRD1^WdVcqmRk7Tcmwa?K#FI4^_+t7!>wP?NTcb?z-kY zvKOR@V(LC<(nQRpRJ{plpdt7dc#3?}zP~=aE%!z?pNAEdKD^XQpn*+%1qQp`D6!#vL)oo!;7W4! zKi&(w;0`YI%Kj0rZOBhi24$^$&CxAH|df=DA}!xIQxHj|*@NLx6qNu@Ok zMHC6>3WbK~j=uAWyJ$5UqfD)f8l>zDud$Lskzk9%V*GMZL2%sr(#I4_^Y!(c#VDbx z^F32{yF)22H^Ppa%gc#Id_+yjEbJmibgX;1nX=Z^J_v{cQchBugE{z7xZ3h%LqHFl z+FRpcLA80@m>?x^H(b)y&2TxUl@-5QkVw$K2&8mL8q~8G+ z&??a#W^{Er?!tp`hz*LqyAGI`!Q)HNKi$Fjv(?i|4!tc3#~#kw=GLNa{@HwN zAHdpNc%DEIc%5afr&d)!ArnT#oiy6@XNb6nB;?sMymeYm{jE+Go;?dH49re`FT30f zzk^cv_F~>hPQ?kjT& zE8a7U^lMmQIwVnU4|HLmEsOqwc<_)pgTb{CNC(Rv0ctjxwTfG2(rXDoLNO0I z4sZhkB~VaEbq*0qwL<}b5ROj?w{i~Lo7o=t0s^0k@^#<1m5@W2KloGtqZzxN!FRdHhi z=q-u%&o0%bUvD*ew(*&bUN6-rU#VRcUGd=odw8+vIFcK~I-`?hQBfQUUn3G2;@K*TtU2;+*Xf!hK6--*Zy~gF8 z!JuA^)eDi)53@iK4r{kAdV;H;xNYQ8O$?e%vjC`q77kjR zu(O-0W~s&3&t5>J?*P%Eft2_`mz22C=|76VWl>x~$Z7fWL_;V87SxLo+&We7kaJq%H>xYsB^IRk!Y=ZmFba@h!!ohCGUxIlxV-r}DD|K{0*`+j0umc@Vk2 z@L6B!&bY=|P{#a8ALhm~u zvmd$NT^9obdLBfqr3HW+5?6dRI+$Ku7@;rcP=EpOc_AjIEV@owS{CSRWV);_AXd97 z{GLS!qZuwS-h;8g>tim6mG+g!?H~f=uG%6{bf6mQX+#E$>;cbzj^uhdrrHg1Bp(OL~ zq0JXcR6rKJoNs;MtHo#pec}2RmsW)q5^n|HxF_Va_N-;D+AtqmC!EvAASklXiF3SD?ChZwkBww?~xSZfO- zK4bY8ph?dCCl}F#-->fKfIvx^YXyXSolMO_QVE@O6cA zeWXS86A-WX*AgGzEyC8c^T$*zpCdr|o6(sjcwySn3>KysOrwa>`_~6-S%qsO9OZ@i z)D4SG@i5kT`XrMx{+Dw$`4@9;OE(?6AJ!!qws^$H%dW_%j3Ek(i=i$%GnSjezrWFU z>vF`$XZqC&eMgGNpapb_*?_aWmKUH#OD4xCn^M^2!5I}djP;0k4XxbBq8)nI`H48a zAQZwK@~+(*t>=e@63DUo>(*H5j354-&(t8@1(NTt01$$);>P!(H1>}`i0WWs!s;bK zE=MqwUjvHp6A-C)$*_Ph9Rxy~4x&&4jwS4as2t=zT*sNpjNmx+3VB*-BcsB|mf?2I zUjr>Evd-`dz3+YOyq-knB3njC${z;^P*IO~;VlS3P$ZaS(Xmo7%gwQpJRs-E8eP2_ z3ELb*m zp=xLeBIHs2r%pJPdq;#?jpgu{2(@&FFJ$ZX6dbfsCXiE3^aA(H%NJF8MqNb0B=yDs zuA(V`@wn9sx{s%cL}V%}r~p&*y;rNYs`!Uh7WR2m`-!mJ(q^N(&r5EKL=g|1u!4-0-QoX=g-Hq?s2>F3i%V|@v1t>?rkZIYBA!`z zs*=>m#V(=5vT|`b4~_r)`3k?5O5t8SYGb0pw4J=35<*}f?3d>T54&qzr!cU_4cbHp z+QdRWp{4~n>J$%o?X2|+ld<$AlW3a75uMSka$cvN51du>*HJuod!ZSc9 z&CZW^&CuTH%~6m%1s@4k41VE6M_4@IVnq*pGpIN*74g>Iqo_nYl0Lk~PW=*o4}LCP z^yhq%KMz_>!Q&=%Y^8cw6EaYSYI7ejH$oTcvS@X)*j? z!^$g|K}>TJ%-W{-1C=@y+2v<=t~%x zY2C+fcQoqeeVURVyH{Q~UWjOO!PeZ!N?wm7r|DvMVqt27`}D(axJaOt$${<~pi3Xp zzaD+Box0MSI_(LHB)xMEG^X+`03A47?vB3!38@nm9Z=;43Jc<`x?42*OqlfB+xaw6 zPar9mg9@6%KIG9uVvRhkxzTKjMT6_n4-Z?pdlar zz=u*?oWn%%Ucu|JYX7l$`xAK@&p5PZzm!gi_m85YqGA=TnFg8#F0i|G z4}PevB%G+VO`ToXYgoAp zTU-Do#yrjFl%gSc3)b`vkuDDzadm7W4G%H}m0iXp?eD_hCVH6TFOh>RZKlcn9^nku zMirk!Nr$y!N#~?J0#JzOPaRmP{Xt|smB=k?XDE1kixQVP66d*W;SY$>p*zJlNZuy) z0Eo-*F{Kw{U5xz-j}b&5`^01ia|AM!1D%)qMHdOT@kc1SR-Ucs)~ITxW1k>_b6Ptf zj@s7WRpFG&^|?uP0DRGi(+q-M2H)c7TP7ONy%DZvc@YQIOy#r1m6Qa>bHsq2RV521 zZ`#{b-HsN?x{MPAIU>|xfpM{4hWoWr3{Bnh7JSF65jYjeN?+hc7$rf#oQ|5c6m9yvVFZe6u31{A2@E{Xr2W3_qk~2CvMvAnz z;?d|!|AitC@6vh)cVl7BgM{l9diO8^^!RYP!Zh$=ier9XvVsFyNhU2rAV=eGGOY@H zH#W|6P9CZM8 zxVsZM`h|6GD8r7yY071(xN=S+h>)7>>Z$Eq^CWIjtM?fw_oh|MwY;wan2pdEfO+nD zFXyj|)+)$3)*f#QBfEYc8+*eb8{ZfUK(;WKjij;#^+?X`4m`XqFv-U$*#vSo{Zpo* zr?SSlH|Aes<15`HrBI{-bN$;S1da*oNfR6nDFPXGLbYh?Q;ao`XWeepNdh0l0$zC2 zdxHY5lFR->AWc!cEsU|C+8GHQ1%k5C#dtI9+ih3?lejQ$e-!yS5T}3BD?KG6#4O27 z;Wm#jXvz2o`yP}C4YGnBElQJsJ5*J2`>F}Q zjsGz+`1kZdObzO!=o836zz7m$2jNG9?NtUDk5HGTsr!TJ(Ev698Igh}B3(fXc4}yF zPOfu~`$XJRZQXAS#MYEEWwJ=2(+V{yltzWzUtfY3EF0n3ae$zzOg@JUvF4IMDbO_a z5p$9T8DwLINjbv?SSY6bhnvIsk-Sg|&1AP|_0 zVkt(c1WJqM!O)`pV!+H)@dh5F|7IQrl;+u1BuTiEC8!q2|`c@(hGS1Or9d2%m0h*j> zp(tJcsiig1m@*^%7q?ws(8A{s=w+r~-s#9Bhe6|r z(gE0Sd<@Vv7Ye;dr0Y;})49Hz8qm%kI+o)YHPsGru2 zDOO->B8cfe*wGgdQRwUADT!xWb;Ys#Ii{8AP7PFAS&rT62Xgpq1xVs6Jsc4|BW=Wt z^uvP6%r_`p;+mB14K^_x7K779d`?Yn?wwx%w|Di|8#@O;t6d|cN7a=@UR>_{yzDy% z<%^p%DuDslvkQ9rz#7e&a-xL1C#+iLRan0l5T-> zbfr{^UHp={mXAwDJ0Irf1aKv`@^$+pY>m*iOf_rjnN?d1emr#qCDy2(rTxm9%Dv zn0H^L?9d1ZE1bFsc3S>LzuUJ6Cz@Q#M98J!{T5P^-rI=@?*VqPlnBmK;Ak1arNp^` zL%jX=A!kk-@B}w+HRc1f>4MNaveMO*lsS@bejZ6KZzCUNfvZCIL~^-i+^{M%spbw` zJ>&#B3f!5by0ieb!;h;oghi5Fh>KlNp+CA@?o zf}GFBqHg3a*ufiizueo7mL|KR@>ru~Bj-tHbVyEa9I19_{o^0$>czcPfcKvtl=<=s zd8MH%Pr=6a%4zo@iT{k0ft2Qo{C7zt0x6LrrW=>h^s6}vl_Kixaj>}GBLeKNI(M|S za&a{OQuO2pu_HJ_I2|pn82%zOOanO8fzLTMcRTl%yx~;!;bF?kelb8zCs*^2k;4+`Se~|`&hmkc+ zKwSx9=|yPKMx*%QCU8U2fbV!G9~8y#yN3^0gs_F7y6*7l)!I~8S7_w(Y4qNqBcE&l zr-F)q#YDxxz!y5<$PM5Pb?TLBNE`%;oqs4TQ#(O>LHXM3uR%YJLRQ#}`W`#Cl=9Tl zkDDUB2hp41r+8grahh-rNHCM4_XVgzt`04$2^;{CVh7|yGoHq{mS2yncqOC$6sVBl zuqakoT0K$s)qVNSS&c|z+|aWmo$u^-H^;Uv%R@D>t@2M>7v!IZG^Voh&Z`d}8VNoO z=)WU9**~P4CrPhCPT386LK)NIwre7M!R%R`!TJdmg&NY%KIszs)qc&z-O`F`al0$ z6&Pdt+x&#F`y+sopEcJD%K)hJj(MV|07g%S3IG5A literal 0 HcmV?d00001 diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-create.md b/guides/v2.0/frontend-dev-guide/themes/theme-create.md index 42e2edbedfc..cfabf1b7f79 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-create.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-create.md @@ -2,8 +2,8 @@ layout: default group: fedg subgroup: A_Themes -title: Create a storefront theme -menu_title: Create a storefront theme +title: Create a new storefront theme +menu_title: Create a new storefront theme menu_order: 2 version: 2.0 github_link: frontend-dev-guide/themes/theme-create.md diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-install.md b/guides/v2.0/frontend-dev-guide/themes/theme-install.md new file mode 100644 index 00000000000..f6a87659594 --- /dev/null +++ b/guides/v2.0/frontend-dev-guide/themes/theme-install.md @@ -0,0 +1,48 @@ +--- +layout: default +group: fedg +subgroup: A_Themes +title: Install a ready to go storefront theme +menu_title: Install a ready to go storefront theme +menu_order: 2 +version: 2.0 +github_link: frontend-dev-guide/themes/theme-install.md +--- + +## Overview + +This topic describes to install a third-party theme for Magento 2 store. + +To install a theme, you need to add its code to your Magento 2 instance code base and register it in the database. There are two ways to do this, depending on the way the theme is distributed: + +- if the theme is just a set of files, for example an archive, you need to add it manually. + +- if the theme is a composer package, you need to install using composer. + +Both ways are described in the following sections. + +## Install a theme manually + +To install a theme manually: + +1. Make sure that structure is following: //. + +
+<VendorName>/
+├──<theme_dir>/
+
+ +2. Copy this directory to the `/app/design/frontend` directory. + +## Install a theme as composer package + +To install the theme as composer package, follow the instructions in the [Install extensions]({{page.baseurl}}cloud/howtos/install-components.html) topic. + +## Register a theme + +Once you open the Magento Admin (or reload any Magento Admin page) having added the theme files to the files system, your theme gets registered and added to the database. + +To make sure the theme is registered, in the Magento Admin navigate to **Content** > **Design** > **Themes**. If the theme is registered, it is displayed in the list of available themes. + + + diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-overview.md b/guides/v2.0/frontend-dev-guide/themes/theme-overview.md index 31d2d47156b..7a3accb4108 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-overview.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-overview.md @@ -20,4 +20,12 @@ Out-of-the-box Magento application provides two design themes: Luma, as a demons There are no restrictions on using the demonstration Luma theme for a live store, but if you want to customize the default design, you need to create a new theme. We strongly recommend not to change the default Luma and Blank theme files, because if you do edit the default files, your changes can be overwritten by the new version of the default files during upgrades. -Your new theme can be a standalone new theme, or can inherit from the default or any other existing one. The theme inheritance concept implemented in the Magento system allows you changing only certain theme files, and inheriting the rest necessary files from a parent theme. \ No newline at end of file +Your new theme can be a standalone new theme, or can inherit from the default or any other existing one. The theme inheritance concept implemented in the Magento system allows you changing only certain theme files, and inheriting the rest necessary files from a parent theme. + +## Themes flow + +![Themes flow]({{site.baseurl}}common/images/fdg/create_install_theme.png) + + + + \ No newline at end of file From 3564ca853149123b3b0140d9a6e34ef7f34bfcd1 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Thu, 6 Apr 2017 15:34:42 +0100 Subject: [PATCH 033/301] MAGETWO-67130: Move module customization info from README to DevDocs * First draft added --- .../signifyd/signifyd.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 guides/v2.2/payments-integrations/signifyd/signifyd.md diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md new file mode 100644 index 00000000000..a1ac3d43750 --- /dev/null +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -0,0 +1,70 @@ +--- +layout: default +group: payments-integrations +subgroup: D_Signifyd +title: Signifyd Fraud Detection +menu_title: Signifyd Fraud Detection +menu_node: parent +version: 2.2 +github_link: payments-integrations/payments-integrations/signifyd/signifyd.md +--- + +## Overview + +This topic is about the integration of Magento with the Signifyd Fraud Detection serice. +Integration is done with S API and M_S module. + +The module does this... + +Sections below are about... + +## Provide custom AVS/CVV mapping + +The Signifyd service collects a lot of information about an order (all fields described in [API](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case)), +most of these fields are optional but some of them are required (like `avsResponseCode`, `cvvResponseCode`). +So, for more accurate calculations, external integrations, like payment methods, might provide some additional details, like CVV/AVS response codes. + +The custom payment methods can implement `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping +from specific codes to [EMS standard](http://www.emsecommerce.net/avs_cvv2_response_codes.htm) and register these mappers in the `condig.xml` file +of a custom payment module. +For example, the mappers registration might look like this: + +```xml + + + + CustomPaymentFacade + Custom Payment + ... + Magento\CustomPayment\Model\AvsEmsCodeMapper + Magento\CustomPayment\Model\CvvEmsCodeMapper + + + +``` + +These steps are enough to provide custom AVS/CVV mapping for payment integrations, everything else, like mapper initialization, +will be provided by the Magento Signifyd infrastructure. + +## Retrieve payment method for a placed order + +Also, Signifyd can retrieve payment method for a placed order (the Magento Signifyd module can map Magento and Signifyd +payment codes using the predefined XML list, located in `Magento\Signifyd\etc\signifyd_payment_mapping.xml` file). +The 3rd-party payment integrations can apply own mappings for the [Signifyd payment codes](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case), +it's enough to add `signifyd_payment_mapping.xml` to custom payment method implementation and specify needed mapping. +For example: + +```xml + + + + custom_payment_code + PAYMENT_CARD + + + +``` + + - `magento_code` attribute value should be the code for a custom payment method (the same as in the payment's `config.xml`). + - `signifyd_code` attribute value should be one of available the Signifyd payment method codes. From 0603323e3c3880944f9d97dab040aaa201f66414 Mon Sep 17 00:00:00 2001 From: Nadiya Syvokonenko Date: Thu, 6 Apr 2017 17:58:15 +0300 Subject: [PATCH 034/301] MAGETWO-66960 - Falcons BiC documentation - notice about code column for Store Group --- .../v2.2/release-notes/backward-incompatible-changes.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/guides/v2.2/release-notes/backward-incompatible-changes.md b/guides/v2.2/release-notes/backward-incompatible-changes.md index 0857622834b..38f9e9ff56a 100644 --- a/guides/v2.2/release-notes/backward-incompatible-changes.md +++ b/guides/v2.2/release-notes/backward-incompatible-changes.md @@ -28,6 +28,11 @@ The Store module management has been updated to allow retrieve store by website **Action:** Added the method `getStoreByWebsiteId($websiteId)` to [`\Magento\Store\Model\StoreManager`]
**Description:** Retrieve store by website id
+New unique and required field `code` was added to the Store Group. +**Class:** [`Magento\Store\Api\Data\GroupInterface`]({{site.mage2200url}}app/code/Magento/Store/Api/Data/GroupInterface.php)
+**Action:** Added two methods `getCode()` and `setCode($code)` to [`Magento\Store\Api\Data\GroupInterface`]
+ + ### Customer Module Change was done in order to add default values to customer attributes. @@ -147,6 +152,10 @@ The `bin/magento setup:config:set` command no longer has the `--definition-forma ## Database Schema changes +###store_group +**Action:** new column `code` was added to `store_group` table. This column has unique key.
+**Description:** data to this column for existed store Groups will be automatically filled based on the Groups names. + ## Database data format changes This release replaces usages of `unserialize` with [`json_decode`]({{page.baseurl}}extension-dev-guide/framework/serializer.html). From 2f8d018fc03efe2ffebc2d11a2c24287669222f4 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Thu, 6 Apr 2017 19:22:48 +0300 Subject: [PATCH 035/301] Finalized drafts --- .../cli/install-cli-theme-uninstall.md | 4 +- .../themes/theme-install.md | 21 ++--- .../themes/theme-uninstall.md | 77 +++++++++++++++++++ 3 files changed, 91 insertions(+), 11 deletions(-) rename guides/{v2.0 => v2.1}/frontend-dev-guide/themes/theme-install.md (69%) create mode 100644 guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md diff --git a/guides/v2.0/install-gde/install/cli/install-cli-theme-uninstall.md b/guides/v2.0/install-gde/install/cli/install-cli-theme-uninstall.md index ac452bf9cfa..31e27d15d7d 100644 --- a/guides/v2.0/install-gde/install/cli/install-cli-theme-uninstall.md +++ b/guides/v2.0/install-gde/install/cli/install-cli-theme-uninstall.md @@ -2,8 +2,8 @@ layout: default group: install_cli subgroup: 05_Command-line installation -title: Uninstall themes -menu_title: Uninstall themes +title: Uninstall themes Composer packages +menu_title: Uninstall themes Composer packages menu_node: menu_order: 200 version: 2.0 diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-install.md b/guides/v2.1/frontend-dev-guide/themes/theme-install.md similarity index 69% rename from guides/v2.0/frontend-dev-guide/themes/theme-install.md rename to guides/v2.1/frontend-dev-guide/themes/theme-install.md index f6a87659594..3c2666052ff 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-install.md +++ b/guides/v2.1/frontend-dev-guide/themes/theme-install.md @@ -2,10 +2,10 @@ layout: default group: fedg subgroup: A_Themes -title: Install a ready to go storefront theme -menu_title: Install a ready to go storefront theme +title: Install a third-party storefront theme +menu_title: Install a a third-party storefront theme menu_order: 2 -version: 2.0 +version: 2.1 github_link: frontend-dev-guide/themes/theme-install.md --- @@ -21,16 +21,17 @@ To install a theme, you need to add its code to your Magento 2 instance code bas Both ways are described in the following sections. +## Prerequisites + +[Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). + +

Developers need to confirm this

. + ## Install a theme manually To install a theme manually: -1. Make sure that structure is following: //. - -
-<VendorName>/
-├──<theme_dir>/
-
+1. Make sure that the structure of the directory you are copying is following: `/`. And all the [theme files]({{page.baseurl}}frontend-dev-guide/themes/theme-structure.html) are in the `` directory. 2. Copy this directory to the `/app/design/frontend` directory. @@ -46,3 +47,5 @@ To make sure the theme is registered, in the Magento Admin navigate to **Content + + diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md new file mode 100644 index 00000000000..09f387ebffc --- /dev/null +++ b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md @@ -0,0 +1,77 @@ +--- +layout: default +group: fedg +subgroup: A_Themes +title: Uninstall a storefront theme +menu_title: Uninstall a storefront theme +menu_order: 2 +version: 2.1 +github_link: frontend-dev-guide/themes/theme-uninstall.md +--- + +## Overview + +This topic describes to uninstall a storefront theme in Magento 2. + +The way a theme should be uninstalled is defined by two factors: + +* the way the theme was added: manually added (installed or created) or installed as composer package. +* the way Magento was installed: [using the source files from Github]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-composer.html). +

need to verify what is the case when Magento is installed using wizard

+ +The following sections describe the flow for uninstalling themes in each case. + +## Prerequisites + +1. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). +2. Make sure that theme is not applied on the storefront. To do this, in the Admin panel navigate to **Content** > **Design** > **Configuration** and make sure that your custom theme is not applied for any store view. +2. Make sure that theme is not defined as parent for any theme registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. + + +## Uninstall a manually added theme + +In case if your theme was created or installed manually, the uninstall procedure is the same, regardless the way Magento was installed. + +To uninstall a manually added theme: + +1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. +2. Remove the theme directory. +3. Remove the theme record from database. If you are using MySQL, run the following command to do this: +``` +mysql -u User -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" +``` +

What is User,

+ +## Uninstall a theme package + +The flow for uninstalling a theme that is Composer package is different depending on the way your Magento instance was installed. + +### Uninstall a theme package if your Magento was installed using Composer + +To uninstall a theme Composer package if your Magento instance was installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. + +### Uninstall a theme package if your Magento was installed by cloning the repository + +If both the theme and the Magento instance were installed using Composer, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. + +Take the following steps: + +1. Open the `/composer.json` file. +2. Find a line with a reference to theme package and delete it. The reference would look like following: +``` +.... +"require": { + .... + "/": "" +}, +.... +``` +
+You can use the Composer remove command to remove the dependency, but in that case you will also to delete theme record from database manually. +
+

what Composer command?

+3. To update the project dependencies, run +``` +composer update +``` +4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. \ No newline at end of file From 77f2a1ce58f7b9a2f19876680dd9b89ae049163e Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 7 Apr 2017 11:22:46 +0300 Subject: [PATCH 036/301] created different versions of dics --- .../themes/theme-install.md | 2 +- .../themes/theme-uninstall.md | 77 +++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) rename guides/{v2.1 => v2.0}/frontend-dev-guide/themes/theme-install.md (99%) create mode 100644 guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-install.md b/guides/v2.0/frontend-dev-guide/themes/theme-install.md similarity index 99% rename from guides/v2.1/frontend-dev-guide/themes/theme-install.md rename to guides/v2.0/frontend-dev-guide/themes/theme-install.md index 3c2666052ff..0f7d645a3fe 100644 --- a/guides/v2.1/frontend-dev-guide/themes/theme-install.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-install.md @@ -5,7 +5,7 @@ subgroup: A_Themes title: Install a third-party storefront theme menu_title: Install a a third-party storefront theme menu_order: 2 -version: 2.1 +version: 2.0 github_link: frontend-dev-guide/themes/theme-install.md --- diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md new file mode 100644 index 00000000000..5c5a74efc91 --- /dev/null +++ b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md @@ -0,0 +1,77 @@ +--- +layout: default +group: fedg +subgroup: A_Themes +title: Uninstall a storefront theme +menu_title: Uninstall a storefront theme +menu_order: 2 +version: 2.0 +github_link: frontend-dev-guide/themes/theme-uninstall.md +--- + +## Overview + +This topic describes to uninstall a storefront theme in Magento 2. + +The way a theme should be uninstalled is defined by two factors: + +* the way the theme was added: manually added (installed or created) or installed as composer package. +* the way Magento was installed: [using the source files from Github]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-composer.html). +

need to verify what is the case when Magento is installed using wizard

+ +The following sections describe the flow for uninstalling themes in each case. + +## Prerequisites + +1. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). +2. Make sure that theme is not applied on the storefront. To do this, in the Admin panel navigate to **STORES** > **Configuration**>**Design** and make sure that your custom theme is not applied for any store view. +2. Make sure that theme is not defined as parent for any theme registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. + + +## Uninstall a manually added theme + +In case if your theme was created or installed manually, the uninstall procedure is the same, regardless the way Magento was installed. + +To uninstall a manually added theme: + +1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. +2. Remove the theme directory. +3. Remove the theme record from database. If you are using MySQL, run the following command to do this: +``` +mysql -u User -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" +``` +

What is User,

+ +## Uninstall a theme package + +The flow for uninstalling a theme that is Composer package is different depending on the way your Magento instance was installed. + +### Uninstall a theme package if your Magento was installed using Composer + +To uninstall a theme Composer package if your Magento instance was installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. + +### Uninstall a theme package if your Magento was installed by cloning the repository + +If both the theme and the Magento instance were installed using Composer, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. + +Take the following steps: + +1. Open the `/composer.json` file. +2. Find a line with a reference to theme package and delete it. The reference would look like following: +``` +.... +"require": { + .... + "/": "" +}, +.... +``` +
+You can use the Composer remove command to remove the dependency, but in that case you will also to delete theme record from database manually. +
+

what Composer command?

+3. To update the project dependencies, run +``` +composer update +``` +4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. \ No newline at end of file From 37a834cd1b777007d5aedda0368a0d3d9bacd882 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 7 Apr 2017 13:42:06 +0300 Subject: [PATCH 037/301] edits --- guides/v2.0/frontend-dev-guide/themes/theme-install.md | 2 -- guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-install.md b/guides/v2.0/frontend-dev-guide/themes/theme-install.md index 0f7d645a3fe..92da2eace93 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-install.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-install.md @@ -25,8 +25,6 @@ Both ways are described in the following sections. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). -

Developers need to confirm this

. - ## Install a theme manually To install a theme manually: diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md index 5c5a74efc91..8d6f1349bb3 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md @@ -38,7 +38,7 @@ To uninstall a manually added theme: 2. Remove the theme directory. 3. Remove the theme record from database. If you are using MySQL, run the following command to do this: ``` -mysql -u User -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" +mysql -u -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" ```

What is User,

@@ -67,7 +67,7 @@ Take the following steps: .... ```
-You can use the Composer remove command to remove the dependency, but in that case you will also to delete theme record from database manually. +You can use the Composer command to remove the dependency, but in that case you will also to delete theme record from database manually.

what Composer command?

3. To update the project dependencies, run From 57ef6ddb33e856808428506cbdc513ada343e9f5 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 7 Apr 2017 14:04:25 +0300 Subject: [PATCH 038/301] added symlinks --- guides/v2.1/frontend-dev-guide/themes/theme-install.md | 1 + guides/v2.1/frontend-dev-guide/themes/theme-overview.md | 1 + guides/v2.2/frontend-dev-guide/themes/theme-install.md | 1 + guides/v2.2/frontend-dev-guide/themes/theme-overview.md | 1 + guides/v2.2/frontend-dev-guide/themes/theme-uninstall.md | 1 + 5 files changed, 5 insertions(+) create mode 120000 guides/v2.1/frontend-dev-guide/themes/theme-install.md create mode 120000 guides/v2.1/frontend-dev-guide/themes/theme-overview.md create mode 120000 guides/v2.2/frontend-dev-guide/themes/theme-install.md create mode 120000 guides/v2.2/frontend-dev-guide/themes/theme-overview.md create mode 120000 guides/v2.2/frontend-dev-guide/themes/theme-uninstall.md diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-install.md b/guides/v2.1/frontend-dev-guide/themes/theme-install.md new file mode 120000 index 00000000000..e728b1edaf9 --- /dev/null +++ b/guides/v2.1/frontend-dev-guide/themes/theme-install.md @@ -0,0 +1 @@ +../../../v2.0/frontend-dev-guide/themes/theme-install.md \ No newline at end of file diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-overview.md b/guides/v2.1/frontend-dev-guide/themes/theme-overview.md new file mode 120000 index 00000000000..2a69a0fea76 --- /dev/null +++ b/guides/v2.1/frontend-dev-guide/themes/theme-overview.md @@ -0,0 +1 @@ +../../../v2.0/frontend-dev-guide/themes/theme-overview.md \ No newline at end of file diff --git a/guides/v2.2/frontend-dev-guide/themes/theme-install.md b/guides/v2.2/frontend-dev-guide/themes/theme-install.md new file mode 120000 index 00000000000..e728b1edaf9 --- /dev/null +++ b/guides/v2.2/frontend-dev-guide/themes/theme-install.md @@ -0,0 +1 @@ +../../../v2.0/frontend-dev-guide/themes/theme-install.md \ No newline at end of file diff --git a/guides/v2.2/frontend-dev-guide/themes/theme-overview.md b/guides/v2.2/frontend-dev-guide/themes/theme-overview.md new file mode 120000 index 00000000000..2a69a0fea76 --- /dev/null +++ b/guides/v2.2/frontend-dev-guide/themes/theme-overview.md @@ -0,0 +1 @@ +../../../v2.0/frontend-dev-guide/themes/theme-overview.md \ No newline at end of file diff --git a/guides/v2.2/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.2/frontend-dev-guide/themes/theme-uninstall.md new file mode 120000 index 00000000000..2478554a451 --- /dev/null +++ b/guides/v2.2/frontend-dev-guide/themes/theme-uninstall.md @@ -0,0 +1 @@ +../../../v2.1/frontend-dev-guide/themes/theme-uninstall.md \ No newline at end of file From 7638e58b1bcd7e02f5279b1305c955855ff58b30 Mon Sep 17 00:00:00 2001 From: Nadiya Syvokonenko Date: Fri, 7 Apr 2017 14:36:25 +0300 Subject: [PATCH 039/301] MAGETWO-66960 - Falcons BiC documentation --- .../backward-incompatible-changes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/guides/v2.2/release-notes/backward-incompatible-changes.md b/guides/v2.2/release-notes/backward-incompatible-changes.md index 38f9e9ff56a..e84056fb4ca 100644 --- a/guides/v2.2/release-notes/backward-incompatible-changes.md +++ b/guides/v2.2/release-notes/backward-incompatible-changes.md @@ -20,6 +20,12 @@ The detailed lists of changes generated by the Semantic Version Checker you can Magento 2.2 introduces changes in several API classes. These changes are designed to extend overall API coverage and improve developer experience with new features. +### Framework + +Magento does not support custom config file pools +**Class:** [`Magento\Framework\App\DeploymentConfig\Reader`]({{site.mage2200url}}lib/internal/Magento/Framework/App/DeploymentConfig/Reader.php){:target="_blank"}
+**Action:** Deprecated the method `loadConfigFile($fileKey, $pathConfig, $ignoreInitialConfigFiles = false)` in [`Magento\Framework\App\DeploymentConfig\Reader`]
+ ### Store Module The Store module management has been updated to allow retrieve store by website id. @@ -150,6 +156,10 @@ The `bin/magento setup:config:set` command no longer has the `--definition-forma ## Changes in UI +### Advanced section in System Configurations +**Action:** Section `Advanced` was disabled from Admin Interface, menu Stores > Configuration > Advanced
+**Description:** Magento does not support custom disabling/enabling modules output since 2.2.0 version. Section 'Advanced' was disabled. All custom settings from this section will be ignored. + ## Database Schema changes ###store_group @@ -374,3 +384,9 @@ The following methods now require JSON as a parameter instead of a serialized st | `Magento\Authorization\Model\ResourceModel\Rules::__construct` | [public] Method parameter changed | | `Magento\Authorization\Model\ResourceModel\Rules::$_aclCache` | [protected] Property removed | | `Magento\Setup\Module\Di\Compiler\Config\Writer\Filesystem` | Format and type of `generated\metadata` files changed from `.ser` to `.php` and serialized data to php data | + +## Changes in file system + +### File app/etc/config.local.php is not supported +**Description:** file app/etc/config.local.php is not read anymore. CLI command `app:config:dump` writes data to app/etc/config.php instead. File app/etc/config.local.php may be removed manually. + From 3d8d37fc8ba77ce1dce124c5950a2139a31f09cf Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 7 Apr 2017 13:02:25 +0100 Subject: [PATCH 040/301] MAGETWO-67130: Move module customization info from README to DevDocs * added section * added section * added section --- .../signifyd/signifyd.md | 54 +++++++++++-------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md index a1ac3d43750..920ebc35ddc 100644 --- a/guides/v2.2/payments-integrations/signifyd/signifyd.md +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -9,27 +9,33 @@ version: 2.2 github_link: payments-integrations/payments-integrations/signifyd/signifyd.md --- -## Overview +## About this document -This topic is about the integration of Magento with the Signifyd Fraud Detection serice. -Integration is done with S API and M_S module. +This document is about integrating Magento with the Signifyd Fraud Detection serice using the Magento_Signifyd module that is based on the Signifyd API. -The module does this... +## Magento_Signifyd module overview -Sections below are about... +The Magento-Signifyd module allows to: -## Provide custom AVS/CVV mapping + - create a [Signifyd case](https://www.signifyd.com/docs/api/#/reference/cases) for a placed order + - automatically receive a [Signifyd guarantee](https://www.signifyd.com/docs/api/#/reference/guarantees) for a created case + - automatically cancel a guarantee when the order is canceled -The Signifyd service collects a lot of information about an order (all fields described in [API](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case)), -most of these fields are optional but some of them are required (like `avsResponseCode`, `cvvResponseCode`). -So, for more accurate calculations, external integrations, like payment methods, might provide some additional details, like CVV/AVS response codes. +## Processing supplementary payment information + +You may improve the accuracy of Signifyd's transaction estimation by performing operations that are documented below. These operations involve supplementaty payment information from a transaction that needs to be investigated. + +### Provide custom AVS/CVV mapping + +The Signifyd service collects lots of information about an order (all fields described in [API](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case)). Most of these fields are optional, but some are required (for example, `avsResponseCode` and `cvvResponseCode`). + +So, for more accurate calculations, external integrations (like payment methods) might provide additional details, like CVV/AVS response codes. + +The custom payment methods can implement `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping from specific codes to [EMS standard](http://www.emsecommerce.net/avs_cvv2_response_codes.htm) and register these mappers in the `condig.xml` file of a custom payment module. -The custom payment methods can implement `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping -from specific codes to [EMS standard](http://www.emsecommerce.net/avs_cvv2_response_codes.htm) and register these mappers in the `condig.xml` file -of a custom payment module. For example, the mappers registration might look like this: -```xml +{%highlight xml startinline=1%} @@ -41,20 +47,20 @@ For example, the mappers registration might look like this: -``` +{%endhighlight%} -These steps are enough to provide custom AVS/CVV mapping for payment integrations, everything else, like mapper initialization, -will be provided by the Magento Signifyd infrastructure. +These steps are enough to provide custom AVS/CVV mapping for payment integrations. Everything else, like mapper initialization, will be provided by the Magento_Signifyd infrastructure. -## Retrieve payment method for a placed order +### Retrieve payment method for a placed order Also, Signifyd can retrieve payment method for a placed order (the Magento Signifyd module can map Magento and Signifyd payment codes using the predefined XML list, located in `Magento\Signifyd\etc\signifyd_payment_mapping.xml` file). -The 3rd-party payment integrations can apply own mappings for the [Signifyd payment codes](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case), -it's enough to add `signifyd_payment_mapping.xml` to custom payment method implementation and specify needed mapping. + +The 3rd-party payment integrations can apply own mappings for the [Signifyd payment codes](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case); it's enough to add `signifyd_payment_mapping.xml` to the custom payment method implementation and specify the needed mapping. + For example: -```xml +{%highlight xml startinline=1%} @@ -64,7 +70,9 @@ For example: -``` +{%endhighlight%} + +where: +* `magento_code` attribute value should be the code for a custom payment method (the same as in the payment's `config.xml`). - - `magento_code` attribute value should be the code for a custom payment method (the same as in the payment's `config.xml`). - - `signifyd_code` attribute value should be one of available the Signifyd payment method codes. +* `signifyd_code` attribute value should be one of available the Signifyd payment method codes. From 93a01c64d0bf547345ed3b411d7e7a6073a9bf39 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 7 Apr 2017 17:15:32 +0300 Subject: [PATCH 041/301] edits --- .../v2.0/frontend-dev-guide/themes/theme-uninstall.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md index 8d6f1349bb3..f6ad4bda819 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md @@ -37,10 +37,15 @@ To uninstall a manually added theme: 1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. 2. Remove the theme directory. 3. Remove the theme record from database. If you are using MySQL, run the following command to do this: + ``` -mysql -u -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" +mysql -u -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" ``` -

What is User,

+Where: + +- ``: your Magento database user name +- ``: your Magento database name +- `/`: relative path to the theme directory ## Uninstall a theme package @@ -58,6 +63,7 @@ Take the following steps: 1. Open the `/composer.json` file. 2. Find a line with a reference to theme package and delete it. The reference would look like following: + ``` .... "require": { From 5ca8018d62d260278ed2f3214c93c05719b29a14 Mon Sep 17 00:00:00 2001 From: Joseph Maxwell Date: Fri, 7 Apr 2017 09:21:05 -0500 Subject: [PATCH 042/301] Update technical-guidelines.md --- .../technical-guidelines/technical-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md index caecea383c3..4ccc3261ea6 100644 --- a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md +++ b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md @@ -473,7 +473,7 @@ We are reviewing this section and will publish it soon. ## 14. Events -14.1. All values (including objects) passed to event MUST NOT be modified in the event observer. Use plugins instead for this application. +14.1. All values (including objects) passed to an event MUST NOT be modified in the event observer. Instead, plugins SHOULD BE used for modifying the input or output of a function. {% collapsible Examples: %} {%highlight php startinline=1%} @@ -503,7 +503,7 @@ class SampleEventObserverThatModifiesInputs {%endhighlight%} {% endcollapsible %} -14.2. Use as specific events as possible. Don't use a `global` subscription to an event when the area impacted is just `frontend`. +14.2. Events used SHOULD be observed as specifically as possible. A `global` subscription to an event SHOULD NOT be used when the area impacted is just `frontend`. From c71b0acc74c84ed6598f54e335c7bf7bb9c27d28 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 7 Apr 2017 17:49:44 +0300 Subject: [PATCH 043/301] more edits --- guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md index 09f387ebffc..c4ee5057e5f 100644 --- a/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md +++ b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md @@ -37,10 +37,15 @@ To uninstall a manually added theme: 1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. 2. Remove the theme directory. 3. Remove the theme record from database. If you are using MySQL, run the following command to do this: + ``` -mysql -u User -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" +mysql -u -p -e "delete from .theme where theme_path ='/' AND area ='frontend' limit 1" ``` -

What is User,

+Where: + +- ``: your Magento database user name +- ``: your Magento database name +- `/`: relative path to the theme directory ## Uninstall a theme package From 1faaf23cd6ba8da0ae01d3d98a9e2d98f305079e Mon Sep 17 00:00:00 2001 From: Asrar Alam Date: Sat, 8 Apr 2017 13:20:37 +0100 Subject: [PATCH 044/301] inappropriate use of preposition --- guides/v2.0/frontend-dev-guide/layouts/layout-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/frontend-dev-guide/layouts/layout-overview.md b/guides/v2.0/frontend-dev-guide/layouts/layout-overview.md index e9af462a811..995bee9bb5e 100644 --- a/guides/v2.0/frontend-dev-guide/layouts/layout-overview.md +++ b/guides/v2.0/frontend-dev-guide/layouts/layout-overview.md @@ -49,7 +49,7 @@ The following figure shows an example: ## Basic layouts -The basic view of all Magento storefront pages in defined in two page configuration layout files located in the Magento_Theme module: +The basic view of all Magento storefront pages is defined in two page configuration layout files located in the Magento_Theme module: * `/view/frontend/layout/default.xml`: defines the page layout. * `/view/frontend/layout/default_head_blocks.xml`: defines the scripts, images, and meta data included in pages' `` section. From 4deab751f2c58d097a3cf3f06e180ad91e0563f4 Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Sun, 9 Apr 2017 08:55:09 -0500 Subject: [PATCH 045/301] Remove GitHub installation from release notes includes --- .../install/releasenotes/ce_install_20.md | 20 ------------------ .../install/releasenotes/ce_install_21.md | 21 ------------------- 2 files changed, 41 deletions(-) diff --git a/_includes/install/releasenotes/ce_install_20.md b/_includes/install/releasenotes/ce_install_20.md index 49cb2d5e364..98a4f071c1a 100644 --- a/_includes/install/releasenotes/ce_install_20.md +++ b/_includes/install/releasenotes/ce_install_20.md @@ -5,7 +5,6 @@ See one of the following sections: * [Get Magento CE using Composer](#install-ce-composer) * [Get Magento CE using a compressed archive](#get-zip) -* [Get the Magento CE software from GitHub](#install-rc-gh) * [Complete the installation](#install-complete) ### Get the Magento CE software using Composer {#install-ce-composer} @@ -26,25 +25,6 @@ For example, to install Magento CE 2.0.10 in the `magento2` directory: {% include install/releasenotes/get-ce-software_zip.md %} -### Get the Magento CE software from GitHub {#install-rc-gh} -{:.no_toc} - -
-

If you clone the Magento 2 GitHub repository, you cannot use the Magento software in a production environment. You cannot have a live store that accepts orders and so on.

-
- -Before proceeding, please familiarize yourself with [these prerequisites]({{ page.baseurl }}install-gde/prereq/dev_install.html), then run - - git clone git@github.com:magento/magento2.git - cd magento2 - git checkout tags/ [-b ] - -where - -`` matches the version you want (for example, `2.0.10`) - -`[-b ]` optionally checks out a new branch. - ### Complete the installation {#install-complete} {:.no_toc} diff --git a/_includes/install/releasenotes/ce_install_21.md b/_includes/install/releasenotes/ce_install_21.md index e4db2680814..7972c86c512 100644 --- a/_includes/install/releasenotes/ce_install_21.md +++ b/_includes/install/releasenotes/ce_install_21.md @@ -7,7 +7,6 @@ See one of the following sections for more information: * [Get the Magento CE software using Composer](#install-rc-composer) * [Get a compressed archive](#install-archive) -* [Get the Magento CE software from GitHub](#install-rc-gh) * [Complete the installation](#install-finish) ### Get the Magento CE software using Composer {#install-rc-composer} @@ -28,26 +27,6 @@ For example, to install Magento CE 2.1.1 in the `magento2` directory: {% include install/releasenotes/get-ce-software_zip.md %} -### Get the Magento CE software from GitHub {#install-rc-gh} -{:.no_toc} - -
-

If you clone the Magento 2 GitHub repository, you cannot use the Magento software in a production environment. You cannot have a live store that accepts orders and so on.

-
- -Before proceeding, please familiarize yourself with these prerequisites, then run - - git clone git@github.com:magento/magento2.git - cd magento2 - git checkout tags/ [-b ] - -where - -`` is `2.1.0`, `2.1.1`, and so on - -`[-b ]` optionally checks out a new branch. - - ### Complete the installation {#install-finish} {:.no_toc} From 201a856317314ec54496e7e68ca83f5968a92867 Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Sun, 9 Apr 2017 20:22:48 -0500 Subject: [PATCH 046/301] What's New on Devdocs for week ending April 7 (#805) --- guides/v2.0/magento-devdocs-whatsnew.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index 649da81232b..42eab2039b4 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -13,7 +13,12 @@ github_link: magento-devdocs-whatsnew.md This page contains recent changes that we think you'd like to know about. We exclude from this list proofreading, spelling checks, and all minor updates. -## March 2017 +## April 2017 + +No changes to date + + +{% collapsibleh2 March 2017 %} | Description | Versions applied to | New or Updated | Date | |--------------|--------------|----------------------|--------| @@ -34,6 +39,8 @@ This page contains recent changes that we think you'd like to know about. We exc | [Reorganize and correct issues with MECE workspace]({{ page.baseurl }}cloud/before/before-workspace.html){:target="_blank"} | 2.x | Updated | Mar 2 | | [Magento Functional Test Framework scenario test]({{ page.baseurl }}mtf/mtf_entities/mtf_scenariotest.html) | 2.x | New | Mar 3 | +{% endcollapsibleh2 %} + {% collapsibleh2 Feb 2017 %} From 006ce1cc996718447ffa5816d1d870896a6e99f6 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Mon, 10 Apr 2017 13:39:50 +0100 Subject: [PATCH 047/301] MAGETWO-67130: Move module customization info from README to DevDocs * made texts shorter * improved grammar to make reading easier * added links to Signifyd resources: website, API docs --- .../signifyd/signifyd.md | 36 ++++++++++++------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md index 920ebc35ddc..b35e703846c 100644 --- a/guides/v2.2/payments-integrations/signifyd/signifyd.md +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -11,7 +11,7 @@ github_link: payments-integrations/payments-integrations/signifyd/signifyd.md ## About this document -This document is about integrating Magento with the Signifyd Fraud Detection serice using the Magento_Signifyd module that is based on the Signifyd API. +This document provides additional technical details for integrating Magento with the [Signifyd fraud protection system]. The integration is based on the *Magento_Signifyd* module that uses the [Signifyd API]. ## Magento_Signifyd module overview @@ -23,17 +23,13 @@ The Magento-Signifyd module allows to: ## Processing supplementary payment information -You may improve the accuracy of Signifyd's transaction estimation by performing operations that are documented below. These operations involve supplementaty payment information from a transaction that needs to be investigated. +To improve the accuracy of Signifyd's transaction estimation, external integrations (like payment methods) may provide the supplementaty payment info. Sections below show how to do that. -### Provide custom AVS/CVV mapping +### Provide AVS/CVV response codes -The Signifyd service collects lots of information about an order (all fields described in [API](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case)). Most of these fields are optional, but some are required (for example, `avsResponseCode` and `cvvResponseCode`). +A custom payment method can implement the `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping from specific codes to [EMS standard], then register these mappers in the `config.xml` file of a custom payment module. -So, for more accurate calculations, external integrations (like payment methods) might provide additional details, like CVV/AVS response codes. - -The custom payment methods can implement `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping from specific codes to [EMS standard](http://www.emsecommerce.net/avs_cvv2_response_codes.htm) and register these mappers in the `condig.xml` file of a custom payment module. - -For example, the mappers registration might look like this: +Below is an example of mappers registration: {%highlight xml startinline=1%} @@ -49,14 +45,19 @@ For example, the mappers registration might look like this: {%endhighlight%} -These steps are enough to provide custom AVS/CVV mapping for payment integrations. Everything else, like mapper initialization, will be provided by the Magento_Signifyd infrastructure. +These steps are enough to provide custom AVS/CVV mapping for payment integrations. Everything else, like mapper initialization, will be provided by the *Magento_Signifyd* infrastructure. ### Retrieve payment method for a placed order -Also, Signifyd can retrieve payment method for a placed order (the Magento Signifyd module can map Magento and Signifyd -payment codes using the predefined XML list, located in `Magento\Signifyd\etc\signifyd_payment_mapping.xml` file). +The Signifyd service can retrieve the payment method of a placed order. The *Magento_Signifyd* module allows to map Magento and Signifyd payment codes using the predefined XML list, located in: + + Magento\Signifyd\etc\signifyd_payment_mapping.xml + +To apply own mappings for the [Signifyd payment codes], follow these steps: -The 3rd-party payment integrations can apply own mappings for the [Signifyd payment codes](https://www.signifyd.com/docs/api/#/reference/cases/create-a-case); it's enough to add `signifyd_payment_mapping.xml` to the custom payment method implementation and specify the needed mapping. +1. Add `signifyd_payment_mapping.xml` to the custom payment method implementation + +2. Specify the needed mapping For example: @@ -73,6 +74,15 @@ For example: {%endhighlight%} where: + * `magento_code` attribute value should be the code for a custom payment method (the same as in the payment's `config.xml`). * `signifyd_code` attribute value should be one of available the Signifyd payment method codes. + + + +[Signifyd fraud protection system]: (https://www.signifyd.com/) +[Signifyd API]: (https://www.signifyd.com/docs/api/) +[API docs]: (https://www.signifyd.com/docs/api/#/reference/cases/create-a-case) +[Signifyd payment codes]: (https://www.signifyd.com/docs/api/#/reference/cases/create-a-case) +[EMS standard]: (http://www.emsecommerce.net/avs_cvv2_response_codes.htm) From 3943dee8c76fced0cbaa41283c305fd80a3ce1bf Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Mon, 10 Apr 2017 15:04:14 +0100 Subject: [PATCH 048/301] MAGETWO-67130: Move module customization info from README to DevDocs * fixed capitalization in title --- guides/v2.2/payments-integrations/signifyd/signifyd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md index b35e703846c..68d64727a69 100644 --- a/guides/v2.2/payments-integrations/signifyd/signifyd.md +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -2,7 +2,7 @@ layout: default group: payments-integrations subgroup: D_Signifyd -title: Signifyd Fraud Detection +title: Signifyd fraud detection menu_title: Signifyd Fraud Detection menu_node: parent version: 2.2 From d152e577bb944f9d4209c8a8d022d94be1abe36b Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Mon, 10 Apr 2017 16:15:01 +0100 Subject: [PATCH 049/301] MAGETWO-67130: Move module customization info from README to DevDocs * passed grammar and style review * --- .../v2.2/payments-integrations/signifyd/signifyd.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md index 68d64727a69..c71edd38523 100644 --- a/guides/v2.2/payments-integrations/signifyd/signifyd.md +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -15,7 +15,7 @@ This document provides additional technical details for integrating Magento with ## Magento_Signifyd module overview -The Magento-Signifyd module allows to: +The Magento-Signifyd module allows you to: - create a [Signifyd case](https://www.signifyd.com/docs/api/#/reference/cases) for a placed order - automatically receive a [Signifyd guarantee](https://www.signifyd.com/docs/api/#/reference/guarantees) for a created case @@ -23,13 +23,13 @@ The Magento-Signifyd module allows to: ## Processing supplementary payment information -To improve the accuracy of Signifyd's transaction estimation, external integrations (like payment methods) may provide the supplementaty payment info. Sections below show how to do that. +To improve the accuracy of Signifyd's transaction estimation, external integrations (like payment methods) may provide the supplementary payment info. ### Provide AVS/CVV response codes -A custom payment method can implement the `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping from specific codes to [EMS standard], then register these mappers in the `config.xml` file of a custom payment module. +A custom payment method can implement the `\Magento\Payment\Api\PaymentVerificationInterface` to provide AVS/CVV mapping from specific codes to [EMS standard], then register these mappings in the `config.xml` file of a custom payment module. -Below is an example of mappers registration: +Below is an example of mapping registration: {%highlight xml startinline=1%} @@ -53,7 +53,7 @@ The Signifyd service can retrieve the payment method of a placed order. The *Mag Magento\Signifyd\etc\signifyd_payment_mapping.xml -To apply own mappings for the [Signifyd payment codes], follow these steps: +To apply your mappings for the [Signifyd payment codes], follow these steps: 1. Add `signifyd_payment_mapping.xml` to the custom payment method implementation @@ -77,7 +77,7 @@ where: * `magento_code` attribute value should be the code for a custom payment method (the same as in the payment's `config.xml`). -* `signifyd_code` attribute value should be one of available the Signifyd payment method codes. +* `signifyd_code` attribute value should be one of the available Signifyd payment method codes. From 77cf31359c2ed82c370427526de3165f1d5a1500 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Mon, 10 Apr 2017 16:29:10 +0100 Subject: [PATCH 050/301] MAGETWO-67130: Move module customization info from README to DevDocs * fixed document title --- guides/v2.2/payments-integrations/signifyd/signifyd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.2/payments-integrations/signifyd/signifyd.md b/guides/v2.2/payments-integrations/signifyd/signifyd.md index c71edd38523..8704958d66d 100644 --- a/guides/v2.2/payments-integrations/signifyd/signifyd.md +++ b/guides/v2.2/payments-integrations/signifyd/signifyd.md @@ -2,8 +2,8 @@ layout: default group: payments-integrations subgroup: D_Signifyd -title: Signifyd fraud detection -menu_title: Signifyd Fraud Detection +title: Signifyd fraud protection +menu_title: Signifyd fraud protection menu_node: parent version: 2.2 github_link: payments-integrations/payments-integrations/signifyd/signifyd.md From 6ffa33378d1724c9e3318b78f5f48ec0f04a5644 Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Mon, 10 Apr 2017 12:30:44 -0500 Subject: [PATCH 051/301] MAGETWO-67088. DATA_CONVERTER_BATCH_SIZE for upgrade to 2.2 (#795) * MAGETWO-67088. Add info about data converter batch size * Proofreading --- _includes/comp-man/checklist_2.2.md | 120 ++++++++++++++++++ guides/v2.2/comp-mgr/cli/cli-upgrade.md | 3 + .../extens-man/extensman-checklist.md | 2 +- .../comp-mgr/module-man/compman-checklist.md | 2 +- .../prereq/prereq_compman-checklist.md | 15 ++- .../comp-mgr/upgrader/upgrade-checklist.md | 39 +++++- guides/v2.2/comp-mgr/upgrader/upgrade.md | 4 +- 7 files changed, 179 insertions(+), 6 deletions(-) create mode 100644 _includes/comp-man/checklist_2.2.md mode change 120000 => 100644 guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md mode change 120000 => 100644 guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md diff --git a/_includes/comp-man/checklist_2.2.md b/_includes/comp-man/checklist_2.2.md new file mode 100644 index 00000000000..3123c566d2d --- /dev/null +++ b/_includes/comp-man/checklist_2.2.md @@ -0,0 +1,120 @@ +
+ +Before you continue, to avoid errors during your installation or update, make sure you verify *all* of the following: + +* You set up a [Magento file system owner](#magento-owner-group) and shared that owner's group with the web server user group +* Your [cron jobs](#magento-cron) are set up and running +* [Set a value for DATA_CONVERTER_BATCH_SIZE](#batch-size) +* [File system permissions](#perms) are set properly + +
+

Do not continue without performing these checks. Failure to do so could result in errors.

+
+ +### Set a value for DATA_CONVERTER_BATCH_SIZE {#batch-size} +Magento 2.2 includes security enhancements that requires some data to be converted from serialized data format to JSON encoded format. This conversion occurs during the upgrade and it can take a long time, depending on how much data is in your Magento database. + +One or more fields in the following tables are affected: `sales_order`, `sales_order_payment`, `quote`, `quote_payment`, `core_config_data`, `magento_reward_history`, `url_rewrite`, `salesrule`, and `catalogrule`. (This is not a complete list.) + +If you have a large amount of data, you can improve performance by setting the value of an environment variable, `DATA_CONVERTER_BATCH_SIZE`. By default, it's set to a value of 50,000. + +To set the variable, before the upgrade starts enter the following command as the {% glossarytooltip 5e7de323-626b-4d1b-a7e5-c8d13a92c5d3 %}Magento file system owner{% endglossarytooltip %} in a bash shell prompt: + + export DATA_CONVERTER_BATCH_SIZE + +For example, + + export DATA_CONVERTER_BATCH_SIZE 100000 + +After your upgrade completes, you can unset the variable as follows: + + unset DATA_CONVERTER_BATCH_SIZE + +
+`DATA_CONVERTER_BATCH_SIZE` requires memory; avoid setting it to a very large value (approximately 1GB) without testing it first. +
+ +### Magento file system owner and group {#magento-owner-group} +The {% glossarytooltip 5e7de323-626b-4d1b-a7e5-c8d13a92c5d3 %}Magento file system owner{% endglossarytooltip %} group must have write access to Magento directories and files. + +### Cron jobs are running {#magento-cron} +Magento requires three cron jobs, all running as the {% glossarytooltip 5e7de323-626b-4d1b-a7e5-c8d13a92c5d3 %}Magento file system owner{% endglossarytooltip %}. + +To verify your cron jobs are set up properly, enter the following command as the Magento file system owner: + + crontab -l + +Results similar to the following should display: + + * * * * * /usr/bin/php /var/www/magento2/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento2/var/log/magento.cron.log + * * * * * /usr/bin/php /var/www/magento2/update/cron.php >> /var/www/magento2/var/log/update.cron.log + * * * * * /usr/bin/php /var/www/magento2/bin/magento setup:cron:run >> /var/www/magento2/var/log/setup.cron.log + +Another symptom of cron not running is the following error in the Magento Admin: + +![cron isn't running]({{ site.baseurl }}common/images/compman-cron-not-running.png){:width="500px"} + +To see the error, you might need to click **System Messages** at the top of the window as follows: + +![System Messages]({{ site.baseurl }}common/images/compman_sys-messages.png) + +For details, see [Set up cron]({{page.baseurl}}install-gde/install/post-install-config.html#post-install-cron). + +### File system permissions {#perms} +For security reasons, Magento requires certain permissions on the file system. Permissions are different from [*ownership*](#magento-owner-group). Ownership determines *who* can perform actions on the file system; permissions determine *what* the user can do. + +Directories in the Magento file system must be writable by the [Magento file system owner's]({{page.baseurl}}install-gde/prereq/file-sys-perms-over.html) group. + +To verify your file system permissions are set properly, either log in to the Magento server or use your hosting provider's file manager application. + +For example, enter the following commands on a Linux system if the Magento application is installed in `/var/www/html/magento2`: + + ls -al /var/www/html/magento2 + +A sample result follows: + +{% highlight xml %} +total 1028 +drwxrwx---. 12 magento_user apache 4096 Jun 7 07:55 . +drwxr-xr-x. 3 root root 4096 May 11 14:29 .. +drwxrwx---. 4 magento_user apache 4096 Jun 7 07:53 app +drwxrwx---. 2 magento_user apache 4096 Jun 7 07:53 bin +-rw-rw----. 1 magento_user apache 439792 Apr 27 21:23 CHANGELOG.md +-rw-rw----. 1 magento_user apache 3422 Apr 27 21:23 composer.json +-rw-rw----. 1 magento_user apache 425214 Apr 27 21:27 composer.lock +-rw-rw----. 1 magento_user apache 3425 Apr 27 21:23 CONTRIBUTING.md +-rw-rw----. 1 magento_user apache 10011 Apr 27 21:23 CONTRIBUTOR_LICENSE_AGREEMENT.html +-rw-rw----. 1 magento_user apache 631 Apr 27 21:23 COPYING.txt +drwxrwx---. 4 magento_user apache 4096 Jun 7 07:53 dev +-rw-rw----. 1 magento_user apache 2926 Apr 27 21:23 Gruntfile.js +-rw-rw----. 1 magento_user apache 7592 Apr 27 21:23 .htaccess +-rw-rw----. 1 magento_user apache 6419 Apr 27 21:23 .htaccess.sample +-rw-rw----. 1 magento_user apache 1358 Apr 27 21:23 index.php +drwxrwx---. 4 magento_user apache 4096 Jun 7 07:53 lib +-rw-rw----. 1 magento_user apache 10376 Apr 27 21:23 LICENSE_AFL.txt +-rw-rw----. 1 magento_user apache 30634 Apr 27 21:23 LICENSE_EE.txt +-rw-rw----. 1 magento_user apache 10364 Apr 27 21:23 LICENSE.txt +-rw-rw----. 1 magento_user apache 4108 Apr 27 21:23 nginx.conf.sample +-rw-rw----. 1 magento_user apache 1427 Apr 27 21:23 package.json +-rw-rw----. 1 magento_user apache 1659 Apr 27 21:23 .php_cs +-rw-rw----. 1 magento_user apache 804 Apr 27 21:23 php.ini.sample +drwxrwx---. 2 magento_user apache 4096 Jun 7 07:53 phpserver +drwxrwx---. 6 magento_user apache 4096 Jun 7 07:53 pub +-rw-rw----. 1 magento_user apache 2207 Apr 27 21:23 README_EE.md +drwxrwx---. 7 magento_user apache 4096 Jun 7 07:53 setup +-rw-rw----. 1 magento_user apache 3731 Apr 27 21:23 .travis.yml +drwxrwx---. 7 magento_user apache 4096 Jun 7 07:53 update +drwxrws---. 11 magento_user apache 4096 Jun 13 16:05 var +drwxrws---. 29 magento_user apache 4096 Jun 7 07:53 vendor +{% endhighlight %} + +In the preceding example, the Magento file system owner is `magento_user`. Directories in the Magento file system have `drwxrwx---` permissions (775) and files have `-rw-rw-rw-` permissions (664). + +To get more detailed information, you can optionally enter the following command: + + ls -al /var/www/html/magento2/pub + +Because Magento deploys static file assets to subdirectories of `pub`, it's a good idea to verify permissions and ownership there as well. + +For more information, see [File system permissions and ownership]({{page.baseurl}}install-gde/prereq/file-sys-perms-over.html). + diff --git a/guides/v2.2/comp-mgr/cli/cli-upgrade.md b/guides/v2.2/comp-mgr/cli/cli-upgrade.md index 8c366fbee2a..4840942bf6d 100644 --- a/guides/v2.2/comp-mgr/cli/cli-upgrade.md +++ b/guides/v2.2/comp-mgr/cli/cli-upgrade.md @@ -27,6 +27,9 @@ You can upgrade Magento from the command line if you installed the software usin
  • If you're upgrading from Magento CE or EE 2.0.0 or 2.0.1, you must first perform the tasks discussed in the Technical Bulletin (1/28/16).
  • +## Pre-upgrade checklist +{% include comp-man/checklist_2.2.md %} + ## Prerequisite: `pub` directory root {#upgrade-cli-pub} This section applies to you *only* if you set the Magento root directory to `/pub`. If you did not do this, skip this section and continue with the next section. diff --git a/guides/v2.2/comp-mgr/extens-man/extensman-checklist.md b/guides/v2.2/comp-mgr/extens-man/extensman-checklist.md index 205cabfb7e9..398fb1458c4 100644 --- a/guides/v2.2/comp-mgr/extens-man/extensman-checklist.md +++ b/guides/v2.2/comp-mgr/extens-man/extensman-checklist.md @@ -25,7 +25,7 @@ The Extension Manager enables you to install, uninstall, and update extensions, Before continuing, complete all tasks discussed in [Prerequisites]({{page.baseurl}}comp-mgr/prereq/prereq_compman.html). ## Extension Manager checklist -{% include comp-man/checklist.md %} +{% include comp-man/checklist_2.2.md %} #### Next step [Start the Extension Manager]({{ page.baseurl }}comp-mgr/extens-man/extensman-main-pg.html) \ No newline at end of file diff --git a/guides/v2.2/comp-mgr/module-man/compman-checklist.md b/guides/v2.2/comp-mgr/module-man/compman-checklist.md index e88ba6f5bfb..8b021e4770f 100644 --- a/guides/v2.2/comp-mgr/module-man/compman-checklist.md +++ b/guides/v2.2/comp-mgr/module-man/compman-checklist.md @@ -17,7 +17,7 @@ This section discusses how to start the Module Manager, which updates or uninsta Before continuing, complete all tasks discussed in Prerequisites. ## Module Manager checklist -{% include comp-man/checklist.md %} +{% include comp-man/checklist_2.2.md %} #### Next step [Run the Module Manager]({{page.baseurl}}comp-mgr/module-man/compman-start.html) diff --git a/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md b/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md deleted file mode 120000 index d811e389280..00000000000 --- a/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/comp-mgr/prereq/prereq_compman-checklist.md \ No newline at end of file diff --git a/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md b/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md new file mode 100644 index 00000000000..b0533460936 --- /dev/null +++ b/guides/v2.2/comp-mgr/prereq/prereq_compman-checklist.md @@ -0,0 +1,14 @@ +--- +layout: default +group: compman +subgroup: 02_prereq +title: Update and upgrade checklist +menu_title: Update and upgrade checklist +menu_order: 200 +menu_node: +version: 2.2 +github_link: comp-mgr/prereq/prereq_compman-checklist.md +--- + +## Checklist +{% include comp-man/checklist_2.2.md %} diff --git a/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md b/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md deleted file mode 120000 index 21a83356306..00000000000 --- a/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/comp-mgr/upgrader/upgrade-checklist.md \ No newline at end of file diff --git a/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md b/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md new file mode 100644 index 00000000000..3105dcb8813 --- /dev/null +++ b/guides/v2.2/comp-mgr/upgrader/upgrade-checklist.md @@ -0,0 +1,38 @@ +--- +layout: default +group: compman +subgroup: 32_UseUpgrade +title: Run System Upgrade +menu_title: Run System Upgrade +menu_node: parent +menu_order: 1 +version: 2.2 +github_link: comp-mgr/upgrader/upgrade-checklist.md +--- + +

    Overview of System Upgrade

    +This section discusses how to start System Upgrade, which upgrades the version of Magento core components as well as any other installed components. + +You can upgrade in any of the following ways: + +* Using the System Upgrade utility, a wizard that walks you through the upgrade step by step; continue with this topic. + + Use this method if you don't have a to the Magento server's file system or if you're a non-technical user. +* Using the [command line]({{page.baseurl}}comp-mgr/cli/cli-upgrade.html). + + This upgrade method is more advanced and it requires access to the Magento server's file system. + +
    +

    System upgrade refers to updating the Magento 2.x core components and other installed components. To migrate from Magento 1.x to Magento 2, see the Migration Guide.

    +
    + +
    +
    • Authorization keys from a shared account cannot be used for upgrade. You must get your authorization keys from magento.com account owner.
    • +
    • If you installed the Magento application by cloning the GitHub repository, you cannot use the System Upgrade utility to upgrade the software. Instead, you must update it manually.
    +
    + +## System Upgrade checklist +{% include comp-man/checklist_2.2.md %} + +#### Next step +[Start System Upgrade]({{page.baseurl}}comp-mgr/upgrader/upgrade-start.html) diff --git a/guides/v2.2/comp-mgr/upgrader/upgrade.md b/guides/v2.2/comp-mgr/upgrader/upgrade.md index 359abba6cd4..69f4d77457b 100644 --- a/guides/v2.2/comp-mgr/upgrader/upgrade.md +++ b/guides/v2.2/comp-mgr/upgrader/upgrade.md @@ -10,7 +10,7 @@ version: 2.2 github_link: comp-mgr/upgrader/upgrade.md --- -The components you're upgrading display. The following figure shows an example. +The components you're upgrading are displayed. The following figure shows an example. Click upgrade to complete the task @@ -19,7 +19,7 @@ To complete the upgrade, click **Upgrade**. If the upgrade is successful, a page Your upgrade was successful -Messages similar to the following display in the Console Log: +Messages similar to the following are displayed in the Console Log: {% collapsible Click to view the Console Log %} From c526bed24908dc6d5d1b2f1492365b0f396e8302 Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Mon, 10 Apr 2017 16:57:12 -0500 Subject: [PATCH 052/301] Create symlinks to multi-page tutorial template pages --- .../v2.1/contributor-guide/templates/tutorial-template-first.md | 1 + .../v2.1/contributor-guide/templates/tutorial-template-last.md | 1 + .../v2.1/contributor-guide/templates/tutorial-template-middle.md | 1 + .../v2.2/contributor-guide/templates/tutorial-template-first.md | 1 + .../v2.2/contributor-guide/templates/tutorial-template-last.md | 1 + .../v2.2/contributor-guide/templates/tutorial-template-middle.md | 1 + 6 files changed, 6 insertions(+) create mode 120000 guides/v2.1/contributor-guide/templates/tutorial-template-first.md create mode 120000 guides/v2.1/contributor-guide/templates/tutorial-template-last.md create mode 120000 guides/v2.1/contributor-guide/templates/tutorial-template-middle.md create mode 120000 guides/v2.2/contributor-guide/templates/tutorial-template-first.md create mode 120000 guides/v2.2/contributor-guide/templates/tutorial-template-last.md create mode 120000 guides/v2.2/contributor-guide/templates/tutorial-template-middle.md diff --git a/guides/v2.1/contributor-guide/templates/tutorial-template-first.md b/guides/v2.1/contributor-guide/templates/tutorial-template-first.md new file mode 120000 index 00000000000..648fac17e38 --- /dev/null +++ b/guides/v2.1/contributor-guide/templates/tutorial-template-first.md @@ -0,0 +1 @@ +../../../v2.0/contributor-guide/templates/tutorial-template-first.md \ No newline at end of file diff --git a/guides/v2.1/contributor-guide/templates/tutorial-template-last.md b/guides/v2.1/contributor-guide/templates/tutorial-template-last.md new file mode 120000 index 00000000000..6105e5f4ca3 --- /dev/null +++ b/guides/v2.1/contributor-guide/templates/tutorial-template-last.md @@ -0,0 +1 @@ +../../../v2.0/contributor-guide/templates/tutorial-template-last.md \ No newline at end of file diff --git a/guides/v2.1/contributor-guide/templates/tutorial-template-middle.md b/guides/v2.1/contributor-guide/templates/tutorial-template-middle.md new file mode 120000 index 00000000000..87d2c18cbd2 --- /dev/null +++ b/guides/v2.1/contributor-guide/templates/tutorial-template-middle.md @@ -0,0 +1 @@ +../../../v2.0/contributor-guide/templates/tutorial-template-middle.md \ No newline at end of file diff --git a/guides/v2.2/contributor-guide/templates/tutorial-template-first.md b/guides/v2.2/contributor-guide/templates/tutorial-template-first.md new file mode 120000 index 00000000000..50ec1522c1e --- /dev/null +++ b/guides/v2.2/contributor-guide/templates/tutorial-template-first.md @@ -0,0 +1 @@ +../../../v2.1/contributor-guide/templates/tutorial-template-first.md \ No newline at end of file diff --git a/guides/v2.2/contributor-guide/templates/tutorial-template-last.md b/guides/v2.2/contributor-guide/templates/tutorial-template-last.md new file mode 120000 index 00000000000..2581664478f --- /dev/null +++ b/guides/v2.2/contributor-guide/templates/tutorial-template-last.md @@ -0,0 +1 @@ +../../../v2.1/contributor-guide/templates/tutorial-template-last.md \ No newline at end of file diff --git a/guides/v2.2/contributor-guide/templates/tutorial-template-middle.md b/guides/v2.2/contributor-guide/templates/tutorial-template-middle.md new file mode 120000 index 00000000000..6f49120864c --- /dev/null +++ b/guides/v2.2/contributor-guide/templates/tutorial-template-middle.md @@ -0,0 +1 @@ +../../../v2.1/contributor-guide/templates/tutorial-template-middle.md \ No newline at end of file From 745965569db2e0dbb6d2d69fdc9eb579a4d4c75c Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 11 Apr 2017 08:40:38 -0500 Subject: [PATCH 053/301] pre-release update --- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index a2850280b98..c128b4a6c67 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -69,8 +69,6 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -* The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. - * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. From 88c3e779e6ea82278e2f2c62a57a7ca38fa74ac2 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Tue, 11 Apr 2017 09:14:48 -0500 Subject: [PATCH 054/301] pre-release update --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 5d4c5685f3a..dd56a4769e7 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -71,8 +71,6 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -* The `\Magento\CatalogWidget\Model\Rule` class now implements unserialized methods. Specifically, Magento has replaced `\Magento\FrameworkSerialize\Serializer\Json::serialize()` with `\Magento\FrameworkSerialize\Serializer\Json::unserialize()`. - * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. From 278497535dc8a2ee8fce47d2d00a35d579ec2fb0 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Tue, 11 Apr 2017 18:21:16 +0300 Subject: [PATCH 055/301] edits about the theme installed as extension --- .../frontend-dev-guide/themes/theme-install.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-install.md b/guides/v2.0/frontend-dev-guide/themes/theme-install.md index 92da2eace93..ba797c899dc 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-install.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-install.md @@ -13,13 +13,13 @@ github_link: frontend-dev-guide/themes/theme-install.md This topic describes to install a third-party theme for Magento 2 store. -To install a theme, you need to add its code to your Magento 2 instance code base and register it in the database. There are two ways to do this, depending on the way the theme is distributed: +To install a theme, you need to add its code to your Magento 2 instance code base and register it in the database. There are several ways to do this, depending on the way a theme is distributed: -- if the theme is just a set of files, for example an archive, you need to add it manually. +- if a theme is just a set of files, for example an archive, you need to add it manually. +- if a theme is a composer package, you need to install using composer. +- if a theme is distributed as an extension, it can be installed using the **Web Setup Wizard** in Magento Admin. -- if the theme is a composer package, you need to install using composer. - -Both ways are described in the following sections. +The following sections contain details about each installation flow. ## Prerequisites @@ -37,11 +37,15 @@ To install a theme manually: To install the theme as composer package, follow the instructions in the [Install extensions]({{page.baseurl}}cloud/howtos/install-components.html) topic. +## Install a theme an extension + +If a theme is distributed on [Magento Marketplace](https://marketplace.magento.com/), it can be installed the same way as extensions are installed using the **Web Setup Wizard**. For details, see the [Installing a New Theme topic in Magento User Guide](http://docs.magento.com/m2/2.0/ce/user_guide/design/theme-install.html). + ## Register a theme Once you open the Magento Admin (or reload any Magento Admin page) having added the theme files to the files system, your theme gets registered and added to the database. -To make sure the theme is registered, in the Magento Admin navigate to **Content** > **Design** > **Themes**. If the theme is registered, it is displayed in the list of available themes. +To make sure the theme is registered, in the Magento Admin navigate to **Content** > **Design** > **Themes**. If a theme is registered, it is displayed in the list of available themes. From b0d5e99c64a2f4b930a7bbf741b9ac10ba55fe7e Mon Sep 17 00:00:00 2001 From: Dale Sikkema Date: Tue, 11 Apr 2017 11:20:03 -0500 Subject: [PATCH 056/301] add overview article --- guides/v2.0/cloud/10000-ft-overview.md | 77 ++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 guides/v2.0/cloud/10000-ft-overview.md diff --git a/guides/v2.0/cloud/10000-ft-overview.md b/guides/v2.0/cloud/10000-ft-overview.md new file mode 100644 index 00000000000..ad0213f9b88 --- /dev/null +++ b/guides/v2.0/cloud/10000-ft-overview.md @@ -0,0 +1,77 @@ +# Magento Enterprise Cloud Edition: The 10,000 Foot Overview + +# What's this? + +The goal of this page is to give you a high-level map of the cloud offering: what are the moving parts, how do they work, and what are your modes of interacting with them. On other pages, you'll find more in-depth discussion into specifics: right now, we just want to get you oriented. + +# What should I know about before reading this article? Or using ECE? + +* Git +* Composer +* SSH +* MySQL (including command-line interation) +* Basic linux shell usage + +# What kinds of ECE are there? + +When you sign up for ECE you will get access to two kinds of environments: one is termed the "integration environment" and the other is the "enterprise environment". Your staging and production servers will be enterprise environments, while you can have up to six different integration environments. The integration environments are designed for experimentation and user acceptance testing - they are lightweight servers that are easy to manage by `magento-cloud`, [a custom command-line tool](/guides/v2.0/cloud/before/before-workspace-cli.html), as well as a web-based GUI. The enterprise environments are heavy-duty but can only be managed directly through the regular command-line tools like `git` and `ssh` -- not the `magento-cloud` tool. + +# What are the moving parts? + +## Git repo + +Enterprise Cloud Edition is a solution for hosting your Magento code on the Cloud. The source code for your site is stored in a private git repository, and that's how you make changes to your site's codebase. When you push commits to this repository, a set of hooks get called that handle deployment activities. + +On your integration environment, there is just one repository: every branch of that repository corresponds to an actual running container for a Magento instance based on the codebase in that branch. The name of the branch matches the name of the environment. + +For your two enterprise environments, staging and production, you have one repository each and the `master` branch corresponds to the running environment: that is, every node of the VM cluster will have the codebase contained in the `master` branch. Other branches on these repos will not correspond to running environments. + +## Where does the code first come from? + +You can start off with ECE in two ways - start your project based on a code template and make new commits on top of that with whatever changes you need, or import your existing project (as long as it is structured properly -- more on that below). Either way involves basic `git` operations to pull code from _some_ remote repository into your dedicated ECE repository. + +### Pull from template + +We keep a template of an ECE project [on github](https://github.com/magento/magento-cloud/). This template contains the latest version of Magento, retrieved via composer. Since the official way to download Magento for use in actual websites is to download the code with composer, the template comes with a ready-made `composer.json` file and up-to-date `composer.lock` file, and these establish the dependencies to download the Magento source code as well as a few other packages that are required for ECE specifically. + +When your project is created for the first time you will have the option to create it from a template, and choosing this option will pull from our template repo into your branch. + +### Import your own project + +You can at any time import your existing codebase using git. [See the project import article](/guides/v2.0/cloud/access-acct/first-time-setup_import-import.html) for information on importing your existing codebase, and how to make sure it's well-structured. + +## What about Composer? + +You can add dependencies on Magento extensions and other PHP libraries using composer. You must also depend on a package called `magento/magento-cloud-metapackage` in order to download both the Magento codebase and also other packages that are specific to ECE (like deployment scripts). + +## How do things get deployed? + +When you push to the git repository for your project, the environment will get deployed or re-deployed to accomodate the new changes. For instance, say you added a new module: in order for the site to work, `bin/magento setup:upgrade` will need to be run. Or, if this is the first deployment, then `bin/magento setup:install` will need to be run. There are several other commands that go into the deployment flow, but _you don't need to run them manually_, because the build and deploy hooks will take care of that automatically. For more information about the composer packages that contain those hooks, see [this article on Composer Integration](/guides/v2.0/cloud/cloud-composer.html). + +### Default hooks + +There are two kinds of hooks that run at different points in time: `build` and `deploy` hooks. + +`build` hooks run while the raw codebase is being formed: there is no access to a database or a redis cache while these hooks run. These hooks run on a machine that is separate from your webserver: once the codebase is prepared by running all of the build hooks, the entire folder gets copied onto the machine that your site is served from, in read-only form. + +`deploy` hooks run after the read-only code slug is prepared, and this hook runs on the actual machine where the nginx web server will serve your site. These hooks can access the database, redis, etc., and so are used for making non-code-related changes to the application. + +The default hooks are as follows: + + * `php bin/magento magento-cloud:build` - this is a build hook. It handles applying any patches you might have provided + * `php vendor/magento/magento-cloud-configuration/pre-deploy.php` - this is a deploy hook that clears the cache and marshals files around to enable the next deploy hook, which depends on Magento's console frmaework, to be able to run correctly. + * `php bin/magento magento-cloud:deploy` - this deploy hook installs or updates the application, and updates config values whenever they change (such as DB connection details). + +### Adding more hooks + +Above are the three hooks that run by default, but you can add your own. In integration environments, you can declaratively change them by editing `.magento.app.yaml` in the project root and committing the change to git. Just add the command you want to run to `hooks->build` or `hooks->deploy`. For the enterprise environment, submit a support ticket describing the command you want to run as the hook, and whether it is for the build or deploy hook phase. + +## How do I SSH into the environment? + +[Here is the SSH guide.](/guides/v2.0/cloud/env/environments-ssh.html). + + + + + + From 461199ed3643a2136187a9ba51e92fc80099784b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Corr=C3=AAa=20Gomes?= Date: Tue, 11 Apr 2017 15:41:15 -0300 Subject: [PATCH 057/301] Write fix --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index dd56a4769e7..1e089661ef8 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -42,7 +42,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * significant decrease in the number of file system operations when processing images on frontend - * caching of image metadata is up to 50% faster, depending upon store size + * caching of image metadata is up to 50% faster, depending on store size * **Improved performance of layered navigation** From b2aedcc560d4dd5842bb1e24b183344effc9e845 Mon Sep 17 00:00:00 2001 From: Dale Sikkema Date: Tue, 11 Apr 2017 14:27:17 -0500 Subject: [PATCH 058/301] re-organize --- guides/v2.0/cloud/access-acct/fastly.md | 2 +- .../cloud/access-acct/first-time-setup.md | 2 +- .../first-time-setup_dir-structure.md | 2 +- .../first-time-setup_import-first-steps.md | 2 +- .../first-time-setup_import-import.md | 2 +- .../first-time-setup_import-parent.md | 2 +- .../first-time-setup_import-prepare.md | 2 +- .../first-time-setup_import-prereq.md | 2 +- .../access-acct/first-time-setup_template.md | 2 +- guides/v2.0/cloud/access-acct/resources.md | 2 +- guides/v2.0/cloud/access-acct/trouble.md | 2 +- .../v2.0/cloud/before/before-project-owner.md | 2 +- guides/v2.0/cloud/before/before-repos.md | 24 ---------- .../before/before-setup-env-1_get-start.md | 2 +- .../cloud/before/before-setup-env-2_clone.md | 2 +- .../cloud/before/before-setup-env-cron.md | 2 +- .../v2.0/cloud/before/before-setup-env-env.md | 2 +- .../cloud/before/before-setup-env-install.md | 2 +- .../cloud/before/before-setup-env-keys.md | 2 +- .../cloud/before/before-setup-env-parent.md | 2 +- .../cloud/before/before-setup-env-perms.md | 2 +- .../v2.0/cloud/before/before-workspace-cli.md | 2 +- .../before/before-workspace-cloud-account.md | 2 +- .../before/before-workspace-file-sys-owner.md | 2 +- .../before-workspace-magento-prereqs.md | 2 +- .../cloud/before/before-workspace-parent.md | 2 +- .../v2.0/cloud/before/before-workspace-php.md | 2 +- .../v2.0/cloud/before/before-workspace-ssh.md | 2 +- guides/v2.0/cloud/before/before-workspace.md | 2 +- guides/v2.0/cloud/before/before.md | 20 --------- .../v2.0/cloud/before/integration-ip-addr.md | 2 +- guides/v2.0/cloud/before/terms.md | 44 ------------------- guides/v2.0/cloud/discover-tools.md | 42 ------------------ .../v2.0/cloud/env/environment-vars-parent.md | 2 +- .../v2.0/cloud/env/environment-vars_cloud.md | 2 +- .../cloud/env/environment-vars_magento.md | 2 +- .../v2.0/cloud/env/environment-vars_over.md | 2 +- guides/v2.0/cloud/env/environments-ssh.md | 2 +- guides/v2.0/cloud/env/environments-start.md | 2 +- guides/v2.0/cloud/env/environments.md | 2 +- guides/v2.0/cloud/howtos/custom-theme.md | 2 +- guides/v2.0/cloud/howtos/debug.md | 2 +- .../howtos/environment-tutorial-env-merge.md | 2 +- guides/v2.0/cloud/howtos/how-to.md | 3 +- .../v2.0/cloud/howtos/howto-upgrade-parent.md | 2 +- .../v2.0/cloud/howtos/install-components.md | 2 +- guides/v2.0/cloud/howtos/patch-magento.md | 2 +- guides/v2.0/cloud/howtos/sample-data.md | 2 +- guides/v2.0/cloud/howtos/update-components.md | 2 +- .../cloud/howtos/update-extensions-parent.md | 2 +- guides/v2.0/cloud/howtos/upgrade-magento.md | 2 +- guides/v2.0/cloud/live/live-prot.md | 2 +- guides/v2.0/cloud/live/live-sanity-check.md | 2 +- guides/v2.0/cloud/live/live.md | 2 +- guides/v2.0/cloud/live/stage-prod-live.md | 2 +- .../cloud/live/stage-prod-migrate-prereq.md | 2 +- guides/v2.0/cloud/live/stage-prod-migrate.md | 2 +- guides/v2.0/cloud/live/stage-prod-over.md | 2 +- guides/v2.0/cloud/live/stage-prod-parent.md | 2 +- guides/v2.0/cloud/live/stage-prod-test.md | 2 +- guides/v2.0/cloud/project/admin-git-push.md | 2 +- .../project/project-conf-files_magento-app.md | 2 +- .../project/project-conf-files_routes.md | 2 +- .../project-conf-files_services-elastic.md | 2 +- .../project-conf-files_services-mysql.md | 2 +- .../project-conf-files_services-rabbit.md | 2 +- .../project-conf-files_services-redis.md | 2 +- .../project-conf-files_services-solr.md | 2 +- .../project/project-conf-files_services.md | 2 +- .../project/project-integrate-blackfire.md | 2 +- .../cloud/project/project-integrate-github.md | 2 +- .../cloud/project/project-integrate-parent.md | 2 +- .../v2.0/cloud/project/project-multi-sites.md | 2 +- guides/v2.0/cloud/project/project-patch.md | 2 +- .../v2.0/cloud/project/project-priv-repos.md | 2 +- .../project/project-routes-more-cache.md | 2 +- .../project/project-routes-more-redir.md | 2 +- .../cloud/project/project-routes-more-ssi.md | 2 +- .../cloud/project/project-routes-parent.md | 2 +- .../cloud/project/project-services-parent.md | 2 +- guides/v2.0/cloud/project/project-start.md | 2 +- .../cloud/project/project-upgrade-parent.md | 2 +- guides/v2.0/cloud/project/project-upgrade.md | 2 +- .../cloud/project/project-webint-basic.md | 2 +- .../cloud/project/project-webint-branch.md | 2 +- .../cloud/project/project-webint-parent.md | 2 +- .../v2.0/cloud/project/project-webint-snap.md | 2 +- guides/v2.0/cloud/project/projects.md | 2 +- guides/v2.0/cloud/project/user-admin.md | 2 +- .../cloud/{ => reference}/cloud-composer.md | 2 +- .../cloud/{ => reference}/discover-arch.md | 2 +- .../cloud/{ => reference}/discover-deploy.md | 2 +- .../v2.0/cloud/reference/git-integration.md | 28 ++++++++++++ .../cloud/release-notes/CloudReleaseNotes.md | 2 +- .../release-notes/CloudReleaseNotes101.4.md | 2 +- .../release-notes/CloudReleaseNotes2.1.2.md | 2 +- .../release-notes/CloudReleaseNotes2.1.3.md | 2 +- .../release-notes/CloudReleaseNotes2.1.4.md | 2 +- .../release-notes/CloudReleaseNotes2.1.5.md | 2 +- .../cloud-requirements-git.md | 2 +- .../cloud-requirements-license.md | 2 +- .../{ => requirements}/cloud-requirements.md | 2 +- .../v2.0/cloud/trouble/environments-logs.md | 2 +- guides/v2.0/cloud/trouble/trouble.md | 2 +- guides/v2.0/cloud/trouble/trouble_ce-creds.md | 2 +- .../cloud/trouble/trouble_comp-deploy-fail.md | 2 +- guides/v2.0/cloud/trouble/trouble_fastly.md | 2 +- .../cloud/trouble/trouble_proj-startover.md | 2 +- .../cloud/{ => welcome}/10000-ft-overview.md | 12 ++++- guides/v2.0/cloud/{ => welcome}/bk-cloud.md | 4 +- .../cloud/{ => welcome}/discover-workflow.md | 4 +- guides/v2.0/cloud/{ => welcome}/get-help.md | 4 +- 112 files changed, 149 insertions(+), 240 deletions(-) delete mode 100644 guides/v2.0/cloud/before/before-repos.md delete mode 100644 guides/v2.0/cloud/before/before.md delete mode 100644 guides/v2.0/cloud/before/terms.md delete mode 100644 guides/v2.0/cloud/discover-tools.md rename guides/v2.0/cloud/{ => reference}/cloud-composer.md (99%) rename guides/v2.0/cloud/{ => reference}/discover-arch.md (99%) rename guides/v2.0/cloud/{ => reference}/discover-deploy.md (99%) create mode 100644 guides/v2.0/cloud/reference/git-integration.md rename guides/v2.0/cloud/{ => requirements}/cloud-requirements-git.md (98%) rename guides/v2.0/cloud/{ => requirements}/cloud-requirements-license.md (96%) rename guides/v2.0/cloud/{ => requirements}/cloud-requirements.md (99%) rename guides/v2.0/cloud/{ => welcome}/10000-ft-overview.md (96%) rename guides/v2.0/cloud/{ => welcome}/bk-cloud.md (98%) rename guides/v2.0/cloud/{ => welcome}/discover-workflow.md (98%) rename guides/v2.0/cloud/{ => welcome}/get-help.md (92%) diff --git a/guides/v2.0/cloud/access-acct/fastly.md b/guides/v2.0/cloud/access-acct/fastly.md index 09fb5cb0695..50a36892ed8 100644 --- a/guides/v2.0/cloud/access-acct/fastly.md +++ b/guides/v2.0/cloud/access-acct/fastly.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Set up Fastly menu_title: Set up Fastly menu_order: 500 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup.md b/guides/v2.0/cloud/access-acct/first-time-setup.md index 29b6f2da5e4..0af0fba47f6 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: First-time setup (developers) menu_title: First-time setup (developers) menu_order: 1 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md index c5295455454..b51d63dd8cc 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Project directory structure menu_title: Project directory structure menu_order: 600 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md index 3f4bb215921..80feb78875d 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: First steps for importing Magento EE menu_title: First steps for importing Magento EE menu_order: 151 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md index f78dadd815e..f916ba1f2c1 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Import Magento EE into Magento Enterprise Cloud Edition menu_title: Import Magento EE into Magento Enterprise Cloud Edition menu_order: 154 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md index baef217c875..f77a570ac62 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Import an existing Magento project menu_title: Import an existing Magento project menu_order: 150 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md index b5c74088940..0754ddbb26f 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Prepare your existing Magento EE system menu_title: Prepare your existing Magento EE system menu_order: 153 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md index 3b83dba175b..86a142d9e46 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Find the information you need for your import menu_title: Find the information you need for your import menu_order: 152 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_template.md b/guides/v2.0/cloud/access-acct/first-time-setup_template.md index 2248deb570b..6ad71774c96 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_template.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_template.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Create a new Magento project menu_title: Create a new Magento project menu_order: 100 diff --git a/guides/v2.0/cloud/access-acct/resources.md b/guides/v2.0/cloud/access-acct/resources.md index db09527d9e3..2fa9667bab8 100644 --- a/guides/v2.0/cloud/access-acct/resources.md +++ b/guides/v2.0/cloud/access-acct/resources.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Magento 2 resources menu_title: Magento 2 resources menu_order: 550 diff --git a/guides/v2.0/cloud/access-acct/trouble.md b/guides/v2.0/cloud/access-acct/trouble.md index ea2988fca01..c668bbe436c 100644 --- a/guides/v2.0/cloud/access-acct/trouble.md +++ b/guides/v2.0/cloud/access-acct/trouble.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Troubleshoot deployment menu_title: Troubleshoot deployment menu_order: 700 diff --git a/guides/v2.0/cloud/before/before-project-owner.md b/guides/v2.0/cloud/before/before-project-owner.md index 12e0855c914..c414c35caac 100644 --- a/guides/v2.0/cloud/before/before-project-owner.md +++ b/guides/v2.0/cloud/before/before-project-owner.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 06_setup +subgroup: 60_setup title: Account owner tasks menu_title: Account owner tasks menu_order: 1 diff --git a/guides/v2.0/cloud/before/before-repos.md b/guides/v2.0/cloud/before/before-repos.md deleted file mode 100644 index 3959ef3bd11..00000000000 --- a/guides/v2.0/cloud/before/before-repos.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: default -group: cloud -subgroup: 05_before -title: Magento Enterprise Cloud Edition repositories -menu_title: Magento Enterprise Cloud Edition repositories -menu_order: 4 -menu_node: -version: 2.0 -github_link: cloud/before/before-repos.md ---- - -We use Git to manage your environments (branches) and to deploy them to branch-specific web sites as well as to your production site. Thus, you can use your already-established Git workflow with Magento Enterprise Cloud Edition or you can create a new workflow. - -Magento Enterprise Cloud Edition provides a Git server. This server is always available and it's used to deploy the `master` branch to your production site. However, this Git server lacks the GitHub interface and it's not very well suited for use with a development team. - -Especially if you already have a GitHub repository and workflows for code review and testing, we recommend you integrate Magento Enterprise Cloud Edition with an existing private Git repository. This repository must be dedicated to Magento; don't share it with other applications (unless you deploy those applications with Magento). - -Don't have a Git repository? See the [GitHub](https://help.github.com/articles/create-a-repo){:target="_blank"} documentation for more information. - -#### Next step -[Set up a Magento workspace]({{page.baseurl}}cloud/before/before-workspace.html) - - diff --git a/guides/v2.0/cloud/before/before-setup-env-1_get-start.md b/guides/v2.0/cloud/before/before-setup-env-1_get-start.md index 2d710217ee6..2b1756b0fe1 100644 --- a/guides/v2.0/cloud/before/before-setup-env-1_get-start.md +++ b/guides/v2.0/cloud/before/before-setup-env-1_get-start.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 1, Get started setting up an environment menu_title: Step 1, Get started setting up an environment menu_order: 161 diff --git a/guides/v2.0/cloud/before/before-setup-env-2_clone.md b/guides/v2.0/cloud/before/before-setup-env-2_clone.md index 895c5e29b29..0289de3db7f 100644 --- a/guides/v2.0/cloud/before/before-setup-env-2_clone.md +++ b/guides/v2.0/cloud/before/before-setup-env-2_clone.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 2, Clone the project menu_title: Step 2, Clone the project menu_order: 162 diff --git a/guides/v2.0/cloud/before/before-setup-env-cron.md b/guides/v2.0/cloud/before/before-setup-env-cron.md index d5f96d69794..3551c64a690 100644 --- a/guides/v2.0/cloud/before/before-setup-env-cron.md +++ b/guides/v2.0/cloud/before/before-setup-env-cron.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 4, Set up cron menu_title: Step 4, Set up cron menu_order: 164 diff --git a/guides/v2.0/cloud/before/before-setup-env-env.md b/guides/v2.0/cloud/before/before-setup-env-env.md index 60636faddeb..8bf812af8b1 100644 --- a/guides/v2.0/cloud/before/before-setup-env-env.md +++ b/guides/v2.0/cloud/before/before-setup-env-env.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 5, Clone or branch an environment menu_title: Step 5, Clone or branch an environment menu_order: 165 diff --git a/guides/v2.0/cloud/before/before-setup-env-install.md b/guides/v2.0/cloud/before/before-setup-env-install.md index af1fa3406f9..df89b00abd5 100644 --- a/guides/v2.0/cloud/before/before-setup-env-install.md +++ b/guides/v2.0/cloud/before/before-setup-env-install.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 6, Install Magento menu_title: Step 6, Install Magento menu_order: 166 diff --git a/guides/v2.0/cloud/before/before-setup-env-keys.md b/guides/v2.0/cloud/before/before-setup-env-keys.md index 6200825002a..7dde08aa9ea 100644 --- a/guides/v2.0/cloud/before/before-setup-env-keys.md +++ b/guides/v2.0/cloud/before/before-setup-env-keys.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 3, Set up authentication keys menu_title: Step 3, Set up authentication keys menu_order: 163 diff --git a/guides/v2.0/cloud/before/before-setup-env-parent.md b/guides/v2.0/cloud/before/before-setup-env-parent.md index 1a9377f7099..f8906c38c59 100644 --- a/guides/v2.0/cloud/before/before-setup-env-parent.md +++ b/guides/v2.0/cloud/before/before-setup-env-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Set up an environment and install Magento locally menu_title: Set up an environment and install Magento locally menu_order: 160 diff --git a/guides/v2.0/cloud/before/before-setup-env-perms.md b/guides/v2.0/cloud/before/before-setup-env-perms.md index b36e92b0fb1..6a61fb2660c 100644 --- a/guides/v2.0/cloud/before/before-setup-env-perms.md +++ b/guides/v2.0/cloud/before/before-setup-env-perms.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 7, Set file system permissions and ownership menu_title: Step 7, Set file system permissions and ownership menu_order: 167 diff --git a/guides/v2.0/cloud/before/before-workspace-cli.md b/guides/v2.0/cloud/before/before-workspace-cli.md index bf571cae82e..4f5dc0bfc61 100644 --- a/guides/v2.0/cloud/before/before-workspace-cli.md +++ b/guides/v2.0/cloud/before/before-workspace-cli.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 2, Install the CLI menu_title: Step 2, Install the CLI menu_order: 54 diff --git a/guides/v2.0/cloud/before/before-workspace-cloud-account.md b/guides/v2.0/cloud/before/before-workspace-cloud-account.md index 5afc2b20ebc..3c32ddaf7d0 100644 --- a/guides/v2.0/cloud/before/before-workspace-cloud-account.md +++ b/guides/v2.0/cloud/before/before-workspace-cloud-account.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 1, Set up an account menu_title: Step 1, Set up an account menu_order: 52 diff --git a/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md b/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md index 4305aa7db1b..53b84ce386a 100644 --- a/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md +++ b/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 6, Set up the Magento file system owner menu_title: Step 6, Set up the Magento file system owner menu_order: 58 diff --git a/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md b/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md index 14fa1da92b5..cd406ff3716 100644 --- a/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md +++ b/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 4, Install Magento prerequisites menu_title: Step 4, Install Magento prerequisites menu_order: 56 diff --git a/guides/v2.0/cloud/before/before-workspace-parent.md b/guides/v2.0/cloud/before/before-workspace-parent.md index 4fab61dcea8..95fe57a71c3 100644 --- a/guides/v2.0/cloud/before/before-workspace-parent.md +++ b/guides/v2.0/cloud/before/before-workspace-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Set up a Magento workspace menu_title: Set up a Magento workspace menu_order: 50 diff --git a/guides/v2.0/cloud/before/before-workspace-php.md b/guides/v2.0/cloud/before/before-workspace-php.md index a3de9af3e87..441abee78d9 100644 --- a/guides/v2.0/cloud/before/before-workspace-php.md +++ b/guides/v2.0/cloud/before/before-workspace-php.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 5, Set up PHP and MySQL menu_title: Step 5, Set up PHP and MySQL menu_order: 57 diff --git a/guides/v2.0/cloud/before/before-workspace-ssh.md b/guides/v2.0/cloud/before/before-workspace-ssh.md index c9fb1aa20f6..2b2f827b582 100644 --- a/guides/v2.0/cloud/before/before-workspace-ssh.md +++ b/guides/v2.0/cloud/before/before-workspace-ssh.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Step 3, Enable Secure Shell (SSH) menu_title: Step 3, Enable Secure Shell (SSH) menu_order: 55 diff --git a/guides/v2.0/cloud/before/before-workspace.md b/guides/v2.0/cloud/before/before-workspace.md index 27a5adc3fcf..fd6787830a4 100644 --- a/guides/v2.0/cloud/before/before-workspace.md +++ b/guides/v2.0/cloud/before/before-workspace.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Overview of a Magento workspace menu_title: Overview of a Magento workspace menu_order: 51 diff --git a/guides/v2.0/cloud/before/before.md b/guides/v2.0/cloud/before/before.md deleted file mode 100644 index 982448993b3..00000000000 --- a/guides/v2.0/cloud/before/before.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: default -group: cloud -subgroup: 05_before -title: Before you get started -menu_title: Before you get started -menu_order: 1 -menu_node: parent -version: 2.0 -github_link: cloud/before/before.md ---- - -![This guide applies to Enterprise Cloud Edition only]({{ site.baseurl }}common/images/ee-only_large.png) - - -## Before you get started -These topics discuss what you need to do before you get started using Magento Enterprise Cloud Edition: - -* Understand [Common terminology]({{page.baseurl}}cloud/before/terms.html). -* Decide which [Git repository]({{page.baseurl}}cloud/before/before-repos.html) to use (the one provided with Magento Enterprise Cloud Edition or a private repository you already use). diff --git a/guides/v2.0/cloud/before/integration-ip-addr.md b/guides/v2.0/cloud/before/integration-ip-addr.md index e25666f678f..f2f27b24514 100644 --- a/guides/v2.0/cloud/before/integration-ip-addr.md +++ b/guides/v2.0/cloud/before/integration-ip-addr.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 08_setup +subgroup: 80_setup title: Public IP addresses for integration environments menu_title: Public IP addresses for integration environments menu_order: 900 diff --git a/guides/v2.0/cloud/before/terms.md b/guides/v2.0/cloud/before/terms.md deleted file mode 100644 index d35c5caef71..00000000000 --- a/guides/v2.0/cloud/before/terms.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -layout: default -group: cloud -subgroup: 05_before -title: Common terms -menu_title: Common terms -menu_order: 2 -menu_node: -version: 2.0 -github_link: cloud/before/terms.md ---- - -This topic provides definitions for common terms. - -Project -: A container for your Magento cloud deployment, representing your Magento store. A project contains a live deployment and one or more *environments* that enable developers to work on features, fix bugs, or test your site. - -The project always has a `master` branch, which corresponds to your live site. - -You configure the details of your project using configuration files. - -Magento Enterprise Cloud Edition project configuration files -: A set of `yaml` files located in the project root directory that define the project. These files are the only way to configure or reconfigure the project. In particular, - - * [`/.magento.app.yaml`]({{page.baseurl}}cloud/project/project-conf-files_magento-app.html), which configures things like the project name, access roles, service relationships, web server configuration (such as docroot), disk space, mount points, and cron. - * [`/.magento/routes.yaml`]({{page.baseurl}}cloud/project/project-conf-files_routes.html), which specifies routes for your environments, URL redirects, server side includes, caching, and so on. - * [`/.magento/services.yaml`]({{page.baseurl}}cloud/project/project-conf-files_services.html), which defines available services and their disk space allocations. - -Environment -: A project's Git branch. You can use environments for development and testing, and use a standard Git workflow to synchronize (pull) and merge (push) to its parent. Merging an environment with the `master` enables you to deploy the changes to your staging and production systems. - -In addition, you can create up to seven other active branches for development and testing. An active environment is a branch in the Cloud Git repo you're using for development and integration. (Additional environments are available for additional cost.) - -
    -You can have an unlimited number of *inactive* environments. An inactive environment is a Git branch you either deleted from the Cloud Git repository or one that is not associated with the Cloud Git repository at all. For example, you might already have several Git branches with Magento code that you don't need to use for Magento Enterprise Cloud Edition. As long as you don't add those environments to the Cloud Git repo, they don't count against your total of eight active environments. -
    - -
    -

    Manual tasks are required for live deployment.

    -
    - -Service -: Third-party software for your Magento store. For example, PHP, MySQL, Elasticsearch, Solr, Redis, Varnish, and Fastly are all examples of services. You configure services using `services.yaml` and use them in your environments for development, testing, and in your live deployment. - diff --git a/guides/v2.0/cloud/discover-tools.md b/guides/v2.0/cloud/discover-tools.md deleted file mode 100644 index ac2ec1e1d1f..00000000000 --- a/guides/v2.0/cloud/discover-tools.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -layout: default -group: cloud -subgroup: 01_welcome -title: Tooling -menu_title: Tooling -menu_order: 5 -menu_node: -version: 2.0 -github_link: cloud/discover-tools.md ---- - -Our job is to make developers and teams more productive, so we spent a lot of -time not only in making Magento Enterprise Cloud Edition a very robust hosting environment but also -a very easy one to use. - -### Command-line interface (CLI) -We offer a feature-rich CLI that allows you to manage and automate every aspect -of Magento Enterprise Cloud Edition. - -### Web Interface -You can configure most aspects of Magento Enterprise Cloud Edition using our Web Interface -Even a non-technical user can create new environments, can set up -access control, map domains. and manage users. - -A project manager could use Magento Enterprise Cloud Edition without ever using the CLI. - -### Git -Everything in Magento Enterprise Cloud Edition is managed using a Git repository. You can simply modify a couple -of configuration files and manage almost all aspects of operations that way. - -### Seamless GitHub integration -We have perfectly seamless integrations for Github. You can -log in to Magento Enterprise Cloud Edition with your Bitbucket or Github account. And you can have -Magento Enterprise Cloud Edition environments be automatically created for every pull-request or -branch you create and get feedback on deployments right there without -switching tools. - -#### Related topics -* [Set up the Magento workspace]({{page.baseurl}}cloud/before/before-workspace.html) -* [Project quick tour]({{page.baseurl}}cloud/project/projects.html) -* [Magento Enterprise Cloud Edition repositories]({{page.baseurl}}cloud/before/before-repos.html) diff --git a/guides/v2.0/cloud/env/environment-vars-parent.md b/guides/v2.0/cloud/env/environment-vars-parent.md index a32f765ed57..894d82ee1ad 100644 --- a/guides/v2.0/cloud/env/environment-vars-parent.md +++ b/guides/v2.0/cloud/env/environment-vars-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Environment variables menu_title: Environment variables menu_order: 70 diff --git a/guides/v2.0/cloud/env/environment-vars_cloud.md b/guides/v2.0/cloud/env/environment-vars_cloud.md index 68202d10543..d0777667181 100644 --- a/guides/v2.0/cloud/env/environment-vars_cloud.md +++ b/guides/v2.0/cloud/env/environment-vars_cloud.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Magento Enterprise Cloud Edition environment variables menu_title: Magento Enterprise Cloud Edition environment variables menu_order: 75 diff --git a/guides/v2.0/cloud/env/environment-vars_magento.md b/guides/v2.0/cloud/env/environment-vars_magento.md index cfe62afa2d2..94935e0c0aa 100644 --- a/guides/v2.0/cloud/env/environment-vars_magento.md +++ b/guides/v2.0/cloud/env/environment-vars_magento.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Magento application environment variables menu_title: Magento application environment variables menu_order: 80 diff --git a/guides/v2.0/cloud/env/environment-vars_over.md b/guides/v2.0/cloud/env/environment-vars_over.md index 85063cacea1..2dde8b59f81 100644 --- a/guides/v2.0/cloud/env/environment-vars_over.md +++ b/guides/v2.0/cloud/env/environment-vars_over.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Overview of environment variables menu_title: Overview of environment variables menu_order: 71 diff --git a/guides/v2.0/cloud/env/environments-ssh.md b/guides/v2.0/cloud/env/environments-ssh.md index 0359819f086..cc71b016d6e 100644 --- a/guides/v2.0/cloud/env/environments-ssh.md +++ b/guides/v2.0/cloud/env/environments-ssh.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: SSH into your environment menu_title: SSH into your environment menu_order: 3 diff --git a/guides/v2.0/cloud/env/environments-start.md b/guides/v2.0/cloud/env/environments-start.md index 4c005f8f36d..a7f0bf80c1d 100644 --- a/guides/v2.0/cloud/env/environments-start.md +++ b/guides/v2.0/cloud/env/environments-start.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Get started with an environment menu_title: Get started with an environment menu_order: 2 diff --git a/guides/v2.0/cloud/env/environments.md b/guides/v2.0/cloud/env/environments.md index d29536d50e5..e75e4f45b54 100644 --- a/guides/v2.0/cloud/env/environments.md +++ b/guides/v2.0/cloud/env/environments.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 12_env +subgroup: 120_env title: Manage your environments menu_title: Manage your environments menu_order: 1 diff --git a/guides/v2.0/cloud/howtos/custom-theme.md b/guides/v2.0/cloud/howtos/custom-theme.md index 739f4d77437..4ddf0a7e529 100644 --- a/guides/v2.0/cloud/howtos/custom-theme.md +++ b/guides/v2.0/cloud/howtos/custom-theme.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Install a theme menu_title: Install a theme menu_order: 60 diff --git a/guides/v2.0/cloud/howtos/debug.md b/guides/v2.0/cloud/howtos/debug.md index 5cfe9ca30a4..fabd78b80be 100644 --- a/guides/v2.0/cloud/howtos/debug.md +++ b/guides/v2.0/cloud/howtos/debug.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Run a PHP debugger menu_title: Run a PHP debugger menu_order: 100 diff --git a/guides/v2.0/cloud/howtos/environment-tutorial-env-merge.md b/guides/v2.0/cloud/howtos/environment-tutorial-env-merge.md index f6d3415e77f..1f6e5dede90 100644 --- a/guides/v2.0/cloud/howtos/environment-tutorial-env-merge.md +++ b/guides/v2.0/cloud/howtos/environment-tutorial-env-merge.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Merge and delete an environment (tutorial) menu_title: Merge and delete an environment (tutorial) menu_order: 51 diff --git a/guides/v2.0/cloud/howtos/how-to.md b/guides/v2.0/cloud/howtos/how-to.md index e796f68ea23..a9354ec86d2 100644 --- a/guides/v2.0/cloud/howtos/how-to.md +++ b/guides/v2.0/cloud/howtos/how-to.md @@ -1,7 +1,8 @@ + --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Tutorials menu_title: Tutorials menu_order: 1 diff --git a/guides/v2.0/cloud/howtos/howto-upgrade-parent.md b/guides/v2.0/cloud/howtos/howto-upgrade-parent.md index 5adb2cafff9..ecbd48ed942 100644 --- a/guides/v2.0/cloud/howtos/howto-upgrade-parent.md +++ b/guides/v2.0/cloud/howtos/howto-upgrade-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Test a Magento patch or upgrade menu_title: Test a Magento patch or upgrade menu_order: 25 diff --git a/guides/v2.0/cloud/howtos/install-components.md b/guides/v2.0/cloud/howtos/install-components.md index d3a60ff1294..aae2655fc2e 100644 --- a/guides/v2.0/cloud/howtos/install-components.md +++ b/guides/v2.0/cloud/howtos/install-components.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Install extensions menu_title: Install extensions menu_order: 41 diff --git a/guides/v2.0/cloud/howtos/patch-magento.md b/guides/v2.0/cloud/howtos/patch-magento.md index d646dc9e9a7..79d9d128de7 100644 --- a/guides/v2.0/cloud/howtos/patch-magento.md +++ b/guides/v2.0/cloud/howtos/patch-magento.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Test a Magento patch menu_title: Test a Magento patch menu_order: 27 diff --git a/guides/v2.0/cloud/howtos/sample-data.md b/guides/v2.0/cloud/howtos/sample-data.md index bbdad5b7bfc..61b391ccad6 100644 --- a/guides/v2.0/cloud/howtos/sample-data.md +++ b/guides/v2.0/cloud/howtos/sample-data.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Install optional sample data menu_title: Install optional sample data menu_order: 70 diff --git a/guides/v2.0/cloud/howtos/update-components.md b/guides/v2.0/cloud/howtos/update-components.md index aed0a5453f4..52610b6a9b2 100644 --- a/guides/v2.0/cloud/howtos/update-components.md +++ b/guides/v2.0/cloud/howtos/update-components.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Update extensions menu_title: Update extensions menu_order: 45 diff --git a/guides/v2.0/cloud/howtos/update-extensions-parent.md b/guides/v2.0/cloud/howtos/update-extensions-parent.md index f274f5e41e5..9e6e6c14acb 100644 --- a/guides/v2.0/cloud/howtos/update-extensions-parent.md +++ b/guides/v2.0/cloud/howtos/update-extensions-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Install and update extensions menu_title: Install and update extensions menu_order: 40 diff --git a/guides/v2.0/cloud/howtos/upgrade-magento.md b/guides/v2.0/cloud/howtos/upgrade-magento.md index 70906ce16d4..3df20ea87a5 100644 --- a/guides/v2.0/cloud/howtos/upgrade-magento.md +++ b/guides/v2.0/cloud/howtos/upgrade-magento.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 15_howto +subgroup: 150_howto title: Test a Magento upgrade menu_title: Test a Magento upgrade menu_order: 26 diff --git a/guides/v2.0/cloud/live/live-prot.md b/guides/v2.0/cloud/live/live-prot.md index 92e7ed3e7db..c5c7981021a 100644 --- a/guides/v2.0/cloud/live/live-prot.md +++ b/guides/v2.0/cloud/live/live-prot.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Protective block menu_title: Protective block menu_order: 900 diff --git a/guides/v2.0/cloud/live/live-sanity-check.md b/guides/v2.0/cloud/live/live-sanity-check.md index d13b3dd037f..3b8981eec97 100644 --- a/guides/v2.0/cloud/live/live-sanity-check.md +++ b/guides/v2.0/cloud/live/live-sanity-check.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Build and deploy before pushing to staging or production menu_title: Build and deploy before pushing to staging or production menu_order: 90 diff --git a/guides/v2.0/cloud/live/live.md b/guides/v2.0/cloud/live/live.md index 7bebeff2877..95d1b3abeb6 100644 --- a/guides/v2.0/cloud/live/live.md +++ b/guides/v2.0/cloud/live/live.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Go live menu_title: Go live menu_order: 800 diff --git a/guides/v2.0/cloud/live/stage-prod-live.md b/guides/v2.0/cloud/live/stage-prod-live.md index 184078d26cc..475d07cfc88 100644 --- a/guides/v2.0/cloud/live/stage-prod-live.md +++ b/guides/v2.0/cloud/live/stage-prod-live.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: From integration to live menu_title: From integration to live menu_order: 1 diff --git a/guides/v2.0/cloud/live/stage-prod-migrate-prereq.md b/guides/v2.0/cloud/live/stage-prod-migrate-prereq.md index 14db5ce5608..80c0d022e6c 100644 --- a/guides/v2.0/cloud/live/stage-prod-migrate-prereq.md +++ b/guides/v2.0/cloud/live/stage-prod-migrate-prereq.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Prepare to migrate data menu_title: Prepare to migrate data menu_order: 101 diff --git a/guides/v2.0/cloud/live/stage-prod-migrate.md b/guides/v2.0/cloud/live/stage-prod-migrate.md index 56f62c35246..71f457f4521 100644 --- a/guides/v2.0/cloud/live/stage-prod-migrate.md +++ b/guides/v2.0/cloud/live/stage-prod-migrate.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Migrate data menu_title: Migrate data menu_order: 200 diff --git a/guides/v2.0/cloud/live/stage-prod-over.md b/guides/v2.0/cloud/live/stage-prod-over.md index a6c69b655e9..e81bdce60f9 100644 --- a/guides/v2.0/cloud/live/stage-prod-over.md +++ b/guides/v2.0/cloud/live/stage-prod-over.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Overview of staging and production menu_title: Overview of staging and production menu_order: 3 diff --git a/guides/v2.0/cloud/live/stage-prod-parent.md b/guides/v2.0/cloud/live/stage-prod-parent.md index f6d128b93de..0d954367591 100644 --- a/guides/v2.0/cloud/live/stage-prod-parent.md +++ b/guides/v2.0/cloud/live/stage-prod-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Migrate to staging and production menu_title: Migrate to staging and production menu_order: 100 diff --git a/guides/v2.0/cloud/live/stage-prod-test.md b/guides/v2.0/cloud/live/stage-prod-test.md index 7ca3358a706..9cdc6cae84e 100644 --- a/guides/v2.0/cloud/live/stage-prod-test.md +++ b/guides/v2.0/cloud/live/stage-prod-test.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 40_live +subgroup: 160_live title: Testing menu_title: Testing menu_order: 199 diff --git a/guides/v2.0/cloud/project/admin-git-push.md b/guides/v2.0/cloud/project/admin-git-push.md index 8bd0e1740f2..bd039954a56 100644 --- a/guides/v2.0/cloud/project/admin-git-push.md +++ b/guides/v2.0/cloud/project/admin-git-push.md @@ -1,7 +1,7 @@ --- layout: default group: -subgroup: 10_project +subgroup: 100_project title: git push details menu_title: git push details (remove or rewrite) menu_order: 100 diff --git a/guides/v2.0/cloud/project/project-conf-files_magento-app.md b/guides/v2.0/cloud/project/project-conf-files_magento-app.md index e3b688c910d..c8a514bc63d 100644 --- a/guides/v2.0/cloud/project/project-conf-files_magento-app.md +++ b/guides/v2.0/cloud/project/project-conf-files_magento-app.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: .magento.app.yaml menu_title: .magento.app.yaml menu_order: 50 diff --git a/guides/v2.0/cloud/project/project-conf-files_routes.md b/guides/v2.0/cloud/project/project-conf-files_routes.md index 404d7ca33fb..93dd67ebd5c 100644 --- a/guides/v2.0/cloud/project/project-conf-files_routes.md +++ b/guides/v2.0/cloud/project/project-conf-files_routes.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: routes.yaml menu_title: routes.yaml menu_order: 76 diff --git a/guides/v2.0/cloud/project/project-conf-files_services-elastic.md b/guides/v2.0/cloud/project/project-conf-files_services-elastic.md index 1312bc48b73..9a99e09632e 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services-elastic.md +++ b/guides/v2.0/cloud/project/project-conf-files_services-elastic.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up the elasticsearch service menu_title: Set up the elasticsearch service menu_order: 85 diff --git a/guides/v2.0/cloud/project/project-conf-files_services-mysql.md b/guides/v2.0/cloud/project/project-conf-files_services-mysql.md index e9d9027db3a..5867be5441b 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services-mysql.md +++ b/guides/v2.0/cloud/project/project-conf-files_services-mysql.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up the mysql service menu_title: Set up the mysql service menu_order: 82 diff --git a/guides/v2.0/cloud/project/project-conf-files_services-rabbit.md b/guides/v2.0/cloud/project/project-conf-files_services-rabbit.md index b6379456722..615ca573bdc 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services-rabbit.md +++ b/guides/v2.0/cloud/project/project-conf-files_services-rabbit.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up the rabbitmq service menu_title: Set up the rabbitmq service menu_order: 86 diff --git a/guides/v2.0/cloud/project/project-conf-files_services-redis.md b/guides/v2.0/cloud/project/project-conf-files_services-redis.md index e806e944585..b0d39faf92f 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services-redis.md +++ b/guides/v2.0/cloud/project/project-conf-files_services-redis.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up the redis service menu_title: Set up the redis service menu_order: 83 diff --git a/guides/v2.0/cloud/project/project-conf-files_services-solr.md b/guides/v2.0/cloud/project/project-conf-files_services-solr.md index c0078708197..d5e8ad33a09 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services-solr.md +++ b/guides/v2.0/cloud/project/project-conf-files_services-solr.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up the solr service menu_title: Set up the solr service menu_order: 84 diff --git a/guides/v2.0/cloud/project/project-conf-files_services.md b/guides/v2.0/cloud/project/project-conf-files_services.md index b8ea876da5b..43d6b4c7974 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services.md +++ b/guides/v2.0/cloud/project/project-conf-files_services.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: services.yaml menu_title: services.yaml menu_order: 81 diff --git a/guides/v2.0/cloud/project/project-integrate-blackfire.md b/guides/v2.0/cloud/project/project-integrate-blackfire.md index 77b5fb304c2..d62125b97e0 100644 --- a/guides/v2.0/cloud/project/project-integrate-blackfire.md +++ b/guides/v2.0/cloud/project/project-integrate-blackfire.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Blackfire integration menu_title: Blackfire integration menu_order: 105 diff --git a/guides/v2.0/cloud/project/project-integrate-github.md b/guides/v2.0/cloud/project/project-integrate-github.md index 308b0b7ec92..21f86e40309 100644 --- a/guides/v2.0/cloud/project/project-integrate-github.md +++ b/guides/v2.0/cloud/project/project-integrate-github.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: GitHub integration menu_title: GitHub integration menu_order: 110 diff --git a/guides/v2.0/cloud/project/project-integrate-parent.md b/guides/v2.0/cloud/project/project-integrate-parent.md index e12819c1a8a..56dc9af2cd4 100644 --- a/guides/v2.0/cloud/project/project-integrate-parent.md +++ b/guides/v2.0/cloud/project/project-integrate-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Integrations menu_title: Integrations menu_order: 100 diff --git a/guides/v2.0/cloud/project/project-multi-sites.md b/guides/v2.0/cloud/project/project-multi-sites.md index 9a7475674f8..a12e5b8fcd6 100644 --- a/guides/v2.0/cloud/project/project-multi-sites.md +++ b/guides/v2.0/cloud/project/project-multi-sites.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Set up multiple Cloud websites or stores menu_title: Set up multiple Cloud websites or stores menu_order: 35 diff --git a/guides/v2.0/cloud/project/project-patch.md b/guides/v2.0/cloud/project/project-patch.md index 63e3bfa1266..a83762c76e0 100644 --- a/guides/v2.0/cloud/project/project-patch.md +++ b/guides/v2.0/cloud/project/project-patch.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Test a Magento patch menu_title: Test a Magento patch menu_order: 17 diff --git a/guides/v2.0/cloud/project/project-priv-repos.md b/guides/v2.0/cloud/project/project-priv-repos.md index a254e638b8d..443cdc019dd 100644 --- a/guides/v2.0/cloud/project/project-priv-repos.md +++ b/guides/v2.0/cloud/project/project-priv-repos.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Pull code from a private Git repository menu_title: Pull code from a private Git repository menu_order: 600 diff --git a/guides/v2.0/cloud/project/project-routes-more-cache.md b/guides/v2.0/cloud/project/project-routes-more-cache.md index a00e3aa043c..838a21484cb 100644 --- a/guides/v2.0/cloud/project/project-routes-more-cache.md +++ b/guides/v2.0/cloud/project/project-routes-more-cache.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Caching menu_title: Caching menu_order: 77 diff --git a/guides/v2.0/cloud/project/project-routes-more-redir.md b/guides/v2.0/cloud/project/project-routes-more-redir.md index 247613dceb4..730668d85b2 100644 --- a/guides/v2.0/cloud/project/project-routes-more-redir.md +++ b/guides/v2.0/cloud/project/project-routes-more-redir.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Redirects menu_title: Redirects menu_order: 78 diff --git a/guides/v2.0/cloud/project/project-routes-more-ssi.md b/guides/v2.0/cloud/project/project-routes-more-ssi.md index 2f5ed56ab3d..ae0df9fedae 100644 --- a/guides/v2.0/cloud/project/project-routes-more-ssi.md +++ b/guides/v2.0/cloud/project/project-routes-more-ssi.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Server side includes menu_title: Server side includes menu_order: 79 diff --git a/guides/v2.0/cloud/project/project-routes-parent.md b/guides/v2.0/cloud/project/project-routes-parent.md index dc835d08057..188bb720188 100644 --- a/guides/v2.0/cloud/project/project-routes-parent.md +++ b/guides/v2.0/cloud/project/project-routes-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Configure routes menu_title: Configure routes menu_order: 75 diff --git a/guides/v2.0/cloud/project/project-services-parent.md b/guides/v2.0/cloud/project/project-services-parent.md index 237ae85f9fa..4530610dccc 100644 --- a/guides/v2.0/cloud/project/project-services-parent.md +++ b/guides/v2.0/cloud/project/project-services-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Configure services menu_title: Configure services menu_order: 80 diff --git a/guides/v2.0/cloud/project/project-start.md b/guides/v2.0/cloud/project/project-start.md index dc4db07ec56..7a4c2d1925d 100644 --- a/guides/v2.0/cloud/project/project-start.md +++ b/guides/v2.0/cloud/project/project-start.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Get started with a project menu_title: Get started with a project menu_order: 2 diff --git a/guides/v2.0/cloud/project/project-upgrade-parent.md b/guides/v2.0/cloud/project/project-upgrade-parent.md index 77440b30396..51f89a2bf89 100644 --- a/guides/v2.0/cloud/project/project-upgrade-parent.md +++ b/guides/v2.0/cloud/project/project-upgrade-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Test a Magento patch or upgrade menu_title: Test a Magento patch or upgrade menu_order: 15 diff --git a/guides/v2.0/cloud/project/project-upgrade.md b/guides/v2.0/cloud/project/project-upgrade.md index 02715ad0fe8..a8c2dd0fc63 100644 --- a/guides/v2.0/cloud/project/project-upgrade.md +++ b/guides/v2.0/cloud/project/project-upgrade.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Test a Magento upgrade menu_title: Test a Magento upgrade menu_order: 16 diff --git a/guides/v2.0/cloud/project/project-webint-basic.md b/guides/v2.0/cloud/project/project-webint-basic.md index 229925a4e25..e621197bc2d 100644 --- a/guides/v2.0/cloud/project/project-webint-basic.md +++ b/guides/v2.0/cloud/project/project-webint-basic.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Basic project information menu_title: Basic project information menu_order: 21 diff --git a/guides/v2.0/cloud/project/project-webint-branch.md b/guides/v2.0/cloud/project/project-webint-branch.md index 12abefa9a79..29c1e460c6c 100644 --- a/guides/v2.0/cloud/project/project-webint-branch.md +++ b/guides/v2.0/cloud/project/project-webint-branch.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Manage environments (branches) menu_title: Manage environments (branches) menu_order: 23 diff --git a/guides/v2.0/cloud/project/project-webint-parent.md b/guides/v2.0/cloud/project/project-webint-parent.md index 6e342ea0a3c..a93bfc6de01 100644 --- a/guides/v2.0/cloud/project/project-webint-parent.md +++ b/guides/v2.0/cloud/project/project-webint-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Use the project Web Interface menu_title: Use the project Web Interface menu_order: 20 diff --git a/guides/v2.0/cloud/project/project-webint-snap.md b/guides/v2.0/cloud/project/project-webint-snap.md index c39a699b344..1d96511a8df 100644 --- a/guides/v2.0/cloud/project/project-webint-snap.md +++ b/guides/v2.0/cloud/project/project-webint-snap.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Backup and restore (snapshot) menu_title: Backup and restore (snapshot) menu_order: 25 diff --git a/guides/v2.0/cloud/project/projects.md b/guides/v2.0/cloud/project/projects.md index fd702cbc0df..feb6261e608 100644 --- a/guides/v2.0/cloud/project/projects.md +++ b/guides/v2.0/cloud/project/projects.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Manage your project menu_title: Manage your project menu_order: 1 diff --git a/guides/v2.0/cloud/project/user-admin.md b/guides/v2.0/cloud/project/user-admin.md index 1ee44d27576..45570e4273a 100644 --- a/guides/v2.0/cloud/project/user-admin.md +++ b/guides/v2.0/cloud/project/user-admin.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_project +subgroup: 100_project title: Manage users menu_title: Manage users menu_order: 5 diff --git a/guides/v2.0/cloud/cloud-composer.md b/guides/v2.0/cloud/reference/cloud-composer.md similarity index 99% rename from guides/v2.0/cloud/cloud-composer.md rename to guides/v2.0/cloud/reference/cloud-composer.md index 30afcadf38a..0af23263bae 100644 --- a/guides/v2.0/cloud/cloud-composer.md +++ b/guides/v2.0/cloud/reference/cloud-composer.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 15_reference title: How Cloud Uses Composer menu_title: How Cloud Uses Composer menu_node: diff --git a/guides/v2.0/cloud/discover-arch.md b/guides/v2.0/cloud/reference/discover-arch.md similarity index 99% rename from guides/v2.0/cloud/discover-arch.md rename to guides/v2.0/cloud/reference/discover-arch.md index e70dc96f09f..39eda9d4a80 100644 --- a/guides/v2.0/cloud/discover-arch.md +++ b/guides/v2.0/cloud/reference/discover-arch.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 15_reference title: Architecture menu_title: Architecture menu_order: 2 diff --git a/guides/v2.0/cloud/discover-deploy.md b/guides/v2.0/cloud/reference/discover-deploy.md similarity index 99% rename from guides/v2.0/cloud/discover-deploy.md rename to guides/v2.0/cloud/reference/discover-deploy.md index 475e0a4f4e9..e21f36823df 100644 --- a/guides/v2.0/cloud/discover-deploy.md +++ b/guides/v2.0/cloud/reference/discover-deploy.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 15_reference title: Deployment process menu_title: Deployment process menu_order: 4 diff --git a/guides/v2.0/cloud/reference/git-integration.md b/guides/v2.0/cloud/reference/git-integration.md new file mode 100644 index 00000000000..df8bc988d38 --- /dev/null +++ b/guides/v2.0/cloud/reference/git-integration.md @@ -0,0 +1,28 @@ +--- +layout: default +group: cloud +subgroup: 15_reference +title: How Cloud Uses Composer +menu_title: How Cloud Uses Composer +menu_node: +menu_order: 49 +version: 2.0 +github_link: cloud/cloud-composer.md +--- +### Git knowledge +We assume you have a good working knowledge of Git. If not, consult the following resources: + +* [Git documentation](https://git-scm.com/documentation){:target="_blank"} +* [Git reference](https://git-scm.com/docs){:target="_blank"} +* [Git tutorial](http://git-scm.com/docs/gittutorial){:target="_blank"} + +Before getting started, make sure you have a Git client installed on your computer +to be able to interact with Magento Enterprise Cloud Edition. + +
    +

    In addition to Git's requirements for valid branch names, Magento Enterprise Cloud Edition adds two additional requirements:

    +
    • The / character isn't allowed.
    • +
    • Branch names must be case-insensitively unique. In other words, if you have a branch named _CaSe_, you cannot create another branch named _case_.
    +
    + +You must use Secure Shell (SSH) and not HTTPS to connect to the Git repository. For more information, see GitHub documentation. diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md index e8a2172ff32..59a61c66f93 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: Magento Enterprise Cloud Edition Release Notes menu_title: Magento Enterprise Cloud Edition Release Notes menu_order: 1 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md index 1131f9e826c..7a5b31a4209 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: magento-cloud-configuration release 101.4.1 Release Notes menu_title: magento-cloud-configuration release 101.4.1 Release Notes menu_order: 47 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md index f998d5684f0..f7dfd807b64 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.2 and 2.0.10 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.2 and 2.0.10 Release Notes menu_order: 99 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md index 0484c2386bc..9b42315fbe8 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.3 and 2.0.11 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.3 and 2.0.11 Release Notes menu_order: 50 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md index e25d5533a26..6e331b583f8 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes menu_order: 49 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md index 3fb88856bb1..663d30f2a9a 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md @@ -1,7 +1,7 @@ --- layout: default group: -subgroup: 03_ReleaseNotes +subgroup: 30_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.5 and 2.0.13 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.5 and 2.0.13 Release Notes menu_order: 48 diff --git a/guides/v2.0/cloud/cloud-requirements-git.md b/guides/v2.0/cloud/requirements/cloud-requirements-git.md similarity index 98% rename from guides/v2.0/cloud/cloud-requirements-git.md rename to guides/v2.0/cloud/requirements/cloud-requirements-git.md index c55922c0e86..094ad41cc9e 100644 --- a/guides/v2.0/cloud/cloud-requirements-git.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements-git.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 02_requirements +subgroup: 20_requirements title: Git requirements menu_title: Git requirements menu_order: 3 diff --git a/guides/v2.0/cloud/cloud-requirements-license.md b/guides/v2.0/cloud/requirements/cloud-requirements-license.md similarity index 96% rename from guides/v2.0/cloud/cloud-requirements-license.md rename to guides/v2.0/cloud/requirements/cloud-requirements-license.md index 4626e90d8c2..b5f97fc678e 100644 --- a/guides/v2.0/cloud/cloud-requirements-license.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements-license.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 02_requirements +subgroup: 20_requirements title: License and authentication requirements menu_title: License and authentication requirements menu_order: 2 diff --git a/guides/v2.0/cloud/cloud-requirements.md b/guides/v2.0/cloud/requirements/cloud-requirements.md similarity index 99% rename from guides/v2.0/cloud/cloud-requirements.md rename to guides/v2.0/cloud/requirements/cloud-requirements.md index 0256f91388f..6c526d94024 100644 --- a/guides/v2.0/cloud/cloud-requirements.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 02_requirements +subgroup: 20_requirements title: Magento Enterprise Cloud Edition requirements menu_title: Magento Enterprise Cloud Edition requirements menu_order: 1 diff --git a/guides/v2.0/cloud/trouble/environments-logs.md b/guides/v2.0/cloud/trouble/environments-logs.md index ca181cbda85..a7cea90eacf 100644 --- a/guides/v2.0/cloud/trouble/environments-logs.md +++ b/guides/v2.0/cloud/trouble/environments-logs.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Use logs for troubleshooting menu_title: Use logs for troubleshooting menu_order: 2 diff --git a/guides/v2.0/cloud/trouble/trouble.md b/guides/v2.0/cloud/trouble/trouble.md index 1da40f8f58c..5b4d6a74368 100644 --- a/guides/v2.0/cloud/trouble/trouble.md +++ b/guides/v2.0/cloud/trouble/trouble.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Troubleshooting menu_title: Troubleshooting menu_order: 1 diff --git a/guides/v2.0/cloud/trouble/trouble_ce-creds.md b/guides/v2.0/cloud/trouble/trouble_ce-creds.md index b18b70424df..6c9e33d1a3a 100644 --- a/guides/v2.0/cloud/trouble/trouble_ce-creds.md +++ b/guides/v2.0/cloud/trouble/trouble_ce-creds.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Incorrect credentials menu_title: Incorrect credentials menu_order: 5 diff --git a/guides/v2.0/cloud/trouble/trouble_comp-deploy-fail.md b/guides/v2.0/cloud/trouble/trouble_comp-deploy-fail.md index 465d4a3cad7..dda07edc8e1 100644 --- a/guides/v2.0/cloud/trouble/trouble_comp-deploy-fail.md +++ b/guides/v2.0/cloud/trouble/trouble_comp-deploy-fail.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Component deployment failure menu_title: Component deployment failure menu_order: 50 diff --git a/guides/v2.0/cloud/trouble/trouble_fastly.md b/guides/v2.0/cloud/trouble/trouble_fastly.md index 44f547c4fe1..09fc243064b 100644 --- a/guides/v2.0/cloud/trouble/trouble_fastly.md +++ b/guides/v2.0/cloud/trouble/trouble_fastly.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Troubleshoot Fastly menu_title: Troubleshoot Fastly menu_order: 20 diff --git a/guides/v2.0/cloud/trouble/trouble_proj-startover.md b/guides/v2.0/cloud/trouble/trouble_proj-startover.md index e932975d28a..cf9e64a843a 100644 --- a/guides/v2.0/cloud/trouble/trouble_proj-startover.md +++ b/guides/v2.0/cloud/trouble/trouble_proj-startover.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 50_trouble +subgroup: 170_trouble title: Resolve issues with a new project menu_title: Resolve issues with a new project menu_order: 2 diff --git a/guides/v2.0/cloud/10000-ft-overview.md b/guides/v2.0/cloud/welcome/10000-ft-overview.md similarity index 96% rename from guides/v2.0/cloud/10000-ft-overview.md rename to guides/v2.0/cloud/welcome/10000-ft-overview.md index ad0213f9b88..b59e0adc7ee 100644 --- a/guides/v2.0/cloud/10000-ft-overview.md +++ b/guides/v2.0/cloud/welcome/10000-ft-overview.md @@ -1,4 +1,14 @@ -# Magento Enterprise Cloud Edition: The 10,000 Foot Overview +--- +layout: default +group: cloud +subgroup: 10_welcome +title: The 10,000 ft overview +menu_title: 10,000 ft overview +menu_order: 20 +menu_node: +version: 2.0 +github_link: cloud/welcome/10000-ft-overview.md +--- # What's this? diff --git a/guides/v2.0/cloud/bk-cloud.md b/guides/v2.0/cloud/welcome/bk-cloud.md similarity index 98% rename from guides/v2.0/cloud/bk-cloud.md rename to guides/v2.0/cloud/welcome/bk-cloud.md index 897f2c6aaa0..6a393d146e2 100644 --- a/guides/v2.0/cloud/bk-cloud.md +++ b/guides/v2.0/cloud/welcome/bk-cloud.md @@ -1,11 +1,11 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 10_welcome title: Welcome to Magento Enterprise Cloud Edition landing-page: Cloud menu_title: Welcome to Magento Enterprise Cloud Edition -menu_order: 1 +menu_order: 10 menu_node: parent version: 2.0 github_link: cloud/bk-cloud.md diff --git a/guides/v2.0/cloud/discover-workflow.md b/guides/v2.0/cloud/welcome/discover-workflow.md similarity index 98% rename from guides/v2.0/cloud/discover-workflow.md rename to guides/v2.0/cloud/welcome/discover-workflow.md index bcb0097ec74..21bd3cfd5b7 100644 --- a/guides/v2.0/cloud/discover-workflow.md +++ b/guides/v2.0/cloud/welcome/discover-workflow.md @@ -1,10 +1,10 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 10_welcome title: Workflow menu_title: Workflow -menu_order: 3 +menu_order: 30 menu_node: version: 2.0 github_link: cloud/discover-workflow.md diff --git a/guides/v2.0/cloud/get-help.md b/guides/v2.0/cloud/welcome/get-help.md similarity index 92% rename from guides/v2.0/cloud/get-help.md rename to guides/v2.0/cloud/welcome/get-help.md index 12d489555f3..527b5a1b37e 100644 --- a/guides/v2.0/cloud/get-help.md +++ b/guides/v2.0/cloud/welcome/get-help.md @@ -1,10 +1,10 @@ --- layout: default group: cloud -subgroup: 01_welcome +subgroup: 10_welcome title: Get help with your deployment menu_title: Get help with your deployment -menu_order: 50 +menu_order: 40 menu_node: version: 2.0 github_link: cloud/get-help.md From b6b7566c41aea0f03bdd4a94c7af44dcd480cdf9 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Wed, 12 Apr 2017 13:19:44 +0300 Subject: [PATCH 059/301] fixed error --- .../v2.1/ui_comp_guide/components/ui-form.md | 95 ------------------- 1 file changed, 95 deletions(-) diff --git a/guides/v2.1/ui_comp_guide/components/ui-form.md b/guides/v2.1/ui_comp_guide/components/ui-form.md index dd652351f9d..df1e8dc1e11 100644 --- a/guides/v2.1/ui_comp_guide/components/ui-form.md +++ b/guides/v2.1/ui_comp_guide/components/ui-form.md @@ -35,101 +35,6 @@ The following components are used to extend the Form component: * layout - configuration class meets the visualization component (See examples in 'Configuring' section) -

    What about those options above?

    -Form configuration extends the uiCollection configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - - - -
    OptionDescriptionTypeDefault
    `additionalFields`
    `selectorPrefix`Name that can be used to address the block to which this attribute is assigned. The name must be unique per generated page. If not specified, an automatic name will be assigned in the format ANONYMOUS_nString -`'.page-content'`
    `messagesClass`String`'messages'`
    `errorClass`The class that will be added to the component DOM block -when error is appeared.String`'.admin__field._error'`
    `ajaxSave`Save form values by ajax.Boolean`false`
    ajaxSaveTypeString`default`
    -imports -
      -
    • reloadUrl
    Used for tracking changes of an external entity property. `imports`’s value is an object, composed of the following: -
      -
    • `key`: name of the internal property or method which receives the notifications.
    • -
    • `value`: name of the property or method which is tracked for changes. Can use string templates.
    Object -
      -
    • String
    '${ $.provider}:reloadUrl'/td> -
    exports -
  • selectorPrefix
  • -
  • messagesClass
  • Used to notify some external entity about property changing. `exports` value is an object, composed of the following: -
    • `key`: name of the internal property or method which is tracked for changes.
    • -
    • `value`: name of the property or method which receives the notification. Can use string templates.
    Object -
    • -String
    • -
    • String

    `component`The path to the component’s .js file in terms of RequireJS. String`Magento_Ui/js/form/form`
    templateThe path to the component’s .html template.String` -'ui/form/field'`
    - - - ## Create an instance of the Form component To create an instance of the Form component, you need to do the following: From 67d33a32ed778381cd3cbf196afbe630ca8a2e7b Mon Sep 17 00:00:00 2001 From: mage2-team Date: Wed, 12 Apr 2017 07:00:22 -0700 Subject: [PATCH 060/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/215-216.html | 8 ++++++++ _includes/changes/ee/215-216.html | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 _includes/changes/ce/215-216.html create mode 100644 _includes/changes/ee/215-216.html diff --git a/_includes/changes/ce/215-216.html b/_includes/changes/ce/215-216.html new file mode 100644 index 00000000000..f4541c84c34 --- /dev/null +++ b/_includes/changes/ce/215-216.html @@ -0,0 +1,8 @@ + +

    Class

    + + + + + +
    TargetWhat Changed
    diff --git a/_includes/changes/ee/215-216.html b/_includes/changes/ee/215-216.html new file mode 100644 index 00000000000..f4541c84c34 --- /dev/null +++ b/_includes/changes/ee/215-216.html @@ -0,0 +1,8 @@ + +

    Class

    + + + + + +
    TargetWhat Changed
    From f0322a405a20b7fb00a0169b3d11f1f882fd9af0 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Wed, 12 Apr 2017 07:20:47 -0700 Subject: [PATCH 061/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 2096 +++++++++++++++++++++++++ _includes/changes/ee/216-develop.html | 624 ++++++++ 2 files changed, 2720 insertions(+) create mode 100644 _includes/changes/ce/216-develop.html create mode 100644 _includes/changes/ee/216-develop.html diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html new file mode 100644 index 00000000000..1e250068cfd --- /dev/null +++ b/_includes/changes/ce/216-develop.html @@ -0,0 +1,2096 @@ + +

    Class

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TargetWhat Changed
    Magento\Sales\Model\Order\PaymentAdapterClass was removed.
    Magento\Framework\View\Result\Layout::render[protected] Method parameter changed.
    Magento\Framework\View\Result\Page::render[protected] Method parameter changed.
    Magento\Framework\Simplexml\Config\Cache\AbstractCacheClass was removed.
    Magento\Framework\Simplexml\Config\Cache\FileClass was removed.
    Magento\Framework\ObjectManager\Relations\CompiledClass was removed.
    Magento\Framework\ObjectManager\Definition\CompiledClass was removed.
    Magento\Framework\ObjectManager\Definition\Compiled\BinaryClass was removed.
    Magento\Framework\ObjectManager\Definition\Compiled\SerializedClass was removed.
    Magento\Framework\Intl\NumberFormatterFactoryClass was removed.
    Magento\Framework\Interception\Definition\CompiledClass was removed.
    Magento\Framework\Interception\Chain\ChainClass was removed.
    Magento\Framework\EntityManager\CustomAttributesMapperClass was removed.
    Magento\Framework\Config\ReaderPoolClass was removed.
    Magento\Framework\App\Config\ScopePoolClass was removed.
    Magento\Framework\Acl\CacheClass was removed.
    Magento\Vault\Block\CreditCardsClass was removed.
    Magento\Usps\Block\Rma\Adminhtml\Rma\Edit\Tab\General\Shipping\Packaging\PluginClass was removed.
    Magento\Swatches\Model\ProductSubstituteClass was removed.
    Magento\Swatches\Model\Plugin\ProductImageBuilderClass was removed.
    Magento\Sales\Controller\Adminhtml\Order\Invoice\VoidClass was removed.
    Magento\Sales\Controller\Adminhtml\Order\Creditmemo\VoidClass was removed.
    Magento\PageCache\Block\System\Config\Form\Field\Export\Varnish3Class was removed.
    Magento\Fedex\Model\Plugin\Rma\Block\Adminhtml\Rma\Edit\Tab\General\ShippingmethodClass was removed.
    Magento\Eav\Model\Entity\AttributeCacheClass was removed.
    Magento\Eav\Model\Entity\Attribute\Backend\SerializedClass was removed.
    Magento\Dhl\Model\Plugin\Rma\Block\Adminhtml\Rma\Edit\Tab\General\ShippingmethodClass was removed.
    Magento\Deploy\Model\DeployManagerClass was removed.
    Magento\Deploy\Model\DeployStrategyFactoryClass was removed.
    Magento\Deploy\Model\DeployStrategyProviderClass was removed.
    Magento\Deploy\Model\DeployerClass was removed.
    Magento\Deploy\Model\ProcessClass was removed.
    Magento\Deploy\Model\ProcessManagerClass was removed.
    Magento\Deploy\Model\ProcessQueueManagerClass was removed.
    Magento\Deploy\Model\ProcessTaskClass was removed.
    Magento\Deploy\Model\Deploy\LocaleDeployClass was removed.
    Magento\Deploy\Model\Deploy\LocaleQuickDeployClass was removed.
    Magento\Deploy\Model\Deploy\TemplateMinifierClass was removed.
    Magento\Deploy\Console\CommandListClass was removed.
    Magento\Deploy\Console\Command\DeployStaticContentCommandClass was removed.
    Magento\ConfigurableProduct\Model\Product\Type\Collection\SalableProcessorClass was removed.
    Magento\ConfigurableProduct\Model\Plugin\AroundProductRepositorySaveClass was removed.
    Magento\ConfigurableProduct\Helper\Product\Configuration\SaveProductPluginClass was removed.
    Magento\CatalogInventory\Observer\RefundOrderInventoryObserverClass was removed.
    Magento\Catalog\Model\CatalogRegistryClass was removed.
    Magento\Catalog\Model\Product\Image\ParamsBuilderClass was removed.
    Magento\Catalog\Model\Product\Image\SizeCacheClass was removed.
    Magento\Catalog\Model\Product\Image\UrlBuilderClass was removed.
    Magento\Catalog\Block\Product\ImageBlockBuilderClass was removed.
    Magento\Framework\View\Result\Layout::render[protected] Method parameter changed.
    Magento\Framework\View\Result\Page::render[protected] Method parameter changed.
    Magento\Framework\View\Page\Config\Renderer::renderAssetHtml[protected] Method parameter changed.
    Magento\Framework\View\Layout\Proxy::setCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheSaved[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheSaved[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheTags[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheTags[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheLifetime[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheLifetime[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::updateCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheChecksumId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::fetchCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::validateCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::loadCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::saveCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::removeCache[public] Method has been removed.
    Magento\Framework\View\Asset\Source::$varDir[protected] Property has been removed.
    Magento\Framework\View\Asset\File\FallbackContext::SECURE_PATHConstant has been removed.
    Magento\Framework\Simplexml\Config::setCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheSaved[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheSaved[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheTags[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheTags[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheLifetime[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheLifetime[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::updateCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheChecksumId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::fetchCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::validateCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::loadCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::saveCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::removeCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::_loadCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::_saveCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::_removeCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::$_cacheId[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheTags[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheLifetime[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheChecksum[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheSaved[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cache[protected] Property has been removed.
    Magento\Framework\RequireJs\Config::__construct[public] Method parameter changed.
    Magento\Framework\ObjectManager\DefinitionFactory::getSupportedFormats[public] Method has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::_unpack[protected] Method has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::__construct[public] Method parameter changed.
    Magento\Framework\ObjectManager\DefinitionFactory::$_definitionDir[protected] Property has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::$_definitionFormat[protected] Property has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::$definitionClasses[protected] Property has been removed.
    Magento\Framework\Module\Plugin\DbStatusValidator::aroundDispatch[public] Method has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::__construct[public] Method parameter changed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$string[protected] Property has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$dateTime[protected] Property has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$selectFactory[protected] Property has been removed.
    Magento\Framework\HTTP\Adapter\Curl::__construct[public] Method has been removed.
    Magento\Framework\Css\PreProcessor\FileGenerator\RelatedGenerator::__construct[public] Method parameter changed.
    Magento\Framework\Css\PreProcessor\FileGenerator\RelatedGenerator::$tmpDirectory[protected] Property has been removed.
    Magento\Framework\Controller\AbstractResult::applyHttpHeaders[protected] Method parameter changed.
    Magento\Framework\Controller\AbstractResult::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Forward::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Json::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Raw::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Redirect::render[protected] Method parameter changed.
    Magento\Framework\App\Config::__construct[public] Method parameter changed.
    Magento\Framework\App\Config::$_scopePool[protected] Property has been removed.
    Magento\Framework\App\FrontController::__construct[public] Method parameter changed.
    Magento\Framework\App\ObjectManagerFactory::CONFIG_PATH_DEFINITION_FORMATConstant has been removed.
    Magento\Framework\App\Router\Base::__construct[public] Method parameter changed.
    Magento\Framework\Acl\Builder::__construct[public] Method parameter changed.
    Magento\Framework\Acl\Builder::$_cache[protected] Property has been removed.
    Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId::__construct[public] Method parameter changed.
    Magento\Weee\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\User\Model\ResourceModel\User::__construct[public] Method parameter changed.
    Magento\User\Model\ResourceModel\User::$_aclCache[protected] Property has been removed.
    Magento\Theme\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\Theme\Model\Url\Plugin\Signature::aroundGetBaseUrl[public] Method has been removed.
    Magento\Theme\Block\Html\Topmenu::$registry[protected] Property has been removed.
    Magento\Tax\Model\Quote\GrandTotalDetailsPlugin::aroundProcess[public] Method has been removed.
    Magento\Tax\Model\Quote\GrandTotalDetailsPlugin::__construct[public] Method parameter changed.
    Magento\Tax\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\Swatches\Model\Plugin\EavAttribute::beforeSave[public] Method has been removed.
    Magento\Swatches\Helper\Data::__construct[public] Method parameter changed.
    Magento\Store\Url\Plugin\RouteParamsResolver::aroundSetRouteParams[public] Method has been removed.
    Magento\Store\Model\ResourceModel\Store::readAllStores[public] Method has been removed.
    Magento\Store\Model\ResourceModel\Website::readAllWebsites[public] Method has been removed.
    Magento\Store\Model\Config\Processor\Fallback::__construct[public] Method parameter changed.
    Magento\Store\Model\Config\Processor\Placeholder::__construct[public] Method parameter changed.
    Magento\Store\Model\Config\Processor\Placeholder::$request[protected] Property has been removed.
    Magento\Store\Model\Config\Processor\Placeholder::$urlPaths[protected] Property has been removed.
    Magento\Store\Model\Config\Processor\Placeholder::$urlPlaceholder[protected] Property has been removed.
    Magento\Store\App\Action\Plugin\Context::aroundDispatch[public] Method has been removed.
    Magento\Store\App\Action\Plugin\Context::__construct[public] Method parameter changed.
    Magento\Store\App\Action\Plugin\Context::$httpRequest[protected] Property has been removed.
    Magento\Store\App\Action\Plugin\StoreCheck::aroundDispatch[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\ReturnToStockInvoice::aroundExecute[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\ReturnToStockOrder::aroundExecute[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\Validation\InvoiceRefundCreationArguments::aroundValidate[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\Validation\OrderRefundCreationArguments::aroundValidate[public] Method has been removed.
    Magento\SalesInventory\Model\Order\ReturnProcessor::__construct[public] Method parameter changed.
    Magento\Sales\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\Sales\Model\InvoiceOrder::__construct[public] Method parameter changed.
    Magento\Sales\Model\ShipOrder::__construct[public] Method parameter changed.
    Magento\Sales\Model\ValidatorResultMerger::merge[public] Method parameter changed.
    Magento\Sales\Model\ResourceModel\Order\Plugin\Authorization::aroundLoad[public] Method has been removed.
    Magento\Sales\Model\CronJob\CleanExpiredOrders::__construct[public] Method parameter changed.
    Magento\Sales\Model\CronJob\CleanExpiredOrders::$logger[protected] Property has been removed.
    Magento\Sales\Controller\Adminhtml\Order\Pdfshipments::$shipmentCollectionFactotory[protected] Property has been removed.
    Magento\Quote\Observer\Frontend\Quote\Address\CollectTotalsObserver::__construct[public] Method parameter changed.
    Magento\Quote\Model\Product\Plugin\RemoveQuoteItems::aroundDelete[public] Method has been removed.
    Magento\Paypal\Model\Method\Checks\SpecificationPlugin::aroundIsApplicable[public] Method has been removed.
    Magento\Paypal\Model\Method\Checks\SpecificationPlugin::$_agreementFactory[protected] Property has been removed.
    Magento\Paypal\Model\Config\StructurePlugin::$_helper[protected] Property has been removed.
    Magento\Paypal\Model\Config\StructurePlugin::$_scopeDefiner[protected] Property has been removed.
    Magento\Paypal\Model\Config\Structure\Element\FieldPlugin::aroundGetConfigPath[public] Method has been removed.
    Magento\Paypal\Model\Config\Structure\Element\FieldPlugin::$_request[protected] Property has been removed.
    Magento\Paypal\Cron\FetchReports::__construct[public] Method parameter changed.
    Magento\Paypal\Cron\FetchReports::$_logger[protected] Property has been removed.
    Magento\Paypal\Block\Adminhtml\Store\SwitcherPlugin::aroundGetUrl[public] Method has been removed.
    Magento\PageCache\Model\Config::VARNISH_3_CONFIGURATION_PATHConstant has been removed.
    Magento\PageCache\Model\Controller\Result\BuiltinPlugin::aroundRenderResult[public] Method has been removed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::aroundRenderResult[public] Method has been removed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::__construct[public] Method parameter changed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::$kernel[protected] Property has been removed.
    Magento\PageCache\Model\App\FrontController\VarnishPlugin::aroundDispatch[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::aroundSave[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::aroundDelete[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::afterSave[public] Method parameter changed.
    Magento\NewRelicReporting\Model\Cron\ReportNewRelicCron::__construct[public] Method parameter changed.
    Magento\NewRelicReporting\Model\Cron\ReportNewRelicCron::$logger[protected] Property has been removed.
    Magento\Multishipping\Model\Cart\Controller\CartPlugin::__construct[public] Method parameter changed.
    Magento\MediaStorage\Model\Asset\Plugin\CleanMergedJsCss::aroundCleanMergedJsCss[public] Method has been removed.
    Magento\GroupedProduct\Model\Sales\AdminOrder\Product\Quote\Plugin\Initializer::aroundInit[public] Method has been removed.
    Magento\GroupedProduct\Model\ResourceModel\Product\Link\RelationPersister::aroundSaveProductLinks[public] Method has been removed.
    Magento\GiftMessage\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftMessage\Block\Message\Multishipping\Plugin\ItemsBox::aroundGetItemsBoxTextAfter[public] Method has been removed.
    Magento\Eav\Plugin\Model\ResourceModel\Entity\Attribute::__construct[public] Method parameter changed.
    Magento\Eav\Plugin\Model\ResourceModel\Entity\Attribute::$isCacheEnabled[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\AttributeLoader::__construct[public] Method parameter changed.
    Magento\Eav\Model\ResourceModel\ReadHandler::__construct[public] Method parameter changed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$attributeRepository[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$appResource[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$searchCriteriaBuilder[protected] Property has been removed.
    Magento\Eav\Model\Entity\AttributeLoader::__construct[public] Method parameter changed.
    Magento\Developer\Model\View\Page\Config\ClientSideLessCompilation\Renderer::renderAssetHtml[protected] Method has been removed.
    Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator::__construct[public] Method parameter changed.
    Magento\Customer\Model\Customer\DataProvider::__construct[public] Method parameter changed.
    Magento\Customer\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\Customer\Controller\Plugin\Account::aroundDispatch[public] Method has been removed.
    Magento\Customer\Controller\Adminhtml\Index\Save::_extractData[protected] Method parameter changed.
    Magento\Cron\Observer\ProcessCronQueueObserver::__construct[public] Method parameter changed.
    Magento\Cron\Model\Config\Reader\Db::__construct[public] Method parameter changed.
    Magento\Contact\Controller\Index::__construct[public] Method parameter changed.
    Magento\Contact\Controller\Index::$_transportBuilder[protected] Property has been removed.
    Magento\Contact\Controller\Index::$inlineTranslation[protected] Property has been removed.
    Magento\Contact\Controller\Index::$scopeConfig[protected] Property has been removed.
    Magento\Contact\Controller\Index::$storeManager[protected] Property has been removed.
    Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable::getAttributeOptions[public] Method parameter changed.
    Magento\ConfigurableProduct\Model\Quote\Item\QuantityValidator\Initializer\Option\Plugin\ConfigurableProduct::aroundGetStockItem[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Validator\Plugin::aroundValidate[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::hasCacheData[protected] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::getSalableUsedProducts[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::__construct[public] Method parameter changed.
    Magento\ConfigurableProduct\Controller\Adminhtml\Product\Builder\Plugin::aroundBuild[public] Method has been removed.
    Magento\Config\App\Config\Type\System::__construct[public] Method parameter changed.
    Magento\CmsUrlRewrite\Plugin\Cms\Model\ResourceModel\Page::aroundDelete[public] Method has been removed.
    Magento\Cms\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\CatalogWidget\Model\Rule\Condition\Product::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Observer\CategoryProcessUrlRewriteSavingObserver::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Observer\CategoryProcessUrlRewriteSavingObserver::$urlPersist[protected] Property has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::aroundReplace[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::$productFactory[protected] Property has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Store\View::aroundDelete[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Category\Move::aroundChangeParent[public] Method has been removed.
    Magento\CatalogSearch\Model\Search\ReaderPlugin::aroundRead[public] Method has been removed.
    Magento\CatalogSearch\Model\ResourceModel\Advanced\Collection::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Layer\Search\Plugin\CollectionFilter::aroundFilter[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\IndexStructure::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Indexer\IndexerHandler::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Attribute::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Attribute::aroundDelete[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Store\View::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product\Action::aroundUpdateAttributes[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product\Action::aroundUpdateWebsites[public] Method has been removed.
    Magento\CatalogSearch\Block\Plugin\FrontTabPlugin::aroundSetForm[public] Method has been removed.
    Magento\CatalogRuleConfigurable\Plugin\ConfigurableProduct\Model\ResourceModel\AddCatalogRulePrice::__construct[public] Method parameter changed.
    Magento\CatalogRuleConfigurable\Plugin\CatalogRule\Model\Rule\Validation::aroundValidate[public] Method has been removed.
    Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRules::aroundSave[public] Method has been removed.
    Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRulesAfterReindex::aroundReindex[public] Method has been removed.
    Magento\CatalogInventory\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\CatalogInventory\Model\Stock::$eventPrefix[protected] Property has been removed.
    Magento\CatalogInventory\Model\Stock\Item::$eventPrefix[protected] Property has been removed.
    Magento\CatalogInventory\Model\Plugin\AroundProductRepositorySave::aroundSave[public] Method has been removed.
    Magento\Catalog\Plugin\Model\ResourceModel\Attribute\Save::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\View\Asset\Image::__construct[public] Method parameter changed.
    Magento\Catalog\Model\Plugin\QuoteItemProductOption::aroundConvert[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Product\Flat\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Product\Flat\Plugin\IndexerConfigData::$_state[protected] Property has been removed.
    Magento\Catalog\Model\Indexer\Product\Eav\Plugin\AttributeSet::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Product\Plugin\StoreGroup::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Flat\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Flat\Plugin\StoreGroup::aroundSave[public] Method has been removed.
    Magento\Catalog\Controller\Adminhtml\Product\AddAttributeToTemplate::$sortOrderBuilder[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::_getFormIdKey[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitAttempts[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getAllowedAttemptsForSameLogin[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getAllowedAttemptsFromSameIp[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitIpAttempt[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitLoginAttempts[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isUserAuth[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_generateWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getSymbols[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getWordLen[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isShowAlways[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isEnabled[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getTargetForms[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_setWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_clearWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_randomSize[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_gc[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getResourceModel[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::$_captchaData[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_expiration[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_fsize[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_formId[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_resLogFactory[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_keepSession[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_session[protected] Property has been removed.
    Magento\Bundle\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\Braintree\Model\Ui\ConfigProvider::__construct[public] Method parameter changed.
    Magento\Braintree\Model\Ui\ConfigProvider::PAYPAL_CODEConstant has been removed.
    Magento\Backend\Model\View\Result\Page::__construct[public] Method has been removed.
    Magento\Backend\Model\View\Result\Redirect::render[protected] Method parameter changed.
    Magento\Backend\Model\Menu\Item::__sleep[public] Method has been removed.
    Magento\Backend\Model\Menu\Item::__wakeup[public] Method has been removed.
    Magento\Backend\Block\Menu::_isItemActive[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderItemAnchorTitle[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderItemOnclickFunction[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderAnchorCssClass[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderAnchor[protected] Method has been removed.
    Magento\Backend\App\Config::__construct[public] Method parameter changed.
    Magento\Backend\App\Config::$_scopePool[protected] Property has been removed.
    Magento\Backend\App\Action\Plugin\MassactionKey::aroundDispatch[public] Method has been removed.
    Magento\Authorization\Model\ResourceModel\Rules::__construct[public] Method parameter changed.
    Magento\Authorization\Model\ResourceModel\Rules::$_aclCache[protected] Property has been removed.
    Magento\Framework\Stdlib\ArrayUtils::flatten[public] Method has been added.
    Magento\Framework\Stdlib\ArrayUtils::recursiveDiff[public] Method has been added.
    Magento\Payment\Model\Cart::__construct[public] Method has been added.
    Magento\Payment\Model\Cart::_collectItemsAndAmounts[protected] Method has been added.
    Magento\Payment\Model\Cart::_importItemsFromSalesModel[protected] Method has been added.
    Magento\Payment\Model\Cart::_calculateCustomItemsSubtotal[protected] Method has been added.
    Magento\Payment\Model\Cart::_setTransferFlag[protected] Method has been added.
    Magento\Payment\Model\Cart::_setAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_addAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_getAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_createItemFromData[protected] Method has been added.
    Magento\Payment\Model\Cart::_resetAmounts[protected] Method has been added.
    Magento\Payment\Model\Cart::$_salesModel[protected] Property has been added.
    Magento\Payment\Model\Cart::$_eventManager[protected] Property has been added.
    Magento\Payment\Model\Cart::$_amounts[protected] Property has been added.
    Magento\Payment\Model\Cart::$_customItems[protected] Property has been added.
    Magento\Payment\Model\Cart::$_salesModelItems[protected] Property has been added.
    Magento\Payment\Model\Cart::$_transferFlags[protected] Property has been added.
    Magento\Payment\Model\Cart::$_itemsCollectingRequired[protected] Property has been added.
    Magento\Payment\Model\Cart::AMOUNT_TAXConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_SHIPPINGConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_DISCOUNTConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_SUBTOTALConstant has been added.
    Magento\Payment\Model\Config::__construct[public] Method has been added.
    Magento\Payment\Model\Config::$_methods[protected] Property has been added.
    Magento\Payment\Model\Config::$_scopeConfig[protected] Property has been added.
    Magento\Payment\Model\Config::$_dataStorage[protected] Property has been added.
    Magento\Payment\Model\Config::$localeResolver[protected] Property has been added.
    Magento\Payment\Model\Config::$_paymentMethodFactory[protected] Property has been added.
    Magento\Payment\Model\Config::$_date[protected] Property has been added.
    Magento\Payment\Model\Config::YEARS_RANGEConstant has been added.
    Magento\Payment\Model\MethodList::__construct[public] Method has been added.
    Magento\Payment\Model\MethodList::_canUseMethod[protected] Method has been added.
    Magento\Payment\Model\MethodList::$paymentHelper[protected] Property has been added.
    Magento\Payment\Model\MethodList::$methodSpecificationFactory[protected] Property has been added.
    Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList[public] Method has been added.
    Magento\Catalog\Model\Product\Type\AbstractType::$serializer[protected] Property has been added.
    Magento\Framework\View\Url\CssResolverClass was added.
    Magento\Framework\View\Asset\MinificationClass was added.
    Magento\Framework\View\Asset\PreProcessor\ChainClass was added.
    Magento\Framework\View\Asset\PreProcessor\ChainFactoryClass was added.
    Magento\Framework\View\Asset\File\NotFoundExceptionClass was added.
    Magento\Framework\DB\TemporaryTableServiceClass was added.
    Magento\Framework\DB\Sql\ColumnValueExpressionClass was added.
    Magento\Vault\Model\AbstractPaymentTokenFactoryClass was added.
    Magento\Vault\Model\AccountPaymentTokenFactoryClass was added.
    Magento\Vault\Model\CreditCardTokenFactoryClass was added.
    Magento\Vault\Model\Ui\VaultConfigProviderClass was added.
    Magento\Vault\Model\Method\VaultClass was added.
    Magento\Vault\Block\AbstractTokenRendererClass was added.
    Magento\Variable\Model\VariableClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\EditClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\IndexClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\NewActionClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\SaveClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\ValidateClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\WysiwygPluginClass was added.
    Magento\Variable\Block\System\VariableClass was added.
    Magento\Variable\Block\System\Variable\EditClass was added.
    Magento\Theme\Ui\Component\Design\Config\DataProviderClass was added.
    Magento\Theme\Ui\Component\Design\Config\SearchRobots\ResetButtonClass was added.
    Magento\Theme\Controller\Adminhtml\Design\Config\FileUploader\SaveClass was added.
    Magento\Theme\Block\Html\BreadcrumbsClass was added.
    Magento\Theme\Block\Html\FooterClass was added.
    Magento\Theme\Block\Html\HeaderClass was added.
    Magento\Theme\Block\Html\NoticesClass was added.
    Magento\Theme\Block\Html\PagerClass was added.
    Magento\Theme\Block\Html\TitleClass was added.
    Magento\Theme\Block\Html\TopmenuClass was added.
    Magento\Theme\Block\Html\WelcomeClass was added.
    Magento\Theme\Block\Html\Header\LogoClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\BackButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveAndContinueButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\ScopeClass was added.
    Magento\Sales\Model\Order\CreditmemoDocumentFactoryClass was added.
    Magento\Sales\Model\Order\Creditmemo\NotifierClass was added.
    Magento\RequireJs\Block\Html\Head\ConfigClass was added.
    Magento\Quote\Model\Quote\Address\RateRequestClass was added.
    Magento\Payment\Model\CcConfigClass was added.
    Magento\Payment\Model\CcGenericConfigProviderClass was added.
    Magento\Payment\Model\IframeConfigProviderClass was added.
    Magento\Payment\Model\InfoClass was added.
    Magento\Payment\Model\Source\CctypeClass was added.
    Magento\Payment\Model\Source\InvoiceClass was added.
    Magento\Payment\Model\Method\AdapterClass was added.
    Magento\Payment\Model\Method\FreeClass was added.
    Magento\Payment\Model\Method\LoggerClass was added.
    Magento\Payment\Model\Method\Specification\AbstractSpecificationClass was added.
    Magento\Payment\Model\Method\Specification\CompositeClass was added.
    Magento\Payment\Model\Config\Source\AllspecificcountriesClass was added.
    Magento\Payment\Model\Checks\CanUseCheckoutClass was added.
    Magento\Payment\Model\Checks\CanUseForCountryClass was added.
    Magento\Payment\Model\Checks\CanUseForCurrencyClass was added.
    Magento\Payment\Model\Checks\CanUseInternalClass was added.
    Magento\Payment\Model\Checks\CompositeClass was added.
    Magento\Payment\Model\Checks\SpecificationFactoryClass was added.
    Magento\Payment\Model\Checks\TotalMinMaxClass was added.
    Magento\Payment\Model\Checks\ZeroTotalClass was added.
    Magento\Payment\Model\Checks\CanUseForCountry\CountryProviderClass was added.
    Magento\Payment\Helper\DataClass was added.
    Magento\Payment\Gateway\Helper\ContextHelperClass was added.
    Magento\Payment\Gateway\Helper\SubjectReaderClass was added.
    Magento\Payment\Gateway\Config\ConfigValueHandlerClass was added.
    Magento\Payment\Gateway\Config\ValueHandlerPoolClass was added.
    Magento\Payment\Gateway\Command\NullCommandClass was added.
    Magento\Payment\Gateway\Command\Result\ArrayResultClass was added.
    Magento\Payment\Gateway\Command\Result\BoolResultClass was added.
    Magento\Payment\Block\FormClass was added.
    Magento\Payment\Block\InfoClass was added.
    Magento\Payment\Block\Transparent\FormClass was added.
    Magento\Payment\Block\Transparent\IframeClass was added.
    Magento\Payment\Block\Transparent\InfoClass was added.
    Magento\Payment\Block\Info\AbstractContainerClass was added.
    Magento\Payment\Block\Info\CcClass was added.
    Magento\Payment\Block\Info\InstructionsClass was added.
    Magento\Payment\Block\Form\CcClass was added.
    Magento\Payment\Block\Form\ContainerClass was added.
    Magento\Payment\Block\Adminhtml\Transparent\FormClass was added.
    Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptionsClass was added.
    Magento\OfflineShipping\Model\SalesRule\CalculatorClass was added.
    Magento\OfflineShipping\Model\SalesRule\RuleClass was added.
    Magento\OfflineShipping\Model\ResourceModel\Carrier\TablerateClass was added.
    Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\CollectionClass was added.
    Magento\OfflineShipping\Model\Config\Source\FlatrateClass was added.
    Magento\OfflineShipping\Model\Config\Source\TablerateClass was added.
    Magento\OfflineShipping\Model\Carrier\FlatrateClass was added.
    Magento\OfflineShipping\Model\Carrier\FreeshippingClass was added.
    Magento\OfflineShipping\Model\Carrier\PickupClass was added.
    Magento\OfflineShipping\Model\Carrier\TablerateClass was added.
    Magento\OfflinePayments\Model\BanktransferClass was added.
    Magento\OfflinePayments\Model\CashondeliveryClass was added.
    Magento\OfflinePayments\Model\CheckmoClass was added.
    Magento\OfflinePayments\Model\PurchaseorderClass was added.
    + +

    Interface

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TargetWhat Changed
    Magento\Framework\Acl\CacheInterfaceInterface was removed.
    Magento\Store\Api\Data\GroupInterface::getCode[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::setCode[public] Method has been added.
    Magento\Framework\Interception\ChainInterfaceInterface was removed.
    Magento\Framework\App\Config\Scope\ReaderPoolInterfaceInterface was removed.
    Magento\Framework\Acl\CacheInterfaceInterface was removed.
    Magento\Deploy\Model\Deploy\DeployInterfaceInterface was removed.
    Magento\Deploy\Console\Command\DeployStaticOptionsInterfaceInterface was removed.
    Magento\Framework\View\Asset\AssetInterface::getSourceContentType[public] Method has been added.
    Magento\Framework\Locale\ListsInterface::getOptionLocales[public] Method has been removed.
    Magento\Framework\Locale\ListsInterface::getTranslatedOptionLocales[public] Method has been removed.
    Magento\Framework\App\Response\HttpInterface::getHttpResponseCode[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::getHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::clearHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setStatusHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::appendBody[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setBody[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setRedirect[public] Method has been added.
    Magento\Framework\Api\Search\SearchResultInterface::getAllIds[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::getCode[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::setCode[public] Method has been added.
    Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PERCENTAGE_VALUEConstant has been added.
    Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_VALUE_TYPEConstant has been added.
    Magento\Framework\View\Design\ThemeInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessorInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessor\AlternativeSourceInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessor\ChainFactoryInterfaceInterface was added.
    Magento\Framework\Indexer\BatchSizeManagementInterfaceInterface was added.
    Magento\Framework\Indexer\IndexTableRowSizeEstimatorInterfaceInterface was added.
    Magento\Framework\App\PlainTextRequestInterfaceInterface was added.
    Magento\Framework\App\RequestContentInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessorInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessor\JoinProcessor\CustomJoinInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessor\FilterProcessor\CustomFilterInterfaceInterface was added.
    Magento\Framework\Api\Search\SearchResultInterfaceInterface was added.
    Magento\Vault\Api\PaymentMethodListInterfaceInterface was added.
    Magento\Vault\Api\Data\PaymentTokenInterfaceFactoryInterface was added.
    Magento\Store\Api\StoreWebsiteRelationInterfaceInterface was added.
    Magento\Sales\Model\ValidatorResultInterfaceInterface was added.
    Magento\Sales\Model\Order\RefundAdapterInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\InvoiceOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\RefundInvoiceInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\RefundOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\ShipOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Creditmemo\NotifierInterfaceInterface was added.
    Magento\Sales\Api\RefundInvoiceInterfaceInterface was added.
    Magento\Sales\Api\RefundOrderInterfaceInterface was added.
    Magento\Sales\Api\Exception\CouldNotRefundExceptionInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoCommentCreationInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoCreationArgumentsInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoItemCreationInterfaceInterface was added.
    Magento\Payment\Model\Method\SpecificationInterfaceInterface was added.
    Magento\Payment\Model\Checks\SpecificationInterfaceInterface was added.
    Magento\Payment\Gateway\Data\PaymentDataObjectFactoryInterfaceInterface was added.
    Magento\Payment\Api\PaymentMethodListInterfaceInterface was added.
    Magento\Payment\Api\PaymentVerificationInterfaceInterface was added.
    Magento\Payment\Api\Data\PaymentMethodInterfaceInterface was added.
    Magento\Eav\Api\Data\AttributeDefaultValueInterfaceInterface was added.
    Magento\Customer\Block\Account\SortLinkInterfaceInterface was added.
    Magento\Contact\Model\ConfigInterfaceInterface was added.
    Magento\Contact\Model\MailInterfaceInterface was added.
    Magento\ConfigurableProduct\Pricing\Price\ConfigurableOptionsProviderInterfaceInterface was added.
    Magento\ConfigurableProduct\Pricing\Price\LowestPriceOptionsProviderInterfaceInterface was added.
    Magento\Catalog\Model\ProductIdLocatorInterfaceInterface was added.
    Magento\Catalog\Model\ResourceModel\Product\BaseSelectProcessorInterfaceInterface was added.
    Magento\Catalog\Api\BasePriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\CategoryListInterfaceInterface was added.
    Magento\Catalog\Api\CostStorageInterfaceInterface was added.
    Magento\Catalog\Api\ScopedProductTierPriceManagementInterfaceInterface was added.
    Magento\Catalog\Api\SpecialPriceInterfaceInterface was added.
    Magento\Catalog\Api\SpecialPriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\TierPriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\Data\BasePriceInterfaceInterface was added.
    Magento\Catalog\Api\Data\CategoryLinkInterfaceInterface was added.
    Magento\Catalog\Api\Data\CategorySearchResultsInterfaceInterface was added.
    Magento\Catalog\Api\Data\CostInterfaceInterface was added.
    Magento\Catalog\Api\Data\PriceUpdateResultInterfaceInterface was added.
    Magento\Catalog\Api\Data\SpecialPriceInterfaceInterface was added.
    Magento\Catalog\Api\Data\TierPriceInterfaceInterface was added.
    diff --git a/_includes/changes/ee/216-develop.html b/_includes/changes/ee/216-develop.html new file mode 100644 index 00000000000..b3aff59309a --- /dev/null +++ b/_includes/changes/ee/216-develop.html @@ -0,0 +1,624 @@ + +

    Class

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TargetWhat Changed
    Magento\Framework\MessageQueue\Config\Reader\Xml\Converter\DeprecatedFormatClass was removed.
    Magento\SalesArchive\Observer\SalesUpdateGridRecordsObserverClass was removed.
    Magento\Reward\Model\Action\Creditmemo\VoidClass was removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql\BuilderClass was removed.
    Magento\PromotionPermissions\Block\Adminhtml\PluginClass was removed.
    Magento\MysqlMq\Setup\RecurringDataClass was removed.
    Magento\Doc\Ui\PageClass was removed.
    Magento\Doc\Ui\WidgetClass was removed.
    Magento\Doc\Ui\Widget\DashboardClass was removed.
    Magento\Doc\Ui\Widget\Navigation\ModuleClass was removed.
    Magento\Doc\Ui\Widget\Navigation\TopClass was removed.
    Magento\Doc\Ui\Widget\Document\ContentClass was removed.
    Magento\Doc\Ui\Widget\Document\OutlineClass was removed.
    Magento\Doc\Ui\Widget\Document\ToolbarClass was removed.
    Magento\Doc\TemplateEngine\HtmlClass was removed.
    Magento\Doc\Document\ContentClass was removed.
    Magento\Doc\Document\FilterClass was removed.
    Magento\Doc\Document\ItemClass was removed.
    Magento\Doc\Document\OutlineClass was removed.
    Magento\Doc\Document\Type\AbstractTypeClass was removed.
    Magento\Doc\Document\Type\ApiClass was removed.
    Magento\Doc\Document\Type\ArticleClass was removed.
    Magento\Doc\Document\Type\DiagramClass was removed.
    Magento\Doc\Document\Type\ExampleClass was removed.
    Magento\Doc\Document\Type\FactoryClass was removed.
    Magento\Doc\Document\Type\MediaClass was removed.
    Magento\Doc\Document\Type\ReferenceCodeClass was removed.
    Magento\Doc\Document\Type\ReferenceDirClass was removed.
    Magento\Doc\Document\Type\ReferenceFileClass was removed.
    Magento\Doc\Document\Outline\CollectorClass was removed.
    Magento\Doc\Document\Outline\ConverterClass was removed.
    Magento\Doc\Document\Outline\DomClass was removed.
    Magento\Doc\Document\Outline\DomFactoryClass was removed.
    Magento\Doc\Document\Outline\FileResolverClass was removed.
    Magento\Doc\Document\Outline\MapperClass was removed.
    Magento\Doc\Document\Outline\ReaderClass was removed.
    Magento\Doc\Document\Outline\SchemaLocatorClass was removed.
    Magento\Doc\Document\Outline\Collector\BaseClass was removed.
    Magento\Doc\Document\Content\CollectorClass was removed.
    Magento\Doc\Document\Content\DomClass was removed.
    Magento\Doc\Document\Content\DomFactoryClass was removed.
    Magento\Doc\Document\Content\FileResolverClass was removed.
    Magento\Doc\Document\Content\ReaderClass was removed.
    Magento\Doc\Document\Content\SchemaLocatorClass was removed.
    Magento\Doc\Document\Content\Dom\NodeMergingConfigClass was removed.
    Magento\Doc\Document\Content\Dom\NodePathMatcherClass was removed.
    Magento\Doc\Document\Content\Collector\BaseClass was removed.
    Magento\Doc\Controller\Index\ReadClass was removed.
    Magento\Doc\Controller\Index\WriteClass was removed.
    Magento\Doc\App\DefaultPathClass was removed.
    Magento\Doc\App\RouterClass was removed.
    Magento\Doc\App\Controller\AbstractActionClass was removed.
    Magento\Doc\App\Area\FrontNameResolverClass was removed.
    Magento\Framework\MessageQueue\MessageValidator::__construct[public] Method has been removed.
    Magento\Framework\MessageQueue\Rpc\Publisher::publishToQueue[public] Method has been removed.
    Magento\Framework\ForeignKey\ObjectRelationProcessor\Plugin::__construct[public] Method parameter changed.
    Magento\VersionsCms\Observer\AddCmsToTopmenuItems::_isCmsNodeActive[protected] Method has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::__construct[public] Method parameter changed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$entityIdentifier[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$entityColumn[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$jsModalProvider[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$jsLoaderProvider[protected] Property has been removed.
    Magento\Staging\Model\StagingApplier::__construct[public] Method parameter changed.
    Magento\SalesRuleStaging\Setup\InstallSchema::__construct[public] Method parameter changed.
    Magento\SalesRuleStaging\Setup\InstallSchema::$salesRuleMigrationFactory[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::aroundRefresh[public] Method has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$gridPool[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$archive[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$resource[protected] Property has been removed.
    Magento\Reward\Model\Plugin\CartTotalRepository::aroundGet[public] Method has been removed.
    Magento\Reward\Model\Plugin\OrderRepository::aroundGet[public] Method has been removed.
    Magento\Reward\Model\Plugin\RewardPointsRefund::aroundSave[public] Method has been removed.
    Magento\Reward\Model\Plugin\RuleRepositoryPlugin::aroundGetById[public] Method has been removed.
    Magento\Reward\Model\Plugin\RuleRepositoryPlugin::aroundSave[public] Method has been removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::getDbConnectionInstance[protected] Method has been removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::__construct[public] Method parameter changed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::$builder[protected] Property has been removed.
    Magento\ResourceConnections\DB\Adapter\Pdo\MysqlProxy::__construct[public] Method parameter changed.
    Magento\ResourceConnections\DB\Adapter\Pdo\MysqlProxy::$builder[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Edit\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Edit\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Quote\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Quote\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Catalog\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Catalog\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeMeta[public] Method has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeContainerMeta[public] Method has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeData[public] Method has been removed.
    Magento\PricePermissions\Model\Entity\Attribute\Backend\Plugin\AbstractBackend::aroundValidate[public] Method has been removed.
    Magento\Logging\App\Action\Plugin\Log::aroundDispatch[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageCartRepository::aroundSave[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageCartRepository::$helper[protected] Property has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageItemRepository::aroundSave[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageItemRepository::$helper[protected] Property has been removed.
    Magento\GiftWrapping\Model\Plugin\TotalsConverter::aroundProcess[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\ConvertQuoteAddressToOrderAddress::aroundConvert[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\OrderAddressName::aroundGetName[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftCardAccount\Model\Plugin\InvoiceRepository::beforeSave[public] Method parameter changed.
    Magento\GiftCardAccount\Model\Plugin\TotalsConverter::aroundProcess[public] Method has been removed.
    Magento\GiftCardAccount\Model\Plugin\TotalsConverter::__construct[public] Method parameter changed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::__construct[public] Method parameter changed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::$invoiceRepository[protected] Property has been removed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::$itemsFactory[protected] Property has been removed.
    Magento\GiftCard\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftCard\Model\Plugin\QuoteItem::$_scopeConfig[protected] Property has been removed.
    Magento\GiftCard\Helper\GiftRegistry\Plugin::aroundCanAddToGiftRegistry[public] Method has been removed.
    Magento\Enterprise\Model\Plugin\StoreSwitcher::aroundGetHintUrl[public] Method has been removed.
    Magento\CustomerSegment\Model\ResourceModel\Grid\Collection::_initSelect[protected] Method has been removed.
    Magento\CustomerSegment\Model\Checkout\Block\Cart\Shipping\Plugin::aroundCollect[public] Method has been removed.
    Magento\CustomerCustomAttributes\Model\Plugin\ConvertQuoteAddressToOrderAddress::aroundConvert[public] Method has been removed.
    Magento\CustomerBalance\Model\Plugin\InvoiceRepository::beforeSave[public] Method parameter changed.
    Magento\CheckoutStaging\Plugin\SavePreviewQuotaPlugin::aroundSave[public] Method has been removed.
    Magento\CatalogStaging\Plugin\Model\Indexer\Product\Flat\Table\Builder::__construct[public] Method parameter changed.
    Magento\CatalogStaging\Model\Plugin\ResourceModel\Product\Collection::aroundJoinAttribute[public] Method has been removed.
    Magento\CatalogRuleStaging\Setup\InstallSchema::__construct[public] Method parameter changed.
    Magento\CatalogRuleStaging\Setup\InstallSchema::$catalogRuleSetupFactory[protected] Property has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Store\View::aroundSave[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Product\Action::aroundUpdateAttributes[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Product\Action::aroundUpdateWebsites[public] Method has been removed.
    Magento\Amqp\Setup\Recurring::__construct[public] Method parameter changed.
    Magento\Amqp\Setup\Recurring::$topology[protected] Property has been removed.
    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexAll[public] Method has been removed.
    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexEntity[public] Method has been removed.
    + +

    Interface

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TargetWhat Changed
    Magento\Doc\Document\ContentInterfaceInterface was removed.
    Magento\Doc\Document\DomInterfaceInterface was removed.
    Magento\Doc\Document\Type\ApiInterfaceInterface was removed.
    Magento\Doc\Document\Type\ArticleInterfaceInterface was removed.
    Magento\Doc\Document\Type\DiagramInterfaceInterface was removed.
    Magento\Doc\Document\Type\ExampleInterfaceInterface was removed.
    Magento\Doc\Document\Type\MediaInterfaceInterface was removed.
    Magento\Doc\Document\Type\ReferenceInterfaceInterface was removed.
    Magento\Framework\Bulk\BulkManagementInterfaceInterface was added.
    Magento\Framework\Bulk\BulkStatusInterfaceInterface was added.
    Magento\Framework\Bulk\BulkSummaryInterfaceInterface was added.
    Magento\Framework\Bulk\OperationInterfaceInterface was added.
    Magento\Framework\Bulk\OperationManagementInterfaceInterface was added.
    Magento\Signifyd\Api\CaseCreationServiceInterfaceInterface was added.
    Magento\Signifyd\Api\CaseManagementInterfaceInterface was added.
    Magento\Signifyd\Api\CaseRepositoryInterfaceInterface was added.
    Magento\Signifyd\Api\GuaranteeCancelingServiceInterfaceInterface was added.
    Magento\Signifyd\Api\GuaranteeCreationServiceInterfaceInterface was added.
    Magento\Signifyd\Api\Data\CaseInterfaceInterface was added.
    Magento\Signifyd\Api\Data\CaseSearchResultsInterfaceInterface was added.
    Magento\GiftCardAccount\Api\Data\GiftCardInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\BulkSummaryInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\OperationInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\OperationListInterfaceInterface was added.
    From 942a5f9a52af6f952f3c39e8051f806ef8943648 Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov Date: Wed, 12 Apr 2017 17:35:38 +0300 Subject: [PATCH 062/301] Reverted the branch --- _includes/changes/ce/215-216.html | 10 +- _includes/changes/ce/215-develop.html | 2056 ------------------------- _includes/changes/ee/215-216.html | 10 +- _includes/changes/ee/215-develop.html | 624 -------- 4 files changed, 4 insertions(+), 2696 deletions(-) delete mode 100644 _includes/changes/ce/215-develop.html delete mode 100644 _includes/changes/ee/215-develop.html diff --git a/_includes/changes/ce/215-216.html b/_includes/changes/ce/215-216.html index f4541c84c34..592cb23d167 100644 --- a/_includes/changes/ce/215-216.html +++ b/_includes/changes/ce/215-216.html @@ -1,8 +1,2 @@ - -

    Class

    - - - - - -
    TargetWhat Changed
    +

    No changes

    +

    No backward incompatible changes.

    \ No newline at end of file diff --git a/_includes/changes/ce/215-develop.html b/_includes/changes/ce/215-develop.html deleted file mode 100644 index 1365d6aa8e5..00000000000 --- a/_includes/changes/ce/215-develop.html +++ /dev/null @@ -1,2056 +0,0 @@ - -

    Class

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TargetWhat Changed
    Magento\Sales\Model\Order\PaymentAdapterClass was removed.
    Magento\Framework\View\Result\Layout::render[protected] Method parameter changed.
    Magento\Framework\View\Result\Page::render[protected] Method parameter changed.
    Magento\Framework\Simplexml\Config\Cache\AbstractCacheClass was removed.
    Magento\Framework\Simplexml\Config\Cache\FileClass was removed.
    Magento\Framework\ObjectManager\Relations\CompiledClass was removed.
    Magento\Framework\ObjectManager\Definition\CompiledClass was removed.
    Magento\Framework\ObjectManager\Definition\Compiled\BinaryClass was removed.
    Magento\Framework\ObjectManager\Definition\Compiled\SerializedClass was removed.
    Magento\Framework\Intl\NumberFormatterFactoryClass was removed.
    Magento\Framework\Interception\Definition\CompiledClass was removed.
    Magento\Framework\Interception\Chain\ChainClass was removed.
    Magento\Framework\EntityManager\CustomAttributesMapperClass was removed.
    Magento\Framework\Config\ReaderPoolClass was removed.
    Magento\Framework\App\Config\ScopePoolClass was removed.
    Magento\Framework\Acl\CacheClass was removed.
    Magento\Vault\Block\CreditCardsClass was removed.
    Magento\Usps\Block\Rma\Adminhtml\Rma\Edit\Tab\General\Shipping\Packaging\PluginClass was removed.
    Magento\Sales\Controller\Adminhtml\Order\Invoice\VoidClass was removed.
    Magento\Sales\Controller\Adminhtml\Order\Creditmemo\VoidClass was removed.
    Magento\PageCache\Block\System\Config\Form\Field\Export\Varnish3Class was removed.
    Magento\Fedex\Model\Plugin\Rma\Block\Adminhtml\Rma\Edit\Tab\General\ShippingmethodClass was removed.
    Magento\Eav\Model\Entity\AttributeCacheClass was removed.
    Magento\Eav\Model\Entity\Attribute\Backend\SerializedClass was removed.
    Magento\Dhl\Model\Plugin\Rma\Block\Adminhtml\Rma\Edit\Tab\General\ShippingmethodClass was removed.
    Magento\Deploy\Model\DeployManagerClass was removed.
    Magento\Deploy\Model\DeployStrategyFactoryClass was removed.
    Magento\Deploy\Model\DeployStrategyProviderClass was removed.
    Magento\Deploy\Model\DeployerClass was removed.
    Magento\Deploy\Model\ProcessClass was removed.
    Magento\Deploy\Model\ProcessManagerClass was removed.
    Magento\Deploy\Model\ProcessQueueManagerClass was removed.
    Magento\Deploy\Model\ProcessTaskClass was removed.
    Magento\Deploy\Model\Deploy\LocaleDeployClass was removed.
    Magento\Deploy\Model\Deploy\LocaleQuickDeployClass was removed.
    Magento\Deploy\Model\Deploy\TemplateMinifierClass was removed.
    Magento\Deploy\Console\CommandListClass was removed.
    Magento\Deploy\Console\Command\DeployStaticContentCommandClass was removed.
    Magento\ConfigurableProduct\Model\Plugin\AroundProductRepositorySaveClass was removed.
    Magento\ConfigurableProduct\Helper\Product\Configuration\SaveProductPluginClass was removed.
    Magento\CatalogInventory\Observer\RefundOrderInventoryObserverClass was removed.
    Magento\Catalog\Model\CatalogRegistryClass was removed.
    Magento\Framework\View\Result\Layout::render[protected] Method parameter changed.
    Magento\Framework\View\Result\Page::render[protected] Method parameter changed.
    Magento\Framework\View\Page\Config\Renderer::renderAssetHtml[protected] Method parameter changed.
    Magento\Framework\View\Layout\Proxy::setCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheSaved[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheSaved[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheTags[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheTags[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheLifetime[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheLifetime[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::setCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::updateCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::getCacheChecksumId[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::fetchCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::validateCacheChecksum[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::loadCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::saveCache[public] Method has been removed.
    Magento\Framework\View\Layout\Proxy::removeCache[public] Method has been removed.
    Magento\Framework\View\Asset\Source::$varDir[protected] Property has been removed.
    Magento\Framework\View\Asset\File\FallbackContext::SECURE_PATHConstant has been removed.
    Magento\Framework\Simplexml\Config::setCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheSaved[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheSaved[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheTags[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheTags[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheLifetime[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheLifetime[public] Method has been removed.
    Magento\Framework\Simplexml\Config::setCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::updateCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::getCacheChecksumId[public] Method has been removed.
    Magento\Framework\Simplexml\Config::fetchCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::validateCacheChecksum[public] Method has been removed.
    Magento\Framework\Simplexml\Config::loadCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::saveCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::removeCache[public] Method has been removed.
    Magento\Framework\Simplexml\Config::_loadCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::_saveCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::_removeCache[protected] Method has been removed.
    Magento\Framework\Simplexml\Config::$_cacheId[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheTags[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheLifetime[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheChecksum[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cacheSaved[protected] Property has been removed.
    Magento\Framework\Simplexml\Config::$_cache[protected] Property has been removed.
    Magento\Framework\RequireJs\Config::__construct[public] Method parameter changed.
    Magento\Framework\ObjectManager\DefinitionFactory::getSupportedFormats[public] Method has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::_unpack[protected] Method has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::__construct[public] Method parameter changed.
    Magento\Framework\ObjectManager\DefinitionFactory::$_definitionDir[protected] Property has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::$_definitionFormat[protected] Property has been removed.
    Magento\Framework\ObjectManager\DefinitionFactory::$definitionClasses[protected] Property has been removed.
    Magento\Framework\Module\Plugin\DbStatusValidator::aroundDispatch[public] Method has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::__construct[public] Method parameter changed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$string[protected] Property has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$dateTime[protected] Property has been removed.
    Magento\Framework\Model\ResourceModel\Type\Db\Pdo\Mysql::$selectFactory[protected] Property has been removed.
    Magento\Framework\HTTP\Adapter\Curl::__construct[public] Method has been removed.
    Magento\Framework\Css\PreProcessor\FileGenerator\RelatedGenerator::__construct[public] Method parameter changed.
    Magento\Framework\Css\PreProcessor\FileGenerator\RelatedGenerator::$tmpDirectory[protected] Property has been removed.
    Magento\Framework\Controller\AbstractResult::applyHttpHeaders[protected] Method parameter changed.
    Magento\Framework\Controller\AbstractResult::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Forward::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Json::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Raw::render[protected] Method parameter changed.
    Magento\Framework\Controller\Result\Redirect::render[protected] Method parameter changed.
    Magento\Framework\App\Config::__construct[public] Method parameter changed.
    Magento\Framework\App\Config::$_scopePool[protected] Property has been removed.
    Magento\Framework\App\FrontController::__construct[public] Method parameter changed.
    Magento\Framework\App\ObjectManagerFactory::CONFIG_PATH_DEFINITION_FORMATConstant has been removed.
    Magento\Framework\App\Router\Base::__construct[public] Method parameter changed.
    Magento\Framework\Acl\Builder::__construct[public] Method parameter changed.
    Magento\Framework\Acl\Builder::$_cache[protected] Property has been removed.
    Magento\Widget\Model\ResourceModel\Widget\Instance\Options\ThemeId::__construct[public] Method parameter changed.
    Magento\Weee\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\User\Model\ResourceModel\User::__construct[public] Method parameter changed.
    Magento\User\Model\ResourceModel\User::$_aclCache[protected] Property has been removed.
    Magento\Theme\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\Theme\Model\Url\Plugin\Signature::aroundGetBaseUrl[public] Method has been removed.
    Magento\Theme\Block\Html\Topmenu::$registry[protected] Property has been removed.
    Magento\Tax\Model\Quote\GrandTotalDetailsPlugin::aroundProcess[public] Method has been removed.
    Magento\Tax\Model\Quote\GrandTotalDetailsPlugin::__construct[public] Method parameter changed.
    Magento\Tax\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\Swatches\Model\Plugin\EavAttribute::beforeSave[public] Method has been removed.
    Magento\Store\Url\Plugin\RouteParamsResolver::aroundSetRouteParams[public] Method has been removed.
    Magento\Store\Model\ResourceModel\Store::readAllStores[public] Method has been removed.
    Magento\Store\Model\ResourceModel\Website::readAllWebsites[public] Method has been removed.
    Magento\Store\Model\Config\Processor\Fallback::__construct[public] Method parameter changed.
    Magento\Store\Model\Config\Processor\Placeholder::__construct[public] Method parameter changed.
    Magento\Store\Model\Config\Processor\Placeholder::$request[protected] Property has been removed.
    Magento\Store\Model\Config\Processor\Placeholder::$urlPaths[protected] Property has been removed.
    Magento\Store\Model\Config\Processor\Placeholder::$urlPlaceholder[protected] Property has been removed.
    Magento\Store\App\Action\Plugin\Context::aroundDispatch[public] Method has been removed.
    Magento\Store\App\Action\Plugin\Context::__construct[public] Method parameter changed.
    Magento\Store\App\Action\Plugin\Context::$httpRequest[protected] Property has been removed.
    Magento\Store\App\Action\Plugin\StoreCheck::aroundDispatch[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\ReturnToStockInvoice::aroundExecute[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\ReturnToStockOrder::aroundExecute[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\Validation\InvoiceRefundCreationArguments::aroundValidate[public] Method has been removed.
    Magento\SalesInventory\Model\Plugin\Order\Validation\OrderRefundCreationArguments::aroundValidate[public] Method has been removed.
    Magento\SalesInventory\Model\Order\ReturnProcessor::__construct[public] Method parameter changed.
    Magento\Sales\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\Sales\Model\InvoiceOrder::__construct[public] Method parameter changed.
    Magento\Sales\Model\ShipOrder::__construct[public] Method parameter changed.
    Magento\Sales\Model\ValidatorResultMerger::merge[public] Method parameter changed.
    Magento\Sales\Model\ResourceModel\Order\Plugin\Authorization::aroundLoad[public] Method has been removed.
    Magento\Sales\Model\CronJob\CleanExpiredOrders::__construct[public] Method parameter changed.
    Magento\Sales\Model\CronJob\CleanExpiredOrders::$logger[protected] Property has been removed.
    Magento\Sales\Controller\Adminhtml\Order\Pdfshipments::$shipmentCollectionFactotory[protected] Property has been removed.
    Magento\Quote\Observer\Frontend\Quote\Address\CollectTotalsObserver::__construct[public] Method parameter changed.
    Magento\Quote\Model\Product\Plugin\RemoveQuoteItems::aroundDelete[public] Method has been removed.
    Magento\Paypal\Model\Method\Checks\SpecificationPlugin::aroundIsApplicable[public] Method has been removed.
    Magento\Paypal\Model\Method\Checks\SpecificationPlugin::$_agreementFactory[protected] Property has been removed.
    Magento\Paypal\Model\Config\StructurePlugin::$_helper[protected] Property has been removed.
    Magento\Paypal\Model\Config\StructurePlugin::$_scopeDefiner[protected] Property has been removed.
    Magento\Paypal\Model\Config\Structure\Element\FieldPlugin::aroundGetConfigPath[public] Method has been removed.
    Magento\Paypal\Model\Config\Structure\Element\FieldPlugin::$_request[protected] Property has been removed.
    Magento\Paypal\Cron\FetchReports::__construct[public] Method parameter changed.
    Magento\Paypal\Cron\FetchReports::$_logger[protected] Property has been removed.
    Magento\Paypal\Block\Adminhtml\Store\SwitcherPlugin::aroundGetUrl[public] Method has been removed.
    Magento\PageCache\Model\Config::VARNISH_3_CONFIGURATION_PATHConstant has been removed.
    Magento\PageCache\Model\Controller\Result\BuiltinPlugin::aroundRenderResult[public] Method has been removed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::aroundRenderResult[public] Method has been removed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::__construct[public] Method parameter changed.
    Magento\PageCache\Model\Controller\Result\VarnishPlugin::$kernel[protected] Property has been removed.
    Magento\PageCache\Model\App\FrontController\VarnishPlugin::aroundDispatch[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::aroundSave[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::aroundDelete[public] Method has been removed.
    Magento\Newsletter\Model\Plugin\CustomerPlugin::afterSave[public] Method parameter changed.
    Magento\NewRelicReporting\Model\Cron\ReportNewRelicCron::__construct[public] Method parameter changed.
    Magento\NewRelicReporting\Model\Cron\ReportNewRelicCron::$logger[protected] Property has been removed.
    Magento\Multishipping\Model\Cart\Controller\CartPlugin::__construct[public] Method parameter changed.
    Magento\MediaStorage\Model\Asset\Plugin\CleanMergedJsCss::aroundCleanMergedJsCss[public] Method has been removed.
    Magento\GroupedProduct\Model\Sales\AdminOrder\Product\Quote\Plugin\Initializer::aroundInit[public] Method has been removed.
    Magento\GroupedProduct\Model\ResourceModel\Product\Link\RelationPersister::aroundSaveProductLinks[public] Method has been removed.
    Magento\GiftMessage\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftMessage\Block\Message\Multishipping\Plugin\ItemsBox::aroundGetItemsBoxTextAfter[public] Method has been removed.
    Magento\Eav\Plugin\Model\ResourceModel\Entity\Attribute::__construct[public] Method parameter changed.
    Magento\Eav\Plugin\Model\ResourceModel\Entity\Attribute::$isCacheEnabled[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\AttributeLoader::__construct[public] Method parameter changed.
    Magento\Eav\Model\ResourceModel\ReadHandler::__construct[public] Method parameter changed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$attributeRepository[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$appResource[protected] Property has been removed.
    Magento\Eav\Model\ResourceModel\ReadHandler::$searchCriteriaBuilder[protected] Property has been removed.
    Magento\Eav\Model\Entity\AttributeLoader::__construct[public] Method parameter changed.
    Magento\Developer\Model\View\Page\Config\ClientSideLessCompilation\Renderer::renderAssetHtml[protected] Method has been removed.
    Magento\Developer\Model\Css\PreProcessor\FileGenerator\PublicationDecorator::__construct[public] Method parameter changed.
    Magento\Customer\Model\Customer\DataProvider::__construct[public] Method parameter changed.
    Magento\Customer\Model\App\Action\ContextPlugin::aroundDispatch[public] Method has been removed.
    Magento\Customer\Controller\Plugin\Account::aroundDispatch[public] Method has been removed.
    Magento\Customer\Controller\Adminhtml\Index\Save::_extractData[protected] Method parameter changed.
    Magento\Cron\Observer\ProcessCronQueueObserver::__construct[public] Method parameter changed.
    Magento\Cron\Model\Config\Reader\Db::__construct[public] Method parameter changed.
    Magento\Contact\Controller\Index::__construct[public] Method parameter changed.
    Magento\Contact\Controller\Index::$_transportBuilder[protected] Property has been removed.
    Magento\Contact\Controller\Index::$inlineTranslation[protected] Property has been removed.
    Magento\Contact\Controller\Index::$scopeConfig[protected] Property has been removed.
    Magento\Contact\Controller\Index::$storeManager[protected] Property has been removed.
    Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable::getAttributeOptions[public] Method parameter changed.
    Magento\ConfigurableProduct\Model\Quote\Item\QuantityValidator\Initializer\Option\Plugin\ConfigurableProduct::aroundGetStockItem[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Validator\Plugin::aroundValidate[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::hasCacheData[protected] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::getSalableUsedProducts[public] Method has been removed.
    Magento\ConfigurableProduct\Model\Product\Type\Configurable::__construct[public] Method parameter changed.
    Magento\ConfigurableProduct\Controller\Adminhtml\Product\Builder\Plugin::aroundBuild[public] Method has been removed.
    Magento\Config\App\Config\Type\System::__construct[public] Method parameter changed.
    Magento\CmsUrlRewrite\Plugin\Cms\Model\ResourceModel\Page::aroundDelete[public] Method has been removed.
    Magento\Cms\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Observer\CategoryProcessUrlRewriteSavingObserver::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Observer\CategoryProcessUrlRewriteSavingObserver::$urlPersist[protected] Property has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::aroundReplace[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::__construct[public] Method parameter changed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Storage::$productFactory[protected] Property has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Store\View::aroundDelete[public] Method has been removed.
    Magento\CatalogUrlRewrite\Model\Category\Plugin\Category\Move::aroundChangeParent[public] Method has been removed.
    Magento\CatalogSearch\Model\Search\ReaderPlugin::aroundRead[public] Method has been removed.
    Magento\CatalogSearch\Model\ResourceModel\Advanced\Collection::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Layer\Search\Plugin\CollectionFilter::aroundFilter[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\IndexStructure::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Indexer\IndexerHandler::__construct[public] Method parameter changed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Attribute::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Attribute::aroundDelete[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Store\View::aroundSave[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product\Action::aroundUpdateAttributes[public] Method has been removed.
    Magento\CatalogSearch\Model\Indexer\Fulltext\Plugin\Product\Action::aroundUpdateWebsites[public] Method has been removed.
    Magento\CatalogSearch\Block\Plugin\FrontTabPlugin::aroundSetForm[public] Method has been removed.
    Magento\CatalogRuleConfigurable\Plugin\ConfigurableProduct\Model\ResourceModel\AddCatalogRulePrice::__construct[public] Method parameter changed.
    Magento\CatalogRuleConfigurable\Plugin\CatalogRule\Model\Rule\Validation::aroundValidate[public] Method has been removed.
    Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRules::aroundSave[public] Method has been removed.
    Magento\CatalogRule\Plugin\Indexer\Product\Save\ApplyRulesAfterReindex::aroundReindex[public] Method has been removed.
    Magento\CatalogInventory\Setup\UpgradeData::__construct[public] Method parameter changed.
    Magento\CatalogInventory\Model\Stock::$eventPrefix[protected] Property has been removed.
    Magento\CatalogInventory\Model\Stock\Item::$eventPrefix[protected] Property has been removed.
    Magento\CatalogInventory\Model\Plugin\AroundProductRepositorySave::aroundSave[public] Method has been removed.
    Magento\Catalog\Plugin\Model\ResourceModel\Attribute\Save::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\Plugin\QuoteItemProductOption::aroundConvert[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Product\Flat\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Product\Flat\Plugin\IndexerConfigData::$_state[protected] Property has been removed.
    Magento\Catalog\Model\Indexer\Product\Eav\Plugin\AttributeSet::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Product\Plugin\StoreGroup::aroundSave[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Flat\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\Catalog\Model\Indexer\Category\Flat\Plugin\StoreGroup::aroundSave[public] Method has been removed.
    Magento\Catalog\Controller\Adminhtml\Product\AddAttributeToTemplate::$sortOrderBuilder[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::_getFormIdKey[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitAttempts[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getAllowedAttemptsForSameLogin[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getAllowedAttemptsFromSameIp[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitIpAttempt[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isOverLimitLoginAttempts[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isUserAuth[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_generateWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getSymbols[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getWordLen[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isShowAlways[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_isEnabled[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getTargetForms[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_setWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_clearWord[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_randomSize[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_gc[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::_getResourceModel[protected] Method has been removed.
    Magento\Captcha\Model\DefaultModel::$_captchaData[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_expiration[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_fsize[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_formId[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_resLogFactory[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_keepSession[protected] Property has been removed.
    Magento\Captcha\Model\DefaultModel::$_session[protected] Property has been removed.
    Magento\Bundle\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\Braintree\Model\Ui\ConfigProvider::__construct[public] Method parameter changed.
    Magento\Braintree\Model\Ui\ConfigProvider::PAYPAL_CODEConstant has been removed.
    Magento\Backend\Model\View\Result\Page::__construct[public] Method has been removed.
    Magento\Backend\Model\View\Result\Redirect::render[protected] Method parameter changed.
    Magento\Backend\Model\Menu\Item::__sleep[public] Method has been removed.
    Magento\Backend\Model\Menu\Item::__wakeup[public] Method has been removed.
    Magento\Backend\Block\Menu::_isItemActive[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderItemAnchorTitle[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderItemOnclickFunction[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderAnchorCssClass[protected] Method has been removed.
    Magento\Backend\Block\Menu::_renderAnchor[protected] Method has been removed.
    Magento\Backend\App\Config::__construct[public] Method parameter changed.
    Magento\Backend\App\Config::$_scopePool[protected] Property has been removed.
    Magento\Backend\App\Action\Plugin\MassactionKey::aroundDispatch[public] Method has been removed.
    Magento\Authorization\Model\ResourceModel\Rules::__construct[public] Method parameter changed.
    Magento\Authorization\Model\ResourceModel\Rules::$_aclCache[protected] Property has been removed.
    Magento\Framework\Stdlib\ArrayUtils::flatten[public] Method has been added.
    Magento\Framework\Stdlib\ArrayUtils::recursiveDiff[public] Method has been added.
    Magento\Payment\Model\Cart::__construct[public] Method has been added.
    Magento\Payment\Model\Cart::_collectItemsAndAmounts[protected] Method has been added.
    Magento\Payment\Model\Cart::_importItemsFromSalesModel[protected] Method has been added.
    Magento\Payment\Model\Cart::_calculateCustomItemsSubtotal[protected] Method has been added.
    Magento\Payment\Model\Cart::_setTransferFlag[protected] Method has been added.
    Magento\Payment\Model\Cart::_setAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_addAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_getAmount[protected] Method has been added.
    Magento\Payment\Model\Cart::_createItemFromData[protected] Method has been added.
    Magento\Payment\Model\Cart::_resetAmounts[protected] Method has been added.
    Magento\Payment\Model\Cart::$_salesModel[protected] Property has been added.
    Magento\Payment\Model\Cart::$_eventManager[protected] Property has been added.
    Magento\Payment\Model\Cart::$_amounts[protected] Property has been added.
    Magento\Payment\Model\Cart::$_customItems[protected] Property has been added.
    Magento\Payment\Model\Cart::$_salesModelItems[protected] Property has been added.
    Magento\Payment\Model\Cart::$_transferFlags[protected] Property has been added.
    Magento\Payment\Model\Cart::$_itemsCollectingRequired[protected] Property has been added.
    Magento\Payment\Model\Cart::AMOUNT_TAXConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_SHIPPINGConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_DISCOUNTConstant has been added.
    Magento\Payment\Model\Cart::AMOUNT_SUBTOTALConstant has been added.
    Magento\Payment\Model\Config::__construct[public] Method has been added.
    Magento\Payment\Model\Config::$_methods[protected] Property has been added.
    Magento\Payment\Model\Config::$_scopeConfig[protected] Property has been added.
    Magento\Payment\Model\Config::$_dataStorage[protected] Property has been added.
    Magento\Payment\Model\Config::$localeResolver[protected] Property has been added.
    Magento\Payment\Model\Config::$_paymentMethodFactory[protected] Property has been added.
    Magento\Payment\Model\Config::$_date[protected] Property has been added.
    Magento\Payment\Model\Config::YEARS_RANGEConstant has been added.
    Magento\Payment\Model\MethodList::__construct[public] Method has been added.
    Magento\Payment\Model\MethodList::_canUseMethod[protected] Method has been added.
    Magento\Payment\Model\MethodList::$paymentHelper[protected] Property has been added.
    Magento\Payment\Model\MethodList::$methodSpecificationFactory[protected] Property has been added.
    Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList[public] Method has been added.
    Magento\Catalog\Model\Product\Type\AbstractType::$serializer[protected] Property has been added.
    Magento\Framework\View\Url\CssResolverClass was added.
    Magento\Framework\View\Asset\MinificationClass was added.
    Magento\Framework\View\Asset\PreProcessor\ChainClass was added.
    Magento\Framework\View\Asset\PreProcessor\ChainFactoryClass was added.
    Magento\Framework\View\Asset\File\NotFoundExceptionClass was added.
    Magento\Framework\DB\TemporaryTableServiceClass was added.
    Magento\Framework\DB\Sql\ColumnValueExpressionClass was added.
    Magento\Vault\Model\AbstractPaymentTokenFactoryClass was added.
    Magento\Vault\Model\AccountPaymentTokenFactoryClass was added.
    Magento\Vault\Model\CreditCardTokenFactoryClass was added.
    Magento\Vault\Model\Ui\VaultConfigProviderClass was added.
    Magento\Vault\Model\Method\VaultClass was added.
    Magento\Vault\Block\AbstractTokenRendererClass was added.
    Magento\Variable\Model\VariableClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\EditClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\IndexClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\NewActionClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\SaveClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\ValidateClass was added.
    Magento\Variable\Controller\Adminhtml\System\Variable\WysiwygPluginClass was added.
    Magento\Variable\Block\System\VariableClass was added.
    Magento\Variable\Block\System\Variable\EditClass was added.
    Magento\Theme\Ui\Component\Design\Config\DataProviderClass was added.
    Magento\Theme\Ui\Component\Design\Config\SearchRobots\ResetButtonClass was added.
    Magento\Theme\Controller\Adminhtml\Design\Config\FileUploader\SaveClass was added.
    Magento\Theme\Block\Html\BreadcrumbsClass was added.
    Magento\Theme\Block\Html\FooterClass was added.
    Magento\Theme\Block\Html\HeaderClass was added.
    Magento\Theme\Block\Html\NoticesClass was added.
    Magento\Theme\Block\Html\PagerClass was added.
    Magento\Theme\Block\Html\TitleClass was added.
    Magento\Theme\Block\Html\TopmenuClass was added.
    Magento\Theme\Block\Html\WelcomeClass was added.
    Magento\Theme\Block\Html\Header\LogoClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\BackButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveAndContinueButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveButtonClass was added.
    Magento\Theme\Block\Adminhtml\Design\Config\Edit\ScopeClass was added.
    Magento\Sales\Model\Order\CreditmemoDocumentFactoryClass was added.
    Magento\Sales\Model\Order\Creditmemo\NotifierClass was added.
    Magento\RequireJs\Block\Html\Head\ConfigClass was added.
    Magento\Quote\Model\Quote\Address\RateRequestClass was added.
    Magento\Payment\Model\CcConfigClass was added.
    Magento\Payment\Model\CcGenericConfigProviderClass was added.
    Magento\Payment\Model\IframeConfigProviderClass was added.
    Magento\Payment\Model\InfoClass was added.
    Magento\Payment\Model\Source\CctypeClass was added.
    Magento\Payment\Model\Source\InvoiceClass was added.
    Magento\Payment\Model\Method\AdapterClass was added.
    Magento\Payment\Model\Method\FreeClass was added.
    Magento\Payment\Model\Method\LoggerClass was added.
    Magento\Payment\Model\Method\Specification\AbstractSpecificationClass was added.
    Magento\Payment\Model\Method\Specification\CompositeClass was added.
    Magento\Payment\Model\Config\Source\AllspecificcountriesClass was added.
    Magento\Payment\Model\Checks\CanUseCheckoutClass was added.
    Magento\Payment\Model\Checks\CanUseForCountryClass was added.
    Magento\Payment\Model\Checks\CanUseForCurrencyClass was added.
    Magento\Payment\Model\Checks\CanUseInternalClass was added.
    Magento\Payment\Model\Checks\CompositeClass was added.
    Magento\Payment\Model\Checks\SpecificationFactoryClass was added.
    Magento\Payment\Model\Checks\TotalMinMaxClass was added.
    Magento\Payment\Model\Checks\ZeroTotalClass was added.
    Magento\Payment\Model\Checks\CanUseForCountry\CountryProviderClass was added.
    Magento\Payment\Helper\DataClass was added.
    Magento\Payment\Gateway\Helper\ContextHelperClass was added.
    Magento\Payment\Gateway\Helper\SubjectReaderClass was added.
    Magento\Payment\Gateway\Config\ConfigValueHandlerClass was added.
    Magento\Payment\Gateway\Config\ValueHandlerPoolClass was added.
    Magento\Payment\Gateway\Command\NullCommandClass was added.
    Magento\Payment\Gateway\Command\Result\ArrayResultClass was added.
    Magento\Payment\Gateway\Command\Result\BoolResultClass was added.
    Magento\Payment\Block\FormClass was added.
    Magento\Payment\Block\InfoClass was added.
    Magento\Payment\Block\Transparent\FormClass was added.
    Magento\Payment\Block\Transparent\IframeClass was added.
    Magento\Payment\Block\Transparent\InfoClass was added.
    Magento\Payment\Block\Info\AbstractContainerClass was added.
    Magento\Payment\Block\Info\CcClass was added.
    Magento\Payment\Block\Info\InstructionsClass was added.
    Magento\Payment\Block\Form\CcClass was added.
    Magento\Payment\Block\Form\ContainerClass was added.
    Magento\Payment\Block\Adminhtml\Transparent\FormClass was added.
    Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptionsClass was added.
    Magento\OfflineShipping\Model\SalesRule\CalculatorClass was added.
    Magento\OfflineShipping\Model\SalesRule\RuleClass was added.
    Magento\OfflineShipping\Model\ResourceModel\Carrier\TablerateClass was added.
    Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\CollectionClass was added.
    Magento\OfflineShipping\Model\Config\Source\FlatrateClass was added.
    Magento\OfflineShipping\Model\Config\Source\TablerateClass was added.
    Magento\OfflineShipping\Model\Carrier\FlatrateClass was added.
    Magento\OfflineShipping\Model\Carrier\FreeshippingClass was added.
    Magento\OfflineShipping\Model\Carrier\PickupClass was added.
    Magento\OfflineShipping\Model\Carrier\TablerateClass was added.
    Magento\OfflinePayments\Model\BanktransferClass was added.
    Magento\OfflinePayments\Model\CashondeliveryClass was added.
    Magento\OfflinePayments\Model\CheckmoClass was added.
    Magento\OfflinePayments\Model\PurchaseorderClass was added.
    - -

    Interface

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TargetWhat Changed
    Magento\Framework\Acl\CacheInterfaceInterface was removed.
    Magento\Store\Api\Data\GroupInterface::getCode[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::setCode[public] Method has been added.
    Magento\Framework\Interception\ChainInterfaceInterface was removed.
    Magento\Framework\App\Config\Scope\ReaderPoolInterfaceInterface was removed.
    Magento\Framework\Acl\CacheInterfaceInterface was removed.
    Magento\Deploy\Model\Deploy\DeployInterfaceInterface was removed.
    Magento\Deploy\Console\Command\DeployStaticOptionsInterfaceInterface was removed.
    Magento\Framework\View\Asset\AssetInterface::getSourceContentType[public] Method has been added.
    Magento\Framework\Locale\ListsInterface::getOptionLocales[public] Method has been removed.
    Magento\Framework\Locale\ListsInterface::getTranslatedOptionLocales[public] Method has been removed.
    Magento\Framework\App\Response\HttpInterface::getHttpResponseCode[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::getHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::clearHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setStatusHeader[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::appendBody[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setBody[public] Method has been added.
    Magento\Framework\App\Response\HttpInterface::setRedirect[public] Method has been added.
    Magento\Framework\Api\Search\SearchResultInterface::getAllIds[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::getCode[public] Method has been added.
    Magento\Store\Api\Data\GroupInterface::setCode[public] Method has been added.
    Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PERCENTAGE_VALUEConstant has been added.
    Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_VALUE_TYPEConstant has been added.
    Magento\Framework\View\Design\ThemeInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessorInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessor\AlternativeSourceInterfaceInterface was added.
    Magento\Framework\View\Asset\PreProcessor\ChainFactoryInterfaceInterface was added.
    Magento\Framework\Indexer\BatchSizeManagementInterfaceInterface was added.
    Magento\Framework\Indexer\IndexTableRowSizeEstimatorInterfaceInterface was added.
    Magento\Framework\App\PlainTextRequestInterfaceInterface was added.
    Magento\Framework\App\RequestContentInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessorInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessor\JoinProcessor\CustomJoinInterfaceInterface was added.
    Magento\Framework\Api\SearchCriteria\CollectionProcessor\FilterProcessor\CustomFilterInterfaceInterface was added.
    Magento\Framework\Api\Search\SearchResultInterfaceInterface was added.
    Magento\Vault\Api\PaymentMethodListInterfaceInterface was added.
    Magento\Vault\Api\Data\PaymentTokenInterfaceFactoryInterface was added.
    Magento\Store\Api\StoreWebsiteRelationInterfaceInterface was added.
    Magento\Sales\Model\ValidatorResultInterfaceInterface was added.
    Magento\Sales\Model\Order\RefundAdapterInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\InvoiceOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\RefundInvoiceInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\RefundOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Validation\ShipOrderInterfaceInterface was added.
    Magento\Sales\Model\Order\Creditmemo\NotifierInterfaceInterface was added.
    Magento\Sales\Api\RefundInvoiceInterfaceInterface was added.
    Magento\Sales\Api\RefundOrderInterfaceInterface was added.
    Magento\Sales\Api\Exception\CouldNotRefundExceptionInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoCommentCreationInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoCreationArgumentsInterfaceInterface was added.
    Magento\Sales\Api\Data\CreditmemoItemCreationInterfaceInterface was added.
    Magento\Payment\Model\Method\SpecificationInterfaceInterface was added.
    Magento\Payment\Model\Checks\SpecificationInterfaceInterface was added.
    Magento\Payment\Gateway\Data\PaymentDataObjectFactoryInterfaceInterface was added.
    Magento\Payment\Api\PaymentMethodListInterfaceInterface was added.
    Magento\Payment\Api\PaymentVerificationInterfaceInterface was added.
    Magento\Payment\Api\Data\PaymentMethodInterfaceInterface was added.
    Magento\Eav\Api\Data\AttributeDefaultValueInterfaceInterface was added.
    Magento\Customer\Block\Account\SortLinkInterfaceInterface was added.
    Magento\Contact\Model\ConfigInterfaceInterface was added.
    Magento\Contact\Model\MailInterfaceInterface was added.
    Magento\ConfigurableProduct\Pricing\Price\ConfigurableOptionsProviderInterfaceInterface was added.
    Magento\ConfigurableProduct\Pricing\Price\LowestPriceOptionsProviderInterfaceInterface was added.
    Magento\Catalog\Model\ProductIdLocatorInterfaceInterface was added.
    Magento\Catalog\Model\ResourceModel\Product\BaseSelectProcessorInterfaceInterface was added.
    Magento\Catalog\Api\BasePriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\CategoryListInterfaceInterface was added.
    Magento\Catalog\Api\CostStorageInterfaceInterface was added.
    Magento\Catalog\Api\ScopedProductTierPriceManagementInterfaceInterface was added.
    Magento\Catalog\Api\SpecialPriceInterfaceInterface was added.
    Magento\Catalog\Api\SpecialPriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\TierPriceStorageInterfaceInterface was added.
    Magento\Catalog\Api\Data\BasePriceInterfaceInterface was added.
    Magento\Catalog\Api\Data\CategoryLinkInterfaceInterface was added.
    Magento\Catalog\Api\Data\CategorySearchResultsInterfaceInterface was added.
    Magento\Catalog\Api\Data\CostInterfaceInterface was added.
    Magento\Catalog\Api\Data\PriceUpdateResultInterfaceInterface was added.
    Magento\Catalog\Api\Data\SpecialPriceInterfaceInterface was added.
    Magento\Catalog\Api\Data\TierPriceInterfaceInterface was added.
    diff --git a/_includes/changes/ee/215-216.html b/_includes/changes/ee/215-216.html index f4541c84c34..592cb23d167 100644 --- a/_includes/changes/ee/215-216.html +++ b/_includes/changes/ee/215-216.html @@ -1,8 +1,2 @@ - -

    Class

    - - - - - -
    TargetWhat Changed
    +

    No changes

    +

    No backward incompatible changes.

    \ No newline at end of file diff --git a/_includes/changes/ee/215-develop.html b/_includes/changes/ee/215-develop.html deleted file mode 100644 index b3aff59309a..00000000000 --- a/_includes/changes/ee/215-develop.html +++ /dev/null @@ -1,624 +0,0 @@ - -

    Class

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TargetWhat Changed
    Magento\Framework\MessageQueue\Config\Reader\Xml\Converter\DeprecatedFormatClass was removed.
    Magento\SalesArchive\Observer\SalesUpdateGridRecordsObserverClass was removed.
    Magento\Reward\Model\Action\Creditmemo\VoidClass was removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql\BuilderClass was removed.
    Magento\PromotionPermissions\Block\Adminhtml\PluginClass was removed.
    Magento\MysqlMq\Setup\RecurringDataClass was removed.
    Magento\Doc\Ui\PageClass was removed.
    Magento\Doc\Ui\WidgetClass was removed.
    Magento\Doc\Ui\Widget\DashboardClass was removed.
    Magento\Doc\Ui\Widget\Navigation\ModuleClass was removed.
    Magento\Doc\Ui\Widget\Navigation\TopClass was removed.
    Magento\Doc\Ui\Widget\Document\ContentClass was removed.
    Magento\Doc\Ui\Widget\Document\OutlineClass was removed.
    Magento\Doc\Ui\Widget\Document\ToolbarClass was removed.
    Magento\Doc\TemplateEngine\HtmlClass was removed.
    Magento\Doc\Document\ContentClass was removed.
    Magento\Doc\Document\FilterClass was removed.
    Magento\Doc\Document\ItemClass was removed.
    Magento\Doc\Document\OutlineClass was removed.
    Magento\Doc\Document\Type\AbstractTypeClass was removed.
    Magento\Doc\Document\Type\ApiClass was removed.
    Magento\Doc\Document\Type\ArticleClass was removed.
    Magento\Doc\Document\Type\DiagramClass was removed.
    Magento\Doc\Document\Type\ExampleClass was removed.
    Magento\Doc\Document\Type\FactoryClass was removed.
    Magento\Doc\Document\Type\MediaClass was removed.
    Magento\Doc\Document\Type\ReferenceCodeClass was removed.
    Magento\Doc\Document\Type\ReferenceDirClass was removed.
    Magento\Doc\Document\Type\ReferenceFileClass was removed.
    Magento\Doc\Document\Outline\CollectorClass was removed.
    Magento\Doc\Document\Outline\ConverterClass was removed.
    Magento\Doc\Document\Outline\DomClass was removed.
    Magento\Doc\Document\Outline\DomFactoryClass was removed.
    Magento\Doc\Document\Outline\FileResolverClass was removed.
    Magento\Doc\Document\Outline\MapperClass was removed.
    Magento\Doc\Document\Outline\ReaderClass was removed.
    Magento\Doc\Document\Outline\SchemaLocatorClass was removed.
    Magento\Doc\Document\Outline\Collector\BaseClass was removed.
    Magento\Doc\Document\Content\CollectorClass was removed.
    Magento\Doc\Document\Content\DomClass was removed.
    Magento\Doc\Document\Content\DomFactoryClass was removed.
    Magento\Doc\Document\Content\FileResolverClass was removed.
    Magento\Doc\Document\Content\ReaderClass was removed.
    Magento\Doc\Document\Content\SchemaLocatorClass was removed.
    Magento\Doc\Document\Content\Dom\NodeMergingConfigClass was removed.
    Magento\Doc\Document\Content\Dom\NodePathMatcherClass was removed.
    Magento\Doc\Document\Content\Collector\BaseClass was removed.
    Magento\Doc\Controller\Index\ReadClass was removed.
    Magento\Doc\Controller\Index\WriteClass was removed.
    Magento\Doc\App\DefaultPathClass was removed.
    Magento\Doc\App\RouterClass was removed.
    Magento\Doc\App\Controller\AbstractActionClass was removed.
    Magento\Doc\App\Area\FrontNameResolverClass was removed.
    Magento\Framework\MessageQueue\MessageValidator::__construct[public] Method has been removed.
    Magento\Framework\MessageQueue\Rpc\Publisher::publishToQueue[public] Method has been removed.
    Magento\Framework\ForeignKey\ObjectRelationProcessor\Plugin::__construct[public] Method parameter changed.
    Magento\VersionsCms\Observer\AddCmsToTopmenuItems::_isCmsNodeActive[protected] Method has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::__construct[public] Method parameter changed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$entityIdentifier[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$entityColumn[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$jsModalProvider[protected] Property has been removed.
    Magento\Staging\Ui\Component\Listing\Column\Entity\UpdateActions::$jsLoaderProvider[protected] Property has been removed.
    Magento\Staging\Model\StagingApplier::__construct[public] Method parameter changed.
    Magento\SalesRuleStaging\Setup\InstallSchema::__construct[public] Method parameter changed.
    Magento\SalesRuleStaging\Setup\InstallSchema::$salesRuleMigrationFactory[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::aroundRefresh[public] Method has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$gridPool[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$archive[protected] Property has been removed.
    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$resource[protected] Property has been removed.
    Magento\Reward\Model\Plugin\CartTotalRepository::aroundGet[public] Method has been removed.
    Magento\Reward\Model\Plugin\OrderRepository::aroundGet[public] Method has been removed.
    Magento\Reward\Model\Plugin\RewardPointsRefund::aroundSave[public] Method has been removed.
    Magento\Reward\Model\Plugin\RuleRepositoryPlugin::aroundGetById[public] Method has been removed.
    Magento\Reward\Model\Plugin\RuleRepositoryPlugin::aroundSave[public] Method has been removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::getDbConnectionInstance[protected] Method has been removed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::__construct[public] Method parameter changed.
    Magento\ResourceConnections\DB\ConnectionAdapter\Mysql::$builder[protected] Property has been removed.
    Magento\ResourceConnections\DB\Adapter\Pdo\MysqlProxy::__construct[public] Method parameter changed.
    Magento\ResourceConnections\DB\Adapter\Pdo\MysqlProxy::$builder[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Edit\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Reminder\Edit\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Quote\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Quote\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Catalog\Plugin::aroundCanRender[public] Method has been removed.
    Magento\PromotionPermissions\Block\Adminhtml\Promo\Catalog\Plugin::$restrictedButtons[protected] Property has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeMeta[public] Method has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeContainerMeta[public] Method has been removed.
    Magento\PricePermissions\Ui\DataProvider\Product\Form\Modifier\Plugin\Eav::aroundSetupAttributeData[public] Method has been removed.
    Magento\PricePermissions\Model\Entity\Attribute\Backend\Plugin\AbstractBackend::aroundValidate[public] Method has been removed.
    Magento\Logging\App\Action\Plugin\Log::aroundDispatch[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageCartRepository::aroundSave[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageCartRepository::$helper[protected] Property has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageItemRepository::aroundSave[public] Method has been removed.
    Magento\GiftWrapping\Model\Plugin\MessageItemRepository::$helper[protected] Property has been removed.
    Magento\GiftWrapping\Model\Plugin\TotalsConverter::aroundProcess[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\ConvertQuoteAddressToOrderAddress::aroundConvert[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\OrderAddressName::aroundGetName[public] Method has been removed.
    Magento\GiftRegistry\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftCardAccount\Model\Plugin\InvoiceRepository::beforeSave[public] Method parameter changed.
    Magento\GiftCardAccount\Model\Plugin\TotalsConverter::aroundProcess[public] Method has been removed.
    Magento\GiftCardAccount\Model\Plugin\TotalsConverter::__construct[public] Method parameter changed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::__construct[public] Method parameter changed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::$invoiceRepository[protected] Property has been removed.
    Magento\GiftCard\Observer\GenerateGiftCardAccounts::$itemsFactory[protected] Property has been removed.
    Magento\GiftCard\Model\Plugin\QuoteItem::aroundConvert[public] Method has been removed.
    Magento\GiftCard\Model\Plugin\QuoteItem::$_scopeConfig[protected] Property has been removed.
    Magento\GiftCard\Helper\GiftRegistry\Plugin::aroundCanAddToGiftRegistry[public] Method has been removed.
    Magento\Enterprise\Model\Plugin\StoreSwitcher::aroundGetHintUrl[public] Method has been removed.
    Magento\CustomerSegment\Model\ResourceModel\Grid\Collection::_initSelect[protected] Method has been removed.
    Magento\CustomerSegment\Model\Checkout\Block\Cart\Shipping\Plugin::aroundCollect[public] Method has been removed.
    Magento\CustomerCustomAttributes\Model\Plugin\ConvertQuoteAddressToOrderAddress::aroundConvert[public] Method has been removed.
    Magento\CustomerBalance\Model\Plugin\InvoiceRepository::beforeSave[public] Method parameter changed.
    Magento\CheckoutStaging\Plugin\SavePreviewQuotaPlugin::aroundSave[public] Method has been removed.
    Magento\CatalogStaging\Plugin\Model\Indexer\Product\Flat\Table\Builder::__construct[public] Method parameter changed.
    Magento\CatalogStaging\Model\Plugin\ResourceModel\Product\Collection::aroundJoinAttribute[public] Method has been removed.
    Magento\CatalogRuleStaging\Setup\InstallSchema::__construct[public] Method parameter changed.
    Magento\CatalogRuleStaging\Setup\InstallSchema::$catalogRuleSetupFactory[protected] Property has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\IndexerConfigData::aroundGet[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Store\Group::aroundSave[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Store\View::aroundSave[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Product\Action::aroundUpdateAttributes[public] Method has been removed.
    Magento\CatalogPermissions\Model\Indexer\Plugin\Product\Action::aroundUpdateWebsites[public] Method has been removed.
    Magento\Amqp\Setup\Recurring::__construct[public] Method parameter changed.
    Magento\Amqp\Setup\Recurring::$topology[protected] Property has been removed.
    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexAll[public] Method has been removed.
    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexEntity[public] Method has been removed.
    - -

    Interface

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TargetWhat Changed
    Magento\Doc\Document\ContentInterfaceInterface was removed.
    Magento\Doc\Document\DomInterfaceInterface was removed.
    Magento\Doc\Document\Type\ApiInterfaceInterface was removed.
    Magento\Doc\Document\Type\ArticleInterfaceInterface was removed.
    Magento\Doc\Document\Type\DiagramInterfaceInterface was removed.
    Magento\Doc\Document\Type\ExampleInterfaceInterface was removed.
    Magento\Doc\Document\Type\MediaInterfaceInterface was removed.
    Magento\Doc\Document\Type\ReferenceInterfaceInterface was removed.
    Magento\Framework\Bulk\BulkManagementInterfaceInterface was added.
    Magento\Framework\Bulk\BulkStatusInterfaceInterface was added.
    Magento\Framework\Bulk\BulkSummaryInterfaceInterface was added.
    Magento\Framework\Bulk\OperationInterfaceInterface was added.
    Magento\Framework\Bulk\OperationManagementInterfaceInterface was added.
    Magento\Signifyd\Api\CaseCreationServiceInterfaceInterface was added.
    Magento\Signifyd\Api\CaseManagementInterfaceInterface was added.
    Magento\Signifyd\Api\CaseRepositoryInterfaceInterface was added.
    Magento\Signifyd\Api\GuaranteeCancelingServiceInterfaceInterface was added.
    Magento\Signifyd\Api\GuaranteeCreationServiceInterfaceInterface was added.
    Magento\Signifyd\Api\Data\CaseInterfaceInterface was added.
    Magento\Signifyd\Api\Data\CaseSearchResultsInterfaceInterface was added.
    Magento\GiftCardAccount\Api\Data\GiftCardInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\BulkSummaryInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\OperationInterfaceInterface was added.
    Magento\AsynchronousOperations\Api\Data\OperationListInterfaceInterface was added.
    From edaa6ad845a7cb5153eb1f8e1c79aff6a08bccce Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov Date: Wed, 12 Apr 2017 17:37:54 +0300 Subject: [PATCH 063/301] Added new sections to related topics --- guides/v2.1/release-notes/changes/ce_changes.md | 4 ++++ guides/v2.1/release-notes/changes/ee_changes.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/guides/v2.1/release-notes/changes/ce_changes.md b/guides/v2.1/release-notes/changes/ce_changes.md index a182e13b198..b5571b3bd61 100644 --- a/guides/v2.1/release-notes/changes/ce_changes.md +++ b/guides/v2.1/release-notes/changes/ce_changes.md @@ -20,6 +20,10 @@ where each change is displayed in a separate row in the table, with the followin - **Class** or **Interface** with the name of an affected class or interface - **What changed** with the description of a backward incompatible change +## 2.1.6 - 2.1.5 + +{% include changes/ce/215-216.html %} + ## 2.1.5 - 2.1.4 {% include changes/ce/214-215.html %} diff --git a/guides/v2.1/release-notes/changes/ee_changes.md b/guides/v2.1/release-notes/changes/ee_changes.md index 09eb4655805..190a4233b30 100644 --- a/guides/v2.1/release-notes/changes/ee_changes.md +++ b/guides/v2.1/release-notes/changes/ee_changes.md @@ -20,6 +20,10 @@ where each change is displayed in a separate row in the table, with the followin - **Class** or **Interface** with the name of an affected class or interface - **What changed** with the description of a backward incompatible change +## 2.1.6 - 2.1.5 + +{% include changes/ee/215-216.html %} + ## 2.1.5 - 2.1.4 {% include changes/ee/214-215.html %} From dd3f8191f0531a23156488c0a14aca38f095a4a5 Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov Date: Wed, 12 Apr 2017 18:50:40 +0300 Subject: [PATCH 064/301] Updated links to auto generated files with changes --- guides/v2.2/release-notes/backward-incompatible-changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.2/release-notes/backward-incompatible-changes.md b/guides/v2.2/release-notes/backward-incompatible-changes.md index 06d45832da0..c6b633d8ff3 100644 --- a/guides/v2.2/release-notes/backward-incompatible-changes.md +++ b/guides/v2.2/release-notes/backward-incompatible-changes.md @@ -13,8 +13,8 @@ Magento 2.2 introduces several major changes that may affect the correct functio The detailed lists of changes generated by the Semantic Version Checker you can view following the links: -- [Magento CE changes made after 2.1.5 release](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/215-develop.html) -- [Magento EE changes made after 2.1.5 release](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ee/215-develop.html) +- [Magento CE changes made after 2.1.6 release](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/216-develop.html) +- [Magento EE changes made after 2.1.6 release](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ee/216-develop.html) ## API Changes From 0ee65be11b4b0f87a7a6e62e38d222e2c370662d Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Wed, 12 Apr 2017 10:55:32 -0500 Subject: [PATCH 065/301] Update cloud symlinks --- guides/v2.1/cloud/bk-cloud.md | 1 - guides/v2.1/cloud/cloud-composer.md | 1 - guides/v2.1/cloud/cloud-requirements-git.md | 1 - .../v2.1/cloud/cloud-requirements-license.md | 1 - guides/v2.1/cloud/cloud-requirements.md | 1 - guides/v2.1/cloud/discover-arch.md | 1 - guides/v2.1/cloud/discover-deploy.md | 1 - guides/v2.1/cloud/discover-workflow.md | 1 - guides/v2.1/cloud/get-help.md | 1 - guides/v2.1/cloud/reference/cloud-composer.md | 1 + guides/v2.1/cloud/reference/discover-arch.md | 1 + .../v2.1/cloud/reference/discover-deploy.md | 1 + .../v2.1/cloud/reference/git-integration.md | 1 + .../requirements/cloud-requirements-git.md | 1 + .../cloud-requirements-license.md | 1 + .../cloud/requirements/cloud-requirements.md | 1 + .../v2.1/cloud/welcome/10000-ft-overview.md | 1 + guides/v2.1/cloud/welcome/bk-cloud.md | 1 + .../v2.1/cloud/welcome/discover-workflow.md | 1 + guides/v2.1/cloud/welcome/get-help.md | 1 + guides/v2.2/cloud/bk-cloud.md | 1 - guides/v2.2/cloud/cloud-composer.md | 1 - guides/v2.2/cloud/cloud-requirements-git.md | 1 - .../v2.2/cloud/cloud-requirements-license.md | 1 - guides/v2.2/cloud/cloud-requirements.md | 1 - guides/v2.2/cloud/discover-arch.md | 1 - guides/v2.2/cloud/discover-deploy.md | 125 ------------------ guides/v2.2/cloud/discover-workflow.md | 1 - guides/v2.2/cloud/get-help.md | 1 - guides/v2.2/cloud/reference/cloud-composer.md | 1 + guides/v2.2/cloud/reference/discover-arch.md | 1 + .../v2.2/cloud/reference/discover-deploy.md | 1 + .../v2.2/cloud/reference/git-integration.md | 1 + .../requirements/cloud-requirements-git.md | 1 + .../cloud-requirements-license.md | 1 + .../cloud/requirements/cloud-requirements.md | 1 + .../v2.2/cloud/welcome/10000-ft-overview.md | 1 + guides/v2.2/cloud/welcome/bk-cloud.md | 1 + .../v2.2/cloud/welcome/discover-workflow.md | 1 + guides/v2.2/cloud/welcome/get-help.md | 1 + 40 files changed, 22 insertions(+), 142 deletions(-) delete mode 120000 guides/v2.1/cloud/bk-cloud.md delete mode 120000 guides/v2.1/cloud/cloud-composer.md delete mode 120000 guides/v2.1/cloud/cloud-requirements-git.md delete mode 120000 guides/v2.1/cloud/cloud-requirements-license.md delete mode 120000 guides/v2.1/cloud/cloud-requirements.md delete mode 120000 guides/v2.1/cloud/discover-arch.md delete mode 120000 guides/v2.1/cloud/discover-deploy.md delete mode 120000 guides/v2.1/cloud/discover-workflow.md delete mode 120000 guides/v2.1/cloud/get-help.md create mode 120000 guides/v2.1/cloud/reference/cloud-composer.md create mode 120000 guides/v2.1/cloud/reference/discover-arch.md create mode 120000 guides/v2.1/cloud/reference/discover-deploy.md create mode 120000 guides/v2.1/cloud/reference/git-integration.md create mode 120000 guides/v2.1/cloud/requirements/cloud-requirements-git.md create mode 120000 guides/v2.1/cloud/requirements/cloud-requirements-license.md create mode 120000 guides/v2.1/cloud/requirements/cloud-requirements.md create mode 120000 guides/v2.1/cloud/welcome/10000-ft-overview.md create mode 120000 guides/v2.1/cloud/welcome/bk-cloud.md create mode 120000 guides/v2.1/cloud/welcome/discover-workflow.md create mode 120000 guides/v2.1/cloud/welcome/get-help.md delete mode 120000 guides/v2.2/cloud/bk-cloud.md delete mode 120000 guides/v2.2/cloud/cloud-composer.md delete mode 120000 guides/v2.2/cloud/cloud-requirements-git.md delete mode 120000 guides/v2.2/cloud/cloud-requirements-license.md delete mode 120000 guides/v2.2/cloud/cloud-requirements.md delete mode 120000 guides/v2.2/cloud/discover-arch.md delete mode 100644 guides/v2.2/cloud/discover-deploy.md delete mode 120000 guides/v2.2/cloud/discover-workflow.md delete mode 120000 guides/v2.2/cloud/get-help.md create mode 120000 guides/v2.2/cloud/reference/cloud-composer.md create mode 120000 guides/v2.2/cloud/reference/discover-arch.md create mode 120000 guides/v2.2/cloud/reference/discover-deploy.md create mode 120000 guides/v2.2/cloud/reference/git-integration.md create mode 120000 guides/v2.2/cloud/requirements/cloud-requirements-git.md create mode 120000 guides/v2.2/cloud/requirements/cloud-requirements-license.md create mode 120000 guides/v2.2/cloud/requirements/cloud-requirements.md create mode 120000 guides/v2.2/cloud/welcome/10000-ft-overview.md create mode 120000 guides/v2.2/cloud/welcome/bk-cloud.md create mode 120000 guides/v2.2/cloud/welcome/discover-workflow.md create mode 120000 guides/v2.2/cloud/welcome/get-help.md diff --git a/guides/v2.1/cloud/bk-cloud.md b/guides/v2.1/cloud/bk-cloud.md deleted file mode 120000 index b820acef725..00000000000 --- a/guides/v2.1/cloud/bk-cloud.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.1/cloud/cloud-composer.md b/guides/v2.1/cloud/cloud-composer.md deleted file mode 120000 index eaeec857ca8..00000000000 --- a/guides/v2.1/cloud/cloud-composer.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/cloud-composer.md \ No newline at end of file diff --git a/guides/v2.1/cloud/cloud-requirements-git.md b/guides/v2.1/cloud/cloud-requirements-git.md deleted file mode 120000 index fa20388640d..00000000000 --- a/guides/v2.1/cloud/cloud-requirements-git.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/cloud-requirements-git.md \ No newline at end of file diff --git a/guides/v2.1/cloud/cloud-requirements-license.md b/guides/v2.1/cloud/cloud-requirements-license.md deleted file mode 120000 index de2c7f88caa..00000000000 --- a/guides/v2.1/cloud/cloud-requirements-license.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/cloud-requirements-license.md \ No newline at end of file diff --git a/guides/v2.1/cloud/cloud-requirements.md b/guides/v2.1/cloud/cloud-requirements.md deleted file mode 120000 index 74ffceb2fe4..00000000000 --- a/guides/v2.1/cloud/cloud-requirements.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/cloud-requirements.md \ No newline at end of file diff --git a/guides/v2.1/cloud/discover-arch.md b/guides/v2.1/cloud/discover-arch.md deleted file mode 120000 index 9604ea89c5a..00000000000 --- a/guides/v2.1/cloud/discover-arch.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/discover-arch.md \ No newline at end of file diff --git a/guides/v2.1/cloud/discover-deploy.md b/guides/v2.1/cloud/discover-deploy.md deleted file mode 120000 index 751519159ae..00000000000 --- a/guides/v2.1/cloud/discover-deploy.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/discover-deploy.md \ No newline at end of file diff --git a/guides/v2.1/cloud/discover-workflow.md b/guides/v2.1/cloud/discover-workflow.md deleted file mode 120000 index 3651e9b4eb5..00000000000 --- a/guides/v2.1/cloud/discover-workflow.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/discover-workflow.md \ No newline at end of file diff --git a/guides/v2.1/cloud/get-help.md b/guides/v2.1/cloud/get-help.md deleted file mode 120000 index 82114f24438..00000000000 --- a/guides/v2.1/cloud/get-help.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/get-help.md \ No newline at end of file diff --git a/guides/v2.1/cloud/reference/cloud-composer.md b/guides/v2.1/cloud/reference/cloud-composer.md new file mode 120000 index 00000000000..3948d0443c5 --- /dev/null +++ b/guides/v2.1/cloud/reference/cloud-composer.md @@ -0,0 +1 @@ +../../../v2.0/cloud/reference/cloud-composer.md \ No newline at end of file diff --git a/guides/v2.1/cloud/reference/discover-arch.md b/guides/v2.1/cloud/reference/discover-arch.md new file mode 120000 index 00000000000..ea3f6b3fd16 --- /dev/null +++ b/guides/v2.1/cloud/reference/discover-arch.md @@ -0,0 +1 @@ +../../../v2.0/cloud/reference/discover-arch.md \ No newline at end of file diff --git a/guides/v2.1/cloud/reference/discover-deploy.md b/guides/v2.1/cloud/reference/discover-deploy.md new file mode 120000 index 00000000000..0e030f20bb2 --- /dev/null +++ b/guides/v2.1/cloud/reference/discover-deploy.md @@ -0,0 +1 @@ +../../../v2.0/cloud/reference/discover-deploy.md \ No newline at end of file diff --git a/guides/v2.1/cloud/reference/git-integration.md b/guides/v2.1/cloud/reference/git-integration.md new file mode 120000 index 00000000000..4a99548cbb9 --- /dev/null +++ b/guides/v2.1/cloud/reference/git-integration.md @@ -0,0 +1 @@ +../../../v2.0/cloud/reference/git-integration.md \ No newline at end of file diff --git a/guides/v2.1/cloud/requirements/cloud-requirements-git.md b/guides/v2.1/cloud/requirements/cloud-requirements-git.md new file mode 120000 index 00000000000..50b505a91a2 --- /dev/null +++ b/guides/v2.1/cloud/requirements/cloud-requirements-git.md @@ -0,0 +1 @@ +../../../v2.0/cloud/requirements/cloud-requirements-git.md \ No newline at end of file diff --git a/guides/v2.1/cloud/requirements/cloud-requirements-license.md b/guides/v2.1/cloud/requirements/cloud-requirements-license.md new file mode 120000 index 00000000000..d98b2a34ef7 --- /dev/null +++ b/guides/v2.1/cloud/requirements/cloud-requirements-license.md @@ -0,0 +1 @@ +../../../v2.0/cloud/requirements/cloud-requirements-license.md \ No newline at end of file diff --git a/guides/v2.1/cloud/requirements/cloud-requirements.md b/guides/v2.1/cloud/requirements/cloud-requirements.md new file mode 120000 index 00000000000..8a23083b253 --- /dev/null +++ b/guides/v2.1/cloud/requirements/cloud-requirements.md @@ -0,0 +1 @@ +../../../v2.0/cloud/requirements/cloud-requirements.md \ No newline at end of file diff --git a/guides/v2.1/cloud/welcome/10000-ft-overview.md b/guides/v2.1/cloud/welcome/10000-ft-overview.md new file mode 120000 index 00000000000..4886c7bc717 --- /dev/null +++ b/guides/v2.1/cloud/welcome/10000-ft-overview.md @@ -0,0 +1 @@ +../../../v2.0/cloud/welcome/10000-ft-overview.md \ No newline at end of file diff --git a/guides/v2.1/cloud/welcome/bk-cloud.md b/guides/v2.1/cloud/welcome/bk-cloud.md new file mode 120000 index 00000000000..e30047c2653 --- /dev/null +++ b/guides/v2.1/cloud/welcome/bk-cloud.md @@ -0,0 +1 @@ +../../../v2.0/cloud/welcome/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.1/cloud/welcome/discover-workflow.md b/guides/v2.1/cloud/welcome/discover-workflow.md new file mode 120000 index 00000000000..9d79cc7295b --- /dev/null +++ b/guides/v2.1/cloud/welcome/discover-workflow.md @@ -0,0 +1 @@ +../../../v2.0/cloud/welcome/discover-workflow.md \ No newline at end of file diff --git a/guides/v2.1/cloud/welcome/get-help.md b/guides/v2.1/cloud/welcome/get-help.md new file mode 120000 index 00000000000..ea7a97fd3cd --- /dev/null +++ b/guides/v2.1/cloud/welcome/get-help.md @@ -0,0 +1 @@ +../../../v2.0/cloud/welcome/get-help.md \ No newline at end of file diff --git a/guides/v2.2/cloud/bk-cloud.md b/guides/v2.2/cloud/bk-cloud.md deleted file mode 120000 index 4dad9f1be9b..00000000000 --- a/guides/v2.2/cloud/bk-cloud.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.2/cloud/cloud-composer.md b/guides/v2.2/cloud/cloud-composer.md deleted file mode 120000 index 5371c7d4d59..00000000000 --- a/guides/v2.2/cloud/cloud-composer.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/cloud-composer.md \ No newline at end of file diff --git a/guides/v2.2/cloud/cloud-requirements-git.md b/guides/v2.2/cloud/cloud-requirements-git.md deleted file mode 120000 index c03d1562b2d..00000000000 --- a/guides/v2.2/cloud/cloud-requirements-git.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/cloud-requirements-git.md \ No newline at end of file diff --git a/guides/v2.2/cloud/cloud-requirements-license.md b/guides/v2.2/cloud/cloud-requirements-license.md deleted file mode 120000 index 8fc5f5e6d70..00000000000 --- a/guides/v2.2/cloud/cloud-requirements-license.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/cloud-requirements-license.md \ No newline at end of file diff --git a/guides/v2.2/cloud/cloud-requirements.md b/guides/v2.2/cloud/cloud-requirements.md deleted file mode 120000 index d6abab7859b..00000000000 --- a/guides/v2.2/cloud/cloud-requirements.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/cloud-requirements.md \ No newline at end of file diff --git a/guides/v2.2/cloud/discover-arch.md b/guides/v2.2/cloud/discover-arch.md deleted file mode 120000 index 44ee352871f..00000000000 --- a/guides/v2.2/cloud/discover-arch.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/discover-arch.md \ No newline at end of file diff --git a/guides/v2.2/cloud/discover-deploy.md b/guides/v2.2/cloud/discover-deploy.md deleted file mode 100644 index 88fa5a8b53e..00000000000 --- a/guides/v2.2/cloud/discover-deploy.md +++ /dev/null @@ -1,125 +0,0 @@ ---- -layout: default -group: cloud -subgroup: 01_welcome -title: Deployment process -menu_title: Deployment process -menu_order: 4 -menu_node: -version: 2.2 -github_link: cloud/discover-deploy.md ---- - -Deploying Magento means simply pushing the source code to your Git repository. The Git repository is part of your projects cluster so it is totally isolated from -other clients. - -The built-in Git repository is at the same time "just a normal Git repository" and a very smart piece of software. When you push to it, it will parse the configuration files you committed to your repository so it knows what it needs to deploy. - -If you are pushing directly to the Magento Enterprise Cloud Edition Git repository, you will see in your terminal -what is happening in real-time. The same information is going to get streamed in real-time to the Web Interface. - -## GitHub {#cloud-deploy-over-gh} -If you are using external GitHub repository, the log -of the operations does not display in the GitHub session. You can still follow what's happening in their interface and in the Magento Enterprise Cloud Edition's Web Interface. - -## Project configuration {#cloud-deploy-conf} -What makes it all work is a set of YAML configuration files located in the project root directory. These files define your Magento installation and describe its dependencies. Configuration files specify, for -example, that Magento uses MySQL, some PHP extensions, and Elasticsearch. (These are referred to as *services*.) - -## Five phases of deployment {#cloud-deploy-over-phases} -Deployment consists of the following phases: - -1. [Phase 1: Configuration validation and code retrieval](#cloud-deploy-over-phases-conf) -2. [Phase 2: Build](#cloud-deploy-over-phases-build) -3. [Phase 3: Prepare slug](#cloud-deploy-over-phases-slug) -4. [Phase 4: Deploy slugs and cluster](#cloud-deploy-over-phases-slugclus) -5. [Phase 5: Deployment hooks](#cloud-deploy-over-phases-hook) -6. [Post-deployment: configure routing](#cloud-deploy-over-phases-route) - -### Phase 1: Configuration validation and code retrieval {#cloud-deploy-over-phases-conf} -The remote server gets your code using Git. When you initially set up a project from a template, we retrieve the code from the [the Magento ECE template](https://github.com/magento/magento-cloud){:target="_blank"}. - -The built-in Git server checks what you are pushing: if you have a syntax error in a configuration file, our Git server refuses the push. - -Suppose you had a single MySQL database in your cluster and now you want two of those, or maybe you want to add an Elasticsearch instance. The built-in Git server detects this and verifies that the topology of your cluster is modified to your new needs. - -This phase also runs `composer install` to retrieve dependencies. - -### Phase 2: Build {#cloud-deploy-over-phases-build} -We build only what has changed since the last build. This is one of the things that -make Magento Enterprise Cloud Edition so fast in deployment. - -Magento Enterprise Cloud Edition builds the codebase. It runs hooks in the `build` section of `.magento.app.yaml`. - -The default Magento build hook is a CLI command called `magento-cloud:build`. It does the following: - -* Applies patches located in vendor/magento/magento-cloud-configuration/patches, as well as optional project-specific patches in m2-hotfixes -* Enables all modules -* Regenerates code and the dependency injection configuration (that is, the Magento `generated/code` and `generated/metadata` directories) using `bin/magento setup:di:compile`. - -It is important to note that at this point the cluster has not been -created yet. So you should not try to connect to a database or imagine -anything was daemonized. - -But also know that once the application has been built it is going to be -mounted on a read-only file system (you will be able to configure specific -mount points that are going to be read/write). - -This means you cannot FTP to the server and add modules. Instead, you must add code to your git repo and run `git push`, which builds and deploys the environment. - -### Phase 3: Prepare the slug {#cloud-deploy-over-phases-slug} -The result of the build phase is a read-only file system we refer to as a *slug*. In this phase, we create an archive and put it in permanent storage. The next time -you push code, if a service did not change, you can use a slug from the archive. - -It also means that reverting a deployment is basically -instantaneous. - -### Phase 4: Deploy slugs and cluster {#cloud-deploy-over-phases-slugclus} -Now we provision your applications and all the backend services you -need: - -* Mounts each service in its own container -* Mounts the read-write file system is mounted on a highly available distributed storage grid -* Configures the network so Magento's services can "see" each other (and only each other) - -
    -

    The main file system is read-only. This -is what guarantees we can do deterministic deployments. The read-only file system also dramatically improves your site's security because no process can write to the file system.

    -
    - -### Phase 5: Deployment hooks {#cloud-deploy-over-phases-hook} -The last step runs a deployment script. You can use this for example to anonymize data in development environments, clear caches, ping external continuous integration tools, and so on. - -When this script runs, you have access to all the services in your environment (Redis, database, and so on). - -There are two default deploy hooks. One is `pre-deploy.php`, which does some necessary cleanup and retrieval of -resources that were generated in the build hook. The second is `bin/magento magento-cloud:deploy`, which does the following - -* If Magento is not installed, it installs Magento with `bin/magento setup:install`, updates the deployment configuration, `app/etc/env.php`, and the database for your specified environment (for example, Redis and website URLs). - -* If Magento is installed, performs any necessary upgrades. - - The deployment script runs [`bin/magento setup:upgrade`]({{ page.baseurl }}install-gde/install/cli/install-cli-subcommands-db-upgr.html) to update the database schema and data (which is necessary after extension or core code updates), and also updates the [deployment configuration]({{ page.baseurl }}config-guide/config/config-php.html), `app/etc/env.php`, and the database for your environment. - - Finally, the deployment script and clears the Magento cache. - -* Sets the mode to either [`developer`]({{ page.baseurl}}config-guide/bootstrap/magento-modes.html#mode-developer}}) or [`production`]({{ page.baseurl}}config-guide/bootstrap/magento-modes.html#mode-production) based on the environment variable [`APPLICATION_MODE`]({{ page.baseurl }}cloud/env/environment-vars_magento.html). - - In `production` mode, the script optionally generates static web content using the command - [`magento setup:static-content:deploy`]({{ page.baseurl }}config-guide/cli/config-cli-subcommands-static-view.html). - -
    -

    Our deploy script uses the values defined by configuration files in the .magento directory, then the script deletes the directory and its contents. Your local development environment isn't affected.

    -
    - -### Post-deployment: configure routing {#cloud-deploy-over-phases-route} -While the deployment is running, we freeze the incoming traffic at the entry point -for 60 seconds. We are now ready to configure routing so your -web traffic will arrive at your newly created cluster. - -#### Related topics -* [Get started with a project]({{page.baseurl}}cloud/project/project-start.html) -* [Get started with an environment]({{page.baseurl}}cloud/env/environments-start.html) -* [`.magento.app.yaml`]({{page.baseurl}}cloud/project/project-conf-files_magento-app.html) -* [`routes.yaml`]({{page.baseurl}}cloud/project/project-conf-files_routes.html) -* [`services.yaml`]({{page.baseurl}}cloud/project/project-conf-files_services.html) diff --git a/guides/v2.2/cloud/discover-workflow.md b/guides/v2.2/cloud/discover-workflow.md deleted file mode 120000 index 34e196b28fc..00000000000 --- a/guides/v2.2/cloud/discover-workflow.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/discover-workflow.md \ No newline at end of file diff --git a/guides/v2.2/cloud/get-help.md b/guides/v2.2/cloud/get-help.md deleted file mode 120000 index 6893c9d19bf..00000000000 --- a/guides/v2.2/cloud/get-help.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/get-help.md \ No newline at end of file diff --git a/guides/v2.2/cloud/reference/cloud-composer.md b/guides/v2.2/cloud/reference/cloud-composer.md new file mode 120000 index 00000000000..007c85f51ea --- /dev/null +++ b/guides/v2.2/cloud/reference/cloud-composer.md @@ -0,0 +1 @@ +../../../v2.1/cloud/reference/cloud-composer.md \ No newline at end of file diff --git a/guides/v2.2/cloud/reference/discover-arch.md b/guides/v2.2/cloud/reference/discover-arch.md new file mode 120000 index 00000000000..41208c8b3ff --- /dev/null +++ b/guides/v2.2/cloud/reference/discover-arch.md @@ -0,0 +1 @@ +../../../v2.1/cloud/reference/discover-arch.md \ No newline at end of file diff --git a/guides/v2.2/cloud/reference/discover-deploy.md b/guides/v2.2/cloud/reference/discover-deploy.md new file mode 120000 index 00000000000..9fc030d4e2d --- /dev/null +++ b/guides/v2.2/cloud/reference/discover-deploy.md @@ -0,0 +1 @@ +../../../v2.1/cloud/reference/discover-deploy.md \ No newline at end of file diff --git a/guides/v2.2/cloud/reference/git-integration.md b/guides/v2.2/cloud/reference/git-integration.md new file mode 120000 index 00000000000..32507fe322c --- /dev/null +++ b/guides/v2.2/cloud/reference/git-integration.md @@ -0,0 +1 @@ +../../../v2.1/cloud/reference/git-integration.md \ No newline at end of file diff --git a/guides/v2.2/cloud/requirements/cloud-requirements-git.md b/guides/v2.2/cloud/requirements/cloud-requirements-git.md new file mode 120000 index 00000000000..fe62d97bcc6 --- /dev/null +++ b/guides/v2.2/cloud/requirements/cloud-requirements-git.md @@ -0,0 +1 @@ +../../../v2.1/cloud/requirements/cloud-requirements-git.md \ No newline at end of file diff --git a/guides/v2.2/cloud/requirements/cloud-requirements-license.md b/guides/v2.2/cloud/requirements/cloud-requirements-license.md new file mode 120000 index 00000000000..21ac4da41f3 --- /dev/null +++ b/guides/v2.2/cloud/requirements/cloud-requirements-license.md @@ -0,0 +1 @@ +../../../v2.1/cloud/requirements/cloud-requirements-license.md \ No newline at end of file diff --git a/guides/v2.2/cloud/requirements/cloud-requirements.md b/guides/v2.2/cloud/requirements/cloud-requirements.md new file mode 120000 index 00000000000..19f9727c463 --- /dev/null +++ b/guides/v2.2/cloud/requirements/cloud-requirements.md @@ -0,0 +1 @@ +../../../v2.1/cloud/requirements/cloud-requirements.md \ No newline at end of file diff --git a/guides/v2.2/cloud/welcome/10000-ft-overview.md b/guides/v2.2/cloud/welcome/10000-ft-overview.md new file mode 120000 index 00000000000..952033105af --- /dev/null +++ b/guides/v2.2/cloud/welcome/10000-ft-overview.md @@ -0,0 +1 @@ +../../../v2.1/cloud/welcome/10000-ft-overview.md \ No newline at end of file diff --git a/guides/v2.2/cloud/welcome/bk-cloud.md b/guides/v2.2/cloud/welcome/bk-cloud.md new file mode 120000 index 00000000000..b4e4931f01b --- /dev/null +++ b/guides/v2.2/cloud/welcome/bk-cloud.md @@ -0,0 +1 @@ +../../../v2.1/cloud/welcome/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.2/cloud/welcome/discover-workflow.md b/guides/v2.2/cloud/welcome/discover-workflow.md new file mode 120000 index 00000000000..5826181f467 --- /dev/null +++ b/guides/v2.2/cloud/welcome/discover-workflow.md @@ -0,0 +1 @@ +../../../v2.1/cloud/welcome/discover-workflow.md \ No newline at end of file diff --git a/guides/v2.2/cloud/welcome/get-help.md b/guides/v2.2/cloud/welcome/get-help.md new file mode 120000 index 00000000000..2d57be61e30 --- /dev/null +++ b/guides/v2.2/cloud/welcome/get-help.md @@ -0,0 +1 @@ +../../../v2.1/cloud/welcome/get-help.md \ No newline at end of file From 94b1991eac336eb397bec89dff9e10bde2b822fb Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Wed, 12 Apr 2017 11:45:05 -0500 Subject: [PATCH 066/301] Delete symlinks and references to nonexistent pages --- guides/v2.0/cloud/reference/discover-arch.md | 1 - guides/v2.0/cloud/requirements/cloud-requirements-git.md | 2 +- guides/v2.0/cloud/welcome/bk-cloud.md | 1 - guides/v2.1/cloud/before/before-repos.md | 1 - guides/v2.1/cloud/before/before.md | 1 - guides/v2.1/cloud/before/terms.md | 1 - guides/v2.1/cloud/discover-tools.md | 1 - guides/v2.2/cloud/before/before-repos.md | 1 - guides/v2.2/cloud/before/before.md | 1 - guides/v2.2/cloud/before/terms.md | 1 - guides/v2.2/cloud/discover-tools.md | 1 - 11 files changed, 1 insertion(+), 11 deletions(-) delete mode 120000 guides/v2.1/cloud/before/before-repos.md delete mode 120000 guides/v2.1/cloud/before/before.md delete mode 120000 guides/v2.1/cloud/before/terms.md delete mode 120000 guides/v2.1/cloud/discover-tools.md delete mode 120000 guides/v2.2/cloud/before/before-repos.md delete mode 120000 guides/v2.2/cloud/before/before.md delete mode 120000 guides/v2.2/cloud/before/terms.md delete mode 120000 guides/v2.2/cloud/discover-tools.md diff --git a/guides/v2.0/cloud/reference/discover-arch.md b/guides/v2.0/cloud/reference/discover-arch.md index 39eda9d4a80..cff52696ef9 100644 --- a/guides/v2.0/cloud/reference/discover-arch.md +++ b/guides/v2.0/cloud/reference/discover-arch.md @@ -88,7 +88,6 @@ The preceding software is *not* upgradable but versions of [PHP]({{page.baseurl} #### Related topics * [Workflow]({{page.baseurl}}cloud/discover-workflow.html) * [Deployment process]({{page.baseurl}}cloud/discover-deploy.html) -* [Tooling]({{page.baseurl}}cloud/discover-tools.html) * [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/cloud-requirements.html) diff --git a/guides/v2.0/cloud/requirements/cloud-requirements-git.md b/guides/v2.0/cloud/requirements/cloud-requirements-git.md index 094ad41cc9e..1079b604697 100644 --- a/guides/v2.0/cloud/requirements/cloud-requirements-git.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements-git.md @@ -13,7 +13,7 @@ github_link: cloud/cloud-requirements-git.md This page lists detailed requirements for using Git with Magento Enterprise Cloud Edition. ### Source control with Git {#cloud-require-git} -Any change you make to your Magento Enterprise Cloud Edition project must be committed to a Git repository. You can use either the repository provided with your account or you can use your own private account on GitHub. For more information, see [Magento Enterprise Cloud Edition repositories]({{page.baseurl}}cloud/before/before-repos.html). +Any change you make to your Magento Enterprise Cloud Edition project must be committed to a Git repository. You can use either the repository provided with your account or you can use your own private account on GitHub. If you don't already have an account, we'll create one for you. However, if you have a GitHub account and you're already using it in a development workflow, we recommend you use it. diff --git a/guides/v2.0/cloud/welcome/bk-cloud.md b/guides/v2.0/cloud/welcome/bk-cloud.md index 6a393d146e2..18d4823df34 100644 --- a/guides/v2.0/cloud/welcome/bk-cloud.md +++ b/guides/v2.0/cloud/welcome/bk-cloud.md @@ -35,7 +35,6 @@ middleman between your code and deployment. #### Related topics * [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/cloud-requirements.html) -* [Common terms]({{page.baseurl}}cloud/before/terms.html) * [Architecture]({{page.baseurl}}cloud/discover-arch.html) * [Workflow]({{page.baseurl}}cloud/discover-workflow.html) diff --git a/guides/v2.1/cloud/before/before-repos.md b/guides/v2.1/cloud/before/before-repos.md deleted file mode 120000 index 80f37e56bd7..00000000000 --- a/guides/v2.1/cloud/before/before-repos.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.0/cloud/before/before-repos.md \ No newline at end of file diff --git a/guides/v2.1/cloud/before/before.md b/guides/v2.1/cloud/before/before.md deleted file mode 120000 index 3a463ac2bfb..00000000000 --- a/guides/v2.1/cloud/before/before.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.0/cloud/before/before.md \ No newline at end of file diff --git a/guides/v2.1/cloud/before/terms.md b/guides/v2.1/cloud/before/terms.md deleted file mode 120000 index 7cb93d28d14..00000000000 --- a/guides/v2.1/cloud/before/terms.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.0/cloud/before/terms.md \ No newline at end of file diff --git a/guides/v2.1/cloud/discover-tools.md b/guides/v2.1/cloud/discover-tools.md deleted file mode 120000 index f4966f993a2..00000000000 --- a/guides/v2.1/cloud/discover-tools.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/cloud/discover-tools.md \ No newline at end of file diff --git a/guides/v2.2/cloud/before/before-repos.md b/guides/v2.2/cloud/before/before-repos.md deleted file mode 120000 index 1532fad3e4e..00000000000 --- a/guides/v2.2/cloud/before/before-repos.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/cloud/before/before-repos.md \ No newline at end of file diff --git a/guides/v2.2/cloud/before/before.md b/guides/v2.2/cloud/before/before.md deleted file mode 120000 index fb3a8981cab..00000000000 --- a/guides/v2.2/cloud/before/before.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/cloud/before/before.md \ No newline at end of file diff --git a/guides/v2.2/cloud/before/terms.md b/guides/v2.2/cloud/before/terms.md deleted file mode 120000 index 5ff90ec2e21..00000000000 --- a/guides/v2.2/cloud/before/terms.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/cloud/before/terms.md \ No newline at end of file diff --git a/guides/v2.2/cloud/discover-tools.md b/guides/v2.2/cloud/discover-tools.md deleted file mode 120000 index 6c691c503ae..00000000000 --- a/guides/v2.2/cloud/discover-tools.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/cloud/discover-tools.md \ No newline at end of file From 032965f45d6be92543c75bb3d889b2de98adf393 Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Wed, 12 Apr 2017 12:47:45 -0500 Subject: [PATCH 067/301] Restore bk-cloud anchor page --- guides/v2.0/cloud/{welcome => }/bk-cloud.md | 0 guides/v2.1/cloud/bk-cloud.md | 1 + guides/v2.1/cloud/welcome/bk-cloud.md | 1 - guides/v2.2/cloud/bk-cloud.md | 1 + guides/v2.2/cloud/welcome/bk-cloud.md | 1 - 5 files changed, 2 insertions(+), 2 deletions(-) rename guides/v2.0/cloud/{welcome => }/bk-cloud.md (100%) create mode 120000 guides/v2.1/cloud/bk-cloud.md delete mode 120000 guides/v2.1/cloud/welcome/bk-cloud.md create mode 120000 guides/v2.2/cloud/bk-cloud.md delete mode 120000 guides/v2.2/cloud/welcome/bk-cloud.md diff --git a/guides/v2.0/cloud/welcome/bk-cloud.md b/guides/v2.0/cloud/bk-cloud.md similarity index 100% rename from guides/v2.0/cloud/welcome/bk-cloud.md rename to guides/v2.0/cloud/bk-cloud.md diff --git a/guides/v2.1/cloud/bk-cloud.md b/guides/v2.1/cloud/bk-cloud.md new file mode 120000 index 00000000000..b820acef725 --- /dev/null +++ b/guides/v2.1/cloud/bk-cloud.md @@ -0,0 +1 @@ +../../v2.0/cloud/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.1/cloud/welcome/bk-cloud.md b/guides/v2.1/cloud/welcome/bk-cloud.md deleted file mode 120000 index e30047c2653..00000000000 --- a/guides/v2.1/cloud/welcome/bk-cloud.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.0/cloud/welcome/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.2/cloud/bk-cloud.md b/guides/v2.2/cloud/bk-cloud.md new file mode 120000 index 00000000000..4dad9f1be9b --- /dev/null +++ b/guides/v2.2/cloud/bk-cloud.md @@ -0,0 +1 @@ +../../v2.1/cloud/bk-cloud.md \ No newline at end of file diff --git a/guides/v2.2/cloud/welcome/bk-cloud.md b/guides/v2.2/cloud/welcome/bk-cloud.md deleted file mode 120000 index b4e4931f01b..00000000000 --- a/guides/v2.2/cloud/welcome/bk-cloud.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/cloud/welcome/bk-cloud.md \ No newline at end of file From cdf5a032d920b0dd80bd17b41f01c9b55e04f6b8 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Wed, 12 Apr 2017 13:31:11 -0500 Subject: [PATCH 068/301] made tiny grammatical change --- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index c128b4a6c67..03a79a456f8 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -41,7 +41,7 @@ Magento 2.1.6 contains over 15 significant performance enhancements when compare * significant decrease in the number of file system operations when processing images on frontend - * caching of image metadata is up to 50% faster, depending upon store size + * caching of image metadata is up to 50% faster, depending on store size * **Improved performance of layered navigation** From 73e0fb27d96a279f19bec8d066eb3b8e9daa093a Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Wed, 12 Apr 2017 14:50:48 -0500 Subject: [PATCH 069/301] Fix links --- guides/v2.0/cloud/access-acct/fastly.md | 2 +- .../access-acct/first-time-setup_dir-structure.md | 6 +++--- .../access-acct/first-time-setup_import-import.md | 4 ++-- guides/v2.0/cloud/access-acct/resources.md | 2 +- guides/v2.0/cloud/before/integration-ip-addr.md | 2 +- guides/v2.0/cloud/bk-cloud.md | 6 +++--- guides/v2.0/cloud/env/environments-ssh.md | 8 ++++---- guides/v2.0/cloud/live/live-sanity-check.md | 10 +++++----- guides/v2.0/cloud/live/stage-prod-over.md | 4 ++-- .../cloud/project/project-conf-files_magento-app.md | 2 +- guides/v2.0/cloud/project/project-conf-files_routes.md | 2 +- .../v2.0/cloud/project/project-conf-files_services.md | 2 +- guides/v2.0/cloud/project/project-multi-sites.md | 8 ++++---- guides/v2.0/cloud/reference/cloud-composer.md | 2 +- guides/v2.0/cloud/reference/discover-arch.md | 6 +++--- .../v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md | 6 +++--- .../v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md | 8 ++++---- guides/v2.0/cloud/requirements/cloud-requirements.md | 6 +++--- guides/v2.0/cloud/trouble/environments-logs.md | 8 ++++---- guides/v2.0/cloud/trouble/trouble_fastly.md | 2 +- guides/v2.0/cloud/welcome/10000-ft-overview.md | 2 +- guides/v2.0/cloud/welcome/discover-workflow.md | 2 +- guides/v2.0/config-guide/prod/prod_deploy.md | 2 +- guides/v2.0/magento-devdocs-whatsnew.md | 10 +++++----- 24 files changed, 56 insertions(+), 56 deletions(-) diff --git a/guides/v2.0/cloud/access-acct/fastly.md b/guides/v2.0/cloud/access-acct/fastly.md index 50a36892ed8..28d75c3c153 100644 --- a/guides/v2.0/cloud/access-acct/fastly.md +++ b/guides/v2.0/cloud/access-acct/fastly.md @@ -13,7 +13,7 @@ github_link: cloud/access-acct/fastly.md [Fastly](https://www.fastly.com/why-fastly){:target="_blank"} is required for Magento Enterprise Cloud Edition. It works with Varnish to provide fast caching capabilities and a Content Delivery Network (CDN) for static assets. ## Get your Fastly credentials {#cloud-fastly-creds} -To get Fastly credentials, open a [support ticket]({{ page.baseurl }}cloud/get-help.html). You must provide your fully-qualified domain name. +To get Fastly credentials, open a [support ticket]({{ page.baseurl }}cloud/welcome/get-help.html). You must provide your fully-qualified domain name. We'll provide you with the following information so you can enable Fastly: diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md index b51d63dd8cc..23ecd9a6cda 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md @@ -36,11 +36,11 @@ Not including the Magento application itself, your local project has the followi The following sections discuss information you need to know about directories in the systems deployed to Magento Enterprise Cloud Edition. ### Magento application root directory -In your [integration systems]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int), the Magento application is located in the `/app` directory. +In your [integration systems]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int), the Magento application is located in the `/app` directory. -In [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage), it's located in the `/_stg` directory. +In [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage), it's located in the `/_stg` directory. -In [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod), it's located in the ` /` directory. +In [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod), it's located in the ` /` directory. ### Writable directories In integration, staging, and production, for security reasons, *only* the following directories are writable: diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md index f916ba1f2c1..77d737046e2 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md @@ -98,7 +98,7 @@ To import the Magento database in Magento Enterprise Cloud Edition, you must kno * The database name, user name, and password of the [Cloud database]({{ page.baseurl }}cloud/access-acct/first-time-setup_import-prepare.html#cloud-import-pre-cloudb)
    -This topic discusses how to import the [integration system]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) database. The database connection information is different for [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) and [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) systems. You'll need the assistance of Magento Support before you can migrate your integration system database to staging or production. +This topic discusses how to import the [integration system]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int) database. The database connection information is different for [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) and [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) systems. You'll need the assistance of Magento Support before you can migrate your integration system database to staging or production.
    ### Drop and re-create the Cloud database @@ -217,4 +217,4 @@ To verify everything imported properly, perform the following tasks in your loca 3. Make sure settings in the Admin are the same as your Magento EE system. 3. Access the storefront. 4. Make sure categories, products, and so on display as you expect. -5. Test everything thoroughly. \ No newline at end of file +5. Test everything thoroughly. diff --git a/guides/v2.0/cloud/access-acct/resources.md b/guides/v2.0/cloud/access-acct/resources.md index 2fa9667bab8..7670146fb95 100644 --- a/guides/v2.0/cloud/access-acct/resources.md +++ b/guides/v2.0/cloud/access-acct/resources.md @@ -28,4 +28,4 @@ We have the following resources available: * [Configuration]({{ page.baseurl}}config-guide/bk-config-guide.html) ### Technical support -See [Get help with your deployment]({{ page.baseurl }}cloud/get-help.html) \ No newline at end of file +See [Get help with your deployment]({{ page.baseurl }}cloud/welcome/get-help.html) diff --git a/guides/v2.0/cloud/before/integration-ip-addr.md b/guides/v2.0/cloud/before/integration-ip-addr.md index f2f27b24514..81ca424e8e9 100644 --- a/guides/v2.0/cloud/before/integration-ip-addr.md +++ b/guides/v2.0/cloud/before/integration-ip-addr.md @@ -10,7 +10,7 @@ version: 2.0 github_link: cloud/before/integration-ip-addr.md --- -This topic lists incoming and outgoing IP addresses used by Magento Enterprise Cloud Edition [integration environments]({{page.baseurl }}cloud/discover-arch.html#cloud-arch-int).These IP addresses are stable, but might change in the future. Prior to any future change, all affected customers will receive ample warning. +This topic lists incoming and outgoing IP addresses used by Magento Enterprise Cloud Edition [integration environments]({{page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int).These IP addresses are stable, but might change in the future. Prior to any future change, all affected customers will receive ample warning. ## Outbound IP addresses This section lists public outbound IP addresses for integration environments. diff --git a/guides/v2.0/cloud/bk-cloud.md b/guides/v2.0/cloud/bk-cloud.md index 18d4823df34..46f51edc264 100644 --- a/guides/v2.0/cloud/bk-cloud.md +++ b/guides/v2.0/cloud/bk-cloud.md @@ -34,7 +34,7 @@ middleman between your code and deployment. * You can increase the amount of memory and CPU as needed. #### Related topics -* [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/cloud-requirements.html) -* [Architecture]({{page.baseurl}}cloud/discover-arch.html) -* [Workflow]({{page.baseurl}}cloud/discover-workflow.html) +* [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/requirements/cloud-requirements.html) +* [Architecture]({{page.baseurl}}cloud/reference/discover-arch.html) +* [Workflow]({{page.baseurl}}cloud/welcome/discover-workflow.html) diff --git a/guides/v2.0/cloud/env/environments-ssh.md b/guides/v2.0/cloud/env/environments-ssh.md index cc71b016d6e..3b2cce5d4de 100644 --- a/guides/v2.0/cloud/env/environments-ssh.md +++ b/guides/v2.0/cloud/env/environments-ssh.md @@ -10,9 +10,9 @@ version: 2.0 github_link: cloud/env/environments-ssh.md --- -Before you can use SSH to connect to an [integration]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) environment, you must add your [SSH public key]({{page.baseurl}}cloud/before/before-workspace-ssh.html) to your account. +Before you can use SSH to connect to an [integration]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int) environment, you must add your [SSH public key]({{page.baseurl}}cloud/before/before-workspace-ssh.html) to your account. -For security reasons, to add your public key to a [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) or [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) system, you must create a [support ticket]({{ page.baseurl }}cloud/get-help.html). +For security reasons, to add your public key to a [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) or [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) system, you must create a [support ticket]({{ page.baseurl }}cloud/welcome/get-help.html). You can then connect using SSH in any of the following ways: @@ -52,8 +52,8 @@ To SSH to an environment using the Web Interface: {% endcollapsibleh3 %} ## Staging and production systems {#cloud-ssh-stage} -You can't use the `magento-cloud` command line to SSH into staging and production systems. To SSH into staging and production systems, first create a [support ticket]({{ page.baseurl }}cloud/get-help.html) requesting for your public key to be added to the system. The user and URL will have been supplied when the system was provisioned. +You can't use the `magento-cloud` command line to SSH into staging and production systems. To SSH into staging and production systems, first create a [support ticket]({{ page.baseurl }}cloud/welcome/get-help.html) requesting for your public key to be added to the system. The user and URL will have been supplied when the system was provisioned. #### Related topics * [Manage your environments]({{page.baseurl}}cloud/env/environments.html) -* [Adding keys to your environment]({{page.baseurl}}cloud/before/before-workspace.html#cloud-ssh-cli-ssh) \ No newline at end of file +* [Adding keys to your environment]({{page.baseurl}}cloud/before/before-workspace.html#cloud-ssh-cli-ssh) diff --git a/guides/v2.0/cloud/live/live-sanity-check.md b/guides/v2.0/cloud/live/live-sanity-check.md index 3b8981eec97..4a7f4e0d9a6 100644 --- a/guides/v2.0/cloud/live/live-sanity-check.md +++ b/guides/v2.0/cloud/live/live-sanity-check.md @@ -10,9 +10,9 @@ version: 2.0 github_link: cloud/live/live-sanity-check.md --- -This topic discusses tasks we strongly recommend you perform before pushing code from an [integration system]({{ page.baseurl}}cloud/discover-arch.html#cloud-arch-int) to either [staging]({{ page.baseurl}}cloud/discover-arch.html#cloud-arch-stage}}) or [production]({{ page.baseurl}}cloud/discover-arch.html#cloud-arch-prod}}). Failure to perform these tasks can result in additional debugging and delays in testing your site. +This topic discusses tasks we strongly recommend you perform before pushing code from an [integration system]({{ page.baseurl}}cloud/reference/discover-arch.html#cloud-arch-int) to either [staging]({{ page.baseurl}}cloud/reference/discover-arch.html#cloud-arch-stage}}) or [production]({{ page.baseurl}}cloud/reference/discover-arch.html#cloud-arch-prod}}). Failure to perform these tasks can result in additional debugging and delays in testing your site. -As discussed in [Deployment process]({{ page.baseurl }}cloud/discover-deploy.html), building and deployment is a five-phase process. This topic discusses how to simulate build and deploy steps locally, which can expose issues early in your development process when they're easier to debug and fix. +As discussed in [Deployment process]({{ page.baseurl }}cloud/reference/discover-deploy.html), building and deployment is a five-phase process. This topic discusses how to simulate build and deploy steps locally, which can expose issues early in your development process when they're easier to debug and fix.
    Do your testing in an integration or staging environment _only_. Do not do any testing in production; the production environment is your live site; it shouldn't be used for testing. @@ -45,7 +45,7 @@ Before you continue, make sure you push all current code to the remote Cloud ser {% endcollapsible %} ## Step 2: Build phase -During the [build phase]({{ page.baseurl }}cloud/discover-deploy.html#cloud-deploy-over-phases-build), we perform the following tasks: +During the [build phase]({{ page.baseurl }}cloud/reference/discover-deploy.html#cloud-deploy-over-phases-build), we perform the following tasks: * Apply patches distributed to all Magento Enterprise Cloud Edition customers * Apply patches we provided specifically to you @@ -111,14 +111,14 @@ Before you continue, you must know the file system path to any patch we provided ... more ... Interception cache generation... 7/7 [============================] 100% 5 mins 324.0 MiB -If errors display, debug them if possible or open a [support ticket]({{ page.baseurl }}cloud/get-help.html) to get additional assistance. +If errors display, debug them if possible or open a [support ticket]({{ page.baseurl }}cloud/welcome/get-help.html) to get additional assistance. We strongly recommend you do all your testing in an integration or staging environment only, and _not_ in production. {% endcollapsible %} ## Step 3: Deploy phase -During the [deployment phase]({{ page.baseurl }}cloud/discover-deploy.html#cloud-deploy-over-phases-hook), we perform the following tasks: +During the [deployment phase]({{ page.baseurl }}cloud/reference/discover-deploy.html#cloud-deploy-over-phases-hook), we perform the following tasks: * Installs the Magento application if it isn't already * If the Magento application is installed, upgrades components diff --git a/guides/v2.0/cloud/live/stage-prod-over.md b/guides/v2.0/cloud/live/stage-prod-over.md index e81bdce60f9..d3ec70583ea 100644 --- a/guides/v2.0/cloud/live/stage-prod-over.md +++ b/guides/v2.0/cloud/live/stage-prod-over.md @@ -16,7 +16,7 @@ background: none!important; } -As discussed in more detail in [Architecture]({{ page.baseurl }}cloud/discover-arch.html), Magento Enterprise Cloud Edition has three types of systems: +As discussed in more detail in [Architecture]({{ page.baseurl }}cloud/reference/discover-arch.html), Magento Enterprise Cloud Edition has three types of systems: * *Integration*, used by a developer to write custom code and test it. @@ -78,7 +78,7 @@ After you fix bugs, you merge Feature1 with master, making that code potentially *Assisted deployment* means that your staging and production systems require you to perform the tasks discussed in the following paragraphs. ### Support ticket -Create a [support ticket]({{ page.baseurl }}cloud/get-help.html) to notify us you're ready to move to either staging or production. +Create a [support ticket]({{ page.baseurl }}cloud/welcome/get-help.html) to notify us you're ready to move to either staging or production. {% include cloud/hooks.md %} diff --git a/guides/v2.0/cloud/project/project-conf-files_magento-app.md b/guides/v2.0/cloud/project/project-conf-files_magento-app.md index c8a514bc63d..f59254ba980 100644 --- a/guides/v2.0/cloud/project/project-conf-files_magento-app.md +++ b/guides/v2.0/cloud/project/project-conf-files_magento-app.md @@ -18,7 +18,7 @@ This file controls the application and the way it is built and deployed on Magen [Sample `.magento.app.yaml`](https://github.com/magento/magento-cloud/blob/master/.magento.app.yaml){:target="_blank"}
    -

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support ticket.

    +

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support ticket.

    The following sections discuss properties in `.magento.app.yaml`. diff --git a/guides/v2.0/cloud/project/project-conf-files_routes.md b/guides/v2.0/cloud/project/project-conf-files_routes.md index 93dd67ebd5c..188483b3601 100644 --- a/guides/v2.0/cloud/project/project-conf-files_routes.md +++ b/guides/v2.0/cloud/project/project-conf-files_routes.md @@ -28,7 +28,7 @@ This file is located at `.magento/routes.yaml` in your project. [Sample `routes.yaml`](https://github.com/magento/magento-cloud/blob/master/.magento/routes.yaml){:target="_blank"}
    -

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support issue.

    +

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support issue.

    diff --git a/guides/v2.0/cloud/project/project-conf-files_services.md b/guides/v2.0/cloud/project/project-conf-files_services.md index 43d6b4c7974..fd211d551c3 100644 --- a/guides/v2.0/cloud/project/project-conf-files_services.md +++ b/guides/v2.0/cloud/project/project-conf-files_services.md @@ -24,7 +24,7 @@ This file is located at `.magento/services.yaml` in your project. [Sample `services.yaml` file](https://github.com/magento/magento-cloud/blob/master/.magento/services.yaml){:target="_blank"}
    -

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support issue.

    +

    Changes you make using .yaml files affect your integration environment only. For technical reasons, neither staging nor production environments use .yaml files. To make these changes in a staging or production environment, you must create a Support issue.

    diff --git a/guides/v2.0/cloud/project/project-multi-sites.md b/guides/v2.0/cloud/project/project-multi-sites.md index a12e5b8fcd6..2c451f99faa 100644 --- a/guides/v2.0/cloud/project/project-multi-sites.md +++ b/guides/v2.0/cloud/project/project-multi-sites.md @@ -17,8 +17,8 @@ To set up multiple stores, you must: 1. [Configure your local installation]({{ page.baseurl }}config-guide/multi-site/ms_over.html) and test it locally. 2. Configure Magento Enterprise Cloud edition routes and variables. -3. Push the changes to an [integration environment]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) and test it. -4. To deploy multiple stores to a [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) environment, create a support ticket. +3. Push the changes to an [integration environment]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int) and test it. +4. To deploy multiple stores to a [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) environment, create a support ticket. ## Configure your local installation To configure your local installation to use multiple stores, see [Multiple websites or stores]({{ page.baseurl }}config-guide/multi-site/ms_over.html). @@ -35,7 +35,7 @@ After successfully creating and testing multiple stores locally, you must: Magento Enterprise Edition *routes* define how incoming URLs are processed. The way you configure routes depends on how you want your site to operate. We suggest configuring routes for integration as follows. You can edit the values later if your needs change.
    -

    This section discusses how to configure your integration environment only. To set up routes in a staging or production environment, you must create a Support ticket.

    +

    This section discusses how to configure your integration environment only. To set up routes in a staging or production environment, you must create a Support ticket.

    To configure routes in an integration environment: @@ -171,4 +171,4 @@ To deploy and test: The URL must be in the format: `http://---` For example, `http://french---master-benrmky-dyrozemqbw72k.us.magentosite.cloud/` -4. Make sure you test your site thoroughly. \ No newline at end of file +4. Make sure you test your site thoroughly. diff --git a/guides/v2.0/cloud/reference/cloud-composer.md b/guides/v2.0/cloud/reference/cloud-composer.md index 0af23263bae..5bfa3052cb9 100644 --- a/guides/v2.0/cloud/reference/cloud-composer.md +++ b/guides/v2.0/cloud/reference/cloud-composer.md @@ -36,7 +36,7 @@ The workflow is as follows: 3. Add `composer.lock` to or update it in your Cloud Git repository. 4. Push the changes to the Cloud environment, which causes Cloud to build and deploy the environment. -During the [build phase]({{ page.baseurl }}cloud/discover-deploy.html), the Cloud environment runs `composer install` on a fresh clone of your Git branch to retrieve the latest dependencies. +During the [build phase]({{ page.baseurl }}cloud/reference/discover-deploy.html), the Cloud environment runs `composer install` on a fresh clone of your Git branch to retrieve the latest dependencies. ## Magento Enterprise Cloud Edition packages The following sections discuss the Composer packages used by Magento Enterprise Cloud Edition: diff --git a/guides/v2.0/cloud/reference/discover-arch.md b/guides/v2.0/cloud/reference/discover-arch.md index cff52696ef9..d3ae825d20a 100644 --- a/guides/v2.0/cloud/reference/discover-arch.md +++ b/guides/v2.0/cloud/reference/discover-arch.md @@ -86,8 +86,8 @@ Magento Enterprise Cloud Edition uses: The preceding software is *not* upgradable but versions of [PHP]({{page.baseurl}}cloud/project/project-conf-files_magento-app.html), [MySQL]({{page.baseurl}}cloud/project/project-conf-files_services-mysql.html), [Solr]({{page.baseurl}}cloud/project/project-conf-files_services-solr.html), [Redis]({{page.baseurl}}cloud/project/project-conf-files_services-redis.html), [RabbitMQ]({{page.baseurl}}cloud/project/project-conf-files_services-rabbit.html), and [Elasticsearch]({{page.baseurl}}cloud/project/project-conf-files_services-elastic.html) are configurable. #### Related topics -* [Workflow]({{page.baseurl}}cloud/discover-workflow.html) -* [Deployment process]({{page.baseurl}}cloud/discover-deploy.html) -* [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/cloud-requirements.html) +* [Workflow]({{page.baseurl}}cloud/welcome/discover-workflow.html) +* [Deployment process]({{page.baseurl}}cloud/reference/discover-deploy.html) +* [Magento Enterprise Cloud Edition requirements]({{page.baseurl}}cloud/requirements/cloud-requirements.html) diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md index f7dfd807b64..a96a407e43b 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md @@ -1,4 +1,4 @@ ---- +/--- layout: default group: cloud subgroup: 30_ReleaseNotes @@ -43,9 +43,9 @@ This is a known issue with Magento core software; we're actively working to addr 3. Follow the prompts to open an issue with Support.
    -

    This issue affects staging and production environments only. There are no issues in an integration environment. For a discussion of these terms, see Architecture.

    +

    This issue affects staging and production environments only. There are no issues in an integration environment. For a discussion of these terms, see Architecture.

    ### Magento EE Release Notes * [Magento EE 2.0.10 Release Notes]({{ site.gdeurl }}release-notes/ReleaseNotes2.0.10EE.html) -* [Magento EE 2.1.2 Release Notes]({{ site.gdeurl21 }}release-notes/ReleaseNotes2.1.2EE.html) \ No newline at end of file +* [Magento EE 2.1.2 Release Notes]({{ site.gdeurl21 }}release-notes/ReleaseNotes2.1.2EE.html) diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md index 9b42315fbe8..a30bb7b573f 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md @@ -14,7 +14,7 @@ These Release Notes provide up-to-date information about changes, additions, and ## Required update to `.magento.app.yaml` -Before you [upgrade]({{ page.baseurl }}cloud/howtos/upgrade-magento.html) to version 2.1.3 or 2.0.11, you must add a rule to the `web` section of your `.magento.app.yaml` file. You must make the change in your local system, push it to your [integration server]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int), then, after upgrading, push the changes to [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) and [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod). +Before you [upgrade]({{ page.baseurl }}cloud/howtos/upgrade-magento.html) to version 2.1.3 or 2.0.11, you must add a rule to the `web` section of your `.magento.app.yaml` file. You must make the change in your local system, push it to your [integration server]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int), then, after upgrading, push the changes to [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) and [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod). ### Get started @@ -54,13 +54,13 @@ Before you [upgrade]({{ page.baseurl }}cloud/howtos/upgrade-magento.html) to ver {% endcollapsible %} ## Update your Elasticsearch configuration {#cloud-rn-213-es} -This section discusses how to update your [integration]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) system to replace Solr with Elasticsearch. Currently, all Magento Enterprise Cloud Edition upgrades to 2.1.3 must perform these tasks. +This section discusses how to update your [integration]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int) system to replace Solr with Elasticsearch. Currently, all Magento Enterprise Cloud Edition upgrades to 2.1.3 must perform these tasks. Elasticsearch is supported by Magento Cloud Enterprise Edition 2.1.x only. If you installed Magento Enterprise Cloud Edition 2.1.3 for the first time, you don't need to do this because Elasticsearch is already the default search engine. -To use Elasticsearch on a [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) system, open a [Support ticket]({{ page.baseurl }}cloud/get-help.html) and request Elasticsearch. +To use Elasticsearch on a [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) system, open a [Support ticket]({{ page.baseurl }}cloud/welcome/get-help.html) and request Elasticsearch. To use Elasticsearch, you must perform all the tasks discussed in this section. @@ -190,4 +190,4 @@ The `magento setup:install` command (used for deployment) succeeds in either a s ### Magento EE Release Notes * [Magento EE 2.0.11 Release Notes]({{ site.gdeurl }}release-notes/ReleaseNotes2.0.11EE.html) -* [Magento EE 2.1.3 Release Notes]({{ site.gdeurl21 }}release-notes/ReleaseNotes2.1.3EE.html) \ No newline at end of file +* [Magento EE 2.1.3 Release Notes]({{ site.gdeurl21 }}release-notes/ReleaseNotes2.1.3EE.html) diff --git a/guides/v2.0/cloud/requirements/cloud-requirements.md b/guides/v2.0/cloud/requirements/cloud-requirements.md index 6c526d94024..22dd5afeaac 100644 --- a/guides/v2.0/cloud/requirements/cloud-requirements.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements.md @@ -20,7 +20,7 @@ Following are requirements you should already have: * Must know how to use [Composer](https://getcomposer.org/doc){:target="_blank"} * Must be familiar with Magento 2 * Must have familiarity with [Continuous Integration Best Practices](https://www.google.com/search?q=Continuous+Integration+Best+Practices){:target="_blank"} -* Understand the three types of systems and how they’re used: [integration]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int), [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage), [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) +* Understand the three types of systems and how they’re used: [integration]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int), [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage), [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) * Must set up a [local development environment]({{ page.baseurl }}cloud/before/before-setup-env-1_get-started.html) The integration environment (sometimes referred to as _Platform as a Service (PaaS))_ can help with integration testing but is not for developing for a production server. Among the differences are that, in integration, Magento is set for developer mode and not all directories are read-only. @@ -73,7 +73,7 @@ Before you go live, you must: * Make sure that the Fastly SSL certificate is setup for your domain(s) #### Related topics -* [Git requirements]({{ page.baseurl }}cloud/cloud-requirements-git.html) -* [License and authentication requirements]({{ page.baseurl }}cloud/cloud-requirements-license.html) +* [Git requirements]({{ page.baseurl }}cloud/requirements/cloud-requirements-git.html) +* [License and authentication requirements]({{ page.baseurl }}cloud/requirements/cloud-requirements-license.html) diff --git a/guides/v2.0/cloud/trouble/environments-logs.md b/guides/v2.0/cloud/trouble/environments-logs.md index a7cea90eacf..74f01aedabe 100644 --- a/guides/v2.0/cloud/trouble/environments-logs.md +++ b/guides/v2.0/cloud/trouble/environments-logs.md @@ -10,7 +10,7 @@ version: 2.0 github_link: cloud/trouble/environments-logs.md --- -This topic discusses how you can use logs to troubleshoot problems related to Magento Enterprise Cloud Edition [build hooks]({{page.baseurl}}cloud/discover-deploy.html#cloud-deploy-over-phases-build) and [deploy hooks]({{page.baseurl}}cloud/discover-deploy.html#cloud-deploy-over-phases-hook). +This topic discusses how you can use logs to troubleshoot problems related to Magento Enterprise Cloud Edition [build hooks]({{page.baseurl}}cloud/reference/discover-deploy.html#cloud-deploy-over-phases-build) and [deploy hooks]({{page.baseurl}}cloud/reference/discover-deploy.html#cloud-deploy-over-phases-hook). ## Build logs After pushing to your environment, you can see the results of the both hooks. Logs from the build hook are redirected to the output stream of `git push`, so you can observe them in the terminal or capture them (along with error messages) with @@ -19,8 +19,8 @@ After pushing to your environment, you can see the results of the both hooks. Lo ## Deploy logs {#log-deploy-log} Logs from the deploy hook are located on the server in the following locations: -* [Integration system]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int): `/tmp/log/deploy.log` -* [Staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) systems: `/var/log/platform//post_deploy.log` +* [Integration system]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int): `/tmp/log/deploy.log` +* [Staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) systems: `/var/log/platform//post_deploy.log` The value of `` depends on the project ID and whether the environment is staging or production. For example, with a project ID of `yw1unoukjcawe`, the staging environment user is `yw1unoukjcawe_stg` and the production environment user is `yw1unoukjcawe`. @@ -45,4 +45,4 @@ The actual log output is highly verbose to allow troubleshooting. Following is a {% endhighlight %} The deploy log contains start and stop messages for each of the two hooks: -`Starting pre-deploy`, `Pre-deploy complete.`, `Start deploy.`, and `Deployment complete.`. \ No newline at end of file +`Starting pre-deploy`, `Pre-deploy complete.`, `Start deploy.`, and `Deployment complete.`. diff --git a/guides/v2.0/cloud/trouble/trouble_fastly.md b/guides/v2.0/cloud/trouble/trouble_fastly.md index 09fc243064b..c2c4b148876 100644 --- a/guides/v2.0/cloud/trouble/trouble_fastly.md +++ b/guides/v2.0/cloud/trouble/trouble_fastly.md @@ -31,7 +31,7 @@ To get values for these headers, you must run the following `curl` commands: This command goes through the Fastly extension and returns the `Fastly-Magento-VCL-Uploaded` and `X-Cache` headers -You should perform the test on your [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod) site. The Fastly extension isn't necessary on your [integration]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int) site, so there's no point in testing it there. +You should perform the test on your [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) or [production]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-prod) site. The Fastly extension isn't necessary on your [integration]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int) site, so there's no point in testing it there. ## Test your staging or production site {#cloud-test-stage} diff --git a/guides/v2.0/cloud/welcome/10000-ft-overview.md b/guides/v2.0/cloud/welcome/10000-ft-overview.md index b59e0adc7ee..537b03c87ed 100644 --- a/guides/v2.0/cloud/welcome/10000-ft-overview.md +++ b/guides/v2.0/cloud/welcome/10000-ft-overview.md @@ -56,7 +56,7 @@ You can add dependencies on Magento extensions and other PHP libraries using com ## How do things get deployed? -When you push to the git repository for your project, the environment will get deployed or re-deployed to accomodate the new changes. For instance, say you added a new module: in order for the site to work, `bin/magento setup:upgrade` will need to be run. Or, if this is the first deployment, then `bin/magento setup:install` will need to be run. There are several other commands that go into the deployment flow, but _you don't need to run them manually_, because the build and deploy hooks will take care of that automatically. For more information about the composer packages that contain those hooks, see [this article on Composer Integration](/guides/v2.0/cloud/cloud-composer.html). +When you push to the git repository for your project, the environment will get deployed or re-deployed to accomodate the new changes. For instance, say you added a new module: in order for the site to work, `bin/magento setup:upgrade` will need to be run. Or, if this is the first deployment, then `bin/magento setup:install` will need to be run. There are several other commands that go into the deployment flow, but _you don't need to run them manually_, because the build and deploy hooks will take care of that automatically. For more information about the composer packages that contain those hooks, see [this article on Composer Integration](/guides/v2.0/cloud/reference/cloud-composer.html). ### Default hooks diff --git a/guides/v2.0/cloud/welcome/discover-workflow.md b/guides/v2.0/cloud/welcome/discover-workflow.md index 21bd3cfd5b7..ab874c76c8d 100644 --- a/guides/v2.0/cloud/welcome/discover-workflow.md +++ b/guides/v2.0/cloud/welcome/discover-workflow.md @@ -22,7 +22,7 @@ The following figure shows how it works at a high level. ![High-level view of Magento Enterprise Cloud Edition]({{ site.baseurl }}common/images/cloud_code-flow.png) -You get Magento code from our repository, create a [_project_]({{ page.baseurl }}cloud/project/projects.html) which is based in Git, then do your customization in an [integration system]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-int). You can use the Magento Cloud command line to configure your project and use an [automated deployment process]({{ page.baseurl }}cloud/discover-deploy.html) to push code from integration to [staging]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-stage) and finally to [production]({{ page.baseurl }}cloud/discover-arch.html#cloud-arch-prod). +You get Magento code from our repository, create a [_project_]({{ page.baseurl }}cloud/project/projects.html) which is based in Git, then do your customization in an [integration system]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-int). You can use the Magento Cloud command line to configure your project and use an [automated deployment process]({{ page.baseurl }}cloud/reference/discover-deploy.html) to push code from integration to [staging]({{ page.baseurl }}cloud/reference/discover-arch.html#cloud-arch-stage) and finally to [production]({{ page.baseurl }}cloud/reference/iscover-arch.html#cloud-arch-prod). ### Use any methodology You can use any methodology you already have or you can invent new ones. For example, you can use a Development -> Staging -> Production workflow. diff --git a/guides/v2.0/config-guide/prod/prod_deploy.md b/guides/v2.0/config-guide/prod/prod_deploy.md index 7b94ced0b0d..a58f2727228 100644 --- a/guides/v2.0/config-guide/prod/prod_deploy.md +++ b/guides/v2.0/config-guide/prod/prod_deploy.md @@ -21,5 +21,5 @@ The following is a list of recommended strategies for production deployment: * [Deployment strategies from the community][2] [0]: {{page.baseurl}}config-guide/prod/single-machine-deployment.html -[1]: {{page.baseurl}}cloud/discover-deploy.html +[1]: {{page.baseurl}}cloud/reference/discover-deploy.html [2]: {{site.baseurl}}community/resources/#installdeploy diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index 42eab2039b4..b3e32eb0441 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -44,7 +44,7 @@ No changes to date {% collapsibleh2 Feb 2017 %} -| [Magento Enterprise Cloud Edition (MECE) deployment]({{ page.baseurl }}cloud/discover-deploy.html){:target="_blank"} | 2.x | Updated | Feb 23 | +| [Magento Enterprise Cloud Edition (MECE) deployment]({{ page.baseurl }}cloud/reference/discover-deploy.html){:target="_blank"} | 2.x | Updated | Feb 23 | | [How to use logs to troubleshoot MECE]({{ page.baseurl }}cloud/trouble/environments-logs.html){:target="_blank"} | 2.x | New | Feb 23 | | [How to SSH in to an MECE integration, staging, or production system]({{ page.baseurl }}cloud/env/environments-ssh.html){:target="_blank"} | 2.x | Updated | Feb 23 | | [Set up multiple MECE database users]({{ page.baseurl }}cloud/project/project-conf-files_services-mysql.html#cloud-appyaml-mysqlusers){:target="_blank"} | 2.x | New | Feb 21 | @@ -53,7 +53,7 @@ No changes to date | [Magento Enterprise Edition (EE) 2.1.5 Release Notes]({{ site.gdeurl21 }}release-notes/ReleaseNotes2.1.5EE.html){:target="_blank"} | 2.1.5 | New | Feb 21 | | [Magento CE 2.0.13 Release Notes]({{ site.gdeurl }}release-notes/ReleaseNotes2.0.13CE.html){:target="_blank"} | 2.0.13 | New | Feb 21 | | [Magento EE 2.0.13 Release Notes]({{ site.gdeurl }}release-notes/ReleaseNotes2.0.13EE.html){:target="_blank"} | 2.0.13 | New | Feb 21 | -| [How Magento Enterprise Cloud Edition uses Composer]({{ page.baseurl }}cloud/cloud-composer.html){:target="_blank"} | 2.x | New | Feb 17 | +| [How Magento Enterprise Cloud Edition uses Composer]({{ page.baseurl }}cloud/reference/cloud-composer.html){:target="_blank"} | 2.x | New | Feb 17 | | [Prohibit usage of DocBlock templates, add License Notice and Copyright]({{ page.baseurl }}coding-standards/docblock-standard-general.html){:target="_blank"} | 2.x | Updated | Feb 11 | | [How to create a Fastly error or maintenance page]({{ page.baseurl }}cloud/access-acct/fastly.html#fastly-errpg){:target="_blank"} | 2.x | Updated | Feb 10 | | [Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes]({{ page.baseurl }}cloud/release-notes/CloudReleaseNotes2.1.4.html){:target="_blank"} | 2.x | New | Feb 7 | @@ -112,11 +112,11 @@ No changes to date | [Use Jasmine for JavaScript unit testing]({{ page.baseurl }}test/js/jasmine.html){:target="_blank"} | 2.x | New | Nov 25 | | [Use adapters with third-party libraries]({{ page.baseurl }}extension-dev-guide/adapters.html){:target="_blank"} | 2.x | New | Nov 25 | | [Debug the Fastly extension with Magento Enterprise Cloud Edition]({{ page.baseurl }}cloud/trouble/trouble_fastly.html){:target="_blank"} | 2.x | New | Nov 25 | -|[Magento Enterprise Cloud Edition requirements]({{ page.baseurl }}cloud/cloud-requirements.html){:target="_blank"} | 2.x | Updated | Nov 18 | +|[Magento Enterprise Cloud Edition requirements]({{ page.baseurl }}cloud/requirements/cloud-requirements.html){:target="_blank"} | 2.x | Updated | Nov 18 | |[Data migration toolkit directory structure]({{ page.baseurl }}migration/migration-tool-internal-spec.html){:target="_blank"} | 2.x | Updated | Nov 18 | |[Added information about the `@import` directive and usage]({{ page.baseurl }}frontend-dev-guide/css-topics/css-preprocess.html){:target="_blank"} | 2.x | Updated | Nov 18 | |[How to use adapters with third-party libraries]({{ page.baseurl }}extension-dev-guide/adapters.html){:target="_blank"} | 2.x | New |Nov 11 | -| [Added detail about Magento Enterprise Cloud Edition (MECE) deployment]({{ page.baseurl }}cloud/discover-deploy.html){:target="_blank"} | 2.x | Updated |Nov 4 | +| [Added detail about Magento Enterprise Cloud Edition (MECE) deployment]({{ page.baseurl }}cloud/reference/discover-deploy.html){:target="_blank"} | 2.x | Updated |Nov 4 | | [Where MECE logs are located]({{ page.baseurl }}cloud/env/environments-logs.html) | 2.x | New |Nov 4 | | [Tutorial on setting up a custom cron job and cron group]({{ page.baseurl }}config-guide/cron/custom-cron-tut.html){:target="_blank"} | 2.x | New |Nov 4 | | [Troubleshoot OPcache-related error]({{ page.baseurl }}install-gde/trouble/php/tshoot_opcache.html) | 2.x | New |Nov 4 | @@ -128,7 +128,7 @@ No changes to date | Description | Versions applied to | New or Updated | Week ending | |--------------|--------------|----------------------|--------| -| Magento Enterprise Cloud Edition (MECE) [added descriptions of build and deployment scripts and other improvements to deployment]({{ page.baseurl }}cloud/discover-deploy.html){:target="_blank"} | 2.x | Updated |Oct 28 | +| Magento Enterprise Cloud Edition (MECE) [added descriptions of build and deployment scripts and other improvements to deployment]({{ page.baseurl }}cloud/reference/discover-deploy.html){:target="_blank"} | 2.x | Updated |Oct 28 | |[MECE added description of build and deployment logs in staging and production]({{ page.baseurl }}cloud/env/environments-logs.html){:target="_blank"} | 2.x | Updated | Oct 28 | |[MECE how to patch the Magento software]({{ page.baseurl }}cloud/howtos/patch-magento.html){:target="_blank"} | 2.x | New | Oct 28 | |[MECE how to upgrade the Magento software]({{ page.baseurl }}cloud/howtos/upgrade-magento.html){:target="_blank"} | 2.x | New | Oct 28 | From 331da3f36aadf4fbbbd7f2337a2c6b60ff551582 Mon Sep 17 00:00:00 2001 From: Mazhalai 'Maddy' Chellathurai Date: Wed, 12 Apr 2017 15:45:44 -0500 Subject: [PATCH 070/301] Adding --no-update flag --- _includes/cloud/upgrade.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_includes/cloud/upgrade.md b/_includes/cloud/upgrade.md index cd26c8747bb..8d81d203847 100644 --- a/_includes/cloud/upgrade.md +++ b/_includes/cloud/upgrade.md @@ -52,11 +52,13 @@ Verify other changes you're going to submit to source control before you start t 1. Change to your Magento base directory and enter the following command: - composer require magento/magento-cloud-metapackage + composer require magento/magento-cloud-metapackage --no-update + composer update For example, to upgrade to version 2.1.4: - composer require magento/magento-cloud-metapackage 2.1.4 + composer require magento/magento-cloud-metapackage 2.1.4 --no-update + composer update 4. Add, commit, and push your changes to initiate a deployment: From 173d85973a3247f3445c77e6ecfc8f856d610a79 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Thu, 13 Apr 2017 13:00:36 +0300 Subject: [PATCH 071/301] basic attributes --- guides/v2.2/ui_comp_guide/components/ui-button.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/guides/v2.2/ui_comp_guide/components/ui-button.md b/guides/v2.2/ui_comp_guide/components/ui-button.md index 3e816ee2c69..c432141bf64 100644 --- a/guides/v2.2/ui_comp_guide/components/ui-button.md +++ b/guides/v2.2/ui_comp_guide/components/ui-button.md @@ -43,12 +43,6 @@ Button-specific configuration: Boolean false - - displayArea - Renders the component in the location that was declared in the layout. - String - outsideGroup - displayAsLink Show the button as a link. From 80491c1f29522ca6f911a21795e6c5db7a9c3034 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Thu, 13 Apr 2017 15:36:08 +0100 Subject: [PATCH 072/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * introduced headings in the Additional Step chapter * added the section * made texts shorter for reading comfort --- .../migration/migration-migrate-additional.md | 64 +++++++++++-------- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/guides/v2.0/migration/migration-migrate-additional.md b/guides/v2.0/migration/migration-migrate-additional.md index c40aea32c2d..3efe603259e 100644 --- a/guides/v2.0/migration/migration-migrate-additional.md +++ b/guides/v2.0/migration/migration-migrate-additional.md @@ -11,31 +11,45 @@ github_link: migration/migration-migrate-additional.md --- -Some existing behaviour and logic from Magento 1 was implemented in a different way in Magento 2. The Data Migration Tool takes care of it. - -1. All Group Prices were converted to Tier Prices. - -2. The numbers of Orders, Invoices, Shipments, Credit Memos and RMA migrate as is. But after migration and switching to Magento 2 the numeration for newly created sales entities will be different. - -3. If the Magento 1 server has the time zone set to anything other than UTC, you must configure the offset to migrate timestamp fields. The Data Migration Tool has special handler `\Migration\Handler\Timezone` for transforming time to a different time zone. In the following example, the Magento 1 server timezone is UTC-7. To convert the customer account creation date properly, add the following rule to `map-customer.xml`: - - {% highlight xml %} - - - - - - - - customer_entity.created_at - - - - - - - - {% endhighlight %} +## Overview + +Some behaviour and logic of Magento 1 has been implemented differently in Magento 2. The Data Migration Tool takes care of it. Although, there are some migration aspects you should know about, and sometimes you must take minor steps for some functionalities to work smoothly after migration. + +## Group Prices are converted to Tier Prices + +All Group Prices are automatically converted to Tier Prices during migration. + +## New numbering for sales entities + +Reference numbers for Orders, Invoices, Shipments, Credit Memos, and RMA migrate as is. But after migration, the new Magento 2 number assignment rules will apply. Thus, the numeration for the new sales entities will be different. + +## Resave Customer Segments [Magento 2 EE only] + +After migration, Customer Segments must be resaved from the Admin Panel to get them up and running. + +## Configure time zone offset + +If your Magento 1 server has the time zone set to anything other than UTC, you must configure the offset to migrate timestamp fields. To transform time to a different time zone, use the Data Migration Tool's `\Migration\Handler\Timezone` handler. + +In the following example, the Magento 1 server timezone is UTC-7. To convert the customer account creation date properly, add the following rule to `map-customer.xml`: + +{% highlight xml %} + + + + + + + + customer_entity.created_at + + + + + + + +{% endhighlight %}

    The Data Migration Tool doesn't support split database.

    From 405de79ae7a093727d17edf4e8bffe6b89ab799d Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Thu, 13 Apr 2017 18:07:08 +0300 Subject: [PATCH 073/301] added draft from vova --- _config.yml | 2 +- .../concepts/ui_comp_config_flow_concept.md | 2 +- .../concepts/ui_comp_data_source.md | 2 +- .../concepts/ui_comp_linking_concept.md | 2 +- .../concepts/ui_comp_modifier_concept.md | 2 +- .../concepts/ui_comp_template_literals.md | 2 +- .../concepts/ui_comp_uiclass_concept.md | 2 +- .../concepts/ui_comp_uicollection_concept.md | 2 +- .../concepts/ui_comp_uielement_concept.md | 2 +- .../concepts/ui_comp_uilayout_concept.md | 2 +- .../ui_comp_xmldeclaration_concept.md | 2 +- .../ui_comp_guide/components/basic-options.md | 74 +++++++++++++++++++ .../concepts/ui_comp_xmlconfig_structure.md | 56 ++++++++++++++ 13 files changed, 141 insertions(+), 11 deletions(-) create mode 100644 guides/v2.2/ui_comp_guide/components/basic-options.md create mode 100644 guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md diff --git a/_config.yml b/_config.yml index acebfc9c4ff..0492314c948 100644 --- a/_config.yml +++ b/_config.yml @@ -85,5 +85,5 @@ gems: - jekyll-redirect-from -exclude: ['scss', 'bin', 'node_modules', 'vendor', '.git', '.idea', 'guides/v2.2'] +exclude: ['scss', 'bin', 'node_modules', 'vendor', '.git', '.idea'] diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_config_flow_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_config_flow_concept.md index fafd34d0af8..5def7874380 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_config_flow_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_config_flow_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: Configuration flow of UI components menu_title: Configuration flow of UI components -menu_order: 4 +menu_order: 10 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_config_flow_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_data_source.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_data_source.md index f472f7cb3f8..92065644947 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_data_source.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_data_source.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: The DataSource Component menu_title: Providing Data to UI Components -menu_order: 5 +menu_order: 20 contributor_name: SwiftOtter Studios contributor_link: https://swiftotter.com/ version: 2.1 diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_linking_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_linking_concept.md index 1deed37b7e5..73a1caff44d 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_linking_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_linking_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: Linking properties of UI components menu_title: Linking properties of UI components -menu_order: 14 +menu_order: 100 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_linking_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_modifier_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_modifier_concept.md index 2ebeec1c242..1eae74081e1 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_modifier_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_modifier_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About PHP modifiers in UI components menu_title: About PHP modifiers in UI components -menu_order: 7 +menu_order: 40 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_modifier_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_template_literals.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_template_literals.md index c17d6a4ec3b..5f43c923397 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_template_literals.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_template_literals.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: Template Literals in UI Components menu_title: Template Literals -menu_order: 10 +menu_order: 50 contributor_name: SwiftOtter Studios contributor_link: https://swiftotter.com/ version: 2.1 diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uiclass_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uiclass_concept.md index ba81e0bdfcb..f4d65fc9c3c 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uiclass_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uiclass_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About the uiClass library menu_title: About the uiClass library -menu_order: 10 +menu_order: 60 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_uiclass_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uicollection_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uicollection_concept.md index d02721a4fe1..2c6406959d5 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uicollection_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uicollection_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About the uiCollection class menu_title: About the uiCollection class -menu_order: 12 +menu_order: 80 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_uicollection_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uielement_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uielement_concept.md index 1c2d3dd4282..24b34a55efa 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uielement_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uielement_concept.md @@ -5,7 +5,7 @@ subgroup: concepts title: About the uiElement class menu_title: About the uiElement class menu_node: -menu_order: 11 +menu_order: 70 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_uielement_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uilayout_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uilayout_concept.md index 7624ddd4bee..e7017b4b7a7 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_uilayout_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_uilayout_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About the uiLayout service module menu_title: About the uiLayout service module -menu_order: 13 +menu_order: 90 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_uilayout_concept.md --- diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md index 9756337bc01..0040d297edc 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About XML сonfiguration of UI сomponents menu_title: About XML сonfiguration of UI сomponents -menu_order: 6 +menu_order: 30 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md --- diff --git a/guides/v2.2/ui_comp_guide/components/basic-options.md b/guides/v2.2/ui_comp_guide/components/basic-options.md new file mode 100644 index 00000000000..f67f0731eb4 --- /dev/null +++ b/guides/v2.2/ui_comp_guide/components/basic-options.md @@ -0,0 +1,74 @@ +--- +layout: default +group: UI_Components_guide +subgroup: components +title: Basic attributes +menu_title: Basic attributes +menu_order: 1 +version: 2.2 +github_link: ui_comp_guide/components/basic-options.md +--- + +## Overview + +This topic describes the general UI components configuration options. There's a set of options available for all UI components, and a set of options which are specific for all [basic components]({{page.baseurl}}ui_comp_guide/bk-ui_comps.html#general-structure). + +## General options + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Option DescriptionType
    classThe name of associated PHP interface.String
    componentThe path to the component’s .js file in terms of RequireJS.String
    displayAreaThe name of parent component's template region where component needs to be rendered (the list of available regions defined by the template).String
    sortOrderComponent's sort order.Integer
    templateThe path to the component’s .html template.String
    + + +## Basic components' options + +The following options are available for all basic components: + + + + + + + + + + + + + + + + + +
    Option DescriptionType
    extendsReference to a UI component configuration to inherit. Only a basic component can be specified.

    What exactly do we reference? name?

    String
    providerThe path in the registry to the linked data provider.

    What registry?

    String
    + + diff --git a/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md b/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md new file mode 100644 index 00000000000..b22c0b22392 --- /dev/null +++ b/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md @@ -0,0 +1,56 @@ +--- +layout: default +group: UI_Components_guide +subgroup: concepts +title: UI components XML configuration structure +menu_title: UI components XML configuration structure +menu_order: 6 +version: 2.2 +github_link: ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md +--- + + +Magento uses strict structure to declare UiComponents. +Writing UiComponent’s tag is the first step to declare component. +As example: + + +The first child of UiComponent should be node with name “data” if it is needed, as example +
    + + // Some arbitrary structure + +
    +The second child can be tag that introduces the configuration block for UiComponent. +Example: +
    + + // Some arbitrary structure that declare configuration for “form” component. + + + // The “form” component settings + +
    +The next childs are another component tags that have the same structure. +Example: +
    + + // Some arbitrary structure that declare configuration for “form” component. + + + // The “form” component settings + +
    + + // Some arbitrary structure that declare configuration for “fieldset” component. + + + // The “fieldset” component settings + + + + // The “field” component settings + + +
    +
    \ No newline at end of file From a284e11d0387d8a9e5774441ebcc356d64b00f13 Mon Sep 17 00:00:00 2001 From: Kevin Kirchner Date: Thu, 13 Apr 2017 16:30:42 -0500 Subject: [PATCH 074/301] Link to Erik Hansen's profile --- guides/m1x/ce19-ee114/RWD_dev-guide.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/m1x/ce19-ee114/RWD_dev-guide.html b/guides/m1x/ce19-ee114/RWD_dev-guide.html index 4b32eb510a1..18d67f8b4e0 100644 --- a/guides/m1x/ce19-ee114/RWD_dev-guide.html +++ b/guides/m1x/ce19-ee114/RWD_dev-guide.html @@ -28,7 +28,7 @@

    Magento Community Edition (CE) 1.9 and Magento Enterprise Edition (EE) 1.14 Responsive Web Design Developer's Guide

    -

    by Erik Hansen

    +

    by Erik Hansen

    Edit this page on GitHub

    From 126e70f5820c6c06ee151f3cc56807a7d663ff4f Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Thu, 13 Apr 2017 19:17:52 -0500 Subject: [PATCH 075/301] first draft --- .../extension-dev-guide/indexing-custom.md | 4 +- .../v2.2/extension-dev-guide/indexer-batch.md | 127 ++++++++++++++++++ 2 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 guides/v2.2/extension-dev-guide/indexer-batch.md diff --git a/guides/v2.0/extension-dev-guide/indexing-custom.md b/guides/v2.0/extension-dev-guide/indexing-custom.md index b7ab9a0d378..8618a2b1f36 100644 --- a/guides/v2.0/extension-dev-guide/indexing-custom.md +++ b/guides/v2.0/extension-dev-guide/indexing-custom.md @@ -1,10 +1,10 @@ --- layout: default group: extension-dev-guide -subgroup: 99_Module Development +subgroup: 99_Module Development title: Adding a custom indexer menu_title: Adding a custom indexer -menu_order: 14 +menu_order: 15 version: 2.0 level3_menu_node: level3child level3_subgroup: index diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md new file mode 100644 index 00000000000..fb9c6ef0a6c --- /dev/null +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -0,0 +1,127 @@ +--- +layout: default +group: extension-dev-guide +subgroup: 99_Module Development +title: Indexer optimization +menu_title: Indexer optimization +menu_order: 14 +version: 2.2 +level3_menu_node: level3child +level3_subgroup: index +github_link: extension-dev-guide/indexer-batch.md + +--- + +## Indexer Batching + +Magento can increase the memory for processing a large amount of data by using memory engines instead of InnoDB. The algorithm increases the memory value for the `max_heap_table_size` and `tmp_table_size` MySQL parameters. + +
    +When the allocated memory size for a temporary table will be greater than 20% of `innodb_buffer_pool_size`, the following message is written to the Magento log. + +`Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size.` + +To prevent this error message, update `innodb_buffer_pool_size` or decrease the batch size value (which decreases memory usages for the temporary table). +
    + +The interface `BatchSizeManagementInterface` provides the ability to set the MEMORY table size for indexer processes according to batch size and index row size. + +{% highlight php %} +namespace Magento\Framework\Indexer; + +use \Magento\Framework\DB\Adapter\AdapterInterface; + +/** + * Batch size manager can be used to ensure that MEMORY table has enough memory for data in batch. + * @api + */ +interface BatchSizeManagementInterface +{ + /** + * Ensure memory size for data in batch. + * + * @param AdapterInterface $adapter database adapter. + * @param int $batchSize + * @return void + */ + public function ensureBatchSize(\Magento\Framework\DB\Adapter\AdapterInterface $adapter, $batchSize); +} +{% endhighlight %} + + +The interface `IndexTableRowSizeEstimatorInterface` calculates the memory size for all rows per entity in the index table.. The entity can store several rows in an index table generated by different store dimensions, such as count of websites and customer groups. + +{% highlight php %} +namespace Magento\Framework\Indexer; + +/** + * Calculate memory size for entity according different dimensions. + * @api + */ +interface IndexTableRowSizeEstimatorInterface +{ + /** + * Calculate memory size for entity row. + * + * @return float + */ + public function estimateRowSize(); +} +{% endhighlight %} + + +## Batching configuration + +Batching is available for the following indexers: + +Index name | Configuration file | Configured object | Parameter name | Default value +--- | --- | --- | --- | --- +catalog_product_price (Product Price ) | Magento/Catalog/etc/di.xml | Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator | batchRowsCount['default'] | 5000 +cataloginventory_stock (Stock) | Magento/CatalogInventory/etc/di.xml | Magento\CatalogInventory\Model\Indexer\Stock\Action\Full | +batchRowsCount['default'] | 200 +catalog_category_product (Category Products)| Magento/Catalog/etc/di.xml | Magento\Catalog\Model\Indexer\Category\Product\Action\Full | batchRowsCount | 100000 + +The following examples illustrate how to define a custom batch size for configurable products. Add these samples to your `{Your_Module_Name}/etc/di.xml`. + +{% highlight xml %} +.... + + + + 5000 + + + +... +{% endhighlight %} + +{% highlight xml %} + + + + 200 + + + +{% endhighlight %} + +## Indexer Table Switching + +Magento optimizes certain indexer processes to prevent deadlocks and wait locks caused by read/write collisions on the same table. In these cases, Magento uses separate tables for performing read operations and reindexing. As a result of this table switching process, customers are not impacted when you run a full reindex. For example, when `catalog_product_price` is reindexing, customers won't be slowed down as they navigate on Categories pages, search products, or user layer navigation filters with price filters. + +Magento uses the following tables to support table switching. + +Indexer name | Tables used +--- | --- | --- +`catalog_product_price` | `catalog_product_index_price`, `catalog_product_index_price_replica` +`cataloginventory_stock` | `cataloginventory_stock_status`, `cataloginventory_stock_status_replica` +`catalog_category_product` | `catalog_category_product_index`, `catalog_category_product_index_replica` +`catalog_product_attribute` | `catalog_product_index_eav`, `catalog_product_index_eav_replica` (select, multiselect attributes)
    `catalog_product_index_eav_decimal`, `catalog_product_index_eav_decimal_replica` (decimal values) + +The value of `table_suffix` column of the `indexer_state` table determines which table is used for read operations (which include partial reindexes, frontend calls, searching by attributes, etc.), and which table is used for full reindexes. Initially, the value of`table_suffix` is an empty string. For indexer `catalog_product_prices`, this means Magento uses `catalog_product_index_price` for _read operations_ and `catalog_product_index_price_replica` for _full reindexes_. Once the reindex is complete, the value of `table_suffix` is changed to `_replica` and Magento uses `catalog_product_index_price_replica` for _read operations_ and `catalog_product_index_price` for _full reindexes_. The value of `table_suffix` is changed to an empty string, and the cycle repeats. + +Make sure that these indexers are in "Update By Schedule" mode. If "Update On Save" mode is selected, some data can be lost if you make changes during full reindex. + +
    +Indexer table switching mechanism requires additional database storage. +
    From c6c02d1f68317fb65e05838458a84194574061c9 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Thu, 13 Apr 2017 20:27:38 -0500 Subject: [PATCH 076/301] first draft --- guides/v2.2/extension-dev-guide/indexer-batch.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index fb9c6ef0a6c..95a6dcaa5a1 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -77,8 +77,7 @@ Batching is available for the following indexers: Index name | Configuration file | Configured object | Parameter name | Default value --- | --- | --- | --- | --- catalog_product_price (Product Price ) | Magento/Catalog/etc/di.xml | Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator | batchRowsCount['default'] | 5000 -cataloginventory_stock (Stock) | Magento/CatalogInventory/etc/di.xml | Magento\CatalogInventory\Model\Indexer\Stock\Action\Full | -batchRowsCount['default'] | 200 +cataloginventory_stock (Stock) | Magento/CatalogInventory/etc/di.xml | Magento\CatalogInventory\Model\Indexer\Stock\Action\Full | batchRowsCount['default'] | 200 catalog_category_product (Category Products)| Magento/Catalog/etc/di.xml | Magento\Catalog\Model\Indexer\Category\Product\Action\Full | batchRowsCount | 100000 The following examples illustrate how to define a custom batch size for configurable products. Add these samples to your `{Your_Module_Name}/etc/di.xml`. From b72f09885f6013b3789d2007dcc62fca11be2217 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Thu, 13 Apr 2017 20:37:25 -0500 Subject: [PATCH 077/301] edits --- guides/v2.2/extension-dev-guide/indexer-batch.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 95a6dcaa5a1..75dbf2e9a26 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -76,9 +76,9 @@ Batching is available for the following indexers: Index name | Configuration file | Configured object | Parameter name | Default value --- | --- | --- | --- | --- -catalog_product_price (Product Price ) | Magento/Catalog/etc/di.xml | Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator | batchRowsCount['default'] | 5000 -cataloginventory_stock (Stock) | Magento/CatalogInventory/etc/di.xml | Magento\CatalogInventory\Model\Indexer\Stock\Action\Full | batchRowsCount['default'] | 200 -catalog_category_product (Category Products)| Magento/Catalog/etc/di.xml | Magento\Catalog\Model\Indexer\Category\Product\Action\Full | batchRowsCount | 100000 +catalog_product_price (Product Price) | `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator` | batchRowsCount['default'] | 5000 +cataloginventory_stock (Stock) | `Magento/CatalogInventory/etc/di.xml` | `Magento\CatalogInventory\Model\Indexer\Stock\Action\Full` | batchRowsCount['default'] | 200 +catalog_category_product (Category Products)| `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\Indexer\Category\Product\Action\Full` | batchRowsCount | 100000 The following examples illustrate how to define a custom batch size for configurable products. Add these samples to your `{Your_Module_Name}/etc/di.xml`. @@ -115,7 +115,8 @@ Indexer name | Tables used `catalog_product_price` | `catalog_product_index_price`, `catalog_product_index_price_replica` `cataloginventory_stock` | `cataloginventory_stock_status`, `cataloginventory_stock_status_replica` `catalog_category_product` | `catalog_category_product_index`, `catalog_category_product_index_replica` -`catalog_product_attribute` | `catalog_product_index_eav`, `catalog_product_index_eav_replica` (select, multiselect attributes)
    `catalog_product_index_eav_decimal`, `catalog_product_index_eav_decimal_replica` (decimal values) +`catalog_product_attribute` (select, multiselect attributes) | `catalog_product_index_eav`, `catalog_product_index_eav_replica` +`catalog_product_attribute` (decimal values) |`catalog_product_index_eav_decimal`, `catalog_product_index_eav_decimal_replica` The value of `table_suffix` column of the `indexer_state` table determines which table is used for read operations (which include partial reindexes, frontend calls, searching by attributes, etc.), and which table is used for full reindexes. Initially, the value of`table_suffix` is an empty string. For indexer `catalog_product_prices`, this means Magento uses `catalog_product_index_price` for _read operations_ and `catalog_product_index_price_replica` for _full reindexes_. Once the reindex is complete, the value of `table_suffix` is changed to `_replica` and Magento uses `catalog_product_index_price_replica` for _read operations_ and `catalog_product_index_price` for _full reindexes_. The value of `table_suffix` is changed to an empty string, and the cycle repeats. From 0a8463a218f1eb3bc6e653d16e7e4faf19ab0592 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Thu, 13 Apr 2017 20:46:38 -0500 Subject: [PATCH 078/301] edits --- guides/v2.2/extension-dev-guide/indexer-batch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 75dbf2e9a26..757597d0dea 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -116,9 +116,9 @@ Indexer name | Tables used `cataloginventory_stock` | `cataloginventory_stock_status`, `cataloginventory_stock_status_replica` `catalog_category_product` | `catalog_category_product_index`, `catalog_category_product_index_replica` `catalog_product_attribute` (select, multiselect attributes) | `catalog_product_index_eav`, `catalog_product_index_eav_replica` -`catalog_product_attribute` (decimal values) |`catalog_product_index_eav_decimal`, `catalog_product_index_eav_decimal_replica` +`catalog_product_attribute` (decimal values) |`catalog_product_index_eav_decimal`, `catalog_product_index_eav_decimal_replica` -The value of `table_suffix` column of the `indexer_state` table determines which table is used for read operations (which include partial reindexes, frontend calls, searching by attributes, etc.), and which table is used for full reindexes. Initially, the value of`table_suffix` is an empty string. For indexer `catalog_product_prices`, this means Magento uses `catalog_product_index_price` for _read operations_ and `catalog_product_index_price_replica` for _full reindexes_. Once the reindex is complete, the value of `table_suffix` is changed to `_replica` and Magento uses `catalog_product_index_price_replica` for _read operations_ and `catalog_product_index_price` for _full reindexes_. The value of `table_suffix` is changed to an empty string, and the cycle repeats. +The value of `table_suffix` column of the `indexer_state` table determines which table is used for read operations (which include partial reindexes, frontend calls, and searching by attributes), and which table is used for full reindexes. Initially, the value of`table_suffix` is an empty string. As an example, for indexer `catalog_product_prices`, this means Magento uses `catalog_product_index_price` for _read operations_ and `catalog_product_index_price_replica` for _full reindexes_. Once the reindex is complete, the value of `table_suffix` is changed to `_replica` and Magento uses `catalog_product_index_price_replica` for _read operations_ and `catalog_product_index_price` for _full reindexes_. The value of `table_suffix` is changed to an empty string, and the cycle repeats. Make sure that these indexers are in "Update By Schedule" mode. If "Update On Save" mode is selected, some data can be lost if you make changes during full reindex. From 7103c3c4c0c83e3a9080a299b971ac85ece52512 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Thu, 13 Apr 2017 21:14:40 -0700 Subject: [PATCH 079/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index 1e250068cfd..b0de0f97cff 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -165,10 +165,6 @@

    Class

    Magento\Deploy\Console\Command\DeployStaticContentCommand Class was removed. - - Magento\ConfigurableProduct\Model\Product\Type\Collection\SalableProcessor - Class was removed. - Magento\ConfigurableProduct\Model\Plugin\AroundProductRepositorySave Class was removed. @@ -493,6 +489,10 @@

    Class

    Magento\Framework\Controller\Result\Redirect::render [protected] Method parameter changed. + + Magento\Framework\Config\View::getDomConfigCopy + [public] Method has been removed. + Magento\Framework\App\Config::__construct [public] Method parameter changed. @@ -881,10 +881,6 @@

    Class

    Magento\ConfigurableProduct\Model\Product\Type\Configurable::hasCacheData [protected] Method has been removed. - - Magento\ConfigurableProduct\Model\Product\Type\Configurable::getSalableUsedProducts - [public] Method has been removed. - Magento\ConfigurableProduct\Model\Product\Type\Configurable::__construct [public] Method parameter changed. From cff1e97750ef808aad9c1a6a7682b92ad82f0e8a Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 14 Apr 2017 11:47:47 +0100 Subject: [PATCH 080/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * renamed to * added level-2 sections: and * converted info (from callout to separate section) that Data Migration Tool does not support split databases --- ...onal.md => migration-migrate-follow-up.md} | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) rename guides/v2.0/migration/{migration-migrate-additional.md => migration-migrate-follow-up.md} (81%) diff --git a/guides/v2.0/migration/migration-migrate-additional.md b/guides/v2.0/migration/migration-migrate-follow-up.md similarity index 81% rename from guides/v2.0/migration/migration-migrate-additional.md rename to guides/v2.0/migration/migration-migrate-follow-up.md index 3efe603259e..2f6aa813d77 100644 --- a/guides/v2.0/migration/migration-migrate-additional.md +++ b/guides/v2.0/migration/migration-migrate-follow-up.md @@ -2,12 +2,12 @@ layout: default group: migration subgroup: D_Migrate using the data migration tool -title: Additional info -menu_title: Additional info +title: Follow-up: info and steps +menu_title: Follow-up: info and steps menu_node: menu_order: 4 version: 2.0 -github_link: migration/migration-migrate-additional.md +github_link: migration/migration-migrate-follow-up.md --- @@ -15,19 +15,27 @@ github_link: migration/migration-migrate-additional.md Some behaviour and logic of Magento 1 has been implemented differently in Magento 2. The Data Migration Tool takes care of it. Although, there are some migration aspects you should know about, and sometimes you must take minor steps for some functionalities to work smoothly after migration. -## Group Prices are converted to Tier Prices +## Information + +### Split database not supported + +The Data Migration Tool doesn't support split databases. + +### Group Prices are converted to Tier Prices All Group Prices are automatically converted to Tier Prices during migration. -## New numbering for sales entities +### New numbering for sales entities Reference numbers for Orders, Invoices, Shipments, Credit Memos, and RMA migrate as is. But after migration, the new Magento 2 number assignment rules will apply. Thus, the numeration for the new sales entities will be different. -## Resave Customer Segments [Magento 2 EE only] +## Steps + +### Resave Customer Segments [Magento 2 EE only] After migration, Customer Segments must be resaved from the Admin Panel to get them up and running. -## Configure time zone offset +### Configure time zone offset If your Magento 1 server has the time zone set to anything other than UTC, you must configure the offset to migrate timestamp fields. To transform time to a different time zone, use the Data Migration Tool's `\Migration\Handler\Timezone` handler. @@ -50,7 +58,3 @@ In the following example, the Magento 1 server timezone is UTC-7. To convert the {% endhighlight %} - -
    -

    The Data Migration Tool doesn't support split database.

    -
    From 84a28ee62c03f0a4003506d00b2e9aa48d8c09e9 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 14 Apr 2017 11:55:25 +0100 Subject: [PATCH 081/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * renamed the section to remove non-allowed symbols from file name --- guides/v2.0/migration/migration-migrate-follow-up.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.0/migration/migration-migrate-follow-up.md b/guides/v2.0/migration/migration-migrate-follow-up.md index 2f6aa813d77..86248446a1f 100644 --- a/guides/v2.0/migration/migration-migrate-follow-up.md +++ b/guides/v2.0/migration/migration-migrate-follow-up.md @@ -2,8 +2,8 @@ layout: default group: migration subgroup: D_Migrate using the data migration tool -title: Follow-up: info and steps -menu_title: Follow-up: info and steps +title: Follow-up (info and steps) +menu_title: Follow-up (info and steps) menu_node: menu_order: 4 version: 2.0 From 5680954bbefa44bea556a09ed8e31e6ab0599b57 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 14 Apr 2017 13:00:07 +0100 Subject: [PATCH 082/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * removed old symlinks before creating new ones --- guides/v2.1/migration/migration-migrate-additional.md | 1 - guides/v2.2/migration/migration-migrate-additional.md | 1 - 2 files changed, 2 deletions(-) delete mode 120000 guides/v2.1/migration/migration-migrate-additional.md delete mode 120000 guides/v2.2/migration/migration-migrate-additional.md diff --git a/guides/v2.1/migration/migration-migrate-additional.md b/guides/v2.1/migration/migration-migrate-additional.md deleted file mode 120000 index 5c934b39720..00000000000 --- a/guides/v2.1/migration/migration-migrate-additional.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.0/migration/migration-migrate-additional.md \ No newline at end of file diff --git a/guides/v2.2/migration/migration-migrate-additional.md b/guides/v2.2/migration/migration-migrate-additional.md deleted file mode 120000 index 800b381a1be..00000000000 --- a/guides/v2.2/migration/migration-migrate-additional.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/migration/migration-migrate-additional.md \ No newline at end of file From 69dbb4c3c0e18b2bb330fe805d762b542a692eb8 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 14 Apr 2017 13:05:32 +0100 Subject: [PATCH 083/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * updated symlinks --- guides/v2.1/migration/migration-migrate-follow-up.md | 1 + guides/v2.2/migration/migration-migrate-follow-up.md | 1 + 2 files changed, 2 insertions(+) create mode 120000 guides/v2.1/migration/migration-migrate-follow-up.md create mode 120000 guides/v2.2/migration/migration-migrate-follow-up.md diff --git a/guides/v2.1/migration/migration-migrate-follow-up.md b/guides/v2.1/migration/migration-migrate-follow-up.md new file mode 120000 index 00000000000..c32a98ee67f --- /dev/null +++ b/guides/v2.1/migration/migration-migrate-follow-up.md @@ -0,0 +1 @@ +../../v2.0/migration/migration-migrate-follow-up.md \ No newline at end of file diff --git a/guides/v2.2/migration/migration-migrate-follow-up.md b/guides/v2.2/migration/migration-migrate-follow-up.md new file mode 120000 index 00000000000..c32a98ee67f --- /dev/null +++ b/guides/v2.2/migration/migration-migrate-follow-up.md @@ -0,0 +1 @@ +../../v2.0/migration/migration-migrate-follow-up.md \ No newline at end of file From ab057cfb4b4b868cba63198e605d5604eed668b2 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 14 Apr 2017 13:51:56 +0100 Subject: [PATCH 084/301] MAGETWO-67353: Resave Customer Segments after migration (update Migration Guide) * fixed grammar in heading --- guides/v2.0/migration/migration-migrate-follow-up.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/migration/migration-migrate-follow-up.md b/guides/v2.0/migration/migration-migrate-follow-up.md index 86248446a1f..e410cc447a0 100644 --- a/guides/v2.0/migration/migration-migrate-follow-up.md +++ b/guides/v2.0/migration/migration-migrate-follow-up.md @@ -21,7 +21,7 @@ Some behaviour and logic of Magento 1 has been implemented differently in Magent The Data Migration Tool doesn't support split databases. -### Group Prices are converted to Tier Prices +### Group Prices converted to Tier Prices All Group Prices are automatically converted to Tier Prices during migration. From 154c62a880f0bc3e29b88aeb13db7875da97feb3 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Fri, 14 Apr 2017 16:43:56 +0300 Subject: [PATCH 085/301] edits --- .../concepts/ui_comp_xmldeclaration_concept.md | 2 +- .../concepts/ui_comp_xmlconfig_structure.md | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md b/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md index 0040d297edc..aca256a9bd1 100644 --- a/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md +++ b/guides/v2.1/ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md @@ -4,7 +4,7 @@ group: UI_Components_guide subgroup: concepts title: About XML сonfiguration of UI сomponents menu_title: About XML сonfiguration of UI сomponents -menu_order: 30 +menu_order: 13 version: 2.1 github_link: ui_comp_guide/concepts/ui_comp_xmldeclaration_concept.md --- diff --git a/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md b/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md index b22c0b22392..8a673e0deb9 100644 --- a/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md +++ b/guides/v2.2/ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md @@ -4,23 +4,28 @@ group: UI_Components_guide subgroup: concepts title: UI components XML configuration structure menu_title: UI components XML configuration structure -menu_order: 6 +menu_order: 15 version: 2.2 github_link: ui_comp_guide/concepts/ui_comp_xmlconfig_structure.md --- - Magento uses strict structure to declare UiComponents. + + Writing UiComponent’s tag is the first step to declare component. As example:
    -The first child of UiComponent should be node with name “data” if it is needed, as example + +The first child of UiComponent should be node with name “data” if it is needed, +

    When it might be needed?

    +as example
    // Some arbitrary structure
    + The second child can be tag that introduces the configuration block for UiComponent. Example:
    From eb14ee5e5438777952e6c6b4e47504f9be1d8374 Mon Sep 17 00:00:00 2001 From: Dale Sikkema Date: Fri, 14 Apr 2017 10:07:37 -0500 Subject: [PATCH 086/301] fix navbar --- guides/v2.0/cloud/access-acct/fastly.md | 2 +- guides/v2.0/cloud/access-acct/first-time-setup.md | 2 +- .../cloud/access-acct/first-time-setup_dir-structure.md | 2 +- .../access-acct/first-time-setup_import-first-steps.md | 2 +- .../cloud/access-acct/first-time-setup_import-import.md | 2 +- .../cloud/access-acct/first-time-setup_import-parent.md | 2 +- .../cloud/access-acct/first-time-setup_import-prepare.md | 2 +- .../cloud/access-acct/first-time-setup_import-prereq.md | 2 +- .../v2.0/cloud/access-acct/first-time-setup_template.md | 2 +- guides/v2.0/cloud/access-acct/resources.md | 2 +- guides/v2.0/cloud/access-acct/trouble.md | 2 +- guides/v2.0/cloud/admin/admin-submodules.md | 2 +- guides/v2.0/cloud/before/before-project-owner.md | 2 +- guides/v2.0/cloud/before/before-setup-env-1_get-start.md | 2 +- guides/v2.0/cloud/before/before-setup-env-2_clone.md | 2 +- guides/v2.0/cloud/before/before-setup-env-cron.md | 2 +- guides/v2.0/cloud/before/before-setup-env-env.md | 2 +- guides/v2.0/cloud/before/before-setup-env-install.md | 2 +- guides/v2.0/cloud/before/before-setup-env-keys.md | 2 +- guides/v2.0/cloud/before/before-setup-env-parent.md | 2 +- guides/v2.0/cloud/before/before-setup-env-perms.md | 2 +- guides/v2.0/cloud/before/before-workspace-cli.md | 2 +- .../v2.0/cloud/before/before-workspace-cloud-account.md | 2 +- .../v2.0/cloud/before/before-workspace-file-sys-owner.md | 2 +- .../v2.0/cloud/before/before-workspace-magento-prereqs.md | 2 +- guides/v2.0/cloud/before/before-workspace-parent.md | 2 +- guides/v2.0/cloud/before/before-workspace-php.md | 2 +- guides/v2.0/cloud/before/before-workspace-ssh.md | 2 +- guides/v2.0/cloud/before/before-workspace.md | 2 +- guides/v2.0/cloud/before/integration-ip-addr.md | 2 +- guides/v2.0/cloud/{cli-ref => reference}/cli-ref-topic.md | 8 ++++---- guides/v2.0/cloud/reference/cloud-composer.md | 2 +- guides/v2.0/cloud/reference/discover-arch.md | 6 +++--- guides/v2.0/cloud/reference/discover-deploy.md | 2 +- guides/v2.0/cloud/reference/git-integration.md | 4 ++-- guides/v2.0/cloud/release-notes/CloudReleaseNotes.md | 2 +- guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md | 2 +- guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md | 2 +- guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md | 2 +- guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md | 2 +- guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md | 2 +- guides/v2.0/cloud/requirements/cloud-requirements-git.md | 2 +- .../v2.0/cloud/requirements/cloud-requirements-license.md | 2 +- guides/v2.0/cloud/requirements/cloud-requirements.md | 2 +- guides/v2.0/cloud/welcome/10000-ft-overview.md | 2 +- guides/v2.0/cloud/welcome/bk-cloud.md | 2 +- guides/v2.0/cloud/welcome/discover-workflow.md | 2 +- guides/v2.0/cloud/welcome/get-help.md | 2 +- 48 files changed, 54 insertions(+), 54 deletions(-) rename guides/v2.0/cloud/{cli-ref => reference}/cli-ref-topic.md (96%) diff --git a/guides/v2.0/cloud/access-acct/fastly.md b/guides/v2.0/cloud/access-acct/fastly.md index 50a36892ed8..befee3927d0 100644 --- a/guides/v2.0/cloud/access-acct/fastly.md +++ b/guides/v2.0/cloud/access-acct/fastly.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Set up Fastly menu_title: Set up Fastly menu_order: 500 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup.md b/guides/v2.0/cloud/access-acct/first-time-setup.md index 0af0fba47f6..11270451927 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: First-time setup (developers) menu_title: First-time setup (developers) menu_order: 1 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md index b51d63dd8cc..8b39230a58e 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_dir-structure.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Project directory structure menu_title: Project directory structure menu_order: 600 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md index 80feb78875d..8953719ef71 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-first-steps.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: First steps for importing Magento EE menu_title: First steps for importing Magento EE menu_order: 151 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md index f916ba1f2c1..b15f0b639f1 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-import.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Import Magento EE into Magento Enterprise Cloud Edition menu_title: Import Magento EE into Magento Enterprise Cloud Edition menu_order: 154 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md index f77a570ac62..9f71ab4ea9a 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Import an existing Magento project menu_title: Import an existing Magento project menu_order: 150 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md index 0754ddbb26f..4c1a36d8e13 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-prepare.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Prepare your existing Magento EE system menu_title: Prepare your existing Magento EE system menu_order: 153 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md b/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md index 86a142d9e46..1f79bb8db60 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_import-prereq.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Find the information you need for your import menu_title: Find the information you need for your import menu_order: 152 diff --git a/guides/v2.0/cloud/access-acct/first-time-setup_template.md b/guides/v2.0/cloud/access-acct/first-time-setup_template.md index 6ad71774c96..9984874b521 100644 --- a/guides/v2.0/cloud/access-acct/first-time-setup_template.md +++ b/guides/v2.0/cloud/access-acct/first-time-setup_template.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Create a new Magento project menu_title: Create a new Magento project menu_order: 100 diff --git a/guides/v2.0/cloud/access-acct/resources.md b/guides/v2.0/cloud/access-acct/resources.md index 2fa9667bab8..4077f340819 100644 --- a/guides/v2.0/cloud/access-acct/resources.md +++ b/guides/v2.0/cloud/access-acct/resources.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Magento 2 resources menu_title: Magento 2 resources menu_order: 550 diff --git a/guides/v2.0/cloud/access-acct/trouble.md b/guides/v2.0/cloud/access-acct/trouble.md index c668bbe436c..6a88f4b942f 100644 --- a/guides/v2.0/cloud/access-acct/trouble.md +++ b/guides/v2.0/cloud/access-acct/trouble.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Troubleshoot deployment menu_title: Troubleshoot deployment menu_order: 700 diff --git a/guides/v2.0/cloud/admin/admin-submodules.md b/guides/v2.0/cloud/admin/admin-submodules.md index 795acde678d..e9a7588f579 100644 --- a/guides/v2.0/cloud/admin/admin-submodules.md +++ b/guides/v2.0/cloud/admin/admin-submodules.md @@ -1,7 +1,7 @@ --- layout: default group: -subgroup: 30_admin +subgroup: 030_admin title: Reuse code across projects with Git submodules menu_title: Reuse code across projects with Git submodules menu_order: 200 diff --git a/guides/v2.0/cloud/before/before-project-owner.md b/guides/v2.0/cloud/before/before-project-owner.md index c414c35caac..dfbbca94260 100644 --- a/guides/v2.0/cloud/before/before-project-owner.md +++ b/guides/v2.0/cloud/before/before-project-owner.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 60_setup +subgroup: 060_setup title: Account owner tasks menu_title: Account owner tasks menu_order: 1 diff --git a/guides/v2.0/cloud/before/before-setup-env-1_get-start.md b/guides/v2.0/cloud/before/before-setup-env-1_get-start.md index 2b1756b0fe1..f9c5979d03e 100644 --- a/guides/v2.0/cloud/before/before-setup-env-1_get-start.md +++ b/guides/v2.0/cloud/before/before-setup-env-1_get-start.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 1, Get started setting up an environment menu_title: Step 1, Get started setting up an environment menu_order: 161 diff --git a/guides/v2.0/cloud/before/before-setup-env-2_clone.md b/guides/v2.0/cloud/before/before-setup-env-2_clone.md index 0289de3db7f..1d6dec5fe6f 100644 --- a/guides/v2.0/cloud/before/before-setup-env-2_clone.md +++ b/guides/v2.0/cloud/before/before-setup-env-2_clone.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 2, Clone the project menu_title: Step 2, Clone the project menu_order: 162 diff --git a/guides/v2.0/cloud/before/before-setup-env-cron.md b/guides/v2.0/cloud/before/before-setup-env-cron.md index 3551c64a690..12e1b62a0ec 100644 --- a/guides/v2.0/cloud/before/before-setup-env-cron.md +++ b/guides/v2.0/cloud/before/before-setup-env-cron.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 4, Set up cron menu_title: Step 4, Set up cron menu_order: 164 diff --git a/guides/v2.0/cloud/before/before-setup-env-env.md b/guides/v2.0/cloud/before/before-setup-env-env.md index 8bf812af8b1..324fd819572 100644 --- a/guides/v2.0/cloud/before/before-setup-env-env.md +++ b/guides/v2.0/cloud/before/before-setup-env-env.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 5, Clone or branch an environment menu_title: Step 5, Clone or branch an environment menu_order: 165 diff --git a/guides/v2.0/cloud/before/before-setup-env-install.md b/guides/v2.0/cloud/before/before-setup-env-install.md index df89b00abd5..cb609238ac1 100644 --- a/guides/v2.0/cloud/before/before-setup-env-install.md +++ b/guides/v2.0/cloud/before/before-setup-env-install.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 6, Install Magento menu_title: Step 6, Install Magento menu_order: 166 diff --git a/guides/v2.0/cloud/before/before-setup-env-keys.md b/guides/v2.0/cloud/before/before-setup-env-keys.md index 7dde08aa9ea..e4bbe144ccb 100644 --- a/guides/v2.0/cloud/before/before-setup-env-keys.md +++ b/guides/v2.0/cloud/before/before-setup-env-keys.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 3, Set up authentication keys menu_title: Step 3, Set up authentication keys menu_order: 163 diff --git a/guides/v2.0/cloud/before/before-setup-env-parent.md b/guides/v2.0/cloud/before/before-setup-env-parent.md index f8906c38c59..48261566fad 100644 --- a/guides/v2.0/cloud/before/before-setup-env-parent.md +++ b/guides/v2.0/cloud/before/before-setup-env-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Set up an environment and install Magento locally menu_title: Set up an environment and install Magento locally menu_order: 160 diff --git a/guides/v2.0/cloud/before/before-setup-env-perms.md b/guides/v2.0/cloud/before/before-setup-env-perms.md index 6a61fb2660c..7a2cd53020b 100644 --- a/guides/v2.0/cloud/before/before-setup-env-perms.md +++ b/guides/v2.0/cloud/before/before-setup-env-perms.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 7, Set file system permissions and ownership menu_title: Step 7, Set file system permissions and ownership menu_order: 167 diff --git a/guides/v2.0/cloud/before/before-workspace-cli.md b/guides/v2.0/cloud/before/before-workspace-cli.md index 4f5dc0bfc61..7ea16aafac8 100644 --- a/guides/v2.0/cloud/before/before-workspace-cli.md +++ b/guides/v2.0/cloud/before/before-workspace-cli.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 2, Install the CLI menu_title: Step 2, Install the CLI menu_order: 54 diff --git a/guides/v2.0/cloud/before/before-workspace-cloud-account.md b/guides/v2.0/cloud/before/before-workspace-cloud-account.md index 3c32ddaf7d0..ea8ffc0da2c 100644 --- a/guides/v2.0/cloud/before/before-workspace-cloud-account.md +++ b/guides/v2.0/cloud/before/before-workspace-cloud-account.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 1, Set up an account menu_title: Step 1, Set up an account menu_order: 52 diff --git a/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md b/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md index 53b84ce386a..e24dc8a9b22 100644 --- a/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md +++ b/guides/v2.0/cloud/before/before-workspace-file-sys-owner.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 6, Set up the Magento file system owner menu_title: Step 6, Set up the Magento file system owner menu_order: 58 diff --git a/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md b/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md index cd406ff3716..505968e80a8 100644 --- a/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md +++ b/guides/v2.0/cloud/before/before-workspace-magento-prereqs.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 4, Install Magento prerequisites menu_title: Step 4, Install Magento prerequisites menu_order: 56 diff --git a/guides/v2.0/cloud/before/before-workspace-parent.md b/guides/v2.0/cloud/before/before-workspace-parent.md index 95fe57a71c3..075fb3e8d79 100644 --- a/guides/v2.0/cloud/before/before-workspace-parent.md +++ b/guides/v2.0/cloud/before/before-workspace-parent.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Set up a Magento workspace menu_title: Set up a Magento workspace menu_order: 50 diff --git a/guides/v2.0/cloud/before/before-workspace-php.md b/guides/v2.0/cloud/before/before-workspace-php.md index 441abee78d9..1b6fca4b9df 100644 --- a/guides/v2.0/cloud/before/before-workspace-php.md +++ b/guides/v2.0/cloud/before/before-workspace-php.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 5, Set up PHP and MySQL menu_title: Step 5, Set up PHP and MySQL menu_order: 57 diff --git a/guides/v2.0/cloud/before/before-workspace-ssh.md b/guides/v2.0/cloud/before/before-workspace-ssh.md index 2b2f827b582..5a00ec370ce 100644 --- a/guides/v2.0/cloud/before/before-workspace-ssh.md +++ b/guides/v2.0/cloud/before/before-workspace-ssh.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Step 3, Enable Secure Shell (SSH) menu_title: Step 3, Enable Secure Shell (SSH) menu_order: 55 diff --git a/guides/v2.0/cloud/before/before-workspace.md b/guides/v2.0/cloud/before/before-workspace.md index fd6787830a4..0d234bbfd6c 100644 --- a/guides/v2.0/cloud/before/before-workspace.md +++ b/guides/v2.0/cloud/before/before-workspace.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Overview of a Magento workspace menu_title: Overview of a Magento workspace menu_order: 51 diff --git a/guides/v2.0/cloud/before/integration-ip-addr.md b/guides/v2.0/cloud/before/integration-ip-addr.md index f2f27b24514..1afdca73d60 100644 --- a/guides/v2.0/cloud/before/integration-ip-addr.md +++ b/guides/v2.0/cloud/before/integration-ip-addr.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 80_setup +subgroup: 080_setup title: Public IP addresses for integration environments menu_title: Public IP addresses for integration environments menu_order: 900 diff --git a/guides/v2.0/cloud/cli-ref/cli-ref-topic.md b/guides/v2.0/cloud/reference/cli-ref-topic.md similarity index 96% rename from guides/v2.0/cloud/cli-ref/cli-ref-topic.md rename to guides/v2.0/cloud/reference/cli-ref-topic.md index 1b4a5df7888..e82bc3b1f6c 100644 --- a/guides/v2.0/cloud/cli-ref/cli-ref-topic.md +++ b/guides/v2.0/cloud/reference/cli-ref-topic.md @@ -1,13 +1,13 @@ --- layout: default group: cli -subgroup: 15_cli +subgroup: 15_reference title: CLI command reference menu_title: CLI command reference -menu_order: 1 -menu_node: parent +menu_order: 2 +menu_node: version: 2.0 -github_link: cloud/cli-ref/cli-ref-topic.md +github_link: cloud/reference/cli-ref-topic.md --- ## CLI command reference {#cloud-cli-ref} diff --git a/guides/v2.0/cloud/reference/cloud-composer.md b/guides/v2.0/cloud/reference/cloud-composer.md index 0af23263bae..b9a73045bd8 100644 --- a/guides/v2.0/cloud/reference/cloud-composer.md +++ b/guides/v2.0/cloud/reference/cloud-composer.md @@ -7,7 +7,7 @@ menu_title: How Cloud Uses Composer menu_node: menu_order: 49 version: 2.0 -github_link: cloud/cloud-composer.md +github_link: cloud/reference/cloud-composer.md --- This topic discusses how we use [Composer](https://getcomposer.org/doc){:target="_blank"} to manage dependencies and upgrades in Magento Enterprise Cloud Edition, and provides context about the packages that comprise Cloud, what the packages do, and how they fit together. diff --git a/guides/v2.0/cloud/reference/discover-arch.md b/guides/v2.0/cloud/reference/discover-arch.md index 39eda9d4a80..0a15aa65e5b 100644 --- a/guides/v2.0/cloud/reference/discover-arch.md +++ b/guides/v2.0/cloud/reference/discover-arch.md @@ -4,10 +4,10 @@ group: cloud subgroup: 15_reference title: Architecture menu_title: Architecture -menu_order: 2 -menu_node: +menu_order: 1 +menu_node: parent version: 2.0 -github_link: cloud/discover-arch.md +github_link: cloud/reference/discover-arch.md --- Magento Enterprise Cloud Edition enables you to use the following three types of systems. diff --git a/guides/v2.0/cloud/reference/discover-deploy.md b/guides/v2.0/cloud/reference/discover-deploy.md index e21f36823df..26d72033522 100644 --- a/guides/v2.0/cloud/reference/discover-deploy.md +++ b/guides/v2.0/cloud/reference/discover-deploy.md @@ -7,7 +7,7 @@ menu_title: Deployment process menu_order: 4 menu_node: version: 2.0 -github_link: cloud/discover-deploy.md +github_link: cloud/reference/discover-deploy.md --- Deploying Magento means simply pushing the source code to your Git repository. The Git repository is part of your projects cluster so it is totally isolated from diff --git a/guides/v2.0/cloud/reference/git-integration.md b/guides/v2.0/cloud/reference/git-integration.md index df8bc988d38..a3839f6e903 100644 --- a/guides/v2.0/cloud/reference/git-integration.md +++ b/guides/v2.0/cloud/reference/git-integration.md @@ -5,9 +5,9 @@ subgroup: 15_reference title: How Cloud Uses Composer menu_title: How Cloud Uses Composer menu_node: -menu_order: 49 +menu_order: 48 version: 2.0 -github_link: cloud/cloud-composer.md +github_link: cloud/reference/cloud-composer.md --- ### Git knowledge We assume you have a good working knowledge of Git. If not, consult the following resources: diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md index 59a61c66f93..0ac22d4b450 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: Magento Enterprise Cloud Edition Release Notes menu_title: Magento Enterprise Cloud Edition Release Notes menu_order: 1 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md index 7a5b31a4209..224e8dd9849 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes101.4.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: magento-cloud-configuration release 101.4.1 Release Notes menu_title: magento-cloud-configuration release 101.4.1 Release Notes menu_order: 47 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md index f7dfd807b64..5dc5d47a485 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.2.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.2 and 2.0.10 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.2 and 2.0.10 Release Notes menu_order: 99 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md index 9b42315fbe8..be0a10f0fc5 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.3.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.3 and 2.0.11 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.3 and 2.0.11 Release Notes menu_order: 50 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md index 6e331b583f8..cdc85fd4ebe 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.4.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.4 and 2.0.12 Release Notes menu_order: 49 diff --git a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md index 663d30f2a9a..8c3a17c5400 100644 --- a/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md +++ b/guides/v2.0/cloud/release-notes/CloudReleaseNotes2.1.5.md @@ -1,7 +1,7 @@ --- layout: default group: -subgroup: 30_ReleaseNotes +subgroup: 030_ReleaseNotes title: Magento Enterprise Cloud Edition 2.1.5 and 2.0.13 Release Notes menu_title: Magento Enterprise Cloud Edition 2.1.5 and 2.0.13 Release Notes menu_order: 48 diff --git a/guides/v2.0/cloud/requirements/cloud-requirements-git.md b/guides/v2.0/cloud/requirements/cloud-requirements-git.md index 094ad41cc9e..d4aa10eecac 100644 --- a/guides/v2.0/cloud/requirements/cloud-requirements-git.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements-git.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 20_requirements +subgroup: 020_requirements title: Git requirements menu_title: Git requirements menu_order: 3 diff --git a/guides/v2.0/cloud/requirements/cloud-requirements-license.md b/guides/v2.0/cloud/requirements/cloud-requirements-license.md index b5f97fc678e..6d4a7a62a03 100644 --- a/guides/v2.0/cloud/requirements/cloud-requirements-license.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements-license.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 20_requirements +subgroup: 020_requirements title: License and authentication requirements menu_title: License and authentication requirements menu_order: 2 diff --git a/guides/v2.0/cloud/requirements/cloud-requirements.md b/guides/v2.0/cloud/requirements/cloud-requirements.md index 6c526d94024..08d5e087f7b 100644 --- a/guides/v2.0/cloud/requirements/cloud-requirements.md +++ b/guides/v2.0/cloud/requirements/cloud-requirements.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 20_requirements +subgroup: 020_requirements title: Magento Enterprise Cloud Edition requirements menu_title: Magento Enterprise Cloud Edition requirements menu_order: 1 diff --git a/guides/v2.0/cloud/welcome/10000-ft-overview.md b/guides/v2.0/cloud/welcome/10000-ft-overview.md index b59e0adc7ee..010dff76975 100644 --- a/guides/v2.0/cloud/welcome/10000-ft-overview.md +++ b/guides/v2.0/cloud/welcome/10000-ft-overview.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_welcome +subgroup: 010_welcome title: The 10,000 ft overview menu_title: 10,000 ft overview menu_order: 20 diff --git a/guides/v2.0/cloud/welcome/bk-cloud.md b/guides/v2.0/cloud/welcome/bk-cloud.md index 6a393d146e2..61cd770cbdd 100644 --- a/guides/v2.0/cloud/welcome/bk-cloud.md +++ b/guides/v2.0/cloud/welcome/bk-cloud.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_welcome +subgroup: 010_welcome title: Welcome to Magento Enterprise Cloud Edition landing-page: Cloud menu_title: Welcome to Magento Enterprise Cloud Edition diff --git a/guides/v2.0/cloud/welcome/discover-workflow.md b/guides/v2.0/cloud/welcome/discover-workflow.md index 21bd3cfd5b7..70c486015bc 100644 --- a/guides/v2.0/cloud/welcome/discover-workflow.md +++ b/guides/v2.0/cloud/welcome/discover-workflow.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_welcome +subgroup: 010_welcome title: Workflow menu_title: Workflow menu_order: 30 diff --git a/guides/v2.0/cloud/welcome/get-help.md b/guides/v2.0/cloud/welcome/get-help.md index 527b5a1b37e..19f32ed0499 100644 --- a/guides/v2.0/cloud/welcome/get-help.md +++ b/guides/v2.0/cloud/welcome/get-help.md @@ -1,7 +1,7 @@ --- layout: default group: cloud -subgroup: 10_welcome +subgroup: 010_welcome title: Get help with your deployment menu_title: Get help with your deployment menu_order: 40 From 04ec4ab4416a2558a56b023088ef0f1b6c13544c Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 10:34:29 -0500 Subject: [PATCH 087/301] edits --- guides/v2.2/extension-dev-guide/indexer-batch.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 757597d0dea..4aff0aab6a2 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -21,7 +21,7 @@ When the allocated memory size for a temporary table will be greater than 20% of `Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size.` -To prevent this error message, update `innodb_buffer_pool_size` or decrease the batch size value (which decreases memory usages for the temporary table). +To prevent this error message, update `innodb_buffer_pool_size` or decrease the batch size value (which decreases memory usage for the temporary table).
    The interface `BatchSizeManagementInterface` provides the ability to set the MEMORY table size for indexer processes according to batch size and index row size. @@ -125,3 +125,9 @@ Make sure that these indexers are in "Update By Schedule" mode. If "Update On Sa
    Indexer table switching mechanism requires additional database storage.
    + +### Related topics +{:.no_toc} + +* [Indexing overview]({{page.baseurl}}extension-dev-guide/indexing.html) +* [Adding a custom indexer]({{page.baseurl}}extension-dev-guide/indexing-custom.html) From 0078da3906f8dbf590e4f6ec5aa3515c28351443 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 11:36:37 -0500 Subject: [PATCH 088/301] final edits --- guides/v2.2/extension-dev-guide/indexer-batch.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 4aff0aab6a2..02c41bfd033 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -80,6 +80,16 @@ catalog_product_price (Product Price) | `Magento/Catalog/etc/di.xml` | `Magento\ cataloginventory_stock (Stock) | `Magento/CatalogInventory/etc/di.xml` | `Magento\CatalogInventory\Model\Indexer\Stock\Action\Full` | batchRowsCount['default'] | 200 catalog_category_product (Category Products)| `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\Indexer\Category\Product\Action\Full` | batchRowsCount | 100000 +Changing the batch size can help you optimize indexer running time. For example, for a store with the following characteristcs: + +* 10 websites +* 10 store groups +* 20 store views +* 300 tier prices +* About 40,000 products (of which 254 are configurable) + +reducing the batch size for `catalog_product_price` indexer from 5000 to 1000 decreases the execution time from about 4 hours to less than 2 hours. You can experiement to determine the ideal batch size. In general, halving the batch size can decrease the indexer execution time. + The following examples illustrate how to define a custom batch size for configurable products. Add these samples to your `{Your_Module_Name}/etc/di.xml`. {% highlight xml %} From 41135b0596d25f72ab5e2f33503cdbaf7626c1f3 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 12:21:22 -0500 Subject: [PATCH 089/301] final edits --- guides/v2.2/extension-dev-guide/indexer-batch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 02c41bfd033..2e76310f236 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -49,7 +49,7 @@ interface BatchSizeManagementInterface {% endhighlight %} -The interface `IndexTableRowSizeEstimatorInterface` calculates the memory size for all rows per entity in the index table.. The entity can store several rows in an index table generated by different store dimensions, such as count of websites and customer groups. +The interface `IndexTableRowSizeEstimatorInterface` calculates the memory size for all rows per entity in the index table. The entity can store several rows in an index table generated by different store dimensions, such as count of websites and customer groups. {% highlight php %} namespace Magento\Framework\Indexer; From 31d2a58e07f79339916fcf1172f55f25087785b6 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 12:53:09 -0500 Subject: [PATCH 090/301] copy order tutorial to 2.2 --- guides/v2.2/get-started/order-tutorial/order-add-items.md | 1 + guides/v2.2/get-started/order-tutorial/order-admin-token.md | 1 + guides/v2.2/get-started/order-tutorial/order-config-store.md | 1 + guides/v2.2/get-started/order-tutorial/order-create-customer.md | 1 + guides/v2.2/get-started/order-tutorial/order-create-invoice.md | 1 + guides/v2.2/get-started/order-tutorial/order-create-quote.md | 1 + guides/v2.2/get-started/order-tutorial/order-create-shipment.md | 1 + guides/v2.2/get-started/order-tutorial/order-intro.md | 1 + guides/v2.2/get-started/order-tutorial/order-issue-refund.md | 1 + guides/v2.2/get-started/order-tutorial/order-prepare-checkout.md | 1 + 10 files changed, 10 insertions(+) create mode 120000 guides/v2.2/get-started/order-tutorial/order-add-items.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-admin-token.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-config-store.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-create-customer.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-create-invoice.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-create-quote.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-create-shipment.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-intro.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-issue-refund.md create mode 120000 guides/v2.2/get-started/order-tutorial/order-prepare-checkout.md diff --git a/guides/v2.2/get-started/order-tutorial/order-add-items.md b/guides/v2.2/get-started/order-tutorial/order-add-items.md new file mode 120000 index 00000000000..966b659c5cf --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-add-items.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-add-items.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-admin-token.md b/guides/v2.2/get-started/order-tutorial/order-admin-token.md new file mode 120000 index 00000000000..ed2b206d9ea --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-admin-token.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-admin-token.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-config-store.md b/guides/v2.2/get-started/order-tutorial/order-config-store.md new file mode 120000 index 00000000000..877a422afa0 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-config-store.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-config-store.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-create-customer.md b/guides/v2.2/get-started/order-tutorial/order-create-customer.md new file mode 120000 index 00000000000..23e5d25646d --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-create-customer.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-create-customer.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-create-invoice.md b/guides/v2.2/get-started/order-tutorial/order-create-invoice.md new file mode 120000 index 00000000000..a7cc86c2beb --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-create-invoice.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-create-invoice.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-create-quote.md b/guides/v2.2/get-started/order-tutorial/order-create-quote.md new file mode 120000 index 00000000000..898c4e44666 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-create-quote.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-create-quote.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-create-shipment.md b/guides/v2.2/get-started/order-tutorial/order-create-shipment.md new file mode 120000 index 00000000000..f0a28615275 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-create-shipment.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-create-shipment.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-intro.md b/guides/v2.2/get-started/order-tutorial/order-intro.md new file mode 120000 index 00000000000..99125583f31 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-intro.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-intro.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-issue-refund.md b/guides/v2.2/get-started/order-tutorial/order-issue-refund.md new file mode 120000 index 00000000000..bb55395bef7 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-issue-refund.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-issue-refund.md \ No newline at end of file diff --git a/guides/v2.2/get-started/order-tutorial/order-prepare-checkout.md b/guides/v2.2/get-started/order-tutorial/order-prepare-checkout.md new file mode 120000 index 00000000000..c5a472a4dd3 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-prepare-checkout.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-prepare-checkout.md \ No newline at end of file From 7a1616c09ea566f00a5793a6cfd531a363c4a33f Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 13:22:39 -0500 Subject: [PATCH 091/301] adding missing file --- guides/v2.2/get-started/order-tutorial/order-create-order.md | 1 + 1 file changed, 1 insertion(+) create mode 120000 guides/v2.2/get-started/order-tutorial/order-create-order.md diff --git a/guides/v2.2/get-started/order-tutorial/order-create-order.md b/guides/v2.2/get-started/order-tutorial/order-create-order.md new file mode 120000 index 00000000000..520ee771cd8 --- /dev/null +++ b/guides/v2.2/get-started/order-tutorial/order-create-order.md @@ -0,0 +1 @@ +../../../v2.1/get-started/order-tutorial/order-create-order.md \ No newline at end of file From d4beb03aab9ec45a5b0072e63a8d3e3c552b618d Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 13:45:53 -0500 Subject: [PATCH 092/301] Updating list of SOAP services --- _includes/webapi/services21.md | 186 +++++++++++++++++++++++++++++++ guides/v2.1/soap/bk-soap.md | 193 +-------------------------------- 2 files changed, 187 insertions(+), 192 deletions(-) create mode 100644 _includes/webapi/services21.md diff --git a/_includes/webapi/services21.md b/_includes/webapi/services21.md new file mode 100644 index 00000000000..b7cac868df4 --- /dev/null +++ b/_includes/webapi/services21.md @@ -0,0 +1,186 @@ +
    + +## Magento Enterprise Edition (EE) Web APIs Services per Module {#eelist} + +The Web APIs for Magento EE are available on EE installations only. EE installations automatically have access to all Community Edition (CE) REST APIs. + +### Customer balance + customerBalanceBalanceManagementV1 + +### Gift cards + giftCardAccountGiftCardAccountManagementV1 + giftCardAccountGuestGiftCardAccountManagementV1 + giftRegistryGuestCartShippingMethodManagementV1 + giftRegistryShippingMethodManagementV1 + +### Gift wrapping + giftWrappingWrappingRepositoryV1 + +### Reward + rewardRewardManagementV1 + +### RMA + rmaCommentManagementV1 + rmaRmaAttributesManagementV1 + rmaRmaManagementV1 + rmaRmaRepositoryV1 + rmaTrackManagementV1 + +### Worldpay + worldpayGuestPaymentInformationManagementProxyV1 + + +## Magento Community Edition (CE) Web APIs Services per Module {#celist} + + The Magento CE Web APIs are available on all EE and CE installations. + +### Backend + backendModuleServiceV1 + +### Bundle product + bundleProductLinkManagementV1 + bundleProductOptionManagementV1 + bundleProductOptionRepositoryV1 + bundleProductOptionTypeListV1 + +### Catalog + catalogAttributeSetManagementV1 + catalogAttributeSetRepositoryV1 + catalogCategoryAttributeOptionManagementV1 + catalogCategoryAttributeRepositoryV1 + catalogCategoryLinkManagementV1 + catalogCategoryLinkRepositoryV1 + catalogCategoryManagementV1 + catalogCategoryRepositoryV1 + catalogProductAttributeGroupRepositoryV1 + catalogProductAttributeManagementV1 + catalogProductAttributeMediaGalleryManagementV1 + catalogProductAttributeOptionManagementV1 + catalogProductAttributeRepositoryV1 + catalogProductAttributeTypesListV1 + catalogProductCustomOptionRepositoryV1 + catalogProductCustomOptionTypeListV1 + catalogProductLinkManagementV1 + catalogProductLinkRepositoryV1 + catalogProductLinkTypeListV1 + catalogProductMediaAttributeManagementV1 + catalogProductRepositoryV1 + catalogProductTierPriceManagementV1 + catalogProductTypeListV1 + catalogProductWebsiteLinkRepositoryV1 + +### Catalog inventory + catalogInventoryStockRegistryV1 + +### Checkout + checkoutGuestPaymentInformationManagementV1 + checkoutGuestShippingInformationManagementV1 + checkoutGuestTotalsInformationManagementV1 + checkoutPaymentInformationManagementV1 + checkoutShippingInformationManagementV1 + checkoutTotalsInformationManagementV1 + +### Checkout agreements + checkoutAgreementsCheckoutAgreementsRepositoryV1 + +### CMS + cmsBlockRepositoryV1 + cmsPageRepositoryV1 + +### Configurable product + configurableProductConfigurableProductManagementV1 + configurableProductLinkManagementV1 + configurableProductOptionRepositoryV1 + +### Customer + customerAccountManagementV1 + customerAddressMetadataV1 + customerAddressRepositoryV1 + customerCustomerMetadataV1 + customerCustomerRepositoryV1 + customerGroupManagementV1 + customerGroupRepositoryV1 + +### Directory + directoryCountryInformationAcquirerV1 + directoryCurrencyInformationAcquirerV1 + +### Downloadable + downloadableLinkRepositoryV1 + downloadableSampleRepositoryV1 + +### EAV + eavAttributeSetManagementV1 + eavAttributeSetRepositoryV1 + +### Gift message + giftMessageCartRepositoryV1 + giftMessageGuestCartRepositoryV1 + giftMessageGuestItemRepositoryV1 + giftMessageItemRepositoryV1 + +### Integration + integrationAdminTokenServiceV1 + integrationCustomerTokenServiceV1 + +### Quote + quoteBillingAddressManagementV1 + quoteCartItemRepositoryV1 + quoteCartManagementV1 + quoteCartRepositoryV1 + quoteCartTotalManagementV1 + quoteCartTotalRepositoryV1 + quoteCouponManagementV1 + quoteGuestBillingAddressManagementV1 + quoteGuestCartItemRepositoryV1 + quoteGuestCartManagementV1 + quoteGuestCartRepositoryV1 + quoteGuestCartTotalManagementV1 + quoteGuestCartTotalRepositoryV1 + quoteGuestCouponManagementV1 + quoteGuestPaymentMethodManagementV1 + quoteGuestShipmentEstimationV1 + quoteGuestShippingMethodManagementV1 + quotePaymentMethodManagementV1 + quoteShipmentEstimationV1 + quoteShippingMethodManagementV1 + +### Sales + salesCreditmemoCommentRepositoryV1 + salesCreditmemoManagementV1 + salesCreditmemoRepositoryV1 + salesInvoiceCommentRepositoryV1 + salesInvoiceManagementV1 + salesInvoiceOrderV1 + salesInvoiceRepositoryV1 + salesOrderAddressRepositoryV1 + salesOrderItemRepositoryV1 + salesOrderManagementV1 + salesOrderRepositoryV1 + salesRefundInvoiceV1 + salesRefundOrderV1 + salesShipmentCommentRepositoryV1 + salesShipmentManagementV1 + salesShipmentRepositoryV1 + salesShipmentTrackRepositoryV1 + salesShipOrderV1 + salesTransactionRepositoryV1 + +### Sales rule + salesRuleCouponManagementV1 + salesRuleCouponRepositoryV1 + salesRuleRuleRepositoryV1 + +### Search + searchV1 + +### Store + storeGroupRepositoryV1 + storeStoreConfigManagerV1 + storeStoreRepositoryV1 + storeWebsiteRepositoryV1 + +### Tax + taxTaxClassRepositoryV1 + taxTaxRateRepositoryV1 + taxTaxRuleRepositoryV1 diff --git a/guides/v2.1/soap/bk-soap.md b/guides/v2.1/soap/bk-soap.md index d1c0e423195..a420ae2ab55 100644 --- a/guides/v2.1/soap/bk-soap.md +++ b/guides/v2.1/soap/bk-soap.md @@ -27,195 +27,4 @@ github_link: soap/bk-soap.md The entire list can be retrieved here: `http:///soap/default?wsdl_list=1` -### Backend -backendModuleServiceV1: `http:///soap/default?wsdl&services=backendModuleServiceV1` - -### Bundle -bundleProductLinkManagementV1: `http:///soap/default?wsdl&services=bundleProductLinkManagementV1` - -bundleProductOptionRepositoryV1: `http:///soap/default?wsdl&services=bundleProductOptionRepositoryV1` - -bundleProductOptionTypeListV1: `http:///soap/default?wsdl&services=bundleProductOptionTypeListV1` - -bundleProductOptionManagementV1: `http:///soap/default?wsdl&services=bundleProductOptionManagementV1` - -### Catalog -catalogProductRepositoryV1: `http:///soap/default?wsdl&services=catalogProductRepositoryV1` - -catalogProductAttributeTypesListV1: `http:///soap/default?wsdl&services=catalogProductAttributeTypesListV1` - -catalogProductAttributeRepositoryV1: `http:///soap/default?wsdl&services=catalogProductAttributeRepositoryV1` - -catalogCategoryAttributeRepositoryV1: `http:///soap/default?wsdl&services=catalogCategoryAttributeRepositoryV1` - -catalogCategoryAttributeOptionManagementV1: `http:///soap/default?wsdl&services=catalogCategoryAttributeOptionManagementV1` - -catalogProductTypeListV1: `http:///soap/default?wsdl&services=catalogProductTypeListV1` - -catalogAttributeSetRepositoryV1: `http:///soap/default?wsdl&services=catalogAttributeSetRepositoryV1` - -catalogAttributeSetManagementV1: `http:///soap/default?wsdl&services=catalogAttributeSetManagementV1` - -catalogProductAttributeManagementV1: `http:///soap/default?wsdl&services=catalogProductAttributeManagementV1` - -catalogProductAttributeGroupRepositoryV1: `http:///soap/default?wsdl&services=catalogProductAttributeGroupRepositoryV1` - -catalogProductAttributeOptionManagementV1: `http:///soap/default?wsdl&services=catalogProductAttributeOptionManagementV1` - -catalogProductMediaAttributeManagementV1: `http:///soap/default?wsdl&services=catalogProductMediaAttributeManagementV1` - -catalogProductAttributeMediaGalleryManagementV1: `http:///soap/default?wsdl&services=catalogProductAttributeMediaGalleryManagementV1` - -catalogProductGroupPriceManagementV1: `http:///soap/default?wsdl&services=catalogProductGroupPriceManagementV1` - -catalogProductTierPriceManagementV1: `http:///soap/default?wsdl&services=catalogProductTierPriceManagementV1` - -catalogCategoryRepositoryV1: `http:///soap/default?wsdl&services=catalogCategoryRepositoryV1` - -catalogCategoryManagementV1: `http:///soap/default?wsdl&services=catalogCategoryManagementV1` - -catalogProductCustomOptionTypeListV1: `http:///soap/default?wsdl&services=catalogProductCustomOptionTypeListV1` - -catalogProductCustomOptionRepositoryV1: `http:///soap/default?wsdl&services=catalogProductCustomOptionRepositoryV1` - -catalogProductLinkTypeListV1: `http:///soap/default?wsdl&services=catalogProductLinkTypeListV1` - -catalogProductLinkManagementV1: `http:///soap/default?wsdl&services=catalogProductLinkManagementV1` - -catalogProductLinkRepositoryV1: `http:///soap/default?wsdl&services=catalogProductLinkRepositoryV1` - -catalogCategoryLinkManagementV1: `http:///soap/default?wsdl&services=catalogCategoryLinkManagementV1` - -catalogCategoryLinkRepositoryV1: `http:///soap/default?wsdl&services=catalogCategoryLinkRepositoryV1` - -catalogInventoryStockRegistryV1: `http:///soap/default?wsdl&services=catalogInventoryStockRegistryV1` - -### Checkout -checkoutAgreementsCheckoutAgreementsRepositoryV1: `http:///soap/default?wsdl&services=checkoutAgreementsCheckoutAgreementsRepositoryV1` - -### Configurable -configurableProductLinkManagementV1: `http:///soap/default?wsdl&services=configurableProductLinkManagementV1` - -configurableProductConfigurableProductManagementV1: `http:///soap/default?wsdl&services=configurableProductConfigurableProductManagementV1` - -configurableProductOptionRepositoryV1: `http:///soap/default?wsdl&services=configurableProductOptionRepositoryV1` - -### Customer -customerGroupRepositoryV1: `http:///soap/default?wsdl&services=customerGroupRepositoryV1` - -customerGroupManagementV1: `http:///soap/default?wsdl&services=customerGroupManagementV1` - -customerCustomerMetadataV1: `http:///soap/default?wsdl&services=customerCustomerMetadataV1` - -customerAddressMetadataV1: `http:///soap/default?wsdl&services=customerAddressMetadataV1` - -customerCustomerRepositoryV1: `http:///soap/default?wsdl&services=customerCustomerRepositoryV1` - -customerAccountManagementV1: `http:///soap/default?wsdl&services=customerAccountManagementV1` - -customerAddressRepositoryV1: `http:///soap/default?wsdl&services=customerAddressRepositoryV1` - -### Downloadable -downloadableLinkRepositoryV1: `http:///soap/default?wsdl&services=downloadableLinkRepositoryV1` - -downloadableSampleRepositoryV1: `http:///soap/default?wsdl&services=downloadableSampleRepositoryV1` - -### Eav -eavAttributeSetRepositoryV1: `http:///soap/default?wsdl&services=eavAttributeSetRepositoryV1` - -eavAttributeSetManagementV1: `http:///soap/default?wsdl&services=eavAttributeSetManagementV1` - -### Gift Message -giftMessageCartRepositoryV1: `http:///soap/default?wsdl&services=giftMessageCartRepositoryV1` - -giftMessageItemRepositoryV1: `http:///soap/default?wsdl&services=giftMessageItemRepositoryV1` - -### Integration -integrationAdminTokenServiceV1: `http:///soap/default?wsdl&services=integrationAdminTokenServiceV1` - -integrationCustomerTokenServiceV1: `http:///soap/default?wsdl&services=integrationCustomerTokenServiceV1` - -### Quote -quoteCartRepositoryV1: `http:///soap/default?wsdl&services=quoteCartRepositoryV1` - -quoteCartManagementV1: `http:///soap/default?wsdl&services=quoteCartManagementV1` - -quoteGuestCartRepositoryV1: `http:///soap/default?wsdl&services=quoteGuestCartRepositoryV1` - -quoteGuestCartManagementV1: `http:///soap/default?wsdl&services=quoteGuestCartManagementV1` - -quoteShippingMethodManagementV1: `http:///soap/default?wsdl&services=quoteShippingMethodManagementV1` - -quoteGuestShippingMethodManagementV1: `http:///soap/default?wsdl&services=quoteGuestShippingMethodManagementV1` - -quoteCartItemRepositoryV1: `http:///soap/default?wsdl&services=quoteCartItemRepositoryV1` - -quoteGuestCartItemRepositoryV1: `http:///soap/default?wsdl&services=quoteGuestCartItemRepositoryV1` - -quotePaymentMethodManagementV1: `http:///soap/default?wsdl&services=quotePaymentMethodManagementV1` - -quoteGuestPaymentMethodManagementV1: `http:///soap/default?wsdl&services=quoteGuestPaymentMethodManagementV1` - -quoteBillingAddressManagementV1: `http:///soap/default?wsdl&services=quoteBillingAddressManagementV1` - -quoteGuestBillingAddressManagementV1: `http:///soap/default?wsdl&services=quoteGuestBillingAddressManagementV1` - -quoteGuestAddressDetailsManagementV1: `http:///soap/default?wsdl&services=quoteGuestAddressDetailsManagementV1` - -quoteCouponManagementV1: `http:///soap/default?wsdl&services=quoteCouponManagementV1` - -quoteGuestCouponManagementV1: `http:///soap/default?wsdl&services=quoteGuestCouponManagementV1` - -quoteShippingAddressManagementV1: `http:///soap/default?wsdl&services=quoteShippingAddressManagementV1` - -quoteGuestShippingAddressManagementV1: `http:///soap/default?wsdl&services=quoteGuestShippingAddressManagementV1` - -quoteAddressDetailsManagementV1: `http:///soap/default?wsdl&services=quoteAddressDetailsManagementV1` - -quoteCartTotalRepositoryV1: `http:///soap/default?wsdl&services=quoteCartTotalRepositoryV1` - -quoteGuestCartTotalManagementV1: `http:///soap/default?wsdl&services=quoteGuestCartTotalManagementV1` - -quoteGuestCartTotalRepositoryV1: `http:///soap/default?wsdl&services=quoteGuestCartTotalRepositoryV1` - -quoteCartTotalManagementV1: `http:///soap/default?wsdl&services=quoteCartTotalManagementV1` - -### Sales -salesOrderRepositoryV1: `http:///soap/default?wsdl&services=salesOrderRepositoryV1` - -salesOrderManagementV1: `http:///soap/default?wsdl&services=salesOrderManagementV1` - -salesOrderAddressRepositoryV1: `http:///soap/default?wsdl&services=salesOrderAddressRepositoryV1` - -salesInvoiceRepositoryV1: `http:///soap/default?wsdl&services=salesInvoiceRepositoryV1` - -salesInvoiceManagementV1: `http:///soap/default?wsdl&services=salesInvoiceManagementV1` - -salesInvoiceCommentRepositoryV1: `http:///soap/default?wsdl&services=salesInvoiceCommentRepositoryV1` - -salesInvoiceOrderV1: `http:///soap/default?wsdl&services=salesInvoiceOrderV1` - -salesCreditmemoManagementV1: `http:///soap/default?wsdl&services=salesCreditmemoManagementV1` - -salesCreditmemoRepositoryV1: `http:///soap/default?wsdl&services=salesCreditmemoRepositoryV1` - -salesCreditmemoCommentRepositoryV1: `http:///soap/default?wsdl&services=salesCreditmemoCommentRepositoryV1` - -salesShipmentRepositoryV1: `http:///soap/default?wsdl&services=salesShipmentRepositoryV1` - -salesShipmentManagementV1: `http:///soap/default?wsdl&services=salesShipmentManagementV1` - -salesShipmentCommentRepositoryV1: `http:///soap/default?wsdl&services=salesShipmentCommentRepositoryV1` - -salesShipmentTrackRepositoryV1: `http:///soap/default?wsdl&services=salesShipmentTrackRepositoryV1` - -salesShipOrderV1: `http:///soap/default?wsdl&services=salesShipOrderV1` - -salesTransactionRepositoryV1: `http:///soap/default?wsdl&services=salesTransactionRepositoryV1` - -### Tax -taxTaxRateRepositoryV1: `http:///soap/default?wsdl&services=taxTaxRateRepositoryV1` - -taxTaxRuleRepositoryV1: `http:///soap/default?wsdl&services=taxTaxRuleRepositoryV1` - -taxTaxClassRepositoryV1: `http:///soap/default?wsdl&services=taxTaxClassRepositoryV1` +{% include webapi/services21.md%} From 6d4687d13a1ac60467b686a4c75a9792432c62bc Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 14:06:20 -0500 Subject: [PATCH 093/301] Updating list of SOAP services --- guides/v2.1/rest/rest_endpoints.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guides/v2.1/rest/rest_endpoints.md b/guides/v2.1/rest/rest_endpoints.md index a631c542cf6..b8fb5e4aa49 100644 --- a/guides/v2.1/rest/rest_endpoints.md +++ b/guides/v2.1/rest/rest_endpoints.md @@ -10,6 +10,9 @@ github_link: rest/rest_endpoints.md --- +{% include webapi/services21.md%} + + ## Magento Enterprise Edition (EE) REST API Services per module {#eelist} The REST APIs for Magento EE are available on EE installations only. EE installations automatically have access to all Community Edition (CE) REST APIs. From ae92188c24f847521c7f39dabbc42925adaeed08 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Fri, 14 Apr 2017 14:14:24 -0500 Subject: [PATCH 094/301] Updating list of SOAP services --- guides/v2.1/rest/rest_endpoints.md | 187 ----------------------------- 1 file changed, 187 deletions(-) diff --git a/guides/v2.1/rest/rest_endpoints.md b/guides/v2.1/rest/rest_endpoints.md index b8fb5e4aa49..f22bd4d776f 100644 --- a/guides/v2.1/rest/rest_endpoints.md +++ b/guides/v2.1/rest/rest_endpoints.md @@ -11,190 +11,3 @@ github_link: rest/rest_endpoints.md --- {% include webapi/services21.md%} - - -## Magento Enterprise Edition (EE) REST API Services per module {#eelist} - -The REST APIs for Magento EE are available on EE installations only. EE installations automatically have access to all Community Edition (CE) REST APIs. - - -### Customer balance - customerBalanceBalanceManagementV1 - -### Gift cards - giftCardAccountGiftCardAccountManagementV1 - giftCardAccountGuestGiftCardAccountManagementV1 - giftRegistryGuestCartShippingMethodManagementV1 - giftRegistryShippingMethodManagementV1 - -### Gift wrapping - giftWrappingWrappingRepositoryV1 - -### Reward - rewardRewardManagementV1 - -### RMA - rmaCommentManagementV1 - rmaRmaAttributesManagementV1 - rmaRmaManagementV1 - rmaRmaRepositoryV1 - rmaTrackManagementV1 - -### Worldpay - worldpayGuestPaymentInformationManagementProxyV1 - - -## Magento Community Edition (CE) REST APIs Services per Module {#celist} - - The Magento CE REST APIs are available on all EE and CE installations. - -### Backend - backendModuleServiceV1 - -### Bundle product - bundleProductLinkManagementV1 - bundleProductOptionManagementV1 - bundleProductOptionRepositoryV1 - bundleProductOptionTypeListV1 - -### Catalog - catalogAttributeSetManagementV1 - catalogAttributeSetRepositoryV1 - catalogCategoryAttributeOptionManagementV1 - catalogCategoryAttributeRepositoryV1 - catalogCategoryLinkManagementV1 - catalogCategoryLinkRepositoryV1 - catalogCategoryManagementV1 - catalogCategoryRepositoryV1 - catalogProductAttributeGroupRepositoryV1 - catalogProductAttributeManagementV1 - catalogProductAttributeMediaGalleryManagementV1 - catalogProductAttributeOptionManagementV1 - catalogProductAttributeRepositoryV1 - catalogProductAttributeTypesListV1 - catalogProductCustomOptionRepositoryV1 - catalogProductCustomOptionTypeListV1 - catalogProductLinkManagementV1 - catalogProductLinkRepositoryV1 - catalogProductLinkTypeListV1 - catalogProductMediaAttributeManagementV1 - catalogProductRepositoryV1 - catalogProductTierPriceManagementV1 - catalogProductTypeListV1 - catalogProductWebsiteLinkRepositoryV1 - -### Catalog inventory - catalogInventoryStockRegistryV1 - -### Checkout - checkoutGuestPaymentInformationManagementV1 - checkoutGuestShippingInformationManagementV1 - checkoutGuestTotalsInformationManagementV1 - checkoutPaymentInformationManagementV1 - checkoutShippingInformationManagementV1 - checkoutTotalsInformationManagementV1 - -### Checkout agreements - checkoutAgreementsCheckoutAgreementsRepositoryV1 - -### CMS - cmsBlockRepositoryV1 - cmsPageRepositoryV1 - -### Configurable product - configurableProductConfigurableProductManagementV1 - configurableProductLinkManagementV1 - configurableProductOptionRepositoryV1 - -### Customer - customerAccountManagementV1 - customerAddressMetadataV1 - customerAddressRepositoryV1 - customerCustomerMetadataV1 - customerCustomerRepositoryV1 - customerGroupManagementV1 - customerGroupRepositoryV1 - -### Directory - directoryCountryInformationAcquirerV1 - directoryCurrencyInformationAcquirerV1 - -### Downloadable - downloadableLinkRepositoryV1 - downloadableSampleRepositoryV1 - -### EAV - eavAttributeSetManagementV1 - eavAttributeSetRepositoryV1 - -### Gift message - giftMessageCartRepositoryV1 - giftMessageGuestCartRepositoryV1 - giftMessageGuestItemRepositoryV1 - giftMessageItemRepositoryV1 - -### Integration - integrationAdminTokenServiceV1 - integrationCustomerTokenServiceV1 - -### Quote - quoteBillingAddressManagementV1 - quoteCartItemRepositoryV1 - quoteCartManagementV1 - quoteCartRepositoryV1 - quoteCartTotalManagementV1 - quoteCartTotalRepositoryV1 - quoteCouponManagementV1 - quoteGuestBillingAddressManagementV1 - quoteGuestCartItemRepositoryV1 - quoteGuestCartManagementV1 - quoteGuestCartRepositoryV1 - quoteGuestCartTotalManagementV1 - quoteGuestCartTotalRepositoryV1 - quoteGuestCouponManagementV1 - quoteGuestPaymentMethodManagementV1 - quoteGuestShipmentEstimationV1 - quoteGuestShippingMethodManagementV1 - quotePaymentMethodManagementV1 - quoteShipmentEstimationV1 - quoteShippingMethodManagementV1 - -### Sales - salesCreditmemoCommentRepositoryV1 - salesCreditmemoManagementV1 - salesCreditmemoRepositoryV1 - salesInvoiceCommentRepositoryV1 - salesInvoiceManagementV1 - salesInvoiceOrderV1 - salesInvoiceRepositoryV1 - salesOrderAddressRepositoryV1 - salesOrderItemRepositoryV1 - salesOrderManagementV1 - salesOrderRepositoryV1 - salesRefundInvoiceV1 - salesRefundOrderV1 - salesShipmentCommentRepositoryV1 - salesShipmentManagementV1 - salesShipmentRepositoryV1 - salesShipmentTrackRepositoryV1 - salesShipOrderV1 - salesTransactionRepositoryV1 - -### Sales rule - salesRuleCouponManagementV1 - salesRuleCouponRepositoryV1 - salesRuleRuleRepositoryV1 - -### Search - searchV1 - -### Store - storeGroupRepositoryV1 - storeStoreConfigManagerV1 - storeStoreRepositoryV1 - storeWebsiteRepositoryV1 - -### Tax - taxTaxClassRepositoryV1 - taxTaxRateRepositoryV1 - taxTaxRuleRepositoryV1 From 9991b4bb9265b8164ef7b0d1a326513e53896505 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Fri, 14 Apr 2017 21:14:45 -0700 Subject: [PATCH 095/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 60 +++++++++++++++ _includes/changes/ee/216-develop.html | 104 ++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index b0de0f97cff..1376941bf2e 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -1537,10 +1537,22 @@

    Class

    Magento\RequireJs\Block\Html\Head\Config Class was added. + + Magento\Quote\Model\QuoteValidator + Class was added. + Magento\Quote\Model\Quote\Address\RateRequest Class was added. + + Magento\Persistent\Helper\Data + Class was added. + + + Magento\Persistent\Helper\Session + Class was added. + Magento\Payment\Model\CcConfig Class was added. @@ -1761,6 +1773,30 @@

    Class

    Magento\OfflinePayments\Model\Purchaseorder Class was added. + + Magento\Checkout\Model\CompositeConfigProvider + Class was added. + + + Magento\Checkout\Model\Session\SuccessValidator + Class was added. + + + Magento\Checkout\Model\Layout\AbstractTotalsProcessor + Class was added. + + + Magento\Checkout\Model\Cart\ImageProvider + Class was added. + + + Magento\Checkout\Model\Cart\RequestInfoFilterComposite + Class was added. + + + Magento\Checkout\CustomerData\AbstractItem + Class was added. +

    Interface

    @@ -1977,6 +2013,14 @@

    Interface

    Magento\Sales\Api\Data\CreditmemoItemCreationInterface Interface was added. + + Magento\Quote\Model\Quote\Address\FreeShippingInterface + Interface was added. + + + Magento\Quote\Model\Quote\Address\RateCollectorInterface + Interface was added. + Magento\Payment\Model\Method\SpecificationInterface Interface was added. @@ -2001,6 +2045,10 @@

    Interface

    Magento\Payment\Api\Data\PaymentMethodInterface Interface was added. + + Magento\GiftMessage\Block\Cart\Item\Renderer\Actions\LayoutProcessorInterface + Interface was added. + Magento\Eav\Api\Data\AttributeDefaultValueInterface Interface was added. @@ -2025,6 +2073,18 @@

    Interface

    Magento\ConfigurableProduct\Pricing\Price\LowestPriceOptionsProviderInterface Interface was added. + + Magento\Checkout\Model\Cart\RequestInfoFilterInterface + Interface was added. + + + Magento\Checkout\CustomerData\ItemInterface + Interface was added. + + + Magento\Checkout\Block\Checkout\LayoutProcessorInterface + Interface was added. + Magento\Catalog\Model\ProductIdLocatorInterface Interface was added. diff --git a/_includes/changes/ee/216-develop.html b/_includes/changes/ee/216-develop.html index b3aff59309a..b544c3f8ba5 100644 --- a/_includes/changes/ee/216-develop.html +++ b/_includes/changes/ee/216-develop.html @@ -517,6 +517,110 @@

    Class

    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexEntity [public] Method has been removed. + + Magento\Reward\Model\Reward + Class was added. + + + Magento\Reward\Model\Reward\History + Class was added. + + + Magento\Reward\Model\Reward\Rate + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward\Collection + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward\History + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward\Rate + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward\Rate\Collection + Class was added. + + + Magento\Reward\Model\ResourceModel\Reward\History\Collection + Class was added. + + + Magento\GiftWrapping\Model\Wrapping\Validator + Class was added. + + + Magento\GiftWrapping\Helper\Data + Class was added. + + + Magento\GiftRegistry\Model\Entity + Class was added. + + + Magento\GiftRegistry\Model\Item + Class was added. + + + Magento\GiftRegistry\Model\Person + Class was added. + + + Magento\GiftRegistry\Model\Type + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Entity + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Item + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Person + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Type + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Type\Collection + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Person\Collection + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Item\Collection + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Item\Option + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Item\Option\Collection + Class was added. + + + Magento\GiftRegistry\Model\ResourceModel\Entity\Collection + Class was added. + + + Magento\GiftRegistry\Helper\Data + Class was added. +

    Interface

    From acc6c6537fe0dcd63ce8bc489af5d947b535d835 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Sat, 15 Apr 2017 21:17:16 -0700 Subject: [PATCH 096/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 188 ++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index 1376941bf2e..085adfbbabe 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -1401,6 +1401,54 @@

    Class

    Magento\Framework\DB\Sql\ColumnValueExpression Class was added. + + Magento\Wishlist\Model\Item + Class was added. + + + Magento\Wishlist\Model\LocaleQuantityProcessor + Class was added. + + + Magento\Wishlist\Model\Wishlist + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Wishlist + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Wishlist\Collection + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Collection + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Option + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Option\Collection + Class was added. + + + Magento\Wishlist\Model\Item\Option + Class was added. + + + Magento\Wishlist\Helper\Data + Class was added. + + + Magento\Wishlist\Helper\Rss + Class was added. + Magento\Vault\Model\AbstractPaymentTokenFactory Class was added. @@ -1525,6 +1573,22 @@

    Class

    Magento\Theme\Block\Adminhtml\Design\Config\Edit\Scope Class was added. + + Magento\SendFriend\Model\SendFriend + Class was added. + + + Magento\SendFriend\Model\ResourceModel\SendFriend + Class was added. + + + Magento\SendFriend\Model\ResourceModel\SendFriend\Collection + Class was added. + + + Magento\SendFriend\Helper\Data + Class was added. + Magento\Sales\Model\Order\CreditmemoDocumentFactory Class was added. @@ -1545,6 +1609,38 @@

    Class

    Magento\Quote\Model\Quote\Address\RateRequest Class was added. + + Magento\ProductAlert\Model\Email + Class was added. + + + Magento\ProductAlert\Model\Price + Class was added. + + + Magento\ProductAlert\Model\Stock + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Price + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Stock + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Stock\Collection + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Price\Collection + Class was added. + + + Magento\ProductAlert\Helper\Data + Class was added. + Magento\Persistent\Helper\Data Class was added. @@ -1773,6 +1869,74 @@

    Class

    Magento\OfflinePayments\Model\Purchaseorder Class was added. + + Magento\Newsletter\Model\Problem + Class was added. + + + Magento\Newsletter\Model\Queue + Class was added. + + + Magento\Newsletter\Model\Subscriber + Class was added. + + + Magento\Newsletter\Model\Template + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Problem + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Queue + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Subscriber + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Template + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Template\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Subscriber\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Queue\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Problem\Collection + Class was added. + + + Magento\Customer\Ui\Component\Listing\Column\Actions + Class was added. + + + Magento\Customer\Model\Customer\DataProvider + Class was added. + + + Magento\Customer\Model\Address\AbstractAddress + Class was added. + + + Magento\Customer\CustomerData\JsLayoutDataProviderPool + Class was added. + + + Magento\Customer\CustomerData\SectionPool + Class was added. + Magento\Checkout\Model\CompositeConfigProvider Class was added. @@ -2053,6 +2217,30 @@

    Interface

    Magento\Eav\Api\Data\AttributeDefaultValueInterface Interface was added. + + Magento\Customer\Model\EmailNotificationInterface + Interface was added. + + + Magento\Customer\Model\Customer\Source\GroupSourceInterface + Interface was added. + + + Magento\Customer\Model\Address\AddressModelInterface + Interface was added. + + + Magento\Customer\Model\Address\CustomAttributeListInterface + Interface was added. + + + Magento\Customer\CustomerData\JsLayoutDataProviderInterface + Interface was added. + + + Magento\Customer\CustomerData\SectionSourceInterface + Interface was added. + Magento\Customer\Block\Account\SortLinkInterface Interface was added. From bf34e41782a53f5a593940334c2d49549a7ad895 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Mon, 17 Apr 2017 11:45:05 -0500 Subject: [PATCH 097/301] adding 2.2 services --- _includes/webapi/services22.md | 194 +++++++++++++++++++++++++++++ guides/v2.2/rest/rest_endpoints.md | 14 ++- 2 files changed, 207 insertions(+), 1 deletion(-) create mode 100644 _includes/webapi/services22.md mode change 120000 => 100644 guides/v2.2/rest/rest_endpoints.md diff --git a/_includes/webapi/services22.md b/_includes/webapi/services22.md new file mode 100644 index 00000000000..7d32f16ede1 --- /dev/null +++ b/_includes/webapi/services22.md @@ -0,0 +1,194 @@ +
    + +## Magento Enterprise Edition (EE) Web APIs Services per Module {#eelist} + +The Web APIs for Magento EE are available on EE installations only. EE installations automatically have access to all Community Edition (CE) REST APIs. + +### Customer balance + customerBalanceBalanceManagementV1 + +### Gift cards + giftCardAccountGiftCardAccountManagementV1 + giftCardAccountGuestGiftCardAccountManagementV1 + giftRegistryGuestCartShippingMethodManagementV1 + giftRegistryShippingMethodManagementV1 + +### Gift wrapping + giftWrappingWrappingRepositoryV1 + +### Reward + rewardRewardManagementV1 + +### RMA + rmaCommentManagementV1 + rmaRmaAttributesManagementV1 + rmaRmaManagementV1 + rmaRmaRepositoryV1 + rmaTrackManagementV1 + +### Worldpay + worldpayGuestPaymentInformationManagementProxyV1 + + +## Magento Community Edition (CE) Web APIs Services per Module {#celist} + + The Magento CE Web APIs are available on all EE and CE installations. + +### Analytics + analyticsLinkProviderV1 * + +### Backend + backendModuleServiceV1 + +### Bundle product + bundleProductLinkManagementV1 + bundleProductOptionManagementV1 + bundleProductOptionRepositoryV1 + bundleProductOptionTypeListV1 + +### Catalog + catalogAttributeSetManagementV1 + catalogAttributeSetRepositoryV1 + catalogBasePriceStorageV1 * + catalogCategoryAttributeOptionManagementV1 + catalogCategoryAttributeRepositoryV1 + catalogCategoryLinkManagementV1 + catalogCategoryLinkRepositoryV1 + catalogCategoryListV1 * + catalogCategoryManagementV1 + catalogCategoryRepositoryV1 + catalogCostStorageV1 * + catalogProductAttributeGroupRepositoryV1 + catalogProductAttributeManagementV1 + catalogProductAttributeMediaGalleryManagementV1 + catalogProductAttributeOptionManagementV1 + catalogProductAttributeRepositoryV1 + catalogProductAttributeTypesListV1 + catalogProductCustomOptionRepositoryV1 + catalogProductCustomOptionTypeListV1 + catalogProductLinkManagementV1 + catalogProductLinkRepositoryV1 + catalogProductLinkTypeListV1 + catalogProductMediaAttributeManagementV1 + catalogProductRepositoryV1 + catalogProductTierPriceManagementV1 + catalogProductTypeListV1 + catalogProductWebsiteLinkRepositoryV1 + catalogSpecialPriceStorageV1 * + catalogTierPriceStorageV1 * + +### Catalog inventory + catalogInventoryStockRegistryV1 + +### Checkout + checkoutGuestPaymentInformationManagementV1 + checkoutGuestShippingInformationManagementV1 + checkoutGuestTotalsInformationManagementV1 + checkoutPaymentInformationManagementV1 + checkoutShippingInformationManagementV1 + checkoutTotalsInformationManagementV1 + +### Checkout agreements + checkoutAgreementsCheckoutAgreementsRepositoryV1 + +### CMS + cmsBlockRepositoryV1 + cmsPageRepositoryV1 + +### Configurable product + configurableProductConfigurableProductManagementV1 + configurableProductLinkManagementV1 + configurableProductOptionRepositoryV1 + +### Customer + customerAccountManagementV1 + customerAddressMetadataV1 + customerAddressRepositoryV1 + customerCustomerMetadataV1 + customerCustomerRepositoryV1 + customerGroupManagementV1 + customerGroupRepositoryV1 + +### Directory + directoryCountryInformationAcquirerV1 + directoryCurrencyInformationAcquirerV1 + +### Downloadable + downloadableLinkRepositoryV1 + downloadableSampleRepositoryV1 + +### EAV + eavAttributeSetManagementV1 + eavAttributeSetRepositoryV1 + +### Gift message + giftMessageCartRepositoryV1 + giftMessageGuestCartRepositoryV1 + giftMessageGuestItemRepositoryV1 + giftMessageItemRepositoryV1 + +### Integration + integrationAdminTokenServiceV1 + integrationCustomerTokenServiceV1 + +### Quote + quoteBillingAddressManagementV1 + quoteCartItemRepositoryV1 + quoteCartManagementV1 + quoteCartRepositoryV1 + quoteCartTotalManagementV1 + quoteCartTotalRepositoryV1 + quoteCouponManagementV1 + quoteGuestBillingAddressManagementV1 + quoteGuestCartItemRepositoryV1 + quoteGuestCartManagementV1 + quoteGuestCartRepositoryV1 + quoteGuestCartTotalManagementV1 + quoteGuestCartTotalRepositoryV1 + quoteGuestCouponManagementV1 + quoteGuestPaymentMethodManagementV1 + quoteGuestShipmentEstimationV1 + quoteGuestShippingMethodManagementV1 + quotePaymentMethodManagementV1 + quoteShipmentEstimationV1 + quoteShippingMethodManagementV1 + +### Sales + salesCreditmemoCommentRepositoryV1 + salesCreditmemoManagementV1 + salesCreditmemoRepositoryV1 + salesInvoiceCommentRepositoryV1 + salesInvoiceManagementV1 + salesInvoiceOrderV1 + salesInvoiceRepositoryV1 + salesOrderAddressRepositoryV1 + salesOrderItemRepositoryV1 + salesOrderManagementV1 + salesOrderRepositoryV1 + salesRefundInvoiceV1 + salesRefundOrderV1 + salesShipmentCommentRepositoryV1 + salesShipmentManagementV1 + salesShipmentRepositoryV1 + salesShipmentTrackRepositoryV1 + salesShipOrderV1 + salesTransactionRepositoryV1 + +### Sales rule + salesRuleCouponManagementV1 + salesRuleCouponRepositoryV1 + salesRuleRuleRepositoryV1 + +### Search + searchV1 + +### Store + storeGroupRepositoryV1 + storeStoreConfigManagerV1 + storeStoreRepositoryV1 + storeWebsiteRepositoryV1 + +### Tax + taxTaxClassRepositoryV1 + taxTaxRateRepositoryV1 + taxTaxRuleRepositoryV1 diff --git a/guides/v2.2/rest/rest_endpoints.md b/guides/v2.2/rest/rest_endpoints.md deleted file mode 120000 index d9318429ec7..00000000000 --- a/guides/v2.2/rest/rest_endpoints.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/rest/rest_endpoints.md \ No newline at end of file diff --git a/guides/v2.2/rest/rest_endpoints.md b/guides/v2.2/rest/rest_endpoints.md new file mode 100644 index 00000000000..01a22271b3d --- /dev/null +++ b/guides/v2.2/rest/rest_endpoints.md @@ -0,0 +1,13 @@ +--- +layout: default +group: rest +subgroup: A_rest +title: List of service names per module +menu_title: List of service names per module +menu_order: 4 +version: 2.0 +github_link: rest/rest_endpoints.md + +--- + +{% include webapi/services22.md%} From 2401ab7ff8cacdc3a483d5db6efee5d0251bf4f4 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Mon, 17 Apr 2017 11:54:20 -0500 Subject: [PATCH 098/301] adding 2.2 services --- guides/v2.2/soap/bk-soap.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) mode change 120000 => 100644 guides/v2.2/soap/bk-soap.md diff --git a/guides/v2.2/soap/bk-soap.md b/guides/v2.2/soap/bk-soap.md deleted file mode 120000 index 4b7d11ef5d2..00000000000 --- a/guides/v2.2/soap/bk-soap.md +++ /dev/null @@ -1 +0,0 @@ -../../v2.1/soap/bk-soap.md \ No newline at end of file diff --git a/guides/v2.2/soap/bk-soap.md b/guides/v2.2/soap/bk-soap.md new file mode 100644 index 00000000000..ceb7edc5ceb --- /dev/null +++ b/guides/v2.2/soap/bk-soap.md @@ -0,0 +1,30 @@ +--- +layout: default +group: soap +subgroup: A_soap +title: SOAP Reference +landing-page: SOAP API +menu_title: Overview +menu_order: 1 +menu_node: parent +version: 2.1 +github_link: soap/bk-soap.md +--- +## Soap WSDL Endpoint Format + +`http:///soap/?wsdl&services=` + +
    +

    The value of store_code can be one of the following:

    +
      +
    • default
    • +
    • The assigned store code
    • +
    • all. This value only applies to the CMS and Product modules. If this value is specified, the API call affects all the merchant's stores.
    • +
    +
    + +## List of Service Names per Module + +The entire list can be retrieved here: `http:///soap/default?wsdl_list=1` + +{% include webapi/services22.md%} From d9f247e220a3f0e400ac274af8ba6b0716472b3b Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Mon, 17 Apr 2017 13:59:34 -0500 Subject: [PATCH 099/301] Add missing symlink --- guides/v2.1/cloud/reference/cli-ref-topic.md | 1 + 1 file changed, 1 insertion(+) create mode 120000 guides/v2.1/cloud/reference/cli-ref-topic.md diff --git a/guides/v2.1/cloud/reference/cli-ref-topic.md b/guides/v2.1/cloud/reference/cli-ref-topic.md new file mode 120000 index 00000000000..9ee849a86d5 --- /dev/null +++ b/guides/v2.1/cloud/reference/cli-ref-topic.md @@ -0,0 +1 @@ +../../../v2.0/cloud/reference/cli-ref-topic.md \ No newline at end of file From 775ab6033a2c9ce9a6e25abb7ffa570dc21abbaf Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Mon, 17 Apr 2017 14:08:17 -0500 Subject: [PATCH 100/301] Fix broken symlinks --- guides/v2.1/cloud/cli-ref/cli-ref-topic.md | 1 - guides/v2.2/cloud/cli-ref/cli-ref-topic.md | 1 - guides/v2.2/cloud/reference/cli-ref-topic.md | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 guides/v2.1/cloud/cli-ref/cli-ref-topic.md delete mode 120000 guides/v2.2/cloud/cli-ref/cli-ref-topic.md create mode 120000 guides/v2.2/cloud/reference/cli-ref-topic.md diff --git a/guides/v2.1/cloud/cli-ref/cli-ref-topic.md b/guides/v2.1/cloud/cli-ref/cli-ref-topic.md deleted file mode 120000 index 17ec296e968..00000000000 --- a/guides/v2.1/cloud/cli-ref/cli-ref-topic.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.0/cloud/cli-ref/cli-ref-topic.md \ No newline at end of file diff --git a/guides/v2.2/cloud/cli-ref/cli-ref-topic.md b/guides/v2.2/cloud/cli-ref/cli-ref-topic.md deleted file mode 120000 index c1530587411..00000000000 --- a/guides/v2.2/cloud/cli-ref/cli-ref-topic.md +++ /dev/null @@ -1 +0,0 @@ -../../../v2.1/cloud/cli-ref/cli-ref-topic.md \ No newline at end of file diff --git a/guides/v2.2/cloud/reference/cli-ref-topic.md b/guides/v2.2/cloud/reference/cli-ref-topic.md new file mode 120000 index 00000000000..7abb0888ee8 --- /dev/null +++ b/guides/v2.2/cloud/reference/cli-ref-topic.md @@ -0,0 +1 @@ +../../../v2.1/cloud/reference/cli-ref-topic.md \ No newline at end of file From 3d2334979eeefa32de199a3a49c7e03f2986acea Mon Sep 17 00:00:00 2001 From: Luke Hanley Date: Mon, 17 Apr 2017 20:49:16 +0100 Subject: [PATCH 101/301] Typo config:set -> setup:config:set None of the other examples give the `php` prefix either: removed. Slightly adjusted the description. ``` [InvalidArgumentException] There are no commands defined in the "config" namespace. Did you mean one of these? setup:config setup:store-config ``` --- .../v2.0/install-gde/install/cli/install-cli-subcommands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.0/install-gde/install/cli/install-cli-subcommands.md b/guides/v2.0/install-gde/install/cli/install-cli-subcommands.md index 1949b82ec8c..fd30b9de94b 100644 --- a/guides/v2.0/install-gde/install/cli/install-cli-subcommands.md +++ b/guides/v2.0/install-gde/install/cli/install-cli-subcommands.md @@ -64,8 +64,8 @@ The following table summarizes the available commands. Commands are shown in sum

    Magento software installed

    - php magento config:set -

    Creates the deployment configuration.

    + magento setup:config:set +

    Creates or updates the deployment configuration.

    None

    From b1dc5570694632e76d3697713cba24c661e7f1b7 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Mon, 17 Apr 2017 21:14:26 -0700 Subject: [PATCH 102/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index 085adfbbabe..a496b527543 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -97,6 +97,10 @@

    Class

    Magento\PageCache\Block\System\Config\Form\Field\Export\Varnish3 Class was removed. + + Magento\Indexer\Model\Processor\Handler + Class was removed. + Magento\Fedex\Model\Plugin\Rma\Block\Adminhtml\Rma\Edit\Tab\General\Shippingmethod Class was removed. @@ -1393,6 +1397,22 @@

    Class

    Magento\Framework\View\Asset\File\NotFoundException Class was added. + + Magento\Framework\Indexer\FieldsetPool + Class was added. + + + Magento\Framework\Indexer\HandlerPool + Class was added. + + + Magento\Framework\Indexer\IndexerRegistry + Class was added. + + + Magento\Framework\Indexer\SaveHandlerFactory + Class was added. + Magento\Framework\DB\TemporaryTableService Class was added. @@ -1509,6 +1529,14 @@

    Class

    Magento\Variable\Block\System\Variable\Edit Class was added. + + Magento\UrlRewrite\Service\V1\Data\UrlRewrite + Class was added. + + + Magento\UrlRewrite\Model\MergeDataProvider + Class was added. + Magento\Theme\Ui\Component\Design\Config\DataProvider Class was added. @@ -1973,6 +2001,10 @@

    Interface

    Magento\Framework\Acl\CacheInterface Interface was removed. + + Magento\UrlRewrite\Model\UrlPersistInterface::replace + [public] Method has been added. + Magento\Store\Api\Data\GroupInterface::getCode [public] Method has been added. @@ -1985,6 +2017,10 @@

    Interface

    Magento\Framework\Interception\ChainInterface Interface was removed. + + Magento\Framework\Indexer\FilterInterface + Interface was removed. + Magento\Framework\App\Config\Scope\ReaderPoolInterface Interface was removed. @@ -2081,14 +2117,30 @@

    Interface

    Magento\Framework\View\Asset\PreProcessor\ChainFactoryInterface Interface was added. + + Magento\Framework\Indexer\BatchProviderInterface + Interface was added. + Magento\Framework\Indexer\BatchSizeManagementInterface Interface was added. + + Magento\Framework\Indexer\FieldsetInterface + Interface was added. + + + Magento\Framework\Indexer\HandlerInterface + Interface was added. + Magento\Framework\Indexer\IndexTableRowSizeEstimatorInterface Interface was added. + + Magento\Framework\Indexer\StateInterface + Interface was added. + Magento\Framework\App\PlainTextRequestInterface Interface was added. @@ -2121,6 +2173,14 @@

    Interface

    Magento\Vault\Api\Data\PaymentTokenInterfaceFactory Interface was added. + + Magento\UrlRewrite\Model\StorageInterface + Interface was added. + + + Magento\UrlRewrite\Model\UrlFinderInterface + Interface was added. + Magento\Store\Api\StoreWebsiteRelationInterface Interface was added. From 6bdb6e3c7e6b7d9345409f484a994b7880252afc Mon Sep 17 00:00:00 2001 From: Oleksii Korshenko Date: Tue, 18 Apr 2017 12:02:52 -0500 Subject: [PATCH 103/301] Converted https://wiki.corp.magento.com/display/MAGE2/Backwards+Compatible+Development+Guide to markdown format --- .../backwards_compatible_development_guide.md | 322 ++++++++++++++++++ 1 file changed, 322 insertions(+) create mode 100644 guides/v2.2/architecture/backwards_compatible_development_guide.md diff --git a/guides/v2.2/architecture/backwards_compatible_development_guide.md b/guides/v2.2/architecture/backwards_compatible_development_guide.md new file mode 100644 index 00000000000..4e702a268c4 --- /dev/null +++ b/guides/v2.2/architecture/backwards_compatible_development_guide.md @@ -0,0 +1,322 @@ +This page describes rules for backwards compatible development. + +# Backward Сompatibility Policy + +See [Visioning](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/versioning/index.html) for information about what exactly is considered MAJOR and MINOR changes, and how it impacts extension developers. + +The core Magento team and contributing developers work in two directions: + +1. New significant release (product's MINOR release) + - **Necessary** MAJOR and MINOR changes **may be** allowed. Magento architecture team decides whether it's allowed or not. +2. New patch release (product's PATCH release) + - **Only** PATCH changes are allowed. + +~~~ +Backward Сompatibility Policy is not applied to Plugins, Observers and Setup Scripts. +~~~ +# Prohibited Code Changes + +The following code modifications are forbidden for all code (both `@api` and not `@api`) and can only be made with an approval of a Magento architect: + +* PHP + * interface/class removal + ~~~ + Mark with `@deprecated` tag instead of removing it. Mark also all its methods as deprecated, so IDE highlights them as deprecated. + ~~~ + * public and protected method removal  + ~~~ + Mark with `@deprecated` tag instead. + + Continue returning the same results from the method if possible, so the old functionality is preserved. + ~~~ + * introduction of a method to a class or interface + ~~~ + Create a new interface with a new method. + + New interface may take over some existing methods from the class if it makes sense to group them together. In this case, corresponding methods in the old interface/class must be deprecated with `@see` annotation referencing the new interface/method. The old methods should proxy the calls to the new interface instead of duplicating the logic. + + An example of an interface with an extracted method: `Magento\Catalog\Api\CategoryListInterface` is responsible for `getList()` method, and `Magento\Catalog\Api\CategoryRepositoryInterface` doesn't have such method. + + For a **PATCH** product release, do NOT mark the new interface with `@api`. + + For a **MINOR** product release, an architect should mark the new interface with `@api` if it's applicable. + ~~~ + * static function removal + * parameter addition in public methods  + ~~~ + Add a new method with necessary parameters as described in "introduction of a method to a class or interface" item. Deprecate old method. Reference the new method in a `@see` tag as a recommended replacement. Include an explanation of why the old method was replaced with the new one (e.g., there is a bug in the old method).  + ~~~ + * parameter addition in protected methods  + ~~~ + Preserve the method as is. Create a new method with the new signature, and deprecate the old method. If possible declare the new method as private. + + /** + * @deprecated This method is not intended for usage in child classes + * @see updateScopedPrice($price, $storeId) + */ + protected function updatePrice($price) { + $this->updateScopedPrice($price); + } + + private function updateScopedPrice($price, $storeId) { + // Updated logic that takes into account $storeId + } + ~~~ + * modification of default value for optional arguments in public and protected methods  + ~~~ + Default argument values of public or protected methods are part of API of the class/interface. + + Create a new method with new interface instead. See "introduction of a method to a class or interface". + + It's encouraged to avoid optional parameters. Instead, create multiple methods if it's necessary to cover all use cases. + ~~~ + * method argument type modification + * modification of types of thrown exceptions (unless a new exception is a sub-type of the old one) + * constructor modification + ~~~ + Add the new optional parameter to the constructor at **the end** of arguments list. + In the constructor body, if new dependency is not provided (value of introduced argument is `null`) fetch the dependency using `Magento\Framework\App\ObjectionManager::getInstance()`. + + class ExistingClass + { + /** @var \New\Dependency\Interface */ + private $newDependency; + + public function __construct( + \Old\Dependency\Intreface $oldDependency, + $oldRequiredConstructorParameter, + $oldOptinalConstructorParameter = null, + \New\Dependency\Interface $newDependency = null + ) { + ... + $this->newDependency = $newDependency ?: \Magento\Framework\App\ObjectManager::getInstance()->get(\New\Dependency\Interface::class); + } + + public function existingFunction() + { + // Existing functionality + ... + ... + + // Use $this->newDependency wherever the new dependency is needed + ... + ... + } + } + + // Sample unit test code snippet follows + class ExistingClassTest extends \PHPUnit_Framework_TestCase + { + private $existingClassObject; + + protected function setUp() + { + ... + // Create dependency mcoks with $this->getMock() or $this->getMockBuilder() + $newDependencyMock = $this->getMock(\New\Dependency\Interface::class, [], [], '', false); + + $objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this); + $this->existingClassObject = $objectManager->getObject( + ExistingClass::class, + [ + 'oldDependency' => $oldDependencyMock, + 'oldRequiredConstructorParameter' => 'foo', + 'oldOptinalConstructorParameter' => 'bar', + 'newDependency' => $newDependencyMock, + ] + ); + } + + public function testExistingFunction() + { + ... + ... + } + } + ~~~ + * public and protected property removal  + ~~~ + Mark with `@deprecated` tag instead. + + Continue storing the value in the property, if possible, so the old functionality is preserved. + ~~~ + * constant removal + * event argument removal +* JS + * interface/class removal + * public and protected method removal + * introduction of method to interface + * introduction of abstract method to class + * static function removal + * argument addition (except for optional arguments) in public and protected methods + * modification of default value for optional arguments in public and protected methods. + * public and protected property removal + * constant removal +* XML Schema + * obligatory node addition + * obligatory attribute addition + * attribute/node type removal + * configuration file renaming +* DB Schema + * Field modification (type, default values, properties) + * Table removal + * introduction of new required field +* CSS/LESS + * class removal + * mix-in removal +* Magento APIs + * event removal + * layout handle removal + * store configuration path removal + * directory structure modification + * @api annotation removal + + * magento tool command argument list modification + * magento tool command removal +* Translatable phrases + + * Phrase modification +* Magento functional and integration tests + + * Fixtures format + * Fixtures content (except changes forced by new functionality) + +~~~ +Note: Please note that in items above "renaming" === "removal" +~~~ +~~~ +Note: +Customization code +Listed rules do not apply to customization code: Plugins, Observers, JS Mixins +~~~ + +# Allowed Code Changes + +* PHP + * Changing value of a constant  + ~~~ + Changing the value is backwards compatible by itself and so, it is allowed. + + Though client code may save the value of a constant in permanent storage or use it as an input or output value of a method, it's the responsibility of the client code to ensure that it is a reliable implementation. The client code should have enough control over the constant's value. In other words, it's discouraged to rely on a value of a constant from another module (or at least of another vendor). + ~~~ + * Stop setting a value to the Registry + ~~~ + It is backwards compatible. We discourage usage of the Registry, so 3rd-party extensions should not depend on values in the Registry. + ~~~ + * Adding an argument to an event + +# Module Setup Version Bumps + +1. **Module data/schema version bumps MUST not be done in patch version releases if next minor version is already released.** + + Example: + + Before Magento 2.1 was released, module data/schema version could be changed in all patch releases of Magento 2.0 + + After 2.1 is released, it is forbidden to modify version in 2.0 patch releases, but allowed to modify version in 2.1 patch releases until 2.2 is released. + +2. **Delivery of a fix which bumps module setup/data version in previous minor version should be preceded by its delivery into current unpublished version. If there is an urgent case when a fix is delivered into previous minor version, the task for its delivery into current unpublished version must be created with high priority.** + + Example: + + The issue which bumps setup/upgrade version is fixed in develop and then ported into 2.1.x version (setup/upgrade version in both the fix and the port are the same). + + If the fix was initially made in 2.1.x, the task for porting it into develop must be created immediately with high priority and must be delivered ASAP. + +3. **Setup version of a module should be higher than setup version of the same module in any of the previous releases.** + + For example, setup version for module Magento_Catalog being delivered to mainline/develop branch should have higher version (e.g., 2.1.3) than versions in branches 2.0 (e.g., Magento_Catalog has version 2.0.2 here) or 2.1 (e.g., Magento_Catalog has version 2.1.2 here). + +# How To + +## How to Backport Fixes with Breaking Changes to Patch Branches + +The main rule is that **backwards compatibility is more important** than niceness and effort of the implementation. A Magento architect must be involved in making a decision. + +This rule has the following potential drawbacks and those are expected: + +* Double work. Necessity to implement different solutions for "develop" and release branches +* Inability to refactor code in patch releases +* Effort for implementing fixes in patch releases may be higher due to necessity to implement workarounds + +## Coupling Between Objects Reaches Its Limit with a New Dependency + +Sometimes it happens that adding a new reasonable dependency to an existing class makes it reaching the dependencies limit. + +Assuming that the new dependency is legitimate/reasonable for this class, most likely, it means that the class had a poor design before the changes: too many dependencies, too many responsibilities. Usually, such class should be refactored and so excessive dependencies are removed and/or the class is broken down into smaller classes. But it would be a backwards incompatible change if implemented as is. + +For preserving backwards compatibility, public and protected interface of the class should be preserved. But the class should be reviewed and refactored so that parts of the logic go into smaller specialized classes. + +* The existing class then should be functioning as a facade to preserve backwards compatibility, so existing usages of the refactored methods were not broken +* The old public/protected methods should be marked as deprecated with `@see` tag suggesting the new implementation for new usages +* All unused private properties/methods can be removed now +* All unused protected properties must be marked as deprecated. Type of the variable can be removed from the DocBlock, so it's not calculated as one of the dependencies +* If it's necessary to preserve constructor signature: + * remove type hinting for unused parameters. This will remove dependency on their type + * add `@SuppressWarnings(PHPMD.UnusedFormalParameter)` for unused parameters + +# Deprecation + +Magento 2 must not have alternative APIs. Whenever new implementation of some behavior is introduced, the old implementation must be marked as deprecated. Deprecation reason MUST be specified. + +### PHP, JS and XML + +_**@deprecated**_  tag must be used to mark methods as deprecated. Deprecation reason must be specified after @deprecated tag. **@see** tag MUST be used to recommend new api to use if old api was replaced with new one: + +Deprecated tag in PHP +~~~ +/** + * @deprecated because new api was introduced + * @see \New\Api + */ + ~~~ + +Deprecated tag in XML/HTML +~~~ + +~~~ +### WebAPI + +Whenever webapi method is replaced by new implementation that has different signature, that new implementation must be accessible on the same resource but with next sequential version + +### Removal of deprecated code + +Deprecated code should stay in the code for the following time frames: + +* `@api` code till next major version of the component +* non-`@api` code for next 2 minor releases or until major release + +# Documentation of Backwards Incompatible Changes + +In case, any backwards incompatible changes are introduced (with an architectural approval), those MUST be documented. + +Most of backwards incompatible changes are documented automatically by a tool and SHOULD NOT be documented manually. Those include: + +* Adding/removal of a class/interface +* Adding/removal of a method +* Modification of a method signature +* Adding/removal of a class/interface constant +* Adding removal of a class property + +Auto-generated [CE changes](https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/216-develop.html) + +Auto-generated [EE changes](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ee/216-develop.html) + +All other changes MUST be documented in a scope of the task that introduced the backwards incompatible changes. Examples of such changes: + +* change of input/output values format of a method +* change of a value format in the DB +* changes in XML files (layouts, configuration files) + +## Where to document + +Page **https://github.com/magento/devdocs/blob/develop/guides/v\/release-notes/backward-incompatible-changes.md** in the [devdocs repository](https://github.com/magento/devdocs/), where "``" is the MINOR version of the product ("2.2", "2.3", etc.). + +Example: [backward-incompatible-changes.md](https://github.com/magento/devdocs/blob/develop/guides/v2.2/release-notes/backward-incompatible-changes.md). "2.2" in the path of the file indicates that it's intended for "2.2" release. + +As you work with the `develop` branch of the project, update the page for the **next** MINOR product release. For example, as soon as 2.2 is released, a new page [backward-incompatible-changes.md](https://github.com/magento/devdocs/blob/develop/guides/v2.3/release-notes/backward-incompatible-changes.md) should appear, so start working with this new page. + +In order to update the page, create a PR to the devdocs repo with the changes. From f7721c2e04549b8b15d1feb3de34d030624b69ab Mon Sep 17 00:00:00 2001 From: Tiago Sampaio Date: Tue, 18 Apr 2017 14:40:56 -0300 Subject: [PATCH 104/301] Update static-process.md --- guides/v2.0/architecture/view/static-process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/architecture/view/static-process.md b/guides/v2.0/architecture/view/static-process.md index b7493370a34..1f1d047d18b 100644 --- a/guides/v2.0/architecture/view/static-process.md +++ b/guides/v2.0/architecture/view/static-process.md @@ -37,7 +37,7 @@ Whenever a static view file is requested in the Magento application, it uses the
    CSS and JavaScript file merging
    -

    Magento merges all CSS or JavaScript assets linked in the <head> element of the page into a single files and replaces referenced files with a single reference.

    +

    Magento merges all CSS or JavaScript assets linked in the <head> element of the page into a single file and replaces referenced files with a single reference.

    JavaScript files minifying
    From 76395d8ed1a957552c6a32cafe51b776bbd8075f Mon Sep 17 00:00:00 2001 From: Oleksii Korshenko Date: Tue, 18 Apr 2017 13:26:35 -0500 Subject: [PATCH 105/301] Updated page makrup --- .../backwards_compatible_development_guide.md | 101 ++++++++---------- 1 file changed, 45 insertions(+), 56 deletions(-) diff --git a/guides/v2.2/architecture/backwards_compatible_development_guide.md b/guides/v2.2/architecture/backwards_compatible_development_guide.md index 4e702a268c4..1b700b0f7be 100644 --- a/guides/v2.2/architecture/backwards_compatible_development_guide.md +++ b/guides/v2.2/architecture/backwards_compatible_development_guide.md @@ -2,7 +2,7 @@ This page describes rules for backwards compatible development. # Backward Сompatibility Policy -See [Visioning](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/versioning/index.html) for information about what exactly is considered MAJOR and MINOR changes, and how it impacts extension developers. +See [Visioning](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/versioning/index.html) document for information about what exactly is considered MAJOR and MINOR changes, and how it impacts extension developers. The core Magento team and contributing developers work in two directions: @@ -12,69 +12,73 @@ The core Magento team and contributing developers work in two directions: - **Only** PATCH changes are allowed. ~~~ -Backward Сompatibility Policy is not applied to Plugins, Observers and Setup Scripts. +Note: Backward Сompatibility Policy is not applied to Plugins, Observers and Setup Scripts. ~~~ + # Prohibited Code Changes The following code modifications are forbidden for all code (both `@api` and not `@api`) and can only be made with an approval of a Magento architect: * PHP + * interface/class removal ~~~ + Alternative implementation: Mark with `@deprecated` tag instead of removing it. Mark also all its methods as deprecated, so IDE highlights them as deprecated. ~~~ * public and protected method removal  ~~~ + Alternative implementation: Mark with `@deprecated` tag instead. - Continue returning the same results from the method if possible, so the old functionality is preserved. ~~~ * introduction of a method to a class or interface ~~~ + Alternative implementation: Create a new interface with a new method. - New interface may take over some existing methods from the class if it makes sense to group them together. In this case, corresponding methods in the old interface/class must be deprecated with `@see` annotation referencing the new interface/method. The old methods should proxy the calls to the new interface instead of duplicating the logic. - An example of an interface with an extracted method: `Magento\Catalog\Api\CategoryListInterface` is responsible for `getList()` method, and `Magento\Catalog\Api\CategoryRepositoryInterface` doesn't have such method. - For a **PATCH** product release, do NOT mark the new interface with `@api`. - - For a **MINOR** product release, an architect should mark the new interface with `@api` if it's applicable. + For a **MINOR** product release, an architect should mark (approve) the new interface with `@api` if it's applicable. ~~~ * static function removal * parameter addition in public methods  ~~~ + Alternative implementation: Add a new method with necessary parameters as described in "introduction of a method to a class or interface" item. Deprecate old method. Reference the new method in a `@see` tag as a recommended replacement. Include an explanation of why the old method was replaced with the new one (e.g., there is a bug in the old method).  ~~~ * parameter addition in protected methods  ~~~ + Alternative implementation: Preserve the method as is. Create a new method with the new signature, and deprecate the old method. If possible declare the new method as private. /** * @deprecated This method is not intended for usage in child classes * @see updateScopedPrice($price, $storeId) */ - protected function updatePrice($price) { + protected function updatePrice($price) + { $this->updateScopedPrice($price); } - private function updateScopedPrice($price, $storeId) { + private function updateScopedPrice($price, $storeId) + { // Updated logic that takes into account $storeId } ~~~ * modification of default value for optional arguments in public and protected methods  - ~~~ + ~~~ + Alternative implementation: Default argument values of public or protected methods are part of API of the class/interface. - Create a new method with new interface instead. See "introduction of a method to a class or interface". - It's encouraged to avoid optional parameters. Instead, create multiple methods if it's necessary to cover all use cases. ~~~ * method argument type modification * modification of types of thrown exceptions (unless a new exception is a sub-type of the old one) * constructor modification ~~~ - Add the new optional parameter to the constructor at **the end** of arguments list. + Alternative implementation: + Add the new optional parameter to the constructor at the end of arguments list. In the constructor body, if new dependency is not provided (value of introduced argument is `null`) fetch the dependency using `Magento\Framework\App\ObjectionManager::getInstance()`. class ExistingClass @@ -113,7 +117,7 @@ The following code modifications are forbidden for all code (both `@api` and no { ... // Create dependency mcoks with $this->getMock() or $this->getMockBuilder() - $newDependencyMock = $this->getMock(\New\Dependency\Interface::class, [], [], '', false); + $newDependencyMock = $this->getMock(\New\Dependency\Interface::class); $objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this); $this->existingClassObject = $objectManager->getObject( @@ -136,58 +140,57 @@ The following code modifications are forbidden for all code (both `@api` and no ~~~ * public and protected property removal  ~~~ + Alternative implementation: Mark with `@deprecated` tag instead. - Continue storing the value in the property, if possible, so the old functionality is preserved. ~~~ * constant removal * event argument removal * JS + * interface/class removal * public and protected method removal * introduction of method to interface * introduction of abstract method to class * static function removal * argument addition (except for optional arguments) in public and protected methods - * modification of default value for optional arguments in public and protected methods. + * modification of default value for optional arguments in public and protected methods * public and protected property removal * constant removal * XML Schema + * obligatory node addition * obligatory attribute addition * attribute/node type removal * configuration file renaming * DB Schema + * Field modification (type, default values, properties) * Table removal - * introduction of new required field + * Introduction of new required field * CSS/LESS + * class removal * mix-in removal * Magento APIs + * event removal * layout handle removal * store configuration path removal * directory structure modification * @api annotation removal - * magento tool command argument list modification * magento tool command removal * Translatable phrases - * Phrase modification * Magento functional and integration tests - * Fixtures format * Fixtures content (except changes forced by new functionality) - ~~~ Note: Please note that in items above "renaming" === "removal" ~~~ ~~~ -Note: -Customization code -Listed rules do not apply to customization code: Plugins, Observers, JS Mixins +Note: Customization code. Listed rules do not apply to customization code: Plugins, Observers, JS Mixins ~~~ # Allowed Code Changes @@ -195,12 +198,13 @@ Listed rules do not apply to customization code: Plugins, Observers, JS Mixins * PHP * Changing value of a constant  ~~~ + Explanation: Changing the value is backwards compatible by itself and so, it is allowed. - Though client code may save the value of a constant in permanent storage or use it as an input or output value of a method, it's the responsibility of the client code to ensure that it is a reliable implementation. The client code should have enough control over the constant's value. In other words, it's discouraged to rely on a value of a constant from another module (or at least of another vendor). ~~~ * Stop setting a value to the Registry ~~~ + Explanation: It is backwards compatible. We discourage usage of the Registry, so 3rd-party extensions should not depend on values in the Registry. ~~~ * Adding an argument to an event @@ -210,21 +214,16 @@ Listed rules do not apply to customization code: Plugins, Observers, JS Mixins 1. **Module data/schema version bumps MUST not be done in patch version releases if next minor version is already released.** Example: - Before Magento 2.1 was released, module data/schema version could be changed in all patch releases of Magento 2.0 - After 2.1 is released, it is forbidden to modify version in 2.0 patch releases, but allowed to modify version in 2.1 patch releases until 2.2 is released. -2. **Delivery of a fix which bumps module setup/data version in previous minor version should be preceded by its delivery into current unpublished version. If there is an urgent case when a fix is delivered into previous minor version, the task for its delivery into current unpublished version must be created with high priority.** +2. **Delivery of a fix which bumps module setup/data version in previous minor version should be preceded by its delivery into current unpublished version. If there is an urgent case when a fix is delivered into previous minor version, related fix into current unpublished version must be created with high priority.** Example: - - The issue which bumps setup/upgrade version is fixed in develop and then ported into 2.1.x version (setup/upgrade version in both the fix and the port are the same). - - If the fix was initially made in 2.1.x, the task for porting it into develop must be created immediately with high priority and must be delivered ASAP. + The issue which bumps setup/upgrade version is fixed in develop branch (2.2 release) and then ported into 2.1.x version (setup/upgrade version in both the fix and the port are the same). + If the fix was initially made in 2.1.x, the pull request for porting it into develop (2.2 release) must be created immediately with high priority and must be delivered ASAP. 3. **Setup version of a module should be higher than setup version of the same module in any of the previous releases.** - For example, setup version for module Magento_Catalog being delivered to mainline/develop branch should have higher version (e.g., 2.1.3) than versions in branches 2.0 (e.g., Magento_Catalog has version 2.0.2 here) or 2.1 (e.g., Magento_Catalog has version 2.1.2 here). # How To @@ -234,33 +233,28 @@ Listed rules do not apply to customization code: Plugins, Observers, JS Mixins The main rule is that **backwards compatibility is more important** than niceness and effort of the implementation. A Magento architect must be involved in making a decision. This rule has the following potential drawbacks and those are expected: - -* Double work. Necessity to implement different solutions for "develop" and release branches +* Double work. Necessity to implement different solutions for "develop" branch (unpoming minor release) and patch release branches * Inability to refactor code in patch releases * Effort for implementing fixes in patch releases may be higher due to necessity to implement workarounds ## Coupling Between Objects Reaches Its Limit with a New Dependency - -Sometimes it happens that adding a new reasonable dependency to an existing class makes it reaching the dependencies limit. - -Assuming that the new dependency is legitimate/reasonable for this class, most likely, it means that the class had a poor design before the changes: too many dependencies, too many responsibilities. Usually, such class should be refactored and so excessive dependencies are removed and/or the class is broken down into smaller classes. But it would be a backwards incompatible change if implemented as is. +Sometimes it happens that adding a new **reasonable** dependency to an existing class makes it reaching the dependencies limit. +Assuming that the new dependency is legitimate/reasonable for this class, most likely, it means that the class had a poor design before the changes: too many dependencies, too many responsibilities. Usually, such class should be refactored and so excessive dependencies are removed and/or the class is broken down into smaller classes. But it would be a backward incompatible change if implemented as is. For preserving backwards compatibility, public and protected interface of the class should be preserved. But the class should be reviewed and refactored so that parts of the logic go into smaller specialized classes. -* The existing class then should be functioning as a facade to preserve backwards compatibility, so existing usages of the refactored methods were not broken -* The old public/protected methods should be marked as deprecated with `@see` tag suggesting the new implementation for new usages -* All unused private properties/methods can be removed now -* All unused protected properties must be marked as deprecated. Type of the variable can be removed from the DocBlock, so it's not calculated as one of the dependencies -* If it's necessary to preserve constructor signature: - * remove type hinting for unused parameters. This will remove dependency on their type - * add `@SuppressWarnings(PHPMD.UnusedFormalParameter)` for unused parameters +* The existing class then should be functioning as a facade to preserve backwards compatibility, so existing usages of the refactored methods were not broken +* The old public/protected methods should be marked as deprecated with `@see` tag suggesting the new implementation for new usages +* All unused private properties/methods can be removed now +* All unused protected properties must be marked as deprecated. Type of the variable can be removed from the DocBlock, so it's not calculated as one of the dependencies +* If it's necessary to preserve constructor signature: + * remove type hinting for unused parameters. This will remove dependency on their type + * add `@SuppressWarnings(PHPMD.UnusedFormalParameter)` for unused parameters # Deprecation - Magento 2 must not have alternative APIs. Whenever new implementation of some behavior is introduced, the old implementation must be marked as deprecated. Deprecation reason MUST be specified. ### PHP, JS and XML - _**@deprecated**_  tag must be used to mark methods as deprecated. Deprecation reason must be specified after @deprecated tag. **@see** tag MUST be used to recommend new api to use if old api was replaced with new one: Deprecated tag in PHP @@ -283,37 +277,32 @@ Deprecated tag in XML/HTML Whenever webapi method is replaced by new implementation that has different signature, that new implementation must be accessible on the same resource but with next sequential version ### Removal of deprecated code - Deprecated code should stay in the code for the following time frames: * `@api` code till next major version of the component * non-`@api` code for next 2 minor releases or until major release # Documentation of Backwards Incompatible Changes - In case, any backwards incompatible changes are introduced (with an architectural approval), those MUST be documented. - Most of backwards incompatible changes are documented automatically by a tool and SHOULD NOT be documented manually. Those include: - * Adding/removal of a class/interface * Adding/removal of a method * Modification of a method signature * Adding/removal of a class/interface constant * Adding removal of a class property -Auto-generated [CE changes](https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/216-develop.html) +Auto-generated [CE changes](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/216-develop.html) Auto-generated [EE changes](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ee/216-develop.html) All other changes MUST be documented in a scope of the task that introduced the backwards incompatible changes. Examples of such changes: - * change of input/output values format of a method * change of a value format in the DB * changes in XML files (layouts, configuration files) ## Where to document -Page **https://github.com/magento/devdocs/blob/develop/guides/v\/release-notes/backward-incompatible-changes.md** in the [devdocs repository](https://github.com/magento/devdocs/), where "``" is the MINOR version of the product ("2.2", "2.3", etc.). +Page https://github.com/magento/devdocs/blob/develop/guides/v\/release-notes/backward-incompatible-changes.md in the [devdocs repository](https://github.com/magento/devdocs/), where "``" is the MINOR version of the product ("2.2", "2.3", etc.). Example: [backward-incompatible-changes.md](https://github.com/magento/devdocs/blob/develop/guides/v2.2/release-notes/backward-incompatible-changes.md). "2.2" in the path of the file indicates that it's intended for "2.2" release. From f165bcd0b86bbc5465ae57a5e67bfefa54ff96da Mon Sep 17 00:00:00 2001 From: Oleksii Korshenko Date: Tue, 18 Apr 2017 14:46:24 -0500 Subject: [PATCH 106/301] MAGETWO-67344: Solve issues with API #9124 - updated list of backward incompatible changes for 2.2 --- .../backward-incompatible-changes.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/guides/v2.2/release-notes/backward-incompatible-changes.md b/guides/v2.2/release-notes/backward-incompatible-changes.md index c6b633d8ff3..96123ad4fe8 100644 --- a/guides/v2.2/release-notes/backward-incompatible-changes.md +++ b/guides/v2.2/release-notes/backward-incompatible-changes.md @@ -140,6 +140,65 @@ In Magento 2.2 the behavior of repositories regarding the Filters added to Searc For details about repositories see the [Searching with repositories]({{page.baseurl}}extension-dev-guide/searching-with-repositories.html) topic. +## Changes in repositories in method getList + +In Magento 2.2 the signature of the method getList was unified across the code base. + +`public function getList(\Magento\Framework\Api\SearchCriteria $searchCriteria);` +was changed to +`public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);` + +These changes won't affect the clients that use these interfaces, but this will affect the extensions that implemented these interfaces. +In oder to adopt custom implementations of these interfaces, please, change method signature from `\Magento\Framework\Api\SearchCriteria` to `\Magento\Framework\Api\SearchCriteriaInterface` in your implementations. + +### Affected CE repositories + +- `\Magento\Vault\Api\PaymentTokenRepositoryInterface::getList` +- `\Magento\Tax\Api\TaxRuleRepositoryInterface::getList` +- `\Magento\Sales\Api\CreditmemoCommentRepositoryInterface::getList` +- `\Magento\Sales\Api\CreditmemoItemRepositoryInterface::getList` +- `\Magento\Sales\Api\CreditmemoRepositoryInterface::getList` +- `\Magento\Sales\Api\InvoiceCommentRepositoryInterface::getList` +- `\Magento\Sales\Api\InvoiceItemRepositoryInterface::getList` +- `\Magento\Sales\Api\InvoiceRepositoryInterface::getList` +- `\Magento\Sales\Api\OrderAddressRepositoryInterface::getList` +- `\Magento\Sales\Api\OrderItemRepositoryInterface::getList` +- `\Magento\Sales\Api\OrderPaymentRepositoryInterface::getList` +- `\Magento\Sales\Api\OrderRepositoryInterface::getList` +- `\Magento\Sales\Api\OrderStatusHistoryRepositoryInterface::getList` +- `\Magento\Sales\Api\ShipmentCommentRepositoryInterface::getList` +- `\Magento\Sales\Api\ShipmentItemRepositoryInterface::getList` +- `\Magento\Sales\Api\ShipmentRepositoryInterface::getList` +- `\Magento\Sales\Api\ShipmentTrackRepositoryInterface::getList` +- `\Magento\Sales\Api\TransactionRepositoryInterface::getList` +- `\Magento\Quote\Api\CartRepositoryInterface::getList` +- `\Magento\Vault\Model\PaymentTokenRepository::getList` +- `\Magento\Tax\Model\TaxRuleRepository::getList` +- `\Magento\Sales\Model\OrderRepository::getList` +- `\Magento\Sales\Model\Order\AddressRepository::getList` +- `\Magento\Sales\Model\Order\CreditmemoRepository::getList` +- `\Magento\Sales\Model\Order\InvoiceRepository::getList` +- `\Magento\Sales\Model\Order\ItemRepository::getList` +- `\Magento\Sales\Model\Order\ShipmentRepository::getList` +- `\Magento\Sales\Model\Order\Payment\Repository::getList` +- `\Magento\Sales\Model\Order\Payment\Transaction\Repository::getList` +- `\Magento\Quote\Model\QuoteRepository::getList` + + +### Affected EE repositories + +- `\Magento\Signifyd\Api\CaseRepositoryInterface::getList` +- `\Magento\Rma\Api\CommentRepositoryInterface::getList` +- `\Magento\Rma\Api\RmaManagementInterface::search` +- `\Magento\Rma\Api\RmaRepositoryInterface::getList` +- `\Magento\Rma\Api\TrackRepositoryInterface::getList` +- `\Magento\GiftWrapping\Api\WrappingRepositoryInterface::getList` +- `\Magento\GiftCardAccount\Api\GiftCardAccountRepositoryInterface::getList` +- `\Magento\Signifyd\Model\CaseRepository::getList` +- `\Magento\Rma\Model\Service\RmaManagement::search` +- `\Magento\GiftWrapping\Model\WrappingRepository::getList` + + ## Compiler changes This release removes the multi-tenant compiler option and support of the definitions option for the single tenant compiler in the `env.php` file. From 1e9c29b51602aadf625cb2dd99e4275fbf4861ff Mon Sep 17 00:00:00 2001 From: mage2-team Date: Tue, 18 Apr 2017 21:38:54 -0700 Subject: [PATCH 107/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 432 ++++++++++++++++++++++++++ 1 file changed, 432 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index a496b527543..23d0839dba9 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -1237,6 +1237,114 @@

    Class

    Magento\Framework\Stdlib\ArrayUtils::recursiveDiff [public] Method has been added. + + Magento\Framework\Stdlib\DateTime\DateTime::__construct + [public] Method has been added. + + + Magento\Framework\Stdlib\DateTime\DateTime::gmtDate + [public] Method has been added. + + + Magento\Framework\Stdlib\DateTime\DateTime::gmtTimestamp + [public] Method has been added. + + + Magento\Framework\Stdlib\DateTime\DateTime::timestamp + [public] Method has been added. + + + Magento\Framework\Stdlib\DateTime\DateTime::$_localeDate + [protected] Property has been added. + + + Magento\Framework\Stdlib\Cookie\PublicCookieMetadata::setDuration + [public] Method has been added. + + + Magento\Framework\Stdlib\Cookie\PublicCookieMetadata::setDurationOneYear + [public] Method has been added. + + + Magento\Widget\Model\Widget::__construct + [public] Method has been added. + + + Magento\Widget\Model\Widget::getConfigAsXml + [public] Method has been added. + + + Magento\Widget\Model\Widget::getConfigAsObject + [public] Method has been added. + + + Magento\Widget\Model\Widget::prepareWidgetParameters + [protected] Method has been added. + + + Magento\Widget\Model\Widget::prepareDropDownValues + [protected] Method has been added. + + + Magento\Widget\Model\Widget::prepareHelperBlock + [protected] Method has been added. + + + Magento\Widget\Model\Widget::getPlaceholderImageUrl + [public] Method has been added. + + + Magento\Widget\Model\Widget::getPlaceholderImageUrls + [public] Method has been added. + + + Magento\Widget\Model\Widget::getAsCanonicalArray + [protected] Method has been added. + + + Magento\Widget\Model\Widget::idEncode + [protected] Method has been added. + + + Magento\Widget\Model\Widget::sortWidgets + [protected] Method has been added. + + + Magento\Widget\Model\Widget::sortParameters + [protected] Method has been added. + + + Magento\Widget\Model\Widget::$dataStorage + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$configCacheType + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$assetRepo + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$assetSource + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$viewFileSystem + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$escaper + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$widgetsArray + [protected] Property has been added. + + + Magento\Widget\Model\Widget::$conditionsHelper + [protected] Property has been added. + Magento\Payment\Model\Cart::__construct [public] Method has been added. @@ -1369,6 +1477,14 @@

    Class

    Magento\Payment\Model\MethodList::$methodSpecificationFactory [protected] Property has been added. + + Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::__construct + [public] Method has been added. + + + Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::$filterManager + [protected] Property has been added. + Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList [public] Method has been added. @@ -1377,6 +1493,10 @@

    Class

    Magento\Catalog\Model\Product\Type\AbstractType::$serializer [protected] Property has been added. + + Magento\Framework\Escaper + Class was added. + Magento\Framework\View\Url\CssResolver Class was added. @@ -1397,6 +1517,34 @@

    Class

    Magento\Framework\View\Asset\File\NotFoundException Class was added. + + Magento\Framework\Stdlib\DateTime\Timezone\Validator + Class was added. + + + Magento\Framework\Stdlib\DateTime\Filter\Date + Class was added. + + + Magento\Framework\Stdlib\DateTime\Filter\DateTime + Class was added. + + + Magento\Framework\Stdlib\Cookie\CookieSizeLimitReachedException + Class was added. + + + Magento\Framework\Stdlib\Cookie\FailureToSendException + Class was added. + + + Magento\Framework\Stdlib\Cookie\SensitiveCookieMetadata + Class was added. + + + Magento\Framework\Serialize\Serializer\Json + Class was added. + Magento\Framework\Indexer\FieldsetPool Class was added. @@ -1413,6 +1561,18 @@

    Class

    Magento\Framework\Indexer\SaveHandlerFactory Class was added. + + Magento\Framework\Encryption\Crypt + Class was added. + + + Magento\Framework\Encryption\UrlCoder + Class was added. + + + Magento\Framework\Encryption\Helper\Security + Class was added. + Magento\Framework\DB\TemporaryTableService Class was added. @@ -1469,6 +1629,18 @@

    Class

    Magento\Wishlist\Helper\Rss Class was added. + + Magento\Widget\Model\Widget\Instance + Class was added. + + + Magento\Widget\Model\ResourceModel\Widget\Instance + Class was added. + + + Magento\Widget\Model\ResourceModel\Widget\Instance\Collection + Class was added. + Magento\Vault\Model\AbstractPaymentTokenFactory Class was added. @@ -1601,6 +1773,34 @@

    Class

    Magento\Theme\Block\Adminhtml\Design\Config\Edit\Scope Class was added. + + Magento\Store\Model\Information + Class was added. + + + Magento\Store\Model\StoreIsInactiveException + Class was added. + + + Magento\Store\Model\System\Store + Class was added. + + + Magento\Store\Model\ResourceModel\Group + Class was added. + + + Magento\Store\Model\ResourceModel\Store + Class was added. + + + Magento\Store\Model\ResourceModel\Website + Class was added. + + + Magento\Store\Model\App\Emulation + Class was added. + Magento\SendFriend\Model\SendFriend Class was added. @@ -1617,6 +1817,42 @@

    Class

    Magento\SendFriend\Helper\Data Class was added. + + Magento\Security\Model\AdminSessionInfo + Class was added. + + + Magento\Security\Model\AdminSessionsManager + Class was added. + + + Magento\Security\Model\PasswordResetRequestEvent + Class was added. + + + Magento\Security\Model\SecurityCookie + Class was added. + + + Magento\Security\Model\SecurityManager + Class was added. + + + Magento\Security\Model\ResourceModel\AdminSessionInfo + Class was added. + + + Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\Collection + Class was added. + + + Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\CollectionFactory + Class was added. + + + Magento\Security\Model\ResourceModel\AdminSessionInfo\Collection + Class was added. + Magento\Sales\Model\Order\CreditmemoDocumentFactory Class was added. @@ -1945,6 +2181,130 @@

    Class

    Magento\Newsletter\Model\ResourceModel\Problem\Collection Class was added. + + Magento\EncryptionKey\Model\ResourceModel\Key\Change + Class was added. + + + Magento\Email\Model\BackendTemplate + Class was added. + + + Magento\Email\Model\Template + Class was added. + + + Magento\Email\Model\ResourceModel\Template + Class was added. + + + Magento\Email\Model\ResourceModel\Template\Collection + Class was added. + + + Magento\Directory\Model\AllowedCountries + Class was added. + + + Magento\Directory\Model\Country + Class was added. + + + Magento\Directory\Model\Currency + Class was added. + + + Magento\Directory\Model\Region + Class was added. + + + Magento\Directory\Model\ResourceModel\Country + Class was added. + + + Magento\Directory\Model\ResourceModel\Currency + Class was added. + + + Magento\Directory\Model\ResourceModel\Region + Class was added. + + + Magento\Directory\Model\ResourceModel\Region\Collection + Class was added. + + + Magento\Directory\Model\ResourceModel\Country\Collection + Class was added. + + + Magento\Directory\Model\ResourceModel\Country\Format + Class was added. + + + Magento\Directory\Model\ResourceModel\Country\Format\Collection + Class was added. + + + Magento\Directory\Model\Currency\Import\Config + Class was added. + + + Magento\Directory\Model\Currency\Import\Factory + Class was added. + + + Magento\Directory\Model\Country\Format + Class was added. + + + Magento\Directory\Model\Config\Source\Allregion + Class was added. + + + Magento\Directory\Model\Config\Source\Country + Class was added. + + + Magento\Directory\Model\Config\Source\WeightUnit + Class was added. + + + Magento\Directory\Model\Config\Source\Country\Full + Class was added. + + + Magento\Directory\Helper\Data + Class was added. + + + Magento\Developer\Model\View\Page\Config\RendererFactory + Class was added. + + + Magento\Developer\Model\View\Asset\PreProcessor\FrontendCompilation + Class was added. + + + Magento\Developer\Model\View\Asset\PreProcessor\PreprocessorStrategy + Class was added. + + + Magento\Developer\Model\TemplateEngine\Decorator\DebugHints + Class was added. + + + Magento\Developer\Model\Config\Source\WorkflowType + Class was added. + + + Magento\Developer\Helper\Data + Class was added. + + + Magento\Developer\Console\Command\XmlCatalogGenerateCommand + Class was added. + Magento\Customer\Ui\Component\Listing\Column\Actions Class was added. @@ -1965,6 +2325,30 @@

    Class

    Magento\Customer\CustomerData\SectionPool Class was added. + + Magento\Cron\Model\Schedule + Class was added. + + + Magento\Cron\Model\ResourceModel\Schedule + Class was added. + + + Magento\Cron\Model\ResourceModel\Schedule\Collection + Class was added. + + + Magento\Cms\Model\Wysiwyg\Config + Class was added. + + + Magento\Cms\Model\Wysiwyg\Images\Storage + Class was added. + + + Magento\Cms\Model\Wysiwyg\Images\Storage\Collection + Class was added. + Magento\Checkout\Model\CompositeConfigProvider Class was added. @@ -1989,6 +2373,10 @@

    Class

    Magento\Checkout\CustomerData\AbstractItem Class was added. + + Magento\CatalogWidget\Model\Rule + Class was added. +

    Interface

    @@ -2117,6 +2505,18 @@

    Interface

    Magento\Framework\View\Asset\PreProcessor\ChainFactoryInterface Interface was added. + + Magento\Framework\Serialize\SerializerInterface + Interface was added. + + + Magento\Framework\Locale\FormatInterface + Interface was added. + + + Magento\Framework\Locale\ListsInterface + Interface was added. + Magento\Framework\Indexer\BatchProviderInterface Interface was added. @@ -2141,6 +2541,10 @@

    Interface

    Magento\Framework\Indexer\StateInterface Interface was added. + + Magento\Framework\Encryption\EncryptorInterface + Interface was added. + Magento\Framework\App\PlainTextRequestInterface Interface was added. @@ -2149,6 +2553,10 @@

    Interface

    Magento\Framework\App\RequestContentInterface Interface was added. + + Magento\Framework\App\ScopeInterface + Interface was added. + Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface Interface was added. @@ -2181,10 +2589,22 @@

    Interface

    Magento\UrlRewrite\Model\UrlFinderInterface Interface was added. + + Magento\Store\Model\ScopeInterface + Interface was added. + Magento\Store\Api\StoreWebsiteRelationInterface Interface was added. + + Magento\Security\Model\ConfigInterface + Interface was added. + + + Magento\Security\Model\SecurityChecker\SecurityCheckerInterface + Interface was added. + Magento\Sales\Model\ValidatorResultInterface Interface was added. @@ -2277,6 +2697,14 @@

    Interface

    Magento\Eav\Api\Data\AttributeDefaultValueInterface Interface was added. + + Magento\Directory\Model\Currency\Import\ImportInterface + Interface was added. + + + Magento\Developer\Model\XmlCatalog\Format\FormatInterface + Interface was added. + Magento\Customer\Model\EmailNotificationInterface Interface was added. @@ -2305,6 +2733,10 @@

    Interface

    Magento\Customer\Block\Account\SortLinkInterface Interface was added. + + Magento\Cron\Model\ConfigInterface + Interface was added. + Magento\Contact\Model\ConfigInterface Interface was added. From aebf0d436b841a3415a1a7cb1df0f8510a177a4c Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Wed, 19 Apr 2017 11:43:35 +0100 Subject: [PATCH 108/301] Update for What's New: Migration Guide, Follow-up section --- guides/v2.0/magento-devdocs-whatsnew.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index 42eab2039b4..8975c2ae94b 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -13,9 +13,14 @@ github_link: magento-devdocs-whatsnew.md This page contains recent changes that we think you'd like to know about. We exclude from this list proofreading, spelling checks, and all minor updates. -## April 2017 -No changes to date +{% collapsibleh2 April 2017 %} + +| Description | Versions applied to | New or Updated | Date | +|--------------|--------------|----------------------|--------| +| [Migration: Follow-up after running the Data Migration Tool]({{ page.baseurl }}migration/migration-migrate-follow-up.html){:target="_blank"} | 2.1.x | Updated | Apr 14 | + +{% endcollapsibleh2 %} {% collapsibleh2 March 2017 %} @@ -26,8 +31,8 @@ No changes to date | [Update sample contribution template]({{ page.baseurl }}contributor-guide/templates/basic_template.html){:target="_blank"} | 2.x | Updated | Apr 1 | | [Update performance test data]({{ page.baseurl }}config-guide/cli/config-cli-subcommands-perf-data.html){:target="_blank"} | 2.x | Updated | Mar 21 | | [Versioning and compatibility]({{ page.baseurl }}extension-dev-guide/versioning/index.html){:target="_blank"} | 2.x | New | Mar 31 | -| [How to test a block]({{ page.baseurl }}mtf/mtf_entities/mtf_block.html){:target="_blank"} | 2.x | Updated | Mar 24 | -| [Tutorial: Order processing with REST APIs]({{ site.gdeurl21 }}get-started/order-tutorial/order-intro.html){:target="_blank"} | 2.1.x | New | Mar 23 | +| [How to test a block]({{ page.baseurl }}mtf/mtf_entities/mtf_block.html){:target="_blank"} | 2.x | Updated | Mar 24 | +| [Tutorial: Order processing with REST APIs]({{ site.gdeurl21 }}get-started/order-tutorial/order-intro.html){:target="_blank"} | 2.1.x | New | Mar 23 | | [Magento U video tutorials](http://devdocs.magento.com/videos){:target="_blank"} | 2.x | New | Mar 15 | | [Top quarterly devdocs contributors]({{ page.baseurl }}contributor-guide/quarterly-contributors.html){:target="_blank"} | 2.x | Updated | Mar 15 | | [Community contribution to adding attributes to an entity]({{ page.baseurl }}extension-dev-guide/extension_attributes/adding-attributes.html){:target="_blank"} | 2.x | Updated | March 15 | From 796132419ab89d24800007403d257c2d633de782 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Wed, 19 Apr 2017 12:21:13 +0100 Subject: [PATCH 109/301] Update for What's New: Migration Guide, Follow-up section * removed collapsible from the April 2017 headline * changed version to 2.X for the April's entry --- guides/v2.0/magento-devdocs-whatsnew.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index 8975c2ae94b..e2fbc6a3e9e 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -14,13 +14,11 @@ github_link: magento-devdocs-whatsnew.md This page contains recent changes that we think you'd like to know about. We exclude from this list proofreading, spelling checks, and all minor updates. -{% collapsibleh2 April 2017 %} +## April 2017 | Description | Versions applied to | New or Updated | Date | |--------------|--------------|----------------------|--------| -| [Migration: Follow-up after running the Data Migration Tool]({{ page.baseurl }}migration/migration-migrate-follow-up.html){:target="_blank"} | 2.1.x | Updated | Apr 14 | - -{% endcollapsibleh2 %} +| [Migration: Follow-up after running the Data Migration Tool]({{ page.baseurl }}migration/migration-migrate-follow-up.html){:target="_blank"} | 2.x | Updated | Apr 14 | {% collapsibleh2 March 2017 %} From 2a51a9bd1ff79474c2783cc3d116e074863a8fa1 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Wed, 19 Apr 2017 13:41:10 +0100 Subject: [PATCH 110/301] MAGETWO-62942: Publish Magento Technical Guidelines * fixed formatting for the code sample in the <14.Events> section --- .../technical-guidelines/technical-guidelines.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md index 9990ded2cde..7095c9b47ed 100644 --- a/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md +++ b/guides/v2.1/coding-standards/technical-guidelines/technical-guidelines.md @@ -475,10 +475,8 @@ We are reviewing this section and will publish it soon. 14.1. All values (including objects) passed to an event MUST NOT be modified in the event observer. Instead, plugins SHOULD BE used for modifying the input or output of a function. -{% collapsible Examples: %} +{% collapsible Example: %} {%highlight php startinline=1%} - -``` class SampleEventObserverThatModifiesInputs { /** @@ -488,7 +486,7 @@ class SampleEventObserverThatModifiesInputs { /** @var \Magento\Framework\App\DataObject $transport */ $transport = $observer->getData('transport'); - + if ($transport->getData('some_value') === true) { /** * Expecting this value to go back to the original event dispatcher violates @@ -499,10 +497,11 @@ class SampleEventObserverThatModifiesInputs } } } -``` {%endhighlight%} {% endcollapsible %} +--- +{:start="14.2"} 14.2. Events used SHOULD be observed as specifically as possible. A `global` subscription to an event SHOULD NOT be used when the area impacted is just `frontend`. From 0dab24ff3ef7ee21d60a5f79737d2d25600a960e Mon Sep 17 00:00:00 2001 From: Lagno Iryna Date: Wed, 19 Apr 2017 16:12:15 +0300 Subject: [PATCH 111/301] Update indexer-batch.md Adding information about batch size configuration for catalog_product_attribute indexer --- guides/v2.2/extension-dev-guide/indexer-batch.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 2e76310f236..61b1629fb0e 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -79,6 +79,7 @@ Index name | Configuration file | Configured object | Parameter name | Default v catalog_product_price (Product Price) | `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\BatchSizeCalculator` | batchRowsCount['default'] | 5000 cataloginventory_stock (Stock) | `Magento/CatalogInventory/etc/di.xml` | `Magento\CatalogInventory\Model\Indexer\Stock\Action\Full` | batchRowsCount['default'] | 200 catalog_category_product (Category Products)| `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\Indexer\Category\Product\Action\Full` | batchRowsCount | 100000 +catalog_product_attribute (Product Attribute)| `Magento/Catalog/etc/di.xml` | `Magento\Catalog\Model\ResourceModel\Product\Indexer\Eav\BatchSizeCalculator` | batchSizes['decimal'], batchSizes['source'] | 1000, 1000 Changing the batch size can help you optimize indexer running time. For example, for a store with the following characteristcs: From 243ead21c9829cc572e8206885c47acfed4a4175 Mon Sep 17 00:00:00 2001 From: Tana M Berry Date: Wed, 19 Apr 2017 15:09:44 -0500 Subject: [PATCH 112/301] Update bk-architecture.md test --- guides/v2.0/architecture/bk-architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/architecture/bk-architecture.md b/guides/v2.0/architecture/bk-architecture.md index 8fc66464361..381b3f74047 100644 --- a/guides/v2.0/architecture/bk-architecture.md +++ b/guides/v2.0/architecture/bk-architecture.md @@ -16,5 +16,5 @@ The Architecture Guide provides a high-level introduction and view of the Magent The Magento platform and components are explained from the perspective of several audiences: merchants, web store developers (frontend developers), extension developers, system admins, installers, and integrators. -More detailed information about building online stores, using the Magento APIs, installing, configuring, and extending the platform is included in other books in the Magento library. +More detailed information about building online stores, using the Magento APIs, installing, configuring, and extending the platform is included in other books in our Magento library. From a954962332a738e255bfb06465c65ebf274dddf8 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Wed, 19 Apr 2017 21:14:39 -0700 Subject: [PATCH 113/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 244 ++++++++++++++++++++++++++ _includes/changes/ee/216-develop.html | 88 ++++++++++ 2 files changed, 332 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index 23d0839dba9..143e412c31d 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -289,6 +289,10 @@

    Class

    Magento\Framework\View\Layout\Proxy::removeCache [public] Method has been removed. + + Magento\Framework\View\Layout\Reader\UiComponent::__construct + [public] Method parameter changed. + Magento\Framework\View\Asset\Source::$varDir [protected] Property has been removed. @@ -497,6 +501,10 @@

    Class

    Magento\Framework\Config\View::getDomConfigCopy [public] Method has been removed. + + Magento\Framework\Code\Minifier\Adapter\Css\CSSmin::__construct + [public] Method parameter changed. + Magento\Framework\App\Config::__construct [public] Method parameter changed. @@ -533,6 +541,10 @@

    Class

    Magento\Weee\Model\App\Action\ContextPlugin::aroundDispatch [public] Method has been removed. + + Magento\Vault\Model\PaymentTokenRepository::getList + [public] Method parameter changed. + Magento\User\Model\ResourceModel\User::__construct [public] Method parameter changed. @@ -541,6 +553,10 @@

    Class

    Magento\User\Model\ResourceModel\User::$_aclCache [protected] Property has been removed. + + Magento\Ui\Component\Listing\Columns\Date::__construct + [public] Method parameter changed. + Magento\Theme\Setup\UpgradeData::__construct [public] Method parameter changed. @@ -549,10 +565,18 @@

    Class

    Magento\Theme\Model\Url\Plugin\Signature::aroundGetBaseUrl [public] Method has been removed. + + Magento\Theme\Controller\Result\MessagePlugin::__construct + [public] Method parameter changed. + Magento\Theme\Block\Html\Topmenu::$registry [protected] Property has been removed. + + Magento\Tax\Model\TaxRuleRepository::getList + [public] Method parameter changed. + Magento\Tax\Model\Quote\GrandTotalDetailsPlugin::aroundProcess [public] Method has been removed. @@ -649,6 +673,10 @@

    Class

    Magento\Sales\Model\InvoiceOrder::__construct [public] Method parameter changed. + + Magento\Sales\Model\OrderRepository::getList + [public] Method parameter changed. + Magento\Sales\Model\ShipOrder::__construct [public] Method parameter changed. @@ -661,6 +689,34 @@

    Class

    Magento\Sales\Model\ResourceModel\Order\Plugin\Authorization::aroundLoad [public] Method has been removed. + + Magento\Sales\Model\Order\AddressRepository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\CreditmemoRepository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\InvoiceRepository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\ItemRepository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\ShipmentRepository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\Payment\Repository::getList + [public] Method parameter changed. + + + Magento\Sales\Model\Order\Payment\Transaction\Repository::getList + [public] Method parameter changed. + Magento\Sales\Model\CronJob\CleanExpiredOrders::__construct [public] Method parameter changed. @@ -677,6 +733,10 @@

    Class

    Magento\Quote\Observer\Frontend\Quote\Address\CollectTotalsObserver::__construct [public] Method parameter changed. + + Magento\Quote\Model\QuoteRepository::getList + [public] Method parameter changed. + Magento\Quote\Model\Product\Plugin\RemoveQuoteItems::aroundDelete [public] Method has been removed. @@ -717,6 +777,10 @@

    Class

    Magento\Paypal\Block\Adminhtml\Store\SwitcherPlugin::aroundGetUrl [public] Method has been removed. + + Magento\PageCache\Model\Config::__construct + [public] Method parameter changed. + Magento\PageCache\Model\Config::VARNISH_3_CONFIGURATION_PATH Constant has been removed. @@ -1237,6 +1301,10 @@

    Class

    Magento\Framework\Stdlib\ArrayUtils::recursiveDiff [public] Method has been added. + + Magento\Framework\Stdlib\BooleanUtils::convert + [public] Method has been added. + Magento\Framework\Stdlib\DateTime\DateTime::__construct [public] Method has been added. @@ -1709,6 +1777,14 @@

    Class

    Magento\UrlRewrite\Model\MergeDataProvider Class was added. + + Magento\Ui\Block\Logger + Class was added. + + + Magento\Ui\Block\Component\StepsWizard + Class was added. + Magento\Theme\Ui\Component\Design\Config\DataProvider Class was added. @@ -2073,6 +2149,10 @@

    Class

    Magento\Payment\Block\Adminhtml\Transparent\Form Class was added. + + Magento\PageCache\Model\Varnish\VclGenerator + Class was added. + Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptions Class was added. @@ -2389,10 +2469,18 @@

    Interface

    Magento\Framework\Acl\CacheInterface Interface was removed. + + Magento\Vault\Api\PaymentTokenRepositoryInterface::getList + [public] Method parameter changed. + Magento\UrlRewrite\Model\UrlPersistInterface::replace [public] Method has been added. + + Magento\Tax\Api\TaxRuleRepositoryInterface::getList + [public] Method parameter changed. + Magento\Store\Api\Data\GroupInterface::getCode [public] Method has been added. @@ -2401,6 +2489,74 @@

    Interface

    Magento\Store\Api\Data\GroupInterface::setCode [public] Method has been added. + + Magento\Sales\Api\CreditmemoCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\CreditmemoItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\CreditmemoRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderAddressRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderPaymentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderStatusHistoryRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentTrackRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\TransactionRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Quote\Api\CartRepositoryInterface::getList + [public] Method parameter changed. + Magento\Framework\Interception\ChainInterface Interface was removed. @@ -2473,6 +2629,14 @@

    Interface

    Magento\Framework\Api\Search\SearchResultInterface::getAllIds [public] Method has been added. + + Magento\Vault\Api\PaymentTokenRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Tax\Api\TaxRuleRepositoryInterface::getList + [public] Method parameter changed. + Magento\Store\Api\Data\GroupInterface::getCode [public] Method has been added. @@ -2481,6 +2645,74 @@

    Interface

    Magento\Store\Api\Data\GroupInterface::setCode [public] Method has been added. + + Magento\Sales\Api\CreditmemoCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\CreditmemoItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\CreditmemoRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\InvoiceRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderAddressRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderPaymentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\OrderStatusHistoryRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentCommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentItemRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\ShipmentTrackRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Sales\Api\TransactionRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Quote\Api\CartRepositoryInterface::getList + [public] Method parameter changed. + Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PERCENTAGE_VALUE Constant has been added. @@ -2589,6 +2821,10 @@

    Interface

    Magento\UrlRewrite\Model\UrlFinderInterface Interface was added. + + Magento\Ui\Block\Component\StepsWizard\StepInterface + Interface was added. + Magento\Store\Model\ScopeInterface Interface was added. @@ -2689,6 +2925,14 @@

    Interface

    Magento\Payment\Api\Data\PaymentMethodInterface Interface was added. + + Magento\PageCache\Model\VclGeneratorInterface + Interface was added. + + + Magento\PageCache\Model\VclTemplateLocatorInterface + Interface was added. + Magento\GiftMessage\Block\Cart\Item\Renderer\Actions\LayoutProcessorInterface Interface was added. diff --git a/_includes/changes/ee/216-develop.html b/_includes/changes/ee/216-develop.html index b544c3f8ba5..e375f2b06db 100644 --- a/_includes/changes/ee/216-develop.html +++ b/_includes/changes/ee/216-develop.html @@ -281,6 +281,10 @@

    Class

    Magento\SalesArchive\Model\ResourceModel\Plugin\Grid::$resource [protected] Property has been removed. + + Magento\Rma\Model\Service\RmaManagement::search + [public] Method parameter changed. + Magento\Reward\Model\Plugin\CartTotalRepository::aroundGet [public] Method has been removed. @@ -373,6 +377,10 @@

    Class

    Magento\Logging\App\Action\Plugin\Log::aroundDispatch [public] Method has been removed. + + Magento\GiftWrapping\Model\WrappingRepository::getList + [public] Method parameter changed. + Magento\GiftWrapping\Model\Plugin\MessageCartRepository::aroundSave [public] Method has been removed. @@ -553,6 +561,22 @@

    Class

    Magento\Reward\Model\ResourceModel\Reward\History\Collection Class was added. + + Magento\Logging\Model\Event + Class was added. + + + Magento\Logging\Model\Source\Frequency + Class was added. + + + Magento\Logging\Model\ResourceModel\Event\Collection + Class was added. + + + Magento\Logging\Model\Event\Changes + Class was added. + Magento\GiftWrapping\Model\Wrapping\Validator Class was added. @@ -621,6 +645,22 @@

    Class

    Magento\GiftRegistry\Helper\Data Class was added. + + Magento\BannerCustomerSegment\Model\ResourceModel\BannerSegmentLink + Class was added. + + + Magento\Banner\Model\Config + Class was added. + + + Magento\Banner\Model\ResourceModel\Banner + Class was added. + + + Magento\Banner\Model\ResourceModel\Banner\Collection + Class was added. +

    Interface

    @@ -629,6 +669,30 @@

    Interface

    Target What Changed + + Magento\Rma\Api\CommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Rma\Api\RmaManagementInterface::search + [public] Method parameter changed. + + + Magento\Rma\Api\RmaRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Rma\Api\TrackRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\GiftWrapping\Api\WrappingRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\GiftCardAccount\Api\GiftCardAccountRepositoryInterface::getList + [public] Method parameter changed. + Magento\Doc\Document\ContentInterface Interface was removed. @@ -661,6 +725,30 @@

    Interface

    Magento\Doc\Document\Type\ReferenceInterface Interface was removed. + + Magento\Rma\Api\CommentRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Rma\Api\RmaManagementInterface::search + [public] Method parameter changed. + + + Magento\Rma\Api\RmaRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\Rma\Api\TrackRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\GiftWrapping\Api\WrappingRepositoryInterface::getList + [public] Method parameter changed. + + + Magento\GiftCardAccount\Api\GiftCardAccountRepositoryInterface::getList + [public] Method parameter changed. + Magento\Framework\Bulk\BulkManagementInterface Interface was added. From 548d15e1ee5545d81d5e1410af04822bb0f12c18 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Thu, 20 Apr 2017 13:50:36 +0100 Subject: [PATCH 114/301] Update for What's New: Technical guidelines, Events section --- guides/v2.0/magento-devdocs-whatsnew.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index e2fbc6a3e9e..b1fa784c1a5 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -18,9 +18,9 @@ This page contains recent changes that we think you'd like to know about. We exc | Description | Versions applied to | New or Updated | Date | |--------------|--------------|----------------------|--------| +| [Technical guidelines for Events]({{ page.baseurl }}coding-standards/technical-guidelines/technical-guidelines.html#events){:target="_blank"} | 2.1.x | New | Apr 19 | | [Migration: Follow-up after running the Data Migration Tool]({{ page.baseurl }}migration/migration-migrate-follow-up.html){:target="_blank"} | 2.x | Updated | Apr 14 | - {% collapsibleh2 March 2017 %} | Description | Versions applied to | New or Updated | Date | From ac8cd8e505d0ba07c13d3db8499b5fb30c960e98 Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Thu, 13 Apr 2017 10:49:18 -0500 Subject: [PATCH 115/301] Remove missing external code references Squashed Commits: * Separate sentences into different lines * Convert html links to use markdown * Revise the javascript coding standard documentation * Clean up jquery standards doc * Remove external code references --- .../code-standard-javascript.md | 770 ++++--------- .../code-standard-jquery-widgets.md | 1003 ++++------------- .../config-guide/cache/caching-cache-type.md | 15 +- .../extension-dev-guide/indexing-custom.md | 18 - guides/v2.0/extension-dev-guide/plugins.md | 4 +- 5 files changed, 463 insertions(+), 1347 deletions(-) diff --git a/guides/v2.0/coding-standards/code-standard-javascript.md b/guides/v2.0/coding-standards/code-standard-javascript.md index 02e02afe5f5..72f372ef2d3 100644 --- a/guides/v2.0/coding-standards/code-standard-javascript.md +++ b/guides/v2.0/coding-standards/code-standard-javascript.md @@ -11,698 +11,338 @@ github_link: coding-standards/code-standard-javascript.md redirect_from: /guides/v1.0/coding-standards/code-standard-javascript.html --- -The JavaScript coding standard, based on the Google JavaScript Style Guide, defines Magento requirements for code formatting and style for teams that develop Magento JavaScript and jQuery code. +Magento's JavaScript coding standard is based on the [Google JavaScript Style Guide][js-guide]. +Developers writing JavaScript and jQuery code for Magento must follow this guide along with the additional, Magento-specific standards listed in this document. -Use RFC 2119 to interpret the "must," "must not," "required," "shall," "shall not," "should," "should not," "recommended," "may," and "optional" keywords. +Use [RFC 2119](http://www.ietf.org/rfc/rfc2119.txt) to interpret the "must," "must not," "required," "shall," "shall not," "should," "should not," "recommended," "may," and "optional" keywords. -The Magento system uses the jQuery library including the standard and custom jQuery widgets. For the jQuery widget coding standard, see jQuery widget coding standard. +Magento uses the [jQuery library][jquery] including standard and custom [jQuery widgets][jquery-widgets]. +For the jQuery widget coding standard, see [jQuery widget coding standard][jquery-widget-coding-standard]. -Some parts of Magento code might not comply with this coding standard. +## JSHint tool +Use [JSHint][jshint] to ensure the quality of your JavaScript code. -This coding standard is recommended for third-party Magento developers. +JSHint is a community-driven tool that detects errors and potential problems in JavaScript code. +Its flexibility enables you to customize it to for specific coding standards and expected code execution environment. -## JSHint tool {#fedg_js-coding_JSHint} -Use JSHint to ensure the quality of your JavaScript code. +## Additional formatting standards -JSHint is a community-driven tool that detects errors and potential problems in JavaScript code. Its flexibility enables you to customize it to your coding standard and expected code execution environment. jQuery core passes JSHint. +### Anonymous function calls -## Formatting {#fedg_js-coding-format} -See one of the following sections: +When you declare an anonymous function as an argument in a function call, indent the body of the function by *four* spaces from the left edge of the statement or function keyword to increase readability. -* [Anonymous functions](#fedg_js-coding_codestyle_anon) -* [End of file](#fedg_js-coding-format_eof) -* [Function arguments](#fedg_js-coding_codestyle_funcargs) -* [Indentation](#fedg_js-coding-format_indent) -* [Indent wrapped lines](#fedg_js-coding_codestyle_indent) -* [Line length](#fedg_js-coding-format_length) -* [Line termination](#fedg_js-coding-format_terminate) -* [Multiline string literals](#fedg_js-coding-format_multilit) -* [Parentheses](#fedg_js-coding-format_multilit) -* [Statements and conditions](#fedg_js-coding_codestyle_stmt) -* [Strings](#strings) +{% highlight javascript %} -### Anonymous functions {#fedg_js-coding_codestyle_anon} -When you declare an anonymous function in the list of arguments for a function call, indent the body of the function four spaces from the left edge of the statement, or four spaces from the left edge of the function keyword. +myObject.myFunction(param1, function (a,b) { + //Function logic + return a > b; +}); -This makes the body of the anonymous function easier to read. +{% endhighlight%} - +### End of file -### End of file {#fedg_js-coding-format_eof} -The last line in a file also must end with a single linefeed (LF) character. +The last line in a file must end with a single linefeed(LF) character(i.e. an empty line). -In other words, a file always ends with an empty line. This reduces quantity of the changed lines in a diff and makes code safer in files concatenation process. +This reduces the quantity of the changed lines in a diff and makes code safer in file concatenation processes. -### Function arguments {#fedg_js-coding_codestyle_funcargs} -When possible, list all function arguments on the same line. +### Indentation -If doing so exceeds the 120-column limit, you must line-wrap the arguments in a readable way. +Indentation in Magento code uses four spaces. -To save space, try to wrap as close to 80 columns as possible (remember 120-column limit), or put each argument on its own line to enhance readability. +Tabs are not allowed as indentation. -The indentation should be four spaces. +#### Wrapped lines -The following patterns are the most common patterns for argument wrapping: +Indent wrapped lines four spaces or left-aligned to the expression above. - +### Max line length -### Indentation {#fedg_js-coding-format_indent} -Indentation should consist of four spaces. +The recommended max line length is 80 characters. -Tabs are not allowed. +Source code lines must not exceed 120 characters. -### Indent wrapped lines {#fedg_js-coding_codestyle_indent} -You should indent all wrapped lines to be left-aligned to the expression above, or indented four spaces. +Comment lines that contain an example command or a literal URL longer than 120 characters may exceed the 120 character limit for ease of cutting and pasting. - +Do not be concerned about header guards that exceed 120 characters. -### Line length {#fedg_js-coding-format_length} -Source code line length must not exceed 120 characters. +### Line termination -Recommended line length is 80 characters. - -
    -
      -
    • If a comment line contains an example command or a literal URL longer than 120 characters, that line can be longer than 120 characters for ease of cutting and pasting.
    • -
    • Do not be concerned about header guards that exceed 120 characters.
    • -
    -
    - -### Line termination {#fedg_js-coding-format_terminate} Line termination follows the UNIX text file convention. -Lines must end with a single linefeed (LF) character. +Lines must end with a single linefeed(LF) character represented as ordinal 10 or hexadecimal (`0x0A`). -Linefeed characters are represented as ordinal 10, or hexadecimal (0x0A). +*Do not* use carriage the Mac OS convention of carriage returns(CR or `0x0D`) or the carriage return-linefeed combination(CRLF or `0x0D` and `0x0A`) standard for Windows OS. -
    -

    Do not use carriage returns (CR) as is the convention in Mac OS (0x0D) or the carriage return–linefeed combination (CRLF) as is standard in Windows OS (0x0D, 0x0A).

    +### Multi-line string literals -
    +Use string concaternation for multi-line string literals: -### Multiline string literals {#fedg_js-coding-format_multilit} -Use string concatenation: +{% highlight javascript %} +var myString = 'JavaScript was originally developed in Netscape, by Brendan Eich. ' + + 'Battling with Microsoft over the Internet, Netscape considered their client-server solution ' + + 'as a distributed OS, running a portable version of Sun Microsystem’s Java. ' + + 'Because Java was a competitor of C++ and aimed at professional programmers, ' + + 'Netscape also wanted a lightweight interpreted language that would complement Java ' + + 'by appealing to nonprofessional programmers, like Microsoft’s VB.[9] (see JavaScript and Java)'; +{% endhighlight %} - var myString = 'JavaScript was originally developed in Netscape, by Brendan Eich. ' + - 'Battling with Microsoft over the Internet, Netscape considered their client-server solution ' + - 'as a distributed OS, running a portable version of Sun Microsystem’s Java. ' + - 'Because Java was a competitor of C++ and aimed at professional programmers, ' + - 'Netscape also wanted a lightweight interpreted language that would complement Java ' + - 'by appealing to nonprofessional programmers, like Microsoft’s VB.[9] (see JavaScript and Java)'; +### Parentheses -### Parentheses {#fedg_js-coding_codestyle_parens} -Use sparingly and in general only where required by the syntax and semantics. +Use sparingly and in general where required by the syntax and semantics. Never use parentheses for: -* Unary operators such as `delete`, `typeof`, and `void` +* Unary operators (e.g. `delete`, `typeof`, and `void`) * After keywords such as `return`, `throw` -* For `case`, `in`, or `new`, and others like them - -### Semicolons {#semicolons} -Always put semicolons as statement terminators. -The following example shows how missing semicolons can be particularly dangerous: - - // 1. - MyClass.prototype.myMethod = function() { - return 42; - } // No semicolon here. - - (function() { - // Some initialization code wrapped in a function to create a scope for locals. - })(); - - // 2. Trying to do one thing on Internet Explorer and another on Firefox. - var x = { - 'i': 1, - 'j': 2 - } // No semicolon here. - - // I know you'd never write code like this, but throw me a bone. - [normalVersion, ffVersion][isIE](); - - // 3. conditional execution a la bash - var THINGS_TO_EAT = [apples, oysters, sprayOnCheese] // No semicolon here. +* For `case`, `in`, or `new`, and others keywords like them - -1 == resultOfOperation() || die(); +### Statements and conditions -**So what happens?** - -1. JavaScript error—first the function returning 42 is called with the second function as a parameter, then the number 42 is "called" resulting in an error. -2. The 'no such property in undefined' error is likely to appear at runtime as it tries to call `x[ffVersion][isIE]()`. -3. `die` is called unless `resultOfOperation()` is `NaN` and `THINGS_TO_EAT` gets assigned the result of `die()`. - -**Why?** -JavaScript requires statements to end with a semicolon, except when it thinks it can safely infer their existence. - -In each of the examples above, a function declaration, or an object, or an array literal is used inside a statement. - -The closing brackets are not enough to indicate the end of the statement. JavaScript never ends a statement if the next token is an infix or bracket operator. - -

    Statements and conditions

    Do not put statements on the same line as conditions. -**Incorrect:** - - if (true) return; - if (true) blah(); - -**Correct:** - - if (true) { - return; - } - - if (true) { - blah(); - } - -### Strings {#strings} -For consistency, single-quotes are preferred to double quotes. This is helpful when creating strings that include HTML: - - var msg = '<span class="text">Hello World!</div>'; - -## Naming conventions {#fedg_js-coding_naming} -See one of the following sections: - -* Constants -* File names - - -### Constants {#fedg_js-coding_naming_const} -Constants may contain both alphanumeric characters and underscores (`_`). - -All letters used in a constant name must be capitalized, while all words in a constant name must be separated by an underscore. - -For example, `EMBED_SUPPRESS_EMBED_EXCEPTION` is an acceptable name, but `EMBED_SUPPRESSEMBEDEXCEPTION` is not. - -Constants must be defined as class members with the `const` modifier. - -In JavaScript constants are declared using the `@const` annotation. But Internet Explorer does not parse the `@const` keyword, so omit it, if possible. - -For example, variables can be used instead of constants for storing simple values. Applying the naming convention used for constants (ALL CAPS) in naming these variables would indicate that their value is not supposed to be changed. - -Example: - - /** - * The number of seconds in a minute. - * @type {number} - */ - obj.example.SECONDS_IN_A_MINUTE = 60; - -For non-primitives, use the `@const` annotation. +{% highlight javascript %} +// Incorrect +if (true) return; +if (true) blah(); - /** - * The number of seconds in each of the given units. - * @type {Object.<number>} - * @const - */ - obj.example.SECONDS_TABLE = { - minute: 60, - hour: 60 * 60 - day: 60 * 60 * 24 +// Correct +if (true) { + return; +} -### File names {#fedg_js-coding_naming_files} -File names should be all lowercase to avoid confusion on case-sensitive platforms. +if (true) { + blah(); +} +{% endhighlight %} -File names should contain only alphanumeric characters, and dash character (`-`) as words separator, end with `.js`: +### Semicolons +Always put semicolons as statement terminators. -* **Correct**: `dialog-popup-base-features.js` -* **Incorrect**: `dialog_popup_base_features.js` +The following code examples show the dangers of missing semicolons: -## Code style {#fedg_js-coding_codestyle} -See one of the following sections: +{% highlight javascript %} +// Example 1: JavaScript Error +MyClass.prototype.myMethod = function() { + return 42; +} // <-- Missing semicolon -* [Curly braces](#fedg_js-coding_codestyle_curl) -* [Functions and methods](##fedg_js-coding_naming_fns) -* [Variables and properties](##fedg_js-coding_naming_vars) +(function() { + // Some initialization code wrapped in a function to create a scope for locals. +})(); +{% endhighlight %} -### Curly braces {#fedg_js-coding_codestyle_curl} -Because of implicit semicolon insertion, always start your curly braces on the same line as whatever they are opening. +Since there is semicolon to end the first statement, the first function returns 42 and the script interprets 42 as a function. +When the script tries to call 42 as a function with the second function as a parameter, an error occurs. -For example: +{% highlight javascript %} +// Example 2: Trying to do one thing on Internet Explorer and another on Firefox. +var x = { + 'i': 1, + 'j': 2 + } // <-- Missing semicolon - if (something) { - // ... - } else { - // ... - } +[normalVersion, ffVersion][isIE](); +{% endhighlight %} -### Functions and methods {#fedg_js-coding_naming_fns} -Function names may contain only alphanumeric characters. +A 'no such property in undefined' error appears during runtime when the script tries to call `x[ffVersion][isIE]()`. -Underscores are not permitted. +{% highlight javascript %} -Numbers are permitted in function names, but are discouraged in most cases. +// Example 3: Conditional execution a la bash +var THINGS_TO_EAT = [apples, oysters, sprayOnCheese] // <-- Missing semicolon -Function names must always start with a lowercase letter. +-1 == resultOfOperation() || die(); -When a function name consists of more than one word, use *camelCase* formatting, which capitalizes the first letter of each word. +{% endhighlight %} -Class method names should start with an English verb in infinitive form that describes the method. +The script calls `die` unless `resultOfOperation)_` is `NaN` and assigns `THING_TO_EAT` the result of `die()`. -Verbosity is generally encouraged. Function names should be as verbose as is needed to fully describe their purpose and behavior. +#### Explanation -Examples of acceptable function names include: +JavaScript requires statements to end with a semicolon, except when it thinks it can safely infer their existence. -* `filterInput()` -* `getElementById()` -* `widgetFactory()` +In each of the examples above, a function declaration, or an object, or an array literal is used inside a statement. -For object-oriented programming, accessors for instances or static variables should always have the `get` or `set` prefix. +The closing brackets are not enough to indicate the end of the statement. +JavaScript never ends a statement if the next token is an infix or bracket operator. -In design patterns, such as the singleton or factory patterns, implementation method names should contain the pattern name where practical to provide the better behavior description. +### Strings -Methods that return certain status flags or other Boolean values should have the `has` or `is` prefix, instead of `get`. +Use single quotes instead of double quotes for consistency. -For object methods that are declared with the `private` or `protected` modifier, the method name should start with underscore (`_`). +This is helpful when creating strings that include HTML: +{% highlight javascript %} +var msg = '<span class="text">Hello World!</div>'; +{% endhighlight %} -This is the only acceptable use of an underscore in a method name. Public methods should never contain an underscore. +## Additional naming convention standards -### Variables and properties {#fedg_js-coding_naming_vars} -Variable names may contain only alphanumeric characters. +### General naming conventions -Underscores (`_`) are not permitted. +* Avoid underscores and numbers in names. +* Variables or methods should have names that accurately describe their purpose or behavior. +* Object methods or variables that are declared `private` or `protected` should start with an underscore(`_`). -Numbers are permitted in variable names, but are discouraged in most cases. +### Functions and methods -Instance variables that are declared with the `private` or `protected` modifier, should start with a single underscore. +* Class method names should start with an English verb in its infinitive form that describes the method. +* Names for accessors for instance or static variables should always have the `get` or `set` prefix. +* In design pattern classes, implementation method names should contain the pattern name where practical to provide better behavior description. +* Methods that return status flags or Boolean values should have the `has` or `is` prefix. -This is the only acceptable use of the underscore in a variable name. Member variables declared as `public` should never start with an underscore. +### Variables and properties -Function names and variable names must always start with a lowercase letter and follow the camelCase capitalization convention. +* Do not use short variable names such as `i` or `n` except in small loop contexts +* If a loop contains more than 20 lines of code, the index variables should have more descriptive names. -Verbosity is generally encouraged. +## Additional coding construct standards -Variables names should always be as verbose as needed to describe the data that the developer intends to store in them. +### Binary and ternary operators -Terse variable names such as `i` or `n` are discouraged for all, but the smallest loop contexts. +Always put the operator on the preceding line to avoid implicit semi-colon insertion issues. -If a loop contains more than 20 lines of code, the index variables should have more descriptive names. +### Custom `toString()` method -## Coding constructs {#coding-constructs} -See one of the following sections: +This method must always succeed without side effects. -* [Array and object literals](#fedg_js-coding_codestyle_literals) -* [Binary and ternary operators](#fedg_js-coding_codestyle_binary-ternary) -* [Boolean expressions](#boolean) -* [Boolean operators](#operators) -* [Conditional (ternary) operators (? and :)](#conditional) -* [Exceptions and custom exceptions](#exceptions) -* [Function declarations within blocks](#functions-in-blocks) -* [Standard features](#standard-features) -* [Method definitions](#methods) -* [Closures](#closures) - - -### Array and object literals {#fedg_js-coding_codestyle_literals} -Use array and object literals instead of array and object constructors. - -The following example is correct. Always use the more readable array literal: - - var a = [x1, x2, x3]; - var a2 = [x1, x2]; - var a3 = [x1]; - var a4 = []; +### Function declarations within blocks -
    -

    The following example is incorrect because array constructors are error-prone due to their arguments. - Because of this, if someone changes the code to pass one argument instead of two arguments, the array might not have the expected length.

    +Use a variable initialized with a function expression to define a function within a block. - -
    -Object constructors don't have the same problems, but for readability and consistency object literals should be used. - - var o = {}; - var o2 = { - a: 0, - b: 1, - c: 2, - 'strange key': 3 - }; - -### Binary and ternary operators {#fedg_js-coding_codestyle_binary-ternary} -Always put the operator on the preceding line, so that you don't have to think about implicit semi-colon insertion issues. - - - -

    Boolean expressions

    -Pay attention to the values of the following Boolean expressions: - - - - - - - - - - - - - - - - - - - - - - - - - -
    FalseTrue
    null0
    undefined[] (empty array)
    '' (the empty string){} (empty object)
    0 (the number) -
    - -The following code samples are equivalent: - - - - - - - - - - - - - - - - - - - - -
    Correct - long formCorrect - short formNote
    while (x != null)while (x)Equal as long as x is not 0, empty string, or false
    if (y != null && y != '')if (y) -
    -
    -

    Here are some examples of non-obvious Boolean expressions results:

    - -
    Boolean('0') == true
    -'0' != true
    -
    0 != null
    -0 == []
    -0 == false
    -
    Boolean(null) == false
    -null != true
    -null != false
    -
    Boolean(undefined) == false
    -undefined != true
    -undefined != false
    -
    Boolean([]) == true
    -[] != true [] == false
    -
    Boolean({}) == true
    -{} != true
    -{} != false
    - - -
    - -### Boolean operators (&& and ||) {#operators} -These binary Boolean operators are short-circuited, and evaluate to the last evaluated term. - -The following code samples are equal: - - - - - - - - - - - - - - - - - - - - - -
    Correct—long formCorrect—short formNotes
    -
    function foo(opt_win) {
    -    var win;
    -    if (opt_win) {
    -        win = opt_win;
    -    } else {
    -        win = window;
    -    }
    -    // ...
    -}
    -
    -
    function foo(opt_win) {
    -    var win = opt_win || window;
    -    // ...
    -}
    -
    That is why the || operator is the default.
    -
    if (node) {
    -    if (node.kids) {
    -        if (node.kids[index]) {
    -            foo(node.kids[index]);
    -        }
    -    }
    -}
    -
    -
    if (node && node.kids && node.kids[index]) {
    -    foo(node.kids[index]);
    -}
    -
    var kid = node && node.kids && node.kids[index];
    -if (kid) {
    -    foo(kid);
    -}
    -
    && is also useful for code shortening.
    - -### Conditional (ternary) operators (? and :) {#conditional} -The following code samples are equal: - - - - - - - - - - - - - - -
    Correct - long formCorrect - short form
    -
    if (val != 0) {
    -    return foo();
    -} else {
    -    return bar();
    -}
    -
    -
    return val ? foo() : bar();
    -
    - -### Custom toString() method {#tostring-method} -**Must always succeed without side effects.** -You can control how your objects are converted to string by defining a custom `toString()` method. - -The method should: - -* Always succeed. -* Not have side-effects. - -Otherwise you can run into serious problems. For example: - -* `toString()` calls a method that does an assert. -* The assert tries to output the name of the object in which it failed. -* `toString()` is called. - -### Function declarations within blocks {#functions-in-blocks} -ECMAScript allows function declarations only in the root statement list of a script or a function. - -To define a function within a block, use a variable initialized with a function expression. - -**Wrong:** - - if (x) { - function foo() {} - } +{% highlight javascript %} +// Wrong +if (x) { + function foo() {} +} -**Correct:** +// Correct +if (x) { + var foo = function() {} +} +{% endhighlight %} - if (x) { - var foo = function() {} - } +### Exceptions and custom exceptions -

    Exceptions and custom exceptions

    You cannot avoid exceptions if you are doing something non-trivial (using an application development framework, and so on). -Without custom exceptions, returning error information from a function that also returns a value can be tricky, not to mention inelegant. Bad solutions include passing in a reference type to hold error information or always returning Objects with a potential error member. +Without custom exceptions, returning error information from a function that also returns a value can be tricky, not to mention inelegant. +Bad solutions include passing in a reference type to hold error information or always returning Objects with a potential error member. -These basically amount to a primitive exception handling hack. Feel free to use custom exceptions when appropriate. +These basically amount to a primitive exception handling hack. +Feel free to use custom exceptions when appropriate. ### Standard features {#standard-features} + For maximum portability and compatibility, use standard features whenever possible. For example, `string.charAt(3)` instead of `string[3]`, and element access with DOM functions instead of using an application-specific shorthand. -

    Method definitions

    +### Method definitions + There are several ways to attach methods and properties to a constructor, but the preferred style is: - Foo.prototype.bar = function() { - // ... - }; +{% highlight javascript %} +Foo.prototype.bar = function() { + // ... +}; +{% endhighlight %} Or you can also use this style: - Foo.prototype = { - bar: function() { - // ... +{% highlight javascript %} +Foo.prototype = { + bar: function() { + // ... }, - circle: function() { - // ... - } - }; - -### Closures {#closures} -Keep in mind that a closure keeps a pointer to its enclosing scope. - -As a result, attaching a closure to a DOM element can create a circular reference and thus, a memory leak. - -**Wrong:** - - function foo(element, a, b) { - element.onclick = function() { /* uses a and b */ }; + circle: function() { + // ... } +}; +{% endhighlight %} -The function closure keeps references to elements "a" and "b" even if it never uses them. - -Because elements also keep references to the closure, it is a cycle that will not be cleaned up by garbage collection. In these situations, the code can be structured as follows: - -**Correct:** - - function foo(element, a, b) { - element.onclick = bar(a, b); - } - - function bar(a, b) { - return function() { /* uses a and b */ } - } - -## General recommendations {#general-recommendations} -See one of the following sections: - -* [Do not use eval](#eval) -* [Do not use with()](#with) -* [Use this with caution](#this) -* [Array and object initializers](#fedg_js-coding_codestyle_arrayinit) -* [Do not use associative arrays](#fedg_js-coding_codestyle_arrayinit) -* [Use deferred initialization](#deferred-init) -* [Do not modify built-in objects](#prototypes) -* [Declare variables](#variables-scope) +### Closures -### Do not use eval() {#eval} -Avoid using `eval()`. +A closure keeps a pointer to its enclosing scope, so attaching a closure to a DOM element can create a circular reference and thus, a memory leak. -The `eval()` function makes for confusing semantics and is dangerous to use if the string passed to `eval()` contains user input. Usually better options exist allowing to omit `eval()`, so its usage is generally not permitted. However, it is accepted for unserializing tasks (for example, to evaluate RPC responses), as it makes them much easier. +{% highlight javascript %} +// Wrong +function foo(element, a, b) { + element.onclick = function() { /* uses a and b */ }; +} +{% endhighlight %} -### Do not use with() {#with} -Do not use the `with()` statement. - -Using `with()` clouds the semantics of your program, because its object can have properties that collide with local variables, which can drastically change the meaning of your program. - -Example: what will be the result of the following code execution? - - with (foo) { - var x = 3; - return x; - } - -Answer: anything. +The function closure keeps references to elements "a" and "b" even if it never uses them. -The local variable x could be clobbered by a property of foo, and perhaps it even has a setter, in which case assigning 3 could cause lots of other code to execute. +Because elements also keep references to the closure, it is a cycle that will not be cleaned up by garbage collection. +In these situations, the code can be structured as follows: -### Use this with caution {#this} -Semantic of this can be tricky. It can refer to either: +{% highlight javascript %} +// Correct +function foo(element, a, b) { + element.onclick = bar(a, b); +} +function bar(a, b) { + return function() { /* uses a and b */ } +} +{% endhighlight %} -* global object (in most cases) -* the scope of the caller (in eval) -* a node in the DOM tree (when attached using an event handler HTML attribute) -* a newly created object (in a constructor) -* other object - if a function was called by call() or apply(). +## Additional general standards -To avoid confusion, use this only in object constructors, methods, and in closures setting up. +### Array and object initializers -### Array and object initializers {#fedg_js-coding_codestyle_arrayinit} Single-line array and object initializers are allowed when they fit on a line as follows: +{% highlight javascript %} var arr = [1, 2, 3]; // No space after [ or before ]. - var obj = {a: 1, b: 2, c: 3}; // No space after { or before }. - -Multi-line array and object initializer must be indented four spaces. + var obj = {a: 1, b: 2, c: 3}; // No space after { or before }. +{% endhighlight %} - Long identifiers or values present problems for aligned initialization lists, so always prefer non-aligned initialization. For example: - Object.prototype = { - a: 0, - b: 1, - lengthyName: 2 - }; - -
    -

    The following is incorrect:

    - -
    WRONG_Object.prototype = {
    -    a          : 0,
    -    b          : 1,
    +{% highlight javascript %}
    +Object.prototype = {
    +    a: 0,
    +    b: 1,
         lengthyName: 2
    -};
    -
    +}; +{% endhighlight %} -### Do not use associative arrays {#associative-arrays} -Do not use associative arrays. +### Associative arrays -If you need a map/hash, use Object instead of Array, because the features you need are actually Object features. +Use `Object` instead of `Array` for associative arrays. -`Array` just happens to extend `Object`. +### Deferred initialization -### Use deferred initialization {#deferred-init} -It is sometimes impossible to initialize variables at the point of declaration, so deferred initialization is a good solution. +Use deferred initialization when it is not possible to initialize variables at the point of declaration. -### Use explicit scope {#explicit-scope} -Always use explicit scope. This increases code portability and clarity. +### Explicit scope -For example, do not rely on window being in the scope chain. You might want to use your function in another application, for which this window is not the content window. +Use explicit scope to increase code portability and clarity. -### Do not modify built-in objects {#prototypes} -
      -
    • - Modifying built-ins like Object.prototype and Array.prototype is strictly forbidden. +### Built-in objects -
    • -
    • - Modifying other built-ins like Function.prototype is less dangerous, but still leads to debugging issues in production and should be avoided. +Modifying built-in like `Object.prototype` and `Array.prototype` is strictly forbidden. -
    • -
    +Modifying other built-ins like `Function.prototype` is less dangerous but leads to debugging issue in production. -### Declare variables {#variables-scope} -If you do not declare a variable, it is placed in the global context, potentially clobbering existing values. +### Variable declarations -It also makes hard to define the variable scope. For example, it can be Document, Window or local scope. +Declare a variable with `var` wherever possible to avoid overwriting existing global values. -So always declare variables with var. +Using only one var per scope promotes readability. -Using only one var per scope (function) promotes readability. +{% highlight javascript %} +var foo == 'bar,' + num = 1, + arr = [1, 2, 3]; +{% endhighlight %} - var foo = "bar," - num = 1, - arr = [1, 2, 3]; +[js-guide]: https://google.github.io/styleguide/jsguide.html +[jquery]: https://jquery.com/ +[jquery-widgets]: http://api.jqueryui.com/category/widgets +[jquery-widget-coding-standard]: {{page.baseurl}}coding-standards/code-standard-jquery-widgets.html +[jshint]: http://www.JSHint.com diff --git a/guides/v2.0/coding-standards/code-standard-jquery-widgets.md b/guides/v2.0/coding-standards/code-standard-jquery-widgets.md index 0dfc0ae377f..c7678281948 100644 --- a/guides/v2.0/coding-standards/code-standard-jquery-widgets.md +++ b/guides/v2.0/coding-standards/code-standard-jquery-widgets.md @@ -11,784 +11,281 @@ github_link: coding-standards/code-standard-jquery-widgets.md redirect_from: /guides/v1.0/coding-standards/code-standard-jquery-widgets.html --- -

    Overview

    -

    In the Magento system, all jQuery UI widgets and interactions are built on a simple, reusable base—the jQuery UI Widget Factory. The factory provides a flexible base for building complex, stateful plug-ins with a consistent API. It is designed not only for plug-ins that are part of jQuery UI, but for general usage by developers who want to create object-oriented components without reinventing common infrastructure.

    -

    For more information, see the jQuery Widget API documentation.

    -

    This standard is mandatory for Magento core developers and recommended for third-party extension developers. Some parts of Magento code might not comply with the standard, but we are working to gradually improve this.

    -

    Use RFC 2119 to interpret the "must," "must not," "required," "shall," "shall not," "should," "should not," "recommended," "may," and "optional" keywords.

    - -

    Naming conventions

    -

    Widget names must consist of one or more non-abbreviated English words

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    (function($) {
    -$.widget('mage.accordion', $.ui.accordion, {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    (function($) {
    -$.widget('mage.ak123', $.ui.accordion, {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    -

    Widget names must be formatted in camelCase

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    (function($) {
    -$.widget('mage.vdeHistoryToolbar', {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    (function($) {
    -$.widget('mage.vde_historyToolbar', {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    -

    Verbosity is generally encouraged

    -
    -

    Widget names should be as verbose as needed to fully describe their purpose and behavior.

    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Declaration of the frontend.advancedEventTrigger widget
    +In the Magento system, all jQuery UI widgets and interactions are built on a simple, reusable base—the [jQuery UI Widget Factory][jquery-ui-widget-factory]{:target="_blank"}.
    +
    +The factory provides a flexible base for building complex, stateful plug-ins with a consistent API.
    +It is designed not only for plug-ins that are part of jQuery UI, but for general usage by developers who want to create object-oriented components without reinventing common infrastructure.
    +
    +For more information, see the [jQuery Widget API documentation][jquery-ui-api-doc]{:target="_blank"}.
    +
    +This standard is mandatory for Magento core developers and recommended for third-party extension developers.
    +Some parts of Magento code might not comply with the standard, but we are working to gradually improve this.
    +
    +Use [RFC 2119][rfc2119]{:target="_blank"} to interpret the "must," "must not," "required," "shall," "shall not," "should," "should not," "recommended," "may," and "optional" keywords.
    +
    +## Naming conventions
    +
    +* Widget names must consist of one or more non-abbreviated English word and in camelcase format.
    +  
    +  {% highlight javascript %}
    +
     (function($) {
    -"use strict";
    +    $.widget('mage.accordion', $.ui.accordion, {
    +        // ... My custom code ...
    +    });
    +  {% endhighlight %}
     
    -$.widget('mage.advancedEventTrigger', $.ui.button, {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    // Declaration of the ui.button widget
    +* Widget names should be verbose enough to fully describe their purpose and behavior.
    +
    +  {% highlight javascript %}
    +// Declaration of the frontend.advancedEventTrigger widget
     (function($) {
    -"use strict";
    +    "use strict";
     
    -$.widget('ui.button', $.ui.button, {
    -  // ... My custom code ...
    -});
    -}) (jQuery);
    -
    -
    - -

    Instantiation and resources

    - -

    Additional JavaScript files used as resources by a widget

    -
    -

    Additional JavaScript files used as resources must be dynamically loaded using the $.mage.components() method and must not be included in the <head> block.

    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    You must use $.mage.extend() to extend an existing set of widget resources

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    You must instantiate widgets using the data-mage-init attribute

    -
    -
    -

    You can use the .mage() plug-in to instantiate widgets that use callback methods.

    -
    -

    Benefits:

    -
      -
    • You leverage benefits of $.mage.extend() and $.mage.components()
    • -
    • Using data-mage-init minimizes inline JavaScript code footprint.
    • -
    • You can modify widget initialization parameters.
    • -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Widget initialization using the data-mage-init attribute
    -<form data-mage-init="{form:[], validation:{ignore:':hidden'}}"></form>
    -
    // Widget initialization using the mage plug-in
    -<script type="text/javascript">
    +    $.widget('mage.advancedEventTrigger', $.ui.button, {
    +        // ... My custom code ...
    +    });
    +}) (jQuery);
    +  {% endhighlight %}
    +
    +## Instantiation and resources
    +
    +* Additional JavaScript files used as a resources must be dynamically loaded using the `$.mage.components()` method and must not be included in the `` block.
    +* Use the `$.mage.components()` method to load additional JavaScript resource files not included in the `` block.
    +* You must use `$.mage.extend()` to extend an existing set of widget resources.
    +* You must instantiate widgets using the `data-mage-init` attribute.
    +  You can use the `.mage()` plug-in to instantiate widgets that use callback methods.
    +
    +  Benefits:
    +
    +  * You leverage the benefits of `$.mage.extend()` and `$.mage.components()`.
    +  * Using `data-mage-init` minimizes the inline JavaScript code footprint.
    +  * You can modify widget initialization parameters.
    +
    +  {% highlight javascript %}
    +// Widget initialization using the data-mage-init attribute
    +
    +
    +// Widget initialization using the mage plug-in
     (function($) {
    +    $('selector').mage('dialog', {
    +        close: function(e) {
    +            $(this).dialog('destroy');
    +        }
    +    });
    +})(jQuery);
    +  {% endhighlight %}
    +
    +* You can declare callback methods inline JavaScript but not methods and widgets.
    +
    +  {% highlight javascript %}
    +// Widget initialization and configuration
     $('selector').mage('dialog', {
         close: function(e) {
             $(this).dialog('destroy');
         }
     });
    -})(jQuery);
    -</script>
    -
    -
    // Widget initialization without using the mage plug-in
    -<script type="text/javascript">
    -(function($) {
    -$('[data-role="form"]')
    -    .form()
    -    .validation({
    -        ignore: ':hidden'
    -    });
    -})(jQuery);
    -</script>
    -
    -
    -

    Methods and widgets must not be declared using inline JavaScript

    -
    -
    -

    You can declare callback methods inline.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Widget initialization and configuration
    -$('selector').mage('dialog', {
    -close: function(e) {
    -    $(this).dialog('destroy');
    -}
    -});
    -
    // Widget initialization and binding event handlers
    +
    +// Widget initialization and binding event handlers
     $('selector').mage('dialog').on('dialogclose', {
    -$(this).dialog('destroy');
    -});
    -
    // Extension for widget in a JavaScript file
    +    $(this).dialog('destroy');
    +});
    +
    +// Extension for widget in a JavaScript file
     $.widget('mage.dialog', $.ui.dialog, {
    -close: function() {
    -    this.destroy();
    -}
    -});
    -
    // Extension of widget resources
    -<script type="text/javascript">
    +    close: function() {
    +        this.destroy();
    +    }
    +});
    +
    +// Extension of widget resources
     (function($) {
    -$.mage
    -    .extend('dialog', 'dialog',
    -        '<?php echo $this->getViewFileUrl('Enterprise_\*Module\*::page/js/dialog.js') ?>')
    +    $.mage
    +        .extend('dialog', 'dialog',
    +            'getViewFileUrl('Enterprise_\*Module\*::page/js/dialog.js') ?>')
     })(jQuery);
    -
    -
    -
    // Initialization
    -$('selector').dialog();
    -$('selector')
    -.find('.ui-dialog-titlebar-close')
    -.on('click', function() {
    -    $('selector').dialog('destroy');
    -});
    - -
    -
    - -

    Development standard

    -

    Widgets should comply with the single responsibility principle.

    -
    -

    The responsibilities which are not related to the entity described by the widget should be moved to another widget.

    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Widget "dialog" that is responsible
    +  {% endhighlight %}
    +
    +## Development standards
    +
    +* Widgets should comply with the [single responsibility principle][single-responsibility-principle]{:target="_blank"}.
    +  
    +  Widgets should not have responsibilities not related to the entity described by the widget.
    +
    +  {% highlight javascript %}
    +// Widget "dialog" that is responsible
     // only for opening content in an interactive overlay.
     $.widget('mage.dialog', {
    -/* ... */
    -});
    -
    // Widget "validation" that is responsible
    +    // Code logic
    +});
    +
    +// Widget "validation" that is responsible
     // only for validating the form fields.
     $.widget('mage.validation', $.ui.sortable, {
    -/* ... */
    -});
    -
    $('selector')
    -.mage('dialog')
    -.find('form')
    -.mage('validation');
    -
    -
    // Widget named 'dialog' that is
    -// responsible for opening content in
    -// an interactive overlay and
    -// validating the form fields.
    +    // Code logic
    +});
    +
    +$('selector')
    +    .mage('dialog')
    +        .find('form')
    +            .mage('validation');
    +  {% endhighlight %}
    +
    +* Widget properties that modify the widget's behavior must be located in the widget's options to make them configurable and reusable.
    +  
    +  {% highlight javascript %}
    +//Declaration of the backend.dialog widget
     $.widget('mage.dialog', {
    -/* ... */
    -_validateForm: function() {
    -    /* code which validates the form */
    -}
    -});
    -
    $('selector').mage('dialog')
    -
    -
    -

    All widget properties that can be used to modify widget's behavior must be located in widget's options.

    -
    -

    Benefit: Widgets become configurable and reusable.

    - - - - - - - - - - - -
    CorrectIncorrect
    -
    //Declaration of the
    -// backend.dialog widget
    -    $.widget('mage.dialog', {
    -options: {
    -    modal: false,
    -    autoOpen: true,
    -    /* ... */
    -},
    -/* ... */
    -});
    -
    // Initializing
    +    options: {
    +        modal: false,
    +        autoOpen: true,
    +        // Additional widget options
    +    },
    +    // Additional widget properties
    +});
    +
    +// Initializing
     $('selector').mage('dialog', {
    -modal: true,
    -autoOpen: false
    -});
    -
    -
    // Declaration of the
    -// backend.modalDialog and backend.nonModalDialog
    -// widgets
    -$.widget('mage.modalDialog', {
    -/* ... */
    +    modal: true,
    +    autoOpen: false
     });
    -$.widget('mage.nonModalDialog', {
    -/* ... */
    -});
    -
    // Initialization
    -$('selector').mage('modalDialog');
    -$('selector').mage('nonModalDialog');
    -
    -
    -

    Widget communications must be handled by jQuery events

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // HTML structure
    -    <body>
    -...
    -<button data-mage-init="{button: {event: 'save', target:'[data-role=edit-form]'}}" />
    -...
    -<form data-role="edit-form">
    -    ...
    -</form>
    -...
    -</body>
    -
    // Declaration of the mage.form widget
    +  {% endhighlight %}
    +
    +* Widget communications must be handled by jQuery events
    +
    +  {% highlight html %}
    +
    +
    +  ...
    +  
    -
    -
    // HTML structure
    -<body>
    -...
    -<button data-mage-init="{formButton: {}}" />
    -...
    -<form data-role="edit-form">
    -    ...
    -</form>
    -...
    -</body>
    -
    // Declaration of the mage.button widget
    -$.widget('mage.formButton', $.ui.button, {
    -/* ... */
    -_create: function() {
    -    this._bind();
    -    this._super();
    -},
    -_bind: function() {
    -    this._on({
    -        click: function() {
    -            $('[data-role=edit-form]').form('submit');
    +    _create: function() {
    +        this._bind();
    +    },
    +    _bind: function() {
    +        this._on({
    +            save: this._submit
    +        })
    +    },
    +    _submit: function(e, data) {
    +        this._rollback();
    +        if (false !== this._beforeSubmit(e.type, data)) {
    +            this.element.trigger('submit', e);
             }
    -    });
    -}
    -});
    -
    // Declaration of the mage.form widget
    -$.widget("mage.form," {
    -/* ... */
    -_create: function() {
    -    this._bind();
    -}
    -submit: function(data) {
    -    this._rollback();
    -    if (false !== this._beforeSubmit(e.type, data)) {
    -        this.element.trigger('submit', e);
         }
    -}
    -});
    -
    -
    -

    You must use DOM event bubbling to perform one-way communication between a child widget and its parent widget

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - - - - - - - -
    -
    -

    Widgets must comply with the Law of Demeter principle

    -
    -

    About the Law of Demeter principle. We recommended against instantiating a widget or calling a widget's methods inside another widget.

    - - - - - - - - - - - -
    CorrectIncorrect
    - - - - - - -
    -
    -

    We recommend you make widgets abstract enough so that they can be used anywhere in your Magento system

    -
    -

    Example: Unlike the mage.topShoppingCart widget, the mage.dropdown widget can be used in many other scenarios.

    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    Abstract widgets which can be used shared with non-Magento applications

    -

    Place all such widgets under the <your Magento install dir>/pub/lib/<your company>/<author> directory.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    /pub
    -/lib
    -    /magento
    -        dropdown.js
    -        validation.js
    -        dialog.js
    -
    -
    /pub
    -/lib
    -    /magento
    -        vde-block.js
    -        vde-container.js
    -
    -
    -

    Magento product specific widgets

    -

    You must locate all of these under the <your Magento install dir>/app/code/<namespace>/<ModuleName>/view/<areaname>/js directory.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    /app
    -/code
    +});
    +
    +  {% endhighlight %}
    +
    +* You must use [DOM event bubbling][dom-event-bubbling]{:target="_blank"} to perform one-way communication between a child widget and its parent widget.
    +
    +* Widgets must comply with the [Law of Demeter][law-of-demeter]{:target="_blank"} principle.
    +  Do not instantiate a widget or call a widget's methods inside another widget.
    +
    +* Make widgets abstract enough so that they can be used anywhere in Magento.
    +
    +  For example, the `mage.dropdown` widget is applicable in many other scenarios, unlike `mage.topShoppingCart`.
    +
    +* Place abstract, share-able widgets under the `/pub/lib/` directory so non-Magento applications can access them.
    +
    +  For example:
    +
    +  ~~~
    +/pub
    +  /lib
    +  /magento
    +    dropdown.js
    +    validation.js
    +    dialog.js 
    +  ~~~
    +
    +* Place Magento-specific widgets under the `/app/code///view//js` directory.
    +
    +  For example:
    +
    +  ~~~
    +/app
    +  /code
         /Mage
    -        /DesignEditor
    -            /view
    -                /frontend
    -                    /js
    -                        vde-block.js
    -                        vde-container.js
    -
    -
    /pub
    -/lib
    -    /magento
    -        vde-block.js
    -        vde-container.js
    -
    -
    -

    Architecture

    - -

    Use the underscore prefix only to declare private widget methods

    - -

    Widget properties names should not start with underscore because those properties would not be accessible using the jQuery Widget Factory public API.

    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Declaration of the backend.accordion widget
    -$.widget('mage.accordion', {
    -/* ... */
    -_create: function() {
    -    this.header = this.element.find(this.options.header);
    -    this.icon = $(this.options.icon).prependTo(this.header);
    -}
    -});
    -
    -
    // Declaration of the backend.accordion widget
    +      /DesignEditor
    +        /view
    +          /frontend
    +            /js
    +              vde-block.js
    +              vde-container.js
    +  ~~~
    +
    +## Architecture
    +
    +* Use an underscore prefix to declare private widget methods.
    +  
    +  Properties without an underscore prefix are accessible using the jQuery Widget factory public API.
    +
    +  {% highlight javascript %}
    +// Declaration of the backend.accordion widget
     $.widget('mage.accordion', {
    -/* ... */
    -_create: function() {
    -    this._header = this.element.find(this.options.header);
    -    this._icon = $(this.options.icon).prependTo(this._header);
    -}
    -});
    -
    - -

    A widget's element selection should start with this.element

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    Widgets must not interact with certain DOM elements

    -

    Widgets must not interact with DOM elements that can be selected with this.element.parent(), this.element.parents('selector'), or this.element.closest('selector').

    -

    Benefit: Reduced number of widget conflicts because widgets interact only with their child elements.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    All widget options should have default values

    -

    If there is no default value for an option by design, a null value must be used.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    All DOM selectors used by a widget must be passed to the widget as options

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    If an immediate state change is required, the change must be processed by the _setOption method

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    To call widget methods, you must use the public widget API

    -

    Benefit: The public widget API enables using chaining for widget methods.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    -
    // Call the 'open' method on the menu widget using the public widgets API
    +    _create: function() {
    +        this.header = this.element.find(this.options.header);
    +        this.icon = $(this.options.icon).prependTo(this.header);
    +      }
    +});
    +    {% endhighlight %}
    +
    +* Start a widget's element selection with `this.element`
    +* Widgets must not interact with DOM elements selected using `this.element.parent()`, `this.element('selector')`, or `this.element.closest('selector')`.
    +  
    +  This reduces the number of widget conflicts because widgets interact only with their child elements.
    +* Widget options should have default values.
    +  Use a `null` value if there is no default value for an option.
    +* Pass as widget options all DOM selectors used by that widget.
    +* Use the `_setOption` method to process required, immediate state changes.
    +* Use the public widget API to call widget methods to allow chaining widget methods.
    +  
    +  {% highlight javascript %}
    +// Call the 'open' method on the menu widget using the public widgets API
     $('selector')
     .menu('open')
    -.addClass('ui-state-active');
    -
    -
    // Call the 'open' method on the
    -// menu widget without using the public
    -// widgets API
    -var menuInstance = $('selector').data('menu');
    -menuInstance.open();
    -menuInstance.element.addClass('ui-state-active');
    -
    -
    -
    -

    Widget initialization

    -

    Initializing a widget must be handled only if there is a logical action to perform on successive calls to the widget with no arguments.

    -

    The widget factory automatically fires the _create() and _init() methods during initialization, in that order. The widget factory prevents multiple instantiations on the same element, which is why _create() is called only once for each widget instance, whereas _init() is called each time the widget is called without arguments.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    When a widget is destroyed, the element should be left exactly like it was before the widget was attached to it

    -

    Common tasks include:

    -
      -
    • Removing or adding of any CSS classes your widget added/removed from the element.
    • -
    • Detaching any elements your widget added to the DOM.
    • -
    • Destroying any widgets that your widget applied to other elements.
    • -
    -

    Example:

    -
    - -
    -

    All event handlers must be bound by the _bind() method

    -

    Benefit: All widget event handlers are bound in one place (by the _bind method), which makes it easy to find what events the widget reacts on.

    -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -
    -

    You must use the _on() method to bind events

    -

    Benefits:

    -
      -
    • Delegation is supported using selectors in the event names; for example, click .foo
    • -
    • Maintains proper this context inside the handlers, so it is not necessary to use the $.proxy() method.
    • -
    • Event handlers are automatically namespaced and cleaned up on destruction.
    • -
    - - - - - - - - - - - -
    CorrectIncorrect
    - - - -
    -

    Related topics

    - +.addClass('ui-state-active'); + {% endhighlight %} + +* Handle widget initialization if there is a logical action to perform on successive calls to the widget with no arguments. + + The widget factory automatically fires the `_create()` and `_init()` methods during initialization, in that order and prevents multiple instantiations of the same element. + + The `_create()` method is called only once for each widget instance and `_init()` is called each time the widget is called without arguments. +* When a widget is destroyed, the attached element should be left exactly like it was before attachment. + + Common tasks for this include: + + * Removing or adding any CSS classes the widget added/removed to the element. + * Detaching any elements the widget added to the DOM. + * Destroying any widgets that the widget applied to other elements. + +* Bind event handlers using the `_bind()` method to make it easy to find what events the widget reacts on. +* Bind events using the `on()` method. + + Benefits: + + * Delegation is supported using selectors in the event names. + For example: `click.foo`. + * Maintains proper `this` context inside the handlers, so it is not necessary to use the `$.proxy()` method. + * Event handlers are automatically namespaced and cleaned up on destruction. + +[jquery-ui-widget-factory]: http://jqueryui.com/widget/ +[jquery-ui-api-doc]: http://api.jqueryui.com/jQuery.widget/ +[rfc2119]: http://www.ietf.org/rfc/rfc2119.txt +[single-responsibility-principle]: https://en.wikipedia.org/wiki/Single_responsibility_principle +[dom-event-bubbling]: http://stackoverflow.com/questions/4616694/what-is-event-bubbling-and-capturing +[law-of-demeter]: http://en.wikipedia.org/wiki/Law_of_Demeter diff --git a/guides/v2.0/config-guide/cache/caching-cache-type.md b/guides/v2.0/config-guide/cache/caching-cache-type.md index 5e858408c25..0dcc7ea051b 100644 --- a/guides/v2.0/config-guide/cache/caching-cache-type.md +++ b/guides/v2.0/config-guide/cache/caching-cache-type.md @@ -10,29 +10,28 @@ level3_menu_node: level3child level3_subgroup: cache-types version: 2.0 github_link: config-guide/cache/caching-cache-type.md -redirect_from: /guides/v2.0/config-guide/cache/caching-cache-type.html --- A *cache type* enables you to specify what is cached and enables merchants to clear that cache type using the Cache Management page in the Magento Admin. The tag *scope* provides a mechanism for a cache type. -To create a new cache type: - - - You must specify the following parameters: * `Namespace_Module` defines the name of a module that uses a cache type. A module can use several cache types and a cache type can be used in several modules. * `%cache_type_id%` defines unique identifier of a cache type. * `%cache_type_tag%` defines unique tag to be used in the cache type scoping. -

    More information about caching

    -You can get more information about caching by looking at the code. We suggest you locate classes that extend Magento\Framework\Cache\Frontend\Decorator\TagScope. +## More information about caching + +You can get more information about caching by looking at the code. +We suggest you locate classes that extend [Magento\Framework\Cache\Frontend\Decorator\TagScope][tagscope]. -For example, look at Magento\Eav\Model\Cache\Type to understand more about the EAV cache type. +For example, look at [Magento\Eav\Model\Cache\Type][type] to understand more about the EAV cache type.

    Please help us improve this topic by suggesting details using the Edit this page in GitHub link at the top of the page.

    +[tagscope]: {{ site.mage2000url }}lib/internal/Magento/Framework/Cache/Frontend/Decorator/TagScope.php +[type]: {{ site.mage2000url }}app/code/Magento/Eav/Model/Cache/Type.php diff --git a/guides/v2.0/extension-dev-guide/indexing-custom.md b/guides/v2.0/extension-dev-guide/indexing-custom.md index 8618a2b1f36..e1678ad29e8 100644 --- a/guides/v2.0/extension-dev-guide/indexing-custom.md +++ b/guides/v2.0/extension-dev-guide/indexing-custom.md @@ -54,21 +54,3 @@ Add the `mview.xml` configuration file in the `etc` module directory, where you All Mview declarations related to a module should be declared in one file. -

    Example of a custom indexer implementation

    -Suppose you want to push best-selling products to the top of a category listing. This requires processing statistics about sales to change the product position dynamically. - -Assuming your module is named `_Merchandizing`, you must write the appropriate code in the indexer class: - - - -Next, declare the indexer in `Merchandizing/etc/indexer.xml`: - - - -Finally, declare the indexer view (`merchandizing_popular_order`) that tracks sales (`Merchandizing/etc/mview.xml`): - - - -These settings start `\Merchandizing\Model\Indexer\Popular::execute` method every time an order is changed. - -Now when an order is placed, the Popular Products indexer calculates the sorting order of the products by popularity and stores this data in the index table, so that it can be used in product displaying logic. diff --git a/guides/v2.0/extension-dev-guide/plugins.md b/guides/v2.0/extension-dev-guide/plugins.md index b71077f5a9b..5fa86053ab5 100644 --- a/guides/v2.0/extension-dev-guide/plugins.md +++ b/guides/v2.0/extension-dev-guide/plugins.md @@ -34,9 +34,7 @@ Plugins cannot be used with any of the following: ### Declaring a plugin -A plugin for a class object can be declared in the di.xml file in your module: - - +A plugin for a class object is declared in the di.xml file in your module. You must specify these elements: From 45cec740736dec0a097c964f25f298ee75dfa374 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Thu, 20 Apr 2017 21:14:46 -0700 Subject: [PATCH 116/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 1680 +++++++++++++++++++++---- _includes/changes/ee/216-develop.html | 164 +++ 2 files changed, 1566 insertions(+), 278 deletions(-) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index 143e412c31d..b90f1c184fd 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -1285,6 +1285,10 @@

    Class

    Magento\Backend\App\Action\Plugin\MassactionKey::aroundDispatch [public] Method has been removed. + + Magento\Authorization\Model\Rules::__construct + [public] Method parameter changed. + Magento\Authorization\Model\ResourceModel\Rules::__construct [public] Method parameter changed. @@ -1546,499 +1550,1031 @@

    Class

    [protected] Property has been added. - Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::__construct + Magento\Integration\Model\Integration::__construct [public] Method has been added. - Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::$filterManager - [protected] Property has been added. + Magento\Integration\Model\Integration::_construct + [protected] Method has been added. - Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList + Magento\Integration\Model\Integration::loadByConsumerId [public] Method has been added. - Magento\Catalog\Model\Product\Type\AbstractType::$serializer - [protected] Property has been added. + Magento\Integration\Model\Integration::loadActiveIntegrationByConsumerId + [public] Method has been added. - Magento\Framework\Escaper - Class was added. + Magento\Integration\Model\Integration::STATUS_INACTIVE + Constant has been added. - Magento\Framework\View\Url\CssResolver - Class was added. + Magento\Integration\Model\Integration::STATUS_ACTIVE + Constant has been added. - Magento\Framework\View\Asset\Minification - Class was added. + Magento\Integration\Model\Integration::STATUS_RECREATED + Constant has been added. - Magento\Framework\View\Asset\PreProcessor\Chain - Class was added. + Magento\Integration\Model\Integration::TYPE_MANUAL + Constant has been added. - Magento\Framework\View\Asset\PreProcessor\ChainFactory - Class was added. + Magento\Integration\Model\Integration::TYPE_CONFIG + Constant has been added. - Magento\Framework\View\Asset\File\NotFoundException - Class was added. + Magento\Integration\Model\Integration::ID + Constant has been added. - Magento\Framework\Stdlib\DateTime\Timezone\Validator - Class was added. + Magento\Integration\Model\Integration::NAME + Constant has been added. - Magento\Framework\Stdlib\DateTime\Filter\Date - Class was added. + Magento\Integration\Model\Integration::EMAIL + Constant has been added. - Magento\Framework\Stdlib\DateTime\Filter\DateTime - Class was added. + Magento\Integration\Model\Integration::ENDPOINT + Constant has been added. - Magento\Framework\Stdlib\Cookie\CookieSizeLimitReachedException - Class was added. + Magento\Integration\Model\Integration::IDENTITY_LINK_URL + Constant has been added. - Magento\Framework\Stdlib\Cookie\FailureToSendException - Class was added. + Magento\Integration\Model\Integration::SETUP_TYPE + Constant has been added. - Magento\Framework\Stdlib\Cookie\SensitiveCookieMetadata - Class was added. + Magento\Integration\Model\Integration::CONSUMER_ID + Constant has been added. - Magento\Framework\Serialize\Serializer\Json - Class was added. + Magento\Integration\Model\Integration::STATUS + Constant has been added. - Magento\Framework\Indexer\FieldsetPool - Class was added. + Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::__construct + [public] Method has been added. - Magento\Framework\Indexer\HandlerPool - Class was added. + Magento\CmsUrlRewrite\Model\CmsPageUrlPathGenerator::$filterManager + [protected] Property has been added. - Magento\Framework\Indexer\IndexerRegistry - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::__construct + [public] Method has been added. - Magento\Framework\Indexer\SaveHandlerFactory - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::doReindexByIds + [protected] Method has been added. - Magento\Framework\Encryption\Crypt - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::doReindexFull + [protected] Method has been added. - Magento\Framework\Encryption\UrlCoder - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::cleanByIds + [protected] Method has been added. - Magento\Framework\Encryption\Helper\Security - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::applyRule + [protected] Method has been added. - Magento\Framework\DB\TemporaryTableService - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::getTable + [protected] Method has been added. - Magento\Framework\DB\Sql\ColumnValueExpression - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::updateRuleProductData + [protected] Method has been added. - Magento\Wishlist\Model\Item - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::applyAllRules + [protected] Method has been added. - Magento\Wishlist\Model\LocaleQuantityProcessor - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::updateCatalogRuleGroupWebsiteData + [protected] Method has been added. - Magento\Wishlist\Model\Wishlist - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::deleteOldData + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Item - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::calcRuleProductPrice + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Wishlist - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::getRuleProductsStmt + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Wishlist\Collection - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::saveRuleProductPrices + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Item\Collection - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::getActiveRules + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Item\Option - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::getAllRules + [protected] Method has been added. - Magento\Wishlist\Model\ResourceModel\Item\Option\Collection - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::getProduct + [protected] Method has been added. - Magento\Wishlist\Model\Item\Option - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::critical + [protected] Method has been added. - Magento\Wishlist\Helper\Data - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$metadataPool + [protected] Property has been added. - Magento\Wishlist\Helper\Rss - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$_catalogRuleGroupWebsiteColumnsList + [protected] Property has been added. - Magento\Widget\Model\Widget\Instance - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$resource + [protected] Property has been added. - Magento\Widget\Model\ResourceModel\Widget\Instance - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$storeManager + [protected] Property has been added. - Magento\Widget\Model\ResourceModel\Widget\Instance\Collection - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$ruleCollectionFactory + [protected] Property has been added. - Magento\Vault\Model\AbstractPaymentTokenFactory - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$logger + [protected] Property has been added. - Magento\Vault\Model\AccountPaymentTokenFactory - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$priceCurrency + [protected] Property has been added. - Magento\Vault\Model\CreditCardTokenFactory - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$eavConfig + [protected] Property has been added. - Magento\Vault\Model\Ui\VaultConfigProvider - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$dateFormat + [protected] Property has been added. - Magento\Vault\Model\Method\Vault - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$dateTime + [protected] Property has been added. - Magento\Vault\Block\AbstractTokenRenderer - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$productFactory + [protected] Property has been added. - Magento\Variable\Model\Variable - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$loadedProducts + [protected] Property has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\Edit - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$batchCount + [protected] Property has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\Index - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::$connection + [protected] Property has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\NewAction - Class was added. + Magento\CatalogRule\Model\Indexer\IndexBuilder::SECONDS_IN_DAY + Constant has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\Save - Class was added. + Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList + [public] Method has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\Validate - Class was added. + Magento\Catalog\Model\Product\Type\AbstractType::$serializer + [protected] Property has been added. - Magento\Variable\Controller\Adminhtml\System\Variable\WysiwygPlugin + Magento\Framework\Escaper Class was added. - Magento\Variable\Block\System\Variable + Magento\Framework\Webapi\Authorization Class was added. - Magento\Variable\Block\System\Variable\Edit + Magento\Framework\Webapi\ErrorProcessor Class was added. - Magento\UrlRewrite\Service\V1\Data\UrlRewrite + Magento\Framework\Webapi\ServiceInputProcessor Class was added. - Magento\UrlRewrite\Model\MergeDataProvider + Magento\Framework\Webapi\ServiceOutputProcessor Class was added. - Magento\Ui\Block\Logger + Magento\Framework\View\Url\CssResolver Class was added. - Magento\Ui\Block\Component\StepsWizard + Magento\Framework\View\Asset\ContentProcessorException Class was added. - Magento\Theme\Ui\Component\Design\Config\DataProvider + Magento\Framework\View\Asset\Minification Class was added. - Magento\Theme\Ui\Component\Design\Config\SearchRobots\ResetButton + Magento\Framework\View\Asset\PreProcessor\Chain Class was added. - Magento\Theme\Controller\Adminhtml\Design\Config\FileUploader\Save + Magento\Framework\View\Asset\PreProcessor\ChainFactory Class was added. - Magento\Theme\Block\Html\Breadcrumbs + Magento\Framework\View\Asset\File\NotFoundException Class was added. - Magento\Theme\Block\Html\Footer + Magento\Framework\Validator\Exception Class was added. - Magento\Theme\Block\Html\Header + Magento\Framework\Stdlib\DateTime\Timezone\Validator Class was added. - Magento\Theme\Block\Html\Notices + Magento\Framework\Stdlib\DateTime\Filter\Date Class was added. - Magento\Theme\Block\Html\Pager + Magento\Framework\Stdlib\DateTime\Filter\DateTime Class was added. - Magento\Theme\Block\Html\Title + Magento\Framework\Stdlib\Cookie\CookieSizeLimitReachedException Class was added. - Magento\Theme\Block\Html\Topmenu + Magento\Framework\Stdlib\Cookie\FailureToSendException Class was added. - Magento\Theme\Block\Html\Welcome + Magento\Framework\Stdlib\Cookie\SensitiveCookieMetadata Class was added. - Magento\Theme\Block\Html\Header\Logo + Magento\Framework\Serialize\Serializer\Json Class was added. - Magento\Theme\Block\Adminhtml\Design\Config\Edit\BackButton + Magento\Framework\Reflection\DataObjectProcessor Class was added. - Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveAndContinueButton + Magento\Framework\Oauth\Exception Class was added. - Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveButton + Magento\Framework\Oauth\OauthInputException Class was added. - Magento\Theme\Block\Adminhtml\Design\Config\Edit\Scope + Magento\Framework\Mview\View\ChangelogTableNotExistsException Class was added. - Magento\Store\Model\Information + Magento\Framework\Indexer\FieldsetPool Class was added. - Magento\Store\Model\StoreIsInactiveException + Magento\Framework\Indexer\HandlerPool Class was added. - Magento\Store\Model\System\Store + Magento\Framework\Indexer\IndexerRegistry Class was added. - Magento\Store\Model\ResourceModel\Group + Magento\Framework\Indexer\SaveHandlerFactory Class was added. - Magento\Store\Model\ResourceModel\Store + Magento\Framework\File\Uploader Class was added. - Magento\Store\Model\ResourceModel\Website + Magento\Framework\Exception\AbstractAggregateException Class was added. - Magento\Store\Model\App\Emulation + Magento\Framework\Exception\AlreadyExistsException Class was added. - Magento\SendFriend\Model\SendFriend + Magento\Framework\Exception\AuthenticationException Class was added. - Magento\SendFriend\Model\ResourceModel\SendFriend + Magento\Framework\Exception\AuthorizationException Class was added. - Magento\SendFriend\Model\ResourceModel\SendFriend\Collection + Magento\Framework\Exception\ConfigurationMismatchException Class was added. - Magento\SendFriend\Helper\Data + Magento\Framework\Exception\CouldNotDeleteException Class was added. - Magento\Security\Model\AdminSessionInfo + Magento\Framework\Exception\CouldNotSaveException Class was added. - Magento\Security\Model\AdminSessionsManager + Magento\Framework\Exception\CronException Class was added. - Magento\Security\Model\PasswordResetRequestEvent + Magento\Framework\Exception\EmailNotConfirmedException Class was added. - Magento\Security\Model\SecurityCookie + Magento\Framework\Exception\FileSystemException Class was added. - Magento\Security\Model\SecurityManager + Magento\Framework\Exception\InputException Class was added. - Magento\Security\Model\ResourceModel\AdminSessionInfo + Magento\Framework\Exception\IntegrationException Class was added. - Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\Collection + Magento\Framework\Exception\InvalidEmailOrPasswordException Class was added. - Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\CollectionFactory + Magento\Framework\Exception\MailException Class was added. - Magento\Security\Model\ResourceModel\AdminSessionInfo\Collection + Magento\Framework\Exception\NoSuchEntityException Class was added. - Magento\Sales\Model\Order\CreditmemoDocumentFactory + Magento\Framework\Exception\NotFoundException Class was added. - Magento\Sales\Model\Order\Creditmemo\Notifier + Magento\Framework\Exception\PaymentException Class was added. - Magento\RequireJs\Block\Html\Head\Config + Magento\Framework\Exception\RemoteServiceUnavailableException Class was added. - Magento\Quote\Model\QuoteValidator + Magento\Framework\Exception\SecurityViolationException Class was added. - Magento\Quote\Model\Quote\Address\RateRequest + Magento\Framework\Exception\SerializationException Class was added. - Magento\ProductAlert\Model\Email + Magento\Framework\Exception\SessionException Class was added. - Magento\ProductAlert\Model\Price + Magento\Framework\Exception\StateException Class was added. - Magento\ProductAlert\Model\Stock + Magento\Framework\Exception\ValidatorException Class was added. - Magento\ProductAlert\Model\ResourceModel\Price + Magento\Framework\Exception\TemporaryState\CouldNotSaveException Class was added. - Magento\ProductAlert\Model\ResourceModel\Stock + Magento\Framework\Exception\State\ExpiredException Class was added. - Magento\ProductAlert\Model\ResourceModel\Stock\Collection + Magento\Framework\Exception\State\InitException Class was added. - Magento\ProductAlert\Model\ResourceModel\Price\Collection + Magento\Framework\Exception\State\InputMismatchException Class was added. - Magento\ProductAlert\Helper\Data + Magento\Framework\Exception\State\InvalidTransitionException Class was added. - Magento\Persistent\Helper\Data + Magento\Framework\Exception\State\UserLockedException Class was added. - Magento\Persistent\Helper\Session + Magento\Framework\Exception\Plugin\AuthenticationException Class was added. - Magento\Payment\Model\CcConfig + Magento\Framework\Encryption\Crypt Class was added. - Magento\Payment\Model\CcGenericConfigProvider + Magento\Framework\Encryption\UrlCoder Class was added. - Magento\Payment\Model\IframeConfigProvider + Magento\Framework\Encryption\Helper\Security Class was added. - Magento\Payment\Model\Info + Magento\Framework\DB\TemporaryTableService Class was added. - Magento\Payment\Model\Source\Cctype + Magento\Framework\DB\Sql\ColumnValueExpression Class was added. - Magento\Payment\Model\Source\Invoice + Magento\Framework\Config\Dom\ValidationSchemaException Class was added. - Magento\Payment\Model\Method\Adapter + Magento\Framework\Backup\BackupException Class was added. - Magento\Payment\Model\Method\Free + Magento\Framework\Backup\Exception\CantLoadSnapshot Class was added. - Magento\Payment\Model\Method\Logger + Magento\Framework\Backup\Exception\FtpConnectionFailed Class was added. - Magento\Payment\Model\Method\Specification\AbstractSpecification + Magento\Framework\Backup\Exception\FtpValidationFailed Class was added. - Magento\Payment\Model\Method\Specification\Composite + Magento\Framework\Backup\Exception\NotEnoughFreeSpace Class was added. - Magento\Payment\Model\Config\Source\Allspecificcountries + Magento\Framework\Backup\Exception\NotEnoughPermissions Class was added. - Magento\Payment\Model\Checks\CanUseCheckout + Magento\Wishlist\Model\Item + Class was added. + + + Magento\Wishlist\Model\LocaleQuantityProcessor + Class was added. + + + Magento\Wishlist\Model\Wishlist + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Wishlist + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Wishlist\Collection + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Collection + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Option + Class was added. + + + Magento\Wishlist\Model\ResourceModel\Item\Option\Collection + Class was added. + + + Magento\Wishlist\Model\Item\Option + Class was added. + + + Magento\Wishlist\Helper\Data + Class was added. + + + Magento\Wishlist\Helper\Rss + Class was added. + + + Magento\Widget\Model\Widget\Instance + Class was added. + + + Magento\Widget\Model\ResourceModel\Widget\Instance + Class was added. + + + Magento\Widget\Model\ResourceModel\Widget\Instance\Collection + Class was added. + + + Magento\Weee\Model\Tax + Class was added. + + + Magento\Weee\Model\ResourceModel\Tax + Class was added. + + + Magento\Weee\Helper\Data + Class was added. + + + Magento\Webapi\Model\Config + Class was added. + + + Magento\Vault\Model\AbstractPaymentTokenFactory + Class was added. + + + Magento\Vault\Model\AccountPaymentTokenFactory + Class was added. + + + Magento\Vault\Model\CreditCardTokenFactory + Class was added. + + + Magento\Vault\Model\Ui\VaultConfigProvider + Class was added. + + + Magento\Vault\Model\Method\Vault + Class was added. + + + Magento\Vault\Block\AbstractTokenRenderer + Class was added. + + + Magento\Variable\Model\Variable + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\Edit + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\Index + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\NewAction + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\Save + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\Validate + Class was added. + + + Magento\Variable\Controller\Adminhtml\System\Variable\WysiwygPlugin + Class was added. + + + Magento\Variable\Block\System\Variable + Class was added. + + + Magento\Variable\Block\System\Variable\Edit + Class was added. + + + Magento\User\Model\User + Class was added. + + + Magento\User\Model\UserValidationRules + Class was added. + + + Magento\User\Model\ResourceModel\User + Class was added. + + + Magento\User\Model\ResourceModel\User\Collection + Class was added. + + + Magento\User\Helper\Data + Class was added. + + + Magento\UrlRewrite\Service\V1\Data\UrlRewrite + Class was added. + + + Magento\UrlRewrite\Model\MergeDataProvider + Class was added. + + + Magento\Ui\Block\Logger + Class was added. + + + Magento\Ui\Block\Component\StepsWizard + Class was added. + + + Magento\Theme\Ui\Component\Design\Config\DataProvider + Class was added. + + + Magento\Theme\Ui\Component\Design\Config\SearchRobots\ResetButton + Class was added. + + + Magento\Theme\Controller\Adminhtml\Design\Config\FileUploader\Save + Class was added. + + + Magento\Theme\Block\Html\Breadcrumbs + Class was added. + + + Magento\Theme\Block\Html\Footer + Class was added. + + + Magento\Theme\Block\Html\Header + Class was added. + + + Magento\Theme\Block\Html\Notices + Class was added. + + + Magento\Theme\Block\Html\Pager + Class was added. + + + Magento\Theme\Block\Html\Title + Class was added. + + + Magento\Theme\Block\Html\Topmenu + Class was added. + + + Magento\Theme\Block\Html\Welcome + Class was added. + + + Magento\Theme\Block\Html\Header\Logo + Class was added. + + + Magento\Theme\Block\Adminhtml\Design\Config\Edit\BackButton + Class was added. + + + Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveAndContinueButton + Class was added. + + + Magento\Theme\Block\Adminhtml\Design\Config\Edit\SaveButton + Class was added. + + + Magento\Theme\Block\Adminhtml\Design\Config\Edit\Scope + Class was added. + + + Magento\Tax\Helper\Data + Class was added. + + + Magento\Swatches\Model\AttributesList + Class was added. + + + Magento\Swatches\Model\Swatch + Class was added. + + + Magento\Swatches\Model\ResourceModel\Swatch + Class was added. + + + Magento\Swatches\Model\ResourceModel\Swatch\Collection + Class was added. + + + Magento\Swatches\Helper\Media + Class was added. + + + Magento\Swatches\Block\Product\Renderer\Configurable + Class was added. + + + Magento\Swatches\Block\Product\Renderer\Listing\Configurable + Class was added. + + + Magento\Swatches\Block\LayeredNavigation\RenderLayered + Class was added. + + + Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Text + Class was added. + + + Magento\Swatches\Block\Adminhtml\Attribute\Edit\Options\Visual + Class was added. + + + Magento\Store\Model\Information + Class was added. + + + Magento\Store\Model\StoreIsInactiveException + Class was added. + + + Magento\Store\Model\System\Store + Class was added. + + + Magento\Store\Model\ResourceModel\Group + Class was added. + + + Magento\Store\Model\ResourceModel\Store + Class was added. + + + Magento\Store\Model\ResourceModel\Website + Class was added. + + + Magento\Store\Model\App\Emulation + Class was added. + + + Magento\SendFriend\Model\SendFriend + Class was added. + + + Magento\SendFriend\Model\ResourceModel\SendFriend + Class was added. + + + Magento\SendFriend\Model\ResourceModel\SendFriend\Collection + Class was added. + + + Magento\SendFriend\Helper\Data + Class was added. + + + Magento\Security\Model\AdminSessionInfo + Class was added. + + + Magento\Security\Model\AdminSessionsManager + Class was added. + + + Magento\Security\Model\PasswordResetRequestEvent + Class was added. + + + Magento\Security\Model\SecurityCookie + Class was added. + + + Magento\Security\Model\SecurityManager + Class was added. + + + Magento\Security\Model\ResourceModel\AdminSessionInfo + Class was added. + + + Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\Collection + Class was added. + + + Magento\Security\Model\ResourceModel\PasswordResetRequestEvent\CollectionFactory + Class was added. + + + Magento\Security\Model\ResourceModel\AdminSessionInfo\Collection + Class was added. + + + Magento\Search\Model\Synonym\MergeConflictException + Class was added. + + + Magento\SalesRule\Helper\Coupon + Class was added. + + + Magento\Sales\Model\Order\CreditmemoDocumentFactory + Class was added. + + + Magento\Sales\Model\Order\Creditmemo\Notifier + Class was added. + + + Magento\Sales\Exception\CouldNotInvoiceException + Class was added. + + + Magento\Sales\Exception\CouldNotRefundException + Class was added. + + + Magento\Sales\Exception\CouldNotShipException + Class was added. + + + Magento\Sales\Exception\DocumentValidationException + Class was added. + + + Magento\Rule\Model\AbstractModel + Class was added. + + + Magento\Rule\Model\ActionFactory + Class was added. + + + Magento\Rule\Model\ResourceModel\AbstractResource + Class was added. + + + Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection + Class was added. + + + Magento\Rule\Model\Condition\AbstractCondition + Class was added. + + + Magento\Rule\Model\Condition\Combine + Class was added. + + + Magento\Rule\Model\Condition\Product\AbstractProduct + Class was added. + + + Magento\Rule\Model\Action\AbstractAction + Class was added. + + + Magento\Rule\Model\Action\Collection + Class was added. + + + Magento\RequireJs\Block\Html\Head\Config + Class was added. + + + Magento\Quote\Model\QuoteValidator + Class was added. + + + Magento\Quote\Model\Quote\Address\RateRequest + Class was added. + + + Magento\ProductAlert\Model\Email + Class was added. + + + Magento\ProductAlert\Model\Price + Class was added. + + + Magento\ProductAlert\Model\Stock + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Price + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Stock + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Stock\Collection + Class was added. + + + Magento\ProductAlert\Model\ResourceModel\Price\Collection + Class was added. + + + Magento\ProductAlert\Helper\Data + Class was added. + + + Magento\Persistent\Helper\Data + Class was added. + + + Magento\Persistent\Helper\Session + Class was added. + + + Magento\Paypal\Model\Api\ProcessableException + Class was added. + + + Magento\Payment\Model\CcConfig + Class was added. + + + Magento\Payment\Model\CcGenericConfigProvider + Class was added. + + + Magento\Payment\Model\IframeConfigProvider + Class was added. + + + Magento\Payment\Model\Info + Class was added. + + + Magento\Payment\Model\Source\Cctype + Class was added. + + + Magento\Payment\Model\Source\Invoice + Class was added. + + + Magento\Payment\Model\Method\Adapter + Class was added. + + + Magento\Payment\Model\Method\Free + Class was added. + + + Magento\Payment\Model\Method\Logger + Class was added. + + + Magento\Payment\Model\Method\Specification\AbstractSpecification + Class was added. + + + Magento\Payment\Model\Method\Specification\Composite + Class was added. + + + Magento\Payment\Model\Config\Source\Allspecificcountries + Class was added. + + + Magento\Payment\Model\Checks\CanUseCheckout Class was added. @@ -2046,415 +2582,847 @@

    Class

    Class was added. - Magento\Payment\Model\Checks\CanUseForCurrency + Magento\Payment\Model\Checks\CanUseForCurrency + Class was added. + + + Magento\Payment\Model\Checks\CanUseInternal + Class was added. + + + Magento\Payment\Model\Checks\Composite + Class was added. + + + Magento\Payment\Model\Checks\SpecificationFactory + Class was added. + + + Magento\Payment\Model\Checks\TotalMinMax + Class was added. + + + Magento\Payment\Model\Checks\ZeroTotal + Class was added. + + + Magento\Payment\Model\Checks\CanUseForCountry\CountryProvider + Class was added. + + + Magento\Payment\Helper\Data + Class was added. + + + Magento\Payment\Gateway\Helper\ContextHelper + Class was added. + + + Magento\Payment\Gateway\Helper\SubjectReader + Class was added. + + + Magento\Payment\Gateway\Config\ConfigValueHandler + Class was added. + + + Magento\Payment\Gateway\Config\ValueHandlerPool + Class was added. + + + Magento\Payment\Gateway\Command\NullCommand + Class was added. + + + Magento\Payment\Gateway\Command\Result\ArrayResult + Class was added. + + + Magento\Payment\Gateway\Command\Result\BoolResult + Class was added. + + + Magento\Payment\Block\Form + Class was added. + + + Magento\Payment\Block\Info + Class was added. + + + Magento\Payment\Block\Transparent\Form + Class was added. + + + Magento\Payment\Block\Transparent\Iframe + Class was added. + + + Magento\Payment\Block\Transparent\Info + Class was added. + + + Magento\Payment\Block\Info\AbstractContainer + Class was added. + + + Magento\Payment\Block\Info\Cc + Class was added. + + + Magento\Payment\Block\Info\Instructions + Class was added. + + + Magento\Payment\Block\Form\Cc + Class was added. + + + Magento\Payment\Block\Form\Container + Class was added. + + + Magento\Payment\Block\Adminhtml\Transparent\Form + Class was added. + + + Magento\PageCache\Model\Varnish\VclGenerator + Class was added. + + + Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptions + Class was added. + + + Magento\OfflineShipping\Model\SalesRule\Calculator + Class was added. + + + Magento\OfflineShipping\Model\SalesRule\Rule + Class was added. + + + Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate + Class was added. + + + Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\Collection + Class was added. + + + Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\CSV\ColumnNotFoundException + Class was added. + + + Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\CSV\RowException + Class was added. + + + Magento\OfflineShipping\Model\Config\Source\Flatrate + Class was added. + + + Magento\OfflineShipping\Model\Config\Source\Tablerate Class was added. - Magento\Payment\Model\Checks\CanUseInternal + Magento\OfflineShipping\Model\Carrier\Flatrate + Class was added. + + + Magento\OfflineShipping\Model\Carrier\Freeshipping + Class was added. + + + Magento\OfflineShipping\Model\Carrier\Pickup + Class was added. + + + Magento\OfflineShipping\Model\Carrier\Tablerate + Class was added. + + + Magento\OfflinePayments\Model\Banktransfer + Class was added. + + + Magento\OfflinePayments\Model\Cashondelivery + Class was added. + + + Magento\OfflinePayments\Model\Checkmo + Class was added. + + + Magento\OfflinePayments\Model\Purchaseorder + Class was added. + + + Magento\Newsletter\Model\Problem + Class was added. + + + Magento\Newsletter\Model\Queue + Class was added. + + + Magento\Newsletter\Model\Subscriber + Class was added. + + + Magento\Newsletter\Model\Template + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Problem + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Queue + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Subscriber + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Template + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Template\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Subscriber\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Queue\Collection + Class was added. + + + Magento\Newsletter\Model\ResourceModel\Problem\Collection + Class was added. + + + Magento\MediaStorage\Model\File\Storage + Class was added. + + + Magento\MediaStorage\Model\File\Uploader + Class was added. + + + Magento\MediaStorage\Model\File\Storage\Database + Class was added. + + + Magento\MediaStorage\Model\File\Storage\File + Class was added. + + + Magento\MediaStorage\Helper\File\Storage + Class was added. + + + Magento\MediaStorage\Helper\File\Storage\Database + Class was added. + + + Magento\Integration\Model\Oauth\Token + Class was added. + + + Magento\GroupedProduct\Model\ResourceModel\Product\Link + Class was added. + + + Magento\GroupedProduct\Model\Product\Type\Grouped + Class was added. + + + Magento\GroupedProduct\Block\Stockqty\Type\Grouped + Class was added. + + + Magento\GroupedProduct\Block\Product\View\Type\Grouped + Class was added. + + + Magento\GroupedProduct\Block\Order\Email\Items\Order\Grouped + Class was added. + + + Magento\GroupedProduct\Block\Cart\Item\Renderer\Grouped + Class was added. + + + Magento\EncryptionKey\Model\ResourceModel\Key\Change + Class was added. + + + Magento\Email\Model\BackendTemplate + Class was added. + + + Magento\Email\Model\Template + Class was added. + + + Magento\Email\Model\ResourceModel\Template + Class was added. + + + Magento\Email\Model\ResourceModel\Template\Collection + Class was added. + + + Magento\Eav\Model\Entity\Attribute\AttributeGroupAlreadyExistsException + Class was added. + + + Magento\Eav\Model\Entity\Attribute\Exception + Class was added. + + + Magento\Downloadable\Model\DownloadableOption + Class was added. + + + Magento\Downloadable\Model\Link + Class was added. + + + Magento\Downloadable\Model\Sample + Class was added. + + + Magento\Downloadable\Model\Sample\Builder + Class was added. + + + Magento\Downloadable\Model\Sales\Order\Pdf\Items\Creditmemo + Class was added. + + + Magento\Downloadable\Model\Sales\Order\Pdf\Items\Invoice + Class was added. + + + Magento\Downloadable\Model\ResourceModel\Link + Class was added. + + + Magento\Downloadable\Model\ResourceModel\Sample + Class was added. + + + Magento\Downloadable\Model\ResourceModel\Sample\Collection + Class was added. + + + Magento\Downloadable\Model\ResourceModel\Link\Purchased\Collection + Class was added. + + + Magento\Downloadable\Model\ResourceModel\Link\Purchased\Item\Collection + Class was added. + + + Magento\Downloadable\Model\Product\Type + Class was added. + + + Magento\Downloadable\Model\Product\TypeHandler\Link + Class was added. + + + Magento\Downloadable\Model\Product\TypeHandler\Sample + Class was added. + + + Magento\Downloadable\Model\Link\Builder + Class was added. + + + Magento\Downloadable\Model\Link\Purchased + Class was added. + + + Magento\Downloadable\Model\Link\Purchased\Item + Class was added. + + + Magento\Downloadable\Helper\File + Class was added. + + + Magento\Downloadable\Block\Sales\Order\Item\Renderer\Downloadable + Class was added. + + + Magento\Downloadable\Block\Sales\Order\Email\Items\Downloadable + Class was added. + + + Magento\Downloadable\Block\Sales\Order\Email\Items\Order\Downloadable + Class was added. + + + Magento\Downloadable\Block\Customer\Products\ListProducts + Class was added. + + + Magento\Downloadable\Block\Checkout\Success + Class was added. + + + Magento\Downloadable\Block\Checkout\Cart\Item\Renderer + Class was added. + + + Magento\Downloadable\Block\Catalog\Product\Links + Class was added. + + + Magento\Downloadable\Block\Catalog\Product\Samples + Class was added. + + + Magento\Downloadable\Block\Catalog\Product\View\Type + Class was added. + + + Magento\Directory\Model\AllowedCountries + Class was added. + + + Magento\Directory\Model\Country + Class was added. + + + Magento\Directory\Model\Currency + Class was added. + + + Magento\Directory\Model\Region + Class was added. + + + Magento\Directory\Model\ResourceModel\Country + Class was added. + + + Magento\Directory\Model\ResourceModel\Currency + Class was added. + + + Magento\Directory\Model\ResourceModel\Region Class was added. - Magento\Payment\Model\Checks\Composite + Magento\Directory\Model\ResourceModel\Region\Collection Class was added. - Magento\Payment\Model\Checks\SpecificationFactory + Magento\Directory\Model\ResourceModel\Country\Collection Class was added. - Magento\Payment\Model\Checks\TotalMinMax + Magento\Directory\Model\ResourceModel\Country\Format Class was added. - Magento\Payment\Model\Checks\ZeroTotal + Magento\Directory\Model\ResourceModel\Country\Format\Collection Class was added. - Magento\Payment\Model\Checks\CanUseForCountry\CountryProvider + Magento\Directory\Model\Currency\Import\Config Class was added. - Magento\Payment\Helper\Data + Magento\Directory\Model\Currency\Import\Factory Class was added. - Magento\Payment\Gateway\Helper\ContextHelper + Magento\Directory\Model\Country\Format Class was added. - Magento\Payment\Gateway\Helper\SubjectReader + Magento\Directory\Model\Config\Source\Allregion Class was added. - Magento\Payment\Gateway\Config\ConfigValueHandler + Magento\Directory\Model\Config\Source\Country Class was added. - Magento\Payment\Gateway\Config\ValueHandlerPool + Magento\Directory\Model\Config\Source\WeightUnit Class was added. - Magento\Payment\Gateway\Command\NullCommand + Magento\Directory\Model\Config\Source\Country\Full Class was added. - Magento\Payment\Gateway\Command\Result\ArrayResult + Magento\Directory\Helper\Data Class was added. - Magento\Payment\Gateway\Command\Result\BoolResult + Magento\Developer\Model\View\Page\Config\RendererFactory Class was added. - Magento\Payment\Block\Form + Magento\Developer\Model\View\Asset\PreProcessor\FrontendCompilation Class was added. - Magento\Payment\Block\Info + Magento\Developer\Model\View\Asset\PreProcessor\PreprocessorStrategy Class was added. - Magento\Payment\Block\Transparent\Form + Magento\Developer\Model\TemplateEngine\Decorator\DebugHints Class was added. - Magento\Payment\Block\Transparent\Iframe + Magento\Developer\Model\Config\Source\WorkflowType Class was added. - Magento\Payment\Block\Transparent\Info + Magento\Developer\Helper\Data Class was added. - Magento\Payment\Block\Info\AbstractContainer + Magento\Developer\Console\Command\XmlCatalogGenerateCommand Class was added. - Magento\Payment\Block\Info\Cc + Magento\Customer\Ui\Component\Listing\Column\Actions Class was added. - Magento\Payment\Block\Info\Instructions + Magento\Customer\Model\Customer\DataProvider Class was added. - Magento\Payment\Block\Form\Cc + Magento\Customer\Model\Address\AbstractAddress Class was added. - Magento\Payment\Block\Form\Container + Magento\Customer\CustomerData\JsLayoutDataProviderPool Class was added. - Magento\Payment\Block\Adminhtml\Transparent\Form + Magento\Customer\CustomerData\SectionPool Class was added. - Magento\PageCache\Model\Varnish\VclGenerator + Magento\Cron\Model\Schedule Class was added. - Magento\OfflineShipping\Model\Source\SalesRule\FreeShippingOptions + Magento\Cron\Model\ResourceModel\Schedule Class was added. - Magento\OfflineShipping\Model\SalesRule\Calculator + Magento\Cron\Model\ResourceModel\Schedule\Collection Class was added. - Magento\OfflineShipping\Model\SalesRule\Rule + Magento\Cookie\Helper\Cookie Class was added. - Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate + Magento\ConfigurableProduct\Ui\Component\Listing\AssociatedProduct\Filters Class was added. - Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\Collection + Magento\ConfigurableProduct\Ui\Component\Listing\AssociatedProduct\Attribute\Repository Class was added. - Magento\OfflineShipping\Model\Config\Source\Flatrate + Magento\ConfigurableProduct\Model\ConfigurableAttributeData Class was added. - Magento\OfflineShipping\Model\Config\Source\Tablerate + Magento\ConfigurableProduct\Model\Product\VariationHandler Class was added. - Magento\OfflineShipping\Model\Carrier\Flatrate + Magento\ConfigurableProduct\Model\Product\Type\Configurable Class was added. - Magento\OfflineShipping\Model\Carrier\Freeshipping + Magento\ConfigurableProduct\Model\Product\Type\VariationMatrix Class was added. - Magento\OfflineShipping\Model\Carrier\Pickup + Magento\ConfigurableProduct\Helper\Data Class was added. - Magento\OfflineShipping\Model\Carrier\Tablerate + Magento\ConfigurableProduct\Helper\Product\Options\Factory Class was added. - Magento\OfflinePayments\Model\Banktransfer + Magento\ConfigurableProduct\Block\Stockqty\Type\Configurable Class was added. - Magento\OfflinePayments\Model\Cashondelivery + Magento\ConfigurableProduct\Block\Product\View\Type\Configurable Class was added. - Magento\OfflinePayments\Model\Checkmo + Magento\ConfigurableProduct\Block\Product\Configurable\AttributeSelector Class was added. - Magento\OfflinePayments\Model\Purchaseorder + Magento\ConfigurableProduct\Block\Product\Configurable\AssociatedSelector\Renderer\Id Class was added. - Magento\Newsletter\Model\Problem + Magento\ConfigurableProduct\Block\Cart\Item\Renderer\Configurable Class was added. - Magento\Newsletter\Model\Queue + Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\AttributeValues Class was added. - Magento\Newsletter\Model\Subscriber + Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\Bulk Class was added. - Magento\Newsletter\Model\Template + Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\SelectAttributes Class was added. - Magento\Newsletter\Model\ResourceModel\Problem + Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps\Summary Class was added. - Magento\Newsletter\Model\ResourceModel\Queue + Magento\ConfigurableProduct\Block\Adminhtml\Product\Attribute\NewAttribute\Product\Created Class was added. - Magento\Newsletter\Model\ResourceModel\Subscriber + Magento\ConfigurableProduct\Block\Adminhtml\Order\Create\Sidebar Class was added. - Magento\Newsletter\Model\ResourceModel\Template + Magento\Cms\Model\Wysiwyg\Config Class was added. - Magento\Newsletter\Model\ResourceModel\Template\Collection + Magento\Cms\Model\Wysiwyg\Images\Storage Class was added. - Magento\Newsletter\Model\ResourceModel\Subscriber\Collection + Magento\Cms\Model\Wysiwyg\Images\Storage\Collection Class was added. - Magento\Newsletter\Model\ResourceModel\Queue\Collection + Magento\Checkout\Exception Class was added. - Magento\Newsletter\Model\ResourceModel\Problem\Collection + Magento\Checkout\Model\CompositeConfigProvider Class was added. - Magento\EncryptionKey\Model\ResourceModel\Key\Change + Magento\Checkout\Model\Session\SuccessValidator Class was added. - Magento\Email\Model\BackendTemplate + Magento\Checkout\Model\Layout\AbstractTotalsProcessor Class was added. - Magento\Email\Model\Template + Magento\Checkout\Model\Cart\ImageProvider Class was added. - Magento\Email\Model\ResourceModel\Template + Magento\Checkout\Model\Cart\RequestInfoFilterComposite Class was added. - Magento\Email\Model\ResourceModel\Template\Collection + Magento\Checkout\CustomerData\AbstractItem Class was added. - Magento\Directory\Model\AllowedCountries + Magento\CatalogWidget\Model\Rule Class was added. - Magento\Directory\Model\Country + Magento\CatalogSearch\Model\Indexer\Scope\IndexTableNotExistException Class was added. - Magento\Directory\Model\Currency + Magento\CatalogSearch\Model\Indexer\Scope\UnknownStateException Class was added. - Magento\Directory\Model\Region + Magento\CatalogInventory\Model\Source\Backorders Class was added. - Magento\Directory\Model\ResourceModel\Country + Magento\CatalogInventory\Model\Source\Stock Class was added. - Magento\Directory\Model\ResourceModel\Currency + Magento\CatalogInventory\Model\ResourceModel\Indexer\StockFactory Class was added. - Magento\Directory\Model\ResourceModel\Region + Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\DefaultStock Class was added. - Magento\Directory\Model\ResourceModel\Region\Collection + Magento\CatalogInventory\Model\Quote\Item\QuantityValidator Class was added. - Magento\Directory\Model\ResourceModel\Country\Collection + Magento\CatalogInventory\Model\Adminhtml\Stock\Item Class was added. - Magento\Directory\Model\ResourceModel\Country\Format + Magento\CatalogInventory\Block\Qtyincrements Class was added. - Magento\Directory\Model\ResourceModel\Country\Format\Collection + Magento\CatalogInventory\Block\Stockqty\DefaultStockqty Class was added. - Magento\Directory\Model\Currency\Import\Config + Magento\CatalogInventory\Block\Adminhtml\Form\Field\Stock Class was added. - Magento\Directory\Model\Currency\Import\Factory + Magento\Catalog\Model\Product\Exception Class was added. - Magento\Directory\Model\Country\Format + Magento\Captcha\Model\DefaultModel Class was added. - Magento\Directory\Model\Config\Source\Allregion + Magento\Captcha\Helper\Data Class was added. - Magento\Directory\Model\Config\Source\Country + Magento\Bundle\Pricing\Price\BundleSelectionFactory Class was added. - Magento\Directory\Model\Config\Source\WeightUnit + Magento\Bundle\Pricing\Price\BundleSelectionPrice Class was added. - Magento\Directory\Model\Config\Source\Country\Full + Magento\Bundle\Pricing\Price\ConfiguredPrice Class was added. - Magento\Directory\Helper\Data + Magento\Bundle\Model\Selection Class was added. - Magento\Developer\Model\View\Page\Config\RendererFactory + Magento\Bundle\Model\Source\Option\Selection\Price\Type Class was added. - Magento\Developer\Model\View\Asset\PreProcessor\FrontendCompilation + Magento\Bundle\Model\ResourceModel\Bundle Class was added. - Magento\Developer\Model\View\Asset\PreProcessor\PreprocessorStrategy + Magento\Bundle\Model\ResourceModel\Selection Class was added. - Magento\Developer\Model\TemplateEngine\Decorator\DebugHints + Magento\Bundle\Model\ResourceModel\Option\Collection Class was added. - Magento\Developer\Model\Config\Source\WorkflowType + Magento\Bundle\Model\Product\Price Class was added. - Magento\Developer\Helper\Data + Magento\Bundle\Model\Product\Type Class was added. - Magento\Developer\Console\Command\XmlCatalogGenerateCommand + Magento\Bundle\Model\Product\Attribute\Source\Shipment\Type Class was added. - Magento\Customer\Ui\Component\Listing\Column\Actions + Magento\Bundle\Model\Product\Attribute\Source\Price\View Class was added. - Magento\Customer\Model\Customer\DataProvider + Magento\Bundle\Helper\Catalog\Product\Configuration Class was added. - Magento\Customer\Model\Address\AbstractAddress + Magento\Bundle\Block\Sales\Order\Items\Renderer Class was added. - Magento\Customer\CustomerData\JsLayoutDataProviderPool + Magento\Bundle\Block\Checkout\Cart\Item\Renderer Class was added. - Magento\Customer\CustomerData\SectionPool + Magento\Bundle\Block\Catalog\Product\Price Class was added. - Magento\Cron\Model\Schedule + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle Class was added. - Magento\Cron\Model\ResourceModel\Schedule + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option Class was added. - Magento\Cron\Model\ResourceModel\Schedule\Collection + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Checkbox Class was added. - Magento\Cms\Model\Wysiwyg\Config + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Multi Class was added. - Magento\Cms\Model\Wysiwyg\Images\Storage + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Radio Class was added. - Magento\Cms\Model\Wysiwyg\Images\Storage\Collection + Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select Class was added. - Magento\Checkout\Model\CompositeConfigProvider + Magento\Bundle\Block\Adminhtml\Sales\Order\View\Items\Renderer Class was added. - Magento\Checkout\Model\Session\SuccessValidator + Magento\Bundle\Block\Adminhtml\Sales\Order\Items\Renderer Class was added. - Magento\Checkout\Model\Layout\AbstractTotalsProcessor + Magento\Authorization\Model\CompositeUserContext Class was added. - Magento\Checkout\Model\Cart\ImageProvider + Magento\Authorization\Model\Role Class was added. - Magento\Checkout\Model\Cart\RequestInfoFilterComposite + Magento\Authorization\Model\Rules Class was added. - Magento\Checkout\CustomerData\AbstractItem + Magento\Authorization\Model\ResourceModel\Rules\Collection Class was added. - Magento\CatalogWidget\Model\Rule + Magento\Authorization\Model\ResourceModel\Role\Collection Class was added. @@ -2557,6 +3525,10 @@

    Interface

    Magento\Quote\Api\CartRepositoryInterface::getList [public] Method parameter changed. + + Magento\Authorization\Model\UserContextInterface::getUserId + [public] Method has been added. + Magento\Framework\Interception\ChainInterface Interface was removed. @@ -2721,6 +3693,94 @@

    Interface

    Magento\Catalog\Api\Data\ProductAttributeInterface::CODE_TIER_PRICE_FIELD_VALUE_TYPE Constant has been added. + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_TEXT + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_FILE + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_SELECT + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_GROUP_DATE + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_FIELD + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_AREA + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_FILE + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_DROP_DOWN + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_RADIO + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_CHECKBOX + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_MULTIPLE + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_DATE + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_DATE_TIME + Constant has been added. + + + Magento\Catalog\Api\Data\ProductCustomOptionInterface::OPTION_TYPE_TIME + Constant has been added. + + + Magento\Authorization\Model\UserContextInterface::USER_TYPE_INTEGRATION + Constant has been added. + + + Magento\Authorization\Model\UserContextInterface::USER_TYPE_ADMIN + Constant has been added. + + + Magento\Authorization\Model\UserContextInterface::USER_TYPE_CUSTOMER + Constant has been added. + + + Magento\Authorization\Model\UserContextInterface::USER_TYPE_GUEST + Constant has been added. + + + Magento\Framework\ShellInterface + Interface was added. + + + Magento\Framework\Webapi\ServicePayloadConverterInterface + Interface was added. + + + Magento\Framework\Webapi\Rest\Response\RendererInterface + Interface was added. + + + Magento\Framework\Webapi\Rest\Request\ParamOverriderInterface + Interface was added. + Magento\Framework\View\Design\ThemeInterface Interface was added. @@ -2777,6 +3837,10 @@

    Interface

    Magento\Framework\Encryption\EncryptorInterface Interface was added. + + Magento\Framework\Communication\ConfigInterface + Interface was added. + Magento\Framework\App\PlainTextRequestInterface Interface was added. @@ -2841,6 +3905,18 @@

    Interface

    Magento\Security\Model\SecurityChecker\SecurityCheckerInterface Interface was added. + + Magento\SalesRule\Model\Spi\CouponResourceInterface + Interface was added. + + + Magento\SalesRule\Model\Rule\Action\Discount\DiscountInterface + Interface was added. + + + Magento\SalesRule\Model\Coupon\CodegeneratorInterface + Interface was added. + Magento\Sales\Model\ValidatorResultInterface Interface was added. @@ -2893,6 +3969,14 @@

    Interface

    Magento\Sales\Api\Data\CreditmemoItemCreationInterface Interface was added. + + Magento\Rule\Model\Condition\ConditionInterface + Interface was added. + + + Magento\Rule\Model\Action\ActionInterface + Interface was added. + Magento\Quote\Model\Quote\Address\FreeShippingInterface Interface was added. @@ -2933,6 +4017,14 @@

    Interface

    Magento\PageCache\Model\VclTemplateLocatorInterface Interface was added. + + Magento\Msrp\Pricing\Price\MsrpPriceInterface + Interface was added. + + + Magento\GroupedProduct\Model\ResourceModel\Product\Indexer\Price\GroupedInterface + Interface was added. + Magento\GiftMessage\Block\Cart\Item\Renderer\Actions\LayoutProcessorInterface Interface was added. @@ -2941,6 +4033,14 @@

    Interface

    Magento\Eav\Api\Data\AttributeDefaultValueInterface Interface was added. + + Magento\Downloadable\Model\ComponentInterface + Interface was added. + + + Magento\Downloadable\Model\Product\TypeHandler\TypeHandlerInterface + Interface was added. + Magento\Directory\Model\Currency\Import\ImportInterface Interface was added. @@ -2977,6 +4077,10 @@

    Interface

    Magento\Customer\Block\Account\SortLinkInterface Interface was added. + + Magento\Customer\Api\CustomerGroupConfigInterface + Interface was added. + Magento\Cron\Model\ConfigInterface Interface was added. @@ -2997,6 +4101,18 @@

    Interface

    Magento\ConfigurableProduct\Pricing\Price\LowestPriceOptionsProviderInterface Interface was added. + + Magento\ConfigurableProduct\Pricing\Price\PriceResolverInterface + Interface was added. + + + Magento\ConfigurableProduct\Model\AttributeOptionProviderInterface + Interface was added. + + + Magento\ConfigurableProduct\Model\AttributesListInterface + Interface was added. + Magento\Checkout\Model\Cart\RequestInfoFilterInterface Interface was added. @@ -3009,6 +4125,10 @@

    Interface

    Magento\Checkout\Block\Checkout\LayoutProcessorInterface Interface was added. + + Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\QueryProcessorInterface + Interface was added. + Magento\Catalog\Model\ProductIdLocatorInterface Interface was added. @@ -3073,4 +4193,8 @@

    Interface

    Magento\Catalog\Api\Data\TierPriceInterface Interface was added. + + Magento\Bundle\Pricing\Adjustment\SelectionPriceListProviderInterface + Interface was added. + diff --git a/_includes/changes/ee/216-develop.html b/_includes/changes/ee/216-develop.html index e375f2b06db..8b37b685028 100644 --- a/_includes/changes/ee/216-develop.html +++ b/_includes/changes/ee/216-develop.html @@ -525,6 +525,62 @@

    Class

    Magento\AdvancedCatalog\Model\ResourceModel\Product\Indexer\Price\Grouped::reindexEntity [public] Method has been removed. + + Magento\Framework\MessageQueue\ExchangeFactory + Class was added. + + + Magento\Framework\MessageQueue\MessageLockException + Class was added. + + + Magento\Framework\MessageQueue\PublisherPool + Class was added. + + + Magento\Framework\MessageQueue\QueueFactory + Class was added. + + + Magento\Framework\MessageQueue\Bulk\ExchangeFactory + Class was added. + + + Magento\Framework\Amqp\ConnectionTypeResolver + Class was added. + + + Magento\TargetRule\Model\Rule + Class was added. + + + Magento\TargetRule\Model\Rule\Condition\Combine + Class was added. + + + Magento\TargetRule\Model\ResourceModel\Rule + Class was added. + + + Magento\TargetRule\Model\ResourceModel\Rule\Collection + Class was added. + + + Magento\TargetRule\Model\Actions\Condition\Combine + Class was added. + + + Magento\TargetRule\Helper\Data + Class was added. + + + Magento\Signifyd\Model\MessageGenerators\GeneratorException + Class was added. + + + Magento\Rma\Helper\Data + Class was added. + Magento\Reward\Model\Reward Class was added. @@ -561,6 +617,34 @@

    Class

    Magento\Reward\Model\ResourceModel\Reward\History\Collection Class was added. + + Magento\ResourceConnections\DB\Adapter\Pdo\MysqlProxy + Class was added. + + + Magento\MysqlMq\Model\Message + Class was added. + + + Magento\MysqlMq\Model\MessageStatus + Class was added. + + + Magento\MysqlMq\Model\Queue + Class was added. + + + Magento\MysqlMq\Model\QueueManagement + Class was added. + + + Magento\MysqlMq\Model\ResourceModel\MessageStatusCollection + Class was added. + + + Magento\MessageQueue\Model\ConsumerRunner + Class was added. + Magento\Logging\Model\Event Class was added. @@ -645,6 +729,34 @@

    Class

    Magento\GiftRegistry\Helper\Data Class was added. + + Magento\CustomerSegment\Model\Customer + Class was added. + + + Magento\CustomerSegment\Model\Segment + Class was added. + + + Magento\CustomerSegment\Model\ResourceModel\Customer + Class was added. + + + Magento\CustomerSegment\Model\ResourceModel\Segment + Class was added. + + + Magento\CustomerSegment\Model\ResourceModel\Segment\Collection + Class was added. + + + Magento\CustomerSegment\Model\Condition\AbstractCondition + Class was added. + + + Magento\CustomerSegment\Model\Condition\Combine\AbstractCombine + Class was added. + Magento\BannerCustomerSegment\Model\ResourceModel\BannerSegmentLink Class was added. @@ -749,6 +861,54 @@

    Interface

    Magento\GiftCardAccount\Api\GiftCardAccountRepositoryInterface::getList [public] Method parameter changed. + + Magento\Framework\MessageQueue\ConsumerInterface + Interface was added. + + + Magento\Framework\MessageQueue\ExchangeFactoryInterface + Interface was added. + + + Magento\Framework\MessageQueue\ExchangeInterface + Interface was added. + + + Magento\Framework\MessageQueue\MessageIdGeneratorInterface + Interface was added. + + + Magento\Framework\MessageQueue\PublisherInterface + Interface was added. + + + Magento\Framework\MessageQueue\QueueFactoryInterface + Interface was added. + + + Magento\Framework\MessageQueue\QueueInterface + Interface was added. + + + Magento\Framework\MessageQueue\Topology\ConfigInterface + Interface was added. + + + Magento\Framework\MessageQueue\Publisher\ConfigInterface + Interface was added. + + + Magento\Framework\MessageQueue\Consumer\ConfigInterface + Interface was added. + + + Magento\Framework\MessageQueue\Bulk\ExchangeFactoryInterface + Interface was added. + + + Magento\Framework\MessageQueue\Bulk\ExchangeInterface + Interface was added. + Magento\Framework\Bulk\BulkManagementInterface Interface was added. @@ -769,6 +929,10 @@

    Interface

    Magento\Framework\Bulk\OperationManagementInterface Interface was added. + + Magento\TargetRule\Model\ResourceModel\Index\IndexInterface + Interface was added. + Magento\Signifyd\Api\CaseCreationServiceInterface Interface was added. From ea305e5b108b8c4cd200042b2937dae66675e486 Mon Sep 17 00:00:00 2001 From: Dmytro Mrachkovskyi Date: Fri, 21 Apr 2017 12:42:29 +0100 Subject: [PATCH 117/301] Update for What's New: Technical guidelines, Events section * made description of new section more accurate --- guides/v2.0/magento-devdocs-whatsnew.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.0/magento-devdocs-whatsnew.md b/guides/v2.0/magento-devdocs-whatsnew.md index b1fa784c1a5..1048c440cd8 100644 --- a/guides/v2.0/magento-devdocs-whatsnew.md +++ b/guides/v2.0/magento-devdocs-whatsnew.md @@ -18,7 +18,7 @@ This page contains recent changes that we think you'd like to know about. We exc | Description | Versions applied to | New or Updated | Date | |--------------|--------------|----------------------|--------| -| [Technical guidelines for Events]({{ page.baseurl }}coding-standards/technical-guidelines/technical-guidelines.html#events){:target="_blank"} | 2.1.x | New | Apr 19 | +| [Technical guidelines for working with Events]({{ page.baseurl }}coding-standards/technical-guidelines/technical-guidelines.html#events){:target="_blank"} | 2.1.x | New | Apr 19 | | [Migration: Follow-up after running the Data Migration Tool]({{ page.baseurl }}migration/migration-migrate-follow-up.html){:target="_blank"} | 2.x | Updated | Apr 14 | {% collapsibleh2 March 2017 %} From ae2ca35e451a15b8a795b3d1562f466b34a7e7ac Mon Sep 17 00:00:00 2001 From: Loreena Date: Fri, 21 Apr 2017 18:30:14 +0200 Subject: [PATCH 118/301] Update theme-create.md Change the magento/theme-frontend-blank and magento/framework version to run with Magento 2.1 --- .../frontend-dev-guide/themes/theme-create.md | 276 +++++++++++++++++- 1 file changed, 275 insertions(+), 1 deletion(-) diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-create.md b/guides/v2.1/frontend-dev-guide/themes/theme-create.md index 1ecd7b85fbe..8a432098f12 120000 --- a/guides/v2.1/frontend-dev-guide/themes/theme-create.md +++ b/guides/v2.1/frontend-dev-guide/themes/theme-create.md @@ -1 +1,275 @@ -../../../v2.0/frontend-dev-guide/themes/theme-create.md \ No newline at end of file +--- +layout: default +group: fedg +subgroup: A_Themes +title: Create a storefront theme +menu_title: Create a storefront theme +menu_order: 2 +version: 2.0 +github_link: frontend-dev-guide/themes/theme-create.md +redirect_from: /guides/v1.0/frontend-dev-guide/themes/theme-create.html +--- + +

    What's in this topic

    + +This topic discusses how to create the files that make up a theme, how to add a logo to a theme, and how to size images. + + + +
    +

    A new theme you create is not applied for your store automatically. You need to apply it manually in the Admin panel. This procedure is described in the Apply and configure a theme in Admin topic.

    +
    + +## Prerequisites + +1. For the sake of compatibility, upgradability, and easy maintenance, do not modify the out of the box Magento themes. To customize the design of your Magento store, create a new custom theme. +2. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). The application mode influences the way static files are cached by Magento. The recommendations about theme development we provide in this chapter are developer/default-mode specific. + +## Create a storefront theme: walkthrough {#theme-gen-walkthrough} +The high-level steps required to add a new theme in the Magento system are the following: + +1. Create a directory for the theme under `app/design/frontend//`. +2. Add a declaration file `theme.xml` and optionally create `etc` directory and create a file named `view.xml` to the theme directory. +3. Add a `composer.json` file. +4. Add `registration.php`. +3. Create directories for CSS, JavaScript, images, and fonts. +4. Configure your theme in the Admin panel. + +

    Recommended reading

    + +* Checklist of modules +* Static view files processing + + + +## Create a theme directory {#layout_theme_how-to_dirs} + +To create the directory for your theme: + +1. Go to `/app/design/frontend`. + +3. Create a new directory named according to your vendor name: `/app/design/frontend/`. + +4. Under the vendor directory, create a directory named according to your theme. + +
    +app/design/frontend/
    +├── <Vendor>/
    +│   │   ├──...<theme>/
    +│   │   │   ├── ...
    +│   │   │   ├── ...
    +
    + +The folder name conventionally matches naming used in the theme's code: any alphanumeric set of characters, as the vendor sees fit, is acceptable. This convention is merely a recommendation, so nothing prevents naming this directory in another way. + +## Declare your theme {#fedg_create_theme_how-to_declare} + +After you create a directory for your theme, you must create `theme.xml` containing at least the theme name and the parent theme name (if the theme inherits from one). Optionally you can specify where the theme preview image is stored. + +1. Add or copy from an existing `theme.xml` to your theme directory `app/design/frontend//` + +2. Configure it using the following example: + +{% highlight xml %} + + New theme + Magento/blank + + media/preview.jpg + + +{% endhighlight %} + +If you change the theme title or parent theme information in `theme.xml` after a theme was already [registered](#register_theme), you need to open or reload any Magento Admin page for your changes to be saved in the database. + +## Make your theme a Composer package (optional) {#fedg_create_theme_composer} + + +Magento default themes are distributed as Composer packages. + +To distribute your theme as a package, add a `composer.json` file to the theme directory and register the package on a packaging server. A default public packaging server is https://packagist.org/. + +`composer.json` provides theme dependency information. + +Example of a theme `composer.json`: + +{% highlight json %} +{ + "name": "magento/theme-frontend-luma", + "description": "N/A", + "require": { + "php": "~5.5.0|~5.6.0|~7.0.0", + "magento/theme-frontend-blank": "100.1.*", + "magento/framework": "100.1.*" + }, + "type": "magento2-theme", + "version": "100.0.3", + "license": [ + "OSL-3.0", + "AFL-3.0" + ], + "autoload": { + "files": [ + "registration.php" + ] + } +} +{% endhighlight %} + +You can find details about the Composer integration in the Magento system in Composer integration. + +## Add registration.php {#fedg_create_theme_reg} + +To register your theme in the system, in your theme directory add a `registration.php` file with the following content: + +{% highlight php %} + +/', + __DIR__ +); + +{% endhighlight %} + +Where `` is your vendor name, `` is the theme code. + +For illustration, see the registration.php file of the Magento Luma theme. + + +## Configure images {#fedg_create_theme_how-to-images} + +Product image sizes and other properties used on the storefront are configured in a `view.xml` configuration file. It is required for a theme, but is optional if exists in the parent theme. + +If the product image sizes of your theme differ from those of the parent theme, or if your theme does not inherit from any theme, add `view.xml` using the following steps: + +1. Log in to your Magento server as a user with permissions to create directories and files in the Magento installation directory. (Typically, this is the the Magento file system owner.) + +1. Create the `etc` directory in your theme folder + +2. Copy `view.xml` from the `etc` directory of an existing theme (for example, from the Blank theme) to your theme's `etc` directory. + +3. Configure all storefront product image sizes in `view.xml`. +For example, you can make the category grid view product images square by specifying a size of 250 x 250 pixels, here is how the corresponding configuration would look like: + +{% highlight XML%} +... + + 250 + 250 + +... +{% endhighlight XML%} + +For details about images configuration in `view.xml`, see the Configure images properties for a theme topic. + +## Create directories for static files {#fedg_theme_how-to_static} + +Your theme will likely contain several types of static files: styles, fonts, JavaScript and images. +Each type should be stored in a separate sub-directory of `web` in your theme folder: +
    +app/design/<area>/<Vendor>/<theme>/
    +├── web/
    +│ ├── css/
    +│ │ ├── source/ 
    +│ ├── fonts/
    +│ ├── images/
    +│ ├── js/
    +
    + +In the .../<theme>/web/images you store the general theme related static files. For example, a theme logo is stored in ...<theme>/web/images. +It is likely that your theme will also contain module-specific files, which are stored in the corresponding sub-directories, like .../<theme>/<Namespace_Module>/web/css and similar. Managing the module-specific theme files is discussed in the following sections of this Guide. + +
    + +

    + +During theme development, when you change any files stored here, you need to clear pub/static and var/view_preprocessed directories, and then reload the pages. Otherwise the old versions of files are displayed on the storefront. + +

    +
    + + +## Your theme directory structure now {#fedg_theme_how-to_structure} + +At this point your theme file structure looks as follows: + +
    +app/design/frontend/<Vendor>/
    +├── <theme>/
    +│   ├── etc/
    +│   │   ├── view.xml
    +│   ├── web/
    +│   │   ├── images
    +│   │   │   ├── logo.svg
    +│   ├── registration.php
    +│   ├── theme.xml
    +│   ├── composer.json
    +
    + + + +## Theme logo {#theme_logo} + +In the Magento application, the default format and name of a logo image is `logo.svg`. When you put a `logo.svg` image in the conventional location, which is `/web/images` directory, it is automatically recognized as theme logo. It is displayed in your store page header once the theme is applied. + +In your custom theme, you can use a logo file with a different name and format, but you might need to declare it. + +The necessity of declaration depends on whether your theme has a parent theme and its logo image. The following cases are possible: +
      +
    • +Your theme does not have a parent theme: +
        +
      • if your logo image name and format is default, logo.svg, there is no need to declare it;
      • +
      • if your logo image name or format is not default, you need to declare it in layout.
      • +
      +
    • +
    • Your theme has a parent theme: +
        +
      • if your theme logo image has the same name and format as the parent's theme logo, there is no need to declare it;
      • +
      • if your logo image has different name or format, declare it in layout.
      • +
      +
    • +
    + +## Declaring theme logo {#logo_declare} + +To declare a theme logo, add an extending `/Magento_Theme/layout/default.xml` layout. + +For example, if your logo file is `my_logo.png` sized 300x300px, you need to declare it as follows: + +{% highlight xml %} + + + + + images/my_logo.png + 300 + 300 + + + + +{% endhighlight %} + +Declaring the logo size is optional. + +To learn more about theme layouts, refer to the Layout section of this guide. + + +## What's next {#next} + +### Theme registration {#register_theme} +Once you open the Magento Admin (or reload any Magento Admin page) having added the theme files to the files system, your theme gets registered and added to the database. + +### Applying a theme +For information on how to apply the theme for the storefront, see the [Apply and configure a theme in Admin]({{page.baseurl}}frontend-dev-guide/themes/theme-apply.html) topic. + +## See also + + * [Uninstall a theme]({{site.gdeurl}}install-gde/install/cli/install-cli-theme-uninstall.html) From 8e6657d1e3ab1d95132be8b63732339fb533f529 Mon Sep 17 00:00:00 2001 From: mage2-team Date: Fri, 21 Apr 2017 21:15:04 -0700 Subject: [PATCH 119/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 900 +++++++++++++++++++++++++- 1 file changed, 896 insertions(+), 4 deletions(-) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index b90f1c184fd..e7c3cd9c673 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -201,6 +201,14 @@

    Class

    Magento\Catalog\Block\Product\ImageBlockBuilder Class was removed. + + Magento\Backend\Model\View\Layout\GeneratorPool + Class was removed. + + + Magento\Backend\Model\View\Layout\Filter\Acl + Class was removed. + Magento\Framework\View\Result\Layout::render [protected] Method parameter changed. @@ -213,6 +221,22 @@

    Class

    Magento\Framework\View\Page\Config\Renderer::renderAssetHtml [protected] Method parameter changed. + + Magento\Framework\View\Layout\GeneratorPool::removeIfConfigElement + [protected] Method has been removed. + + + Magento\Framework\View\Layout\GeneratorPool::__construct + [public] Method parameter changed. + + + Magento\Framework\View\Layout\GeneratorPool::$scopeConfig + [protected] Property has been removed. + + + Magento\Framework\View\Layout\GeneratorPool::$scopeResolver + [protected] Property has been removed. + Magento\Framework\View\Layout\Proxy::setCache [public] Method has been removed. @@ -289,10 +313,38 @@

    Class

    Magento\Framework\View\Layout\Proxy::removeCache [public] Method has been removed. + + Magento\Framework\View\Layout\ScheduledStructure::getIfconfigList + [public] Method has been removed. + + + Magento\Framework\View\Layout\ScheduledStructure::getIfconfigElement + [public] Method has been removed. + + + Magento\Framework\View\Layout\ScheduledStructure::unsetElementFromIfconfigList + [public] Method has been removed. + + + Magento\Framework\View\Layout\ScheduledStructure::setElementToIfconfigList + [public] Method has been removed. + + + Magento\Framework\View\Layout\ScheduledStructure::$scheduledIfconfig + [protected] Property has been removed. + + + Magento\Framework\View\Layout\Reader\Block::__construct + [public] Method parameter changed. + Magento\Framework\View\Layout\Reader\UiComponent::__construct [public] Method parameter changed. + + Magento\Framework\View\Layout\Reader\UiComponent::$scopeType + [protected] Property has been removed. + Magento\Framework\View\Asset\Source::$varDir [protected] Property has been removed. @@ -1245,6 +1297,10 @@

    Class

    Magento\Backend\Model\View\Result\Redirect::render [protected] Method parameter changed. + + Magento\Backend\Model\View\Layout\Reader\Block::__construct + [public] Method parameter changed. + Magento\Backend\Model\Menu\Item::__sleep [public] Method has been removed. @@ -1417,6 +1473,190 @@

    Class

    Magento\Widget\Model\Widget::$conditionsHelper [protected] Property has been added. + + Magento\Shipping\Model\Carrier\AbstractCarrier::__construct + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getConfigData + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::requestToShipment + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::returnOfShipment + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getContainerTypes + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::_getAllowedContainers + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getCustomizableContainerTypes + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getDeliveryConfirmationTypes + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::checkAvailableShipCountries + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::proccessAdditionalValidation + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isActive + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isFixed + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isTrackingAvailable + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isShippingLabelsAvailable + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getSortOrder + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::_updateFreeMethodQuote + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getFinalPriceWithHandlingFee + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::_getPerpackagePrice + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::_getPerorderPrice + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getTotalNumOfBoxes + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isStateProvinceRequired + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isCityRequired + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::isZipCodeRequired + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::_debug + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::debugData + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getCarrierCode + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::getContentTypes + [public] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::filterDebugData + [protected] Method has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_code + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_rates + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_numBoxes + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_freeMethod + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_isFixed + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_customizableContainerTypes + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_debugReplacePrivateDataKeys + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_scopeConfig + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_rateErrorFactory + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::$_logger + [protected] Property has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::DEBUG_KEYS_MASK + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::USA_COUNTRY_ID + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::CANADA_COUNTRY_ID + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::MEXICO_COUNTRY_ID + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_TYPE_PERCENT + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_TYPE_FIXED + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_ACTION_PERPACKAGE + Constant has been added. + + + Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_ACTION_PERORDER + Constant has been added. + Magento\Payment\Model\Cart::__construct [public] Method has been added. @@ -1753,6 +1993,94 @@

    Class

    Magento\CatalogRule\Model\Indexer\IndexBuilder::SECONDS_IN_DAY Constant has been added. + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::__construct + [public] Method has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::modifyMeta + [public] Method has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::modifyData + [public] Method has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::formatPrice + [protected] Method has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$locator + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$eavConfig + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$catalogEavValidationRules + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$request + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$groupCollectionFactory + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$storeManager + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$formElementMapper + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$metaPropertiesMapper + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$attributeGroupRepository + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$searchCriteriaBuilder + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$attributeRepository + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$sortOrderBuilder + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$eavAttributeFactory + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$translitFilter + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$arrayManager + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$attributesToEliminate + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::$dataPersistor + [protected] Property has been added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav::SORT_ORDER_MULTIPLIER + Constant has been added. + Magento\Catalog\Model\Product\Type\AbstractType::isPossibleBuyFromList [public] Method has been added. @@ -2349,6 +2677,14 @@

    Class

    Magento\Store\Model\App\Emulation Class was added. + + Magento\Shipping\Model\Config + Class was added. + + + Magento\Shipping\Model\Rate\Result + Class was added. + Magento\SendFriend\Model\SendFriend Class was added. @@ -2406,19 +2742,103 @@

    Class

    Class was added. - Magento\SalesRule\Helper\Coupon + Magento\SalesSequence\Model\Builder Class was added. - Magento\Sales\Model\Order\CreditmemoDocumentFactory + Magento\SalesSequence\Model\Config Class was added. - Magento\Sales\Model\Order\Creditmemo\Notifier + Magento\SalesSequence\Model\Manager Class was added. - Magento\Sales\Exception\CouldNotInvoiceException + Magento\SalesSequence\Model\Meta + Class was added. + + + Magento\SalesSequence\Model\Profile + Class was added. + + + Magento\SalesSequence\Model\Sequence + Class was added. + + + Magento\SalesSequence\Model\ResourceModel\Meta + Class was added. + + + Magento\SalesSequence\Model\ResourceModel\Profile + Class was added. + + + Magento\SalesRule\Helper\Coupon + Class was added. + + + Magento\Sales\Model\ResourceModel\AbstractGrid + Class was added. + + + Magento\Sales\Model\ResourceModel\EntityAbstract + Class was added. + + + Magento\Sales\Model\ResourceModel\GridPool + Class was added. + + + Magento\Sales\Model\Order\Config + Class was added. + + + Magento\Sales\Model\Order\CreditmemoDocumentFactory + Class was added. + + + Magento\Sales\Model\Order\Total\AbstractTotal + Class was added. + + + Magento\Sales\Model\Order\Invoice\Total\AbstractTotal + Class was added. + + + Magento\Sales\Model\Order\Email\NotifySender + Class was added. + + + Magento\Sales\Model\Order\Email\Sender + Class was added. + + + Magento\Sales\Model\Order\Email\Container\Container + Class was added. + + + Magento\Sales\Model\Order\Creditmemo\Notifier + Class was added. + + + Magento\Sales\Model\Order\Creditmemo\Total\AbstractTotal + Class was added. + + + Magento\Sales\Model\Order\Address\Renderer + Class was added. + + + Magento\Sales\Model\Config\Ordered + Class was added. + + + Magento\Sales\Model\Config\Source\Order\Status + Class was added. + + + Magento\Sales\Exception\CouldNotInvoiceException Class was added. @@ -2433,6 +2853,10 @@

    Class

    Magento\Sales\Exception\DocumentValidationException Class was added. + + Magento\Sales\Block\Adminhtml\Items\AbstractItems + Class was added. + Magento\Rule\Model\AbstractModel Class was added. @@ -3297,10 +3721,394 @@

    Class

    Magento\CatalogInventory\Block\Adminhtml\Form\Field\Stock Class was added. + + Magento\Catalog\Ui\AllowedProductTypes + Class was added. + + + Magento\Catalog\Ui\DataProvider\CatalogEavValidationRules + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\AddStoreFieldToCollection + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\AddWebsitesFieldToCollection + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\ProductCustomOptionsDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Related\AbstractDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Related\CrossSellDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Related\RelatedDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Related\UpSellDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\NewCategoryDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\ProductDataProvider + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AbstractModifier + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AdvancedPricing + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\AttributeSet + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Attributes + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Categories + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\CustomOptions + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\General + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Images + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Related + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\ScheduleDesignUpdate + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\System + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\TierPrice + Class was added. + + + Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Websites + Class was added. + + + Magento\Catalog\Ui\Component\ColumnFactory + Class was added. + + + Magento\Catalog\Ui\Component\FilterFactory + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Filters + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\AttributeSetText + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\Price + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\ProductActions + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\StatusText + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\Thumbnail + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Columns\Websites + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Attribute\AbstractRepository + Class was added. + + + Magento\Catalog\Ui\Component\Listing\Attribute\Repository + Class was added. + + + Magento\Catalog\Ui\Component\Category\Form\Element\Wysiwyg + Class was added. + + + Magento\Catalog\Pricing\Render + Class was added. + + + Magento\Catalog\Model\Design + Class was added. + + + Magento\Catalog\Model\Layer + Class was added. + + + Magento\Catalog\Model\Session + Class was added. + + + Magento\Catalog\Model\System\Config\Backend\Catalog\Url\Rewrite\Suffix + Class was added. + + + Magento\Catalog\Model\ResourceModel\AbstractResource + Class was added. + + + Magento\Catalog\Model\ResourceModel\Product\Collection + Class was added. + + + Magento\Catalog\Model\ResourceModel\Product\Gallery + Class was added. + + + Magento\Catalog\Model\ResourceModel\Product\Indexer\AbstractIndexer + Class was added. + + + Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\DefaultPrice + Class was added. + + + Magento\Catalog\Model\ResourceModel\Product\Compare\Item\Collection + Class was added. + + + Magento\Catalog\Model\ResourceModel\Layer\Filter\Attribute + Class was added. + + + Magento\Catalog\Model\ResourceModel\Layer\Filter\Decimal + Class was added. + + + Magento\Catalog\Model\ResourceModel\Layer\Filter\Price + Class was added. + + + Magento\Catalog\Model\ResourceModel\Collection\AbstractCollection + Class was added. + + + Magento\Catalog\Model\ResourceModel\Category\Collection + Class was added. + + + Magento\Catalog\Model\Product\Action + Class was added. + Magento\Catalog\Model\Product\Exception Class was added. + + Magento\Catalog\Model\Product\Link + Class was added. + + + Magento\Catalog\Model\Product\ReservedAttributeList + Class was added. + + + Magento\Catalog\Model\Product\ProductList\Toolbar + Class was added. + + + Magento\Catalog\Model\Product\Price\Validation\Result + Class was added. + + + Magento\Catalog\Model\Product\Option\Type\DefaultType + Class was added. + + + Magento\Catalog\Model\Product\Media\Config + Class was added. + + + Magento\Catalog\Model\Product\Link\Converter + Class was added. + + + Magento\Catalog\Model\Product\Link\Resolver + Class was added. + + + Magento\Catalog\Model\Product\Gallery\CreateHandler + Class was added. + + + Magento\Catalog\Model\Product\Gallery\Processor + Class was added. + + + Magento\Catalog\Model\Product\Gallery\ReadHandler + Class was added. + + + Magento\Catalog\Model\Product\Gallery\UpdateHandler + Class was added. + + + Magento\Catalog\Model\Product\CopyConstructor\Composite + Class was added. + + + Magento\Catalog\Model\Product\Compare\Item + Class was added. + + + Magento\Catalog\Model\Product\Compare\ListCompare + Class was added. + + + Magento\Catalog\Model\Product\Attribute\Source\Status + Class was added. + + + Magento\Catalog\Model\Product\Attribute\Backend\Price + Class was added. + + + Magento\Catalog\Model\Product\Attribute\Backend\Media\EntryConverterPool + Class was added. + + + Magento\Catalog\Model\Indexer\AbstractFlatState + Class was added. + + + Magento\Catalog\Model\Indexer\Product\Category + Class was added. + + + Magento\Catalog\Model\Indexer\Product\Price\Processor + Class was added. + + + Magento\Catalog\Model\Indexer\Product\Flat\Processor + Class was added. + + + Magento\Catalog\Model\Indexer\Product\Eav\Processor + Class was added. + + + Magento\Catalog\Model\Indexer\Product\Category\Processor + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Flat + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Product + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Product\AbstractAction + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Product\Processor + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Flat\SkipStaticColumnsProvider + Class was added. + + + Magento\Catalog\Model\Indexer\Category\Flat\State + Class was added. + + + Magento\Catalog\Model\Category\DataProvider + Class was added. + + + Magento\Catalog\Model\Category\Attribute\Backend\Sortby + Class was added. + + + Magento\Catalog\Model\Attribute\Backend\Customlayoutupdate + Class was added. + + + Magento\Catalog\Model\Attribute\Backend\Startdate + Class was added. + + + Magento\Catalog\Helper\Data + Class was added. + + + Magento\Catalog\Helper\Image + Class was added. + + + Magento\Catalog\Helper\Product\Compare + Class was added. + + + Magento\Catalog\Helper\Product\Composite + Class was added. + + + Magento\Catalog\Helper\Product\ConfigurationPool + Class was added. + + + Magento\Catalog\Helper\Product\ProductList + Class was added. + + + Magento\Catalog\Block\ShortcutButtons + Class was added. + Magento\Captcha\Model\DefaultModel Class was added. @@ -3917,10 +4725,22 @@

    Interface

    Magento\SalesRule\Model\Coupon\CodegeneratorInterface Interface was added. + + Magento\Sales\Model\ConfigInterface + Interface was added. + + + Magento\Sales\Model\EntityInterface + Interface was added. + Magento\Sales\Model\ValidatorResultInterface Interface was added. + + Magento\Sales\Model\ResourceModel\GridInterface + Interface was added. + Magento\Sales\Model\Order\RefundAdapterInterface Interface was added. @@ -4129,14 +4949,86 @@

    Interface

    Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\QueryProcessorInterface Interface was added. + + Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface + Interface was added. + + + Magento\Catalog\Pricing\Price\CustomOptionPriceInterface + Interface was added. + + + Magento\Catalog\Pricing\Price\FinalPriceInterface + Interface was added. + + + Magento\Catalog\Pricing\Price\TierPriceInterface + Interface was added. + Magento\Catalog\Model\ProductIdLocatorInterface Interface was added. + + Magento\Catalog\Model\ProductOptionProcessorInterface + Interface was added. + Magento\Catalog\Model\ResourceModel\Product\BaseSelectProcessorInterface Interface was added. + + Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\PriceInterface + Interface was added. + + + Magento\Catalog\Model\ProductTypes\ConfigInterface + Interface was added. + + + Magento\Catalog\Model\Product\CatalogPriceInterface + Interface was added. + + + Magento\Catalog\Model\Product\CopyConstructorInterface + Interface was added. + + + Magento\Catalog\Model\Product\Configuration\Item\ItemInterface + Interface was added. + + + Magento\Catalog\Model\Product\Attribute\Backend\Media\EntryConverterInterface + Interface was added. + + + Magento\Catalog\Model\Locator\LocatorInterface + Interface was added. + + + Magento\Catalog\Model\Layer\AvailabilityFlagInterface + Interface was added. + + + Magento\Catalog\Model\Layer\Filter\FilterInterface + Interface was added. + + + Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmInterface + Interface was added. + + + Magento\Catalog\Model\Indexer\Product\Flat\Table\BuilderInterface + Interface was added. + + + Magento\Catalog\Helper\Product\Configuration\ConfigurationInterface + Interface was added. + + + Magento\Catalog\Block\ShortcutInterface + Interface was added. + Magento\Catalog\Api\BasePriceStorageInterface Interface was added. From b5dada81d4ad8d673479061910b233f1b686c0fc Mon Sep 17 00:00:00 2001 From: Luke Hanley Date: Sun, 23 Apr 2017 14:54:41 +0100 Subject: [PATCH 120/301] Fix indentation on 2.0 redis-session conf example 2 spaces indents are used in the generated `env.php` and the tabs used here ruin the format. Removed indent on `array (` (both matching generated `env.php` and also `redis-pg-cache` page). --- .../v2.0/config-guide/redis/redis-session.md | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/guides/v2.0/config-guide/redis/redis-session.md b/guides/v2.0/config-guide/redis/redis-session.md index 3a755764020..3ec6704bcec 100644 --- a/guides/v2.0/config-guide/redis/redis-session.md +++ b/guides/v2.0/config-guide/redis/redis-session.md @@ -22,29 +22,29 @@ Before you continue, [install Redis]({{page.baseurl}}config-guide/redis/config-r Following is a sample configuration to add to `app/etc/env.php`: 'session' => - array ( - 'save' => 'redis', - 'redis' => - array ( - 'host' => '127.0.0.1', - 'port' => '6379', - 'password' => '', - 'timeout' => '2.5', - 'persistent_identifier' => '', - 'database' => '2', - 'compression_threshold' => '2048', - 'compression_library' => 'gzip', - 'log_level' => '1', - 'max_concurrency' => '6', - 'break_after_frontend' => '5', - 'break_after_adminhtml' => '30', - 'first_lifetime' => '600', - 'bot_first_lifetime' => '60', - 'bot_lifetime' => '7200', - 'disable_locking' => '0', - 'min_lifetime' => '60', - 'max_lifetime' => '2592000' - ) + array ( + 'save' => 'redis', + 'redis' => + array ( + 'host' => '127.0.0.1', + 'port' => '6379', + 'password' => '', + 'timeout' => '2.5', + 'persistent_identifier' => '', + 'database' => '2', + 'compression_threshold' => '2048', + 'compression_library' => 'gzip', + 'log_level' => '1', + 'max_concurrency' => '6', + 'break_after_frontend' => '5', + 'break_after_adminhtml' => '30', + 'first_lifetime' => '600', + 'bot_first_lifetime' => '60', + 'bot_lifetime' => '7200', + 'disable_locking' => '0', + 'min_lifetime' => '60', + 'max_lifetime' => '2592000' + ) ), where From e0699af2e8e31eda9ced1fb3036d5ef5d60f31d1 Mon Sep 17 00:00:00 2001 From: Laura Folco Date: Sun, 23 Apr 2017 15:10:32 -0400 Subject: [PATCH 121/301] Fix extra tags --- .../v2.0/install-gde/install/cli/install-cli-uninstall-mods.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/guides/v2.0/install-gde/install/cli/install-cli-uninstall-mods.md b/guides/v2.0/install-gde/install/cli/install-cli-uninstall-mods.md index 0c0a1ed0592..82f35418309 100644 --- a/guides/v2.0/install-gde/install/cli/install-cli-uninstall-mods.md +++ b/guides/v2.0/install-gde/install/cli/install-cli-uninstall-mods.md @@ -73,13 +73,11 @@ The module uninstall command performs the following tasks:

    Backs up the pub/media directory.

    var/backups/<timestamp>_filesystem_media.tgz

    -

    --backup-db

    Backs up the Magento 2 database.

    var/backups/<timestamp>_db.gz

    - From 1b07c7906c3c1b154ec8dbca3cdbbf8558d4e666 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Mon, 24 Apr 2017 13:22:28 +0300 Subject: [PATCH 122/301] review edits+ image --- common/images/fdg/create_install_theme.png | Bin 18741 -> 14133 bytes .../themes/theme-install.md | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/images/fdg/create_install_theme.png b/common/images/fdg/create_install_theme.png index 344e9567fc596a9ebdd2d054db9e459d750579f7..f049b4567d4bdc3ab480b4e76276f8e8834c988e 100644 GIT binary patch literal 14133 zcmbt*2Q*yY_wOhPAtEAri%22}6GTLv5J93v7j2N}jBd0sq%%qqE$SqCZ^2+N5{5)C z(L2$58GUBn^~0)zMGvl+}hI?r1a9w#`fA1S8ID)JzMLS{vN+=N$ecj>?BvKIX9;7A@4R5 zp$c1ekQ02g^G)_Et(eI~g}AAZtYxy5-w96S-USe-Npt!f=ppb83S|R!R0?HdN_d$r8>U~{^h#I;mqvOI_2TJB8)v(@M(^i zf;1F~Fp#MdNHdnlrMPi-7eT;j%mV!$)I44IfCL$3o_1alxO&u23RNAttX`xFH0Jm% z%72OtVOOvmtU(BDUv7f+O!TSxv5f@7wxm&*tg_=+tS~ z^xp5Ic~$p@m9*%q$SCIXv%e%1q*Wc~jvUpP$Z6WeD1wFGjtKtK{wd8ZWH91+Wakiz zePOl`CrYdHgKt=>?s#j|&B0_6a_y?k$i(CbsAsCrN^6gP+u4o|*DIZ=$bbAL0LMn9 zyghzMcFct51-r-~Y^2LW6m_O~oao!4=4ZU5R@ADu@tSJY;^|4Rw%+c1co21?q;78G zs8Nob)t&H(7yAtMLRaBB`Be@Wej0e%9D^tShF>AvZCD;6TLla15;1-ol_w3pBYz^= z8%~cr`*8!fzhx6;qM(R)C-fDf;hrtic@*jPx%jrd_j}Iv0WfhrE{x}8$Fj54%;r;- z0ISK8^iUagN^>=OH?}f`YHf43h`5{ZL(=!6;|8oweLw>xlaCu4pk zpkMp;ActJmcUMX`dBI3fj_aLx3m7v*p>%4or@OZ9g1i!rLUlU?Nr{j<~+BErxve7Gg}OL7H~Dq(=aa{rUlJbhB|B~zz* zQHb{ulk2ez4M>&_uf{9%$|)%!Ir|hpts`#nPsWr^;Y-{%e{Ho}pGmF~VQPj06 zX3%I@xY|HW4a(7b{vOWmeMWu#67!jJJMcv=sHKP}Dk3<{5KIO3$!TVP|5lxASJ46n?5+czsRN{Yop0B@ zH(W8t&Du-5$4k2z7XkzoryY6qxPP-i9AhEqtM+dekkQkoZ-!aDeAwvI%Eo73u~g=r z+kPD7cu80Eo8?L-rz%SJod);ss-*Bw3kt4XLs%>Sqo~`1W}0P7R=frTa<>>fzXy z-&mj+!3}qkK+mg#u=tL@FpJU>GKZn7IgjfI_HQunXEoUEZB-xCrQiAfnG$9wF2xV& zGmkQX1#R~aybNz=F}~Go9DPGTvvv16caFfA!3S(y`W;Qurg8jk@^$l^b<})|j(Ay` zGwHA=NL?qRjp+j${f6%STTwqz>s<*ZHL z&b5J&vP{6xt>qQLHzveu5YdAn`#_o-C!%G5v~*GGEQkG%d5qd} zaO1T>eZ^gnv#=NxUEDCzt9bG*Ih>wWO1AoHo#NL6y|EfPv(1Q(xWU!!T4_ZD7mcZg4{_?T6$(|bS)WW>f>(suAeBdj1OtKc1;R9l@s z90Of;;7LXvfKkEXgO%eNW0>;Kir0Sn7liPZh**SqU#<+a@EItG$*x)*q@Wex^pkca zKddUl-#neAGBS6TWBhp*fM@BeSbtzW=A0M7qT?lfUEgC;xj_@(S*d6{tDD`-7f5gI z2f@RO2{1>x;At%`A}C3nE8tNLbWA+^7YjIx*g zu%59jUa`W~n1&4XAEFJ<@UicM-j|P}pY_qgOc(Rx z_o48S;3^B~cfEo6t4Kve`4a9$=Dq!ag!RS#k}Q9RHE(LaBFf-0g*exz2vZ`$;%VK! zwk4EP%MxZ*m`yf!#EEY0t7{sn=c^ggM>X$+BuAwb2qX;=k1(dZM|c_$9+tGzPHC~j zkIlN~1pA0XP|6wTSQF^qRf}1kno}&ws7)Duclf#Wz9B|%ffILXjPxFPFDWXpV1*|q zlBX9}qiQU~+437K$`rsD$LL~ihrh06GMBCkdxe-4Nm@c9N{1F@@qt&mi-JS@)DcN= z9;Eg)p5De+2jJeR9K5Dl=TN&Jt;r?cE8-vdCG5#|a8Ema05 zb$jD`8ouD;?)kkj%1zFvf);o#%y92h>0q%iMu(up*(T;)PtN%d9zl1nd$UHj8ib#s zxVoLC-b*X0FW>3Ben;(DSF~sA&V2KGWYgdn%GH%%YNH^2%n2R#3oaB;Eq)=>8N^Xm zcn>VCI9xB!f6ekyg;G$N4R((3XXrViXq%J*=HnAV)&h4{N(#ltP1%g#m9#i^N{;3p z;U(s_QAfHPakgB4a`H1J!}@>ui@z71`q8|LN_8eJTJl~5?RkF{WE3syjz+j9)nYz7 z1_~Lp1fSR(^#_i+wIT?{ePv^l`g_tAJP-1yN3W*ORyMDyQ-~bbEwN=V4hL-tmM82e z&Xs>!s_WK5SkpBxcN1jlmVH{v`(+dfz4K)fOIe|XFp;Xtwe}30@G&V!EEUg|gt&NSjODq>m0Vw+v4T|~*v^qHi0^5_ zk18D+P-I5PiPpwmO<=t3Rg5C)+*Eag3HJk_S!3_?t^>a*ta^}*6^m%`Lc z=ba-n4z*lYw0z}ajTf)BI>5#jMKkn)vZm0H zYQW}iWkZQ82D$#%JZYtF;QGZJ=8-m;9E*v4&r#*m2)=$QW!ZxaXm(vE`n|+;;91xY z>^3@TFSozB`WPgNl?-p>R*Ef1iSF~~rp3l}y^Jsu43&;j5xC*zApXjXCzbo%C}z1b zThd|3DRp;q;00Pjhs{dnq$dc?fv{^=%zr!`u?R2N(GuoK`sv|=9F5)`sbIhc=cfC{`ycbHu+t^CAT{M-I$3N`AS)u&yOjyBo$E^HErEjg)T-8 zEM%x8#cVE;OOraLJY{8~#ub6m0Vdp` z4OF-5w`*(y^ve;FWQ0J71#J1$ja$y41M_AZCO2#&C?J1%D=}o`B1kRAQ;FCtR#r71I zlXcH$IbZBP9vIeN8cQI2w|(+EE-fcU_0HVOT?PnA|1sHoifrsmKySwAcHaBRImSYK z-bNSMcH0lE8az}0gsOz?(5M{_50%f#o$p2soh=m)%i4p}!Y(JJ$&sz2XGf3T-;Si~ z=5t+e^E_?-9PVM9fDRWoj{dly<1P~Yp&yqsuX0&C!KjdgGh$0)Hy9X_g;HU5(o*tx zLc9sPJu`vl9@>&Q=5u$5_M9sD@fT1;-+H&Ts$qy*{yMfmY9T@7e6ya#NUjdoZX|I0 zk5Nt-aB*4wkK~}S7uUpA#Eicyi+A#O)77(AKQ9T!n*9gl7?_JI9r!e%EzFbI&gN^% z@-3id6fcGu`fUq0_H>+4Lh20eTzQ+}?l?1Nw%L(38n8IY6Ek+ORQ#=8cZpnEPwtqt zC;2?c$qfGS!4Mb!SS%-5JGNj5wkar5Q?d1Rf2?4c+@iX!Q9JJZe5fRBqG%Cb&eP=X zX$qc(>6H(zJ@}0I^qMj>fr-wmf1YVGcF^Px)sd^bTh0?LioFa^h+^92(1AnbWBk&F zW#_dmiGWF|qe*PV&sm!Df;(7?qxBy9A$c@ZO2Q3e~_)JFinwH~(F+4D8)n zxzOLIw|xS&~?Sdo0OL%_t9l^(r$imzQ^fd6OUd^V9gLbh!cDV z+Iuvd`V06N>wTQ4cN5#EFl`Omx`=A9{C>4ezD90Jqg^c95?dK$bWx@9F(X}-{La!h zVx;N|Bj>Zr7STv+qmQfVvZ1a|^+BuLf753hSq1Y&mmByPH0r z_6=tqwsC4AYFkkaim$bh?BNS4mD;0EY|m3$vOY_|?7n{e-1S^x#^Ga_5kB-L{#sXr z5Fc&b9a>K^0e8A*$-*UjMeu{BOelki^L&_7Od|6@{9Zh!&R<)OLR4s?&m)I<=mjM6 zW{A|}0r!1kVMc?CJWk8u!q*9HWsAu!xwJW1UMq$J8C}lp()guZFkljc#J)yK-Gl?Q zB6*l!(AMXMHv33XQHT^Rc3DLV(hGODa^D+{;RJRJk075+MLSWeiX}Xg3DtTc{dI`9 zLo78!sz8X90XtWwqZqLF#aDUS_K9wpb|yVjQh8 z8Kqo^xU)}Sn|3sLU=wStr{Udv!R4W`fwqAppU-j?CwZ|+?ba!0SYvxQf=~cO2`tdG zqX$h?Wa9W`&pf^KX&K*$ZMcD&FNC-Uub`v^7tnclG;>1+HU~L*Du<|!Cc+-{syKs0 zbT=RiJH+1=gC^xgRrBy|k-t=?RG|q2;kxZY8Ff6UJO;T+w$fK1wv))z#3XELxPRA4 z#2bOFawqY&z)q>5wOYcU8Fh8nsPlaItpZ%U~Xm-K#_@a-R%57Y%LH05&OL zO;Cb`D?VfXf{S=kh9x*6Em!zi)PfNo7x4X{bu*!F~cZ2pr|58P$K&7IrPSRUa>8P732D|o!@`Q9s< zb@}kxjGs*9OzJDKh&uL}Nc!XP)G4GG4iEZysk6LdC!x%Bls+_}vUK%$wFHvM5pR26 zl7-sDA-%5CA-t>Zc%Wo-f9-qsx>RkuC*c0&_^5@1;B6i`0~Zrh+vA^^gCI{x|7_VX zgj=lrbJ+(B@zhKw*0|!0t@zLOa1|l;PdY%7NjbI2sgHY-Zvw-Fa@ z$8(_Cag62yM%47xfJ9a(EKx|K1@ut*Cyd%6jw7UDOhzk?U{7IX7<|~oH<`n-#41qd z-P!So2DRGcd;w%6AS@|=`pbTE@Ct3+UdFN}{yfMCEG)U!e-ZdQwY;LMSkuB1WRzQo zP0qstZU=ckxg5zQ9hKZp-}uyJv_d>vVm#w!NCT_=VE!;Dg!DRCJo~~@)ouO^*z8W? z$;C&Gu-3o(GMznTzv~zi2Z32HhNp|UHOzT(Omy)C%+pT|(%rqG4JEd%bu6sTeXb6y zXz6PUy&?r?^5ftZZ#!AWkvqDGk~CEhw!eD)(|Mu(SLemVbdN=nkw-p_ynVk&3H-n@ zGR^;J{yVzEzy)OG=d(34ZP5RwFYvNGTZG*tbTYs&Rr*M@`c^tjw_ z-NniPhpWBxSu$HlZJ26?cmccQ`RnTfWmWaCw%%7LtpV%aEX=1V73dFY5#XFT2Ic zMmcZCjBU|`B#>!u-J@!BXgdiJ_3|S7c6UlgcRMl+hBH|X8u*W>vv7e_hg5id?eCpU zpk-kh(wn&#!CMA=iG=rTJH1Ix|oh7$m(#N zL^{ABRU`qUNwkGCl+8)D(ck@R<1LL#ZZoh0oR%6N<(8vs8S;%yYB;BzIYDXK*1P%k zrdEl6XYp;_3@OmNp|N065gC}V5Adjn%rQ4|&GIQsSp#%2$L_n#_KGo1xH#We*%^35 z+d`Y36zC#)8!%rEka;*9b<-EN!NJSHUj7vC+99WN0)bJyfqKJ_r{8Xkdy$zSK6%5S zyEoD$nl!-m6}wBlFP?tl-%=JbbYUO53VOs3_^l+IEtKu4ZC+BMC(VUMkO&QU_R0>U z17Kqlhs`3)b+-c7 z|7uB^z6!Q}lhAO5g-gQ6pW?jHpNY;*yGm+G@SWMCMd+84*7tmdKy}v$5UQo?OJ#zB zr%&HE(rX<4d=cH9D(kZn3~b8zE+P;(`hmDm8e4ADf^ykKFQ_8P6729{@ll7ciksH^yey-r3TpnxtEDhR=&h02Q2E5>>aNJGU zzU|5mQipZH<|wz4LJkdA(q7qu+ysgaj@%_@#DCLu6Vcq)2ghRiN{=8a~=j7 zBzWiQV>sz2S6hINP5;zfbFi%E%Y$dkMiOY$+=TMDgo(H^&dGSULq=_C{X&%SPLz*se3$_|AruJkp;zRFk;G$Z--6-0U)6>&_4d6uDyo?tAo^8O zz8)YuP@aF5KYX`9=={>sv5#9@arI1g;ZYxIS4B%+Zq#^- z0qUONOcsO~x%RUR?0jv|@OdJ?ej-IETL3s)axFr4GAKu6@6rca%*^R0weV@yQ0ceR zM*W<9b)%>$|8&~l+XrQ*zB9{itf4ZzW|wn!=kLLST(|vB(T9Pj=$3(!UtNoDUFsFaw&oy)F8VoRr7KjZ9Utf?T$I;)J{Y!ZxM5b| zHq;HfI0*G3AU+(F9|z;-*mf83bA*GOT7-Bx^p51{%|U0=_G`Ll$74|0z~xudMsYz& zL%?;(Hn|6K$)3l`)W4m+M6{Yk?qq-JOduaOJvND&j#GIS-rB7|l7`Uz0UACoa~3!s z$0Pr1Q4qo8HbNResJgy3LDZi$c+a&*fA#I;eVPy9Ny?@FhY@X?xFabIw-YsYK+huef>}lIm!`m!&Xxgy{M6UB8C@J@wwitwM)D z3}adj2r2HK(T>KS@NEhb*Uu8-ES^orj=YOJJ#Z}g@m2hNf)Yc0KY3jN-r*QVG140= zQ1hJQ*hU5X_M6i~=bMze@{m_H|3+h~`5FG}_!u|zhNKa#iQgY}!Q_-v_6vOW(>Bu?#DxI3%TvNtM^1|ULc zbH!7y5z!`7Hlc)h`3?)7nX>(Hk@l~qJOo#cjol%=2#H1VCeX33uVAo!5V0QFID+zT zcQlZybgSr>LP`WW(kYQlyW&e;^p}v8JovszxkAe#b%JkVeW!*-t8~SW%^DcX)>IqD z{h+I>4EP_v2FKVcp3ohOze>3zEEYRfe?&z3E?>(kSJ+Dkf^xBubmKyQ@c8voU(7GR z(RG$q%tMQ&q6^!5d%u*(@R>XJbB@X!4Cja;3ooV)JOez)nPpJ#E3aAl0*p{2lxe6_ zZ6>_cf>Q%UFfH6e-|xJ+k#%p#UrF7cgiUA=nXi2j*ry)YQK>a%#8^`_dYf|lm2HBn z0o2V2yRxb!u)XX*K)A1iPC*9y+(;sMuKdXpdQE@P8G;WM>3!m!Qpl9ym&)fP6&q zsOyk)J1#?08=2qr)>Rq`&vRsO7S+P2TT8!k+xDZ;XUg|7d=Yz~Y+Jmew;Km+nldIv z^&M6;^>5WMt{-kK9jt_EyC_!y;F7|U`uR)Gr`KCkHDxUL7b4P1Ix&$SlT|ri>>b#k znEu#kyC4#6L9T|fg}pY^HMg0JNQJ=-O{P_gyu_EfHP;LSbG3bzZcMjccs@{W@dDv~ zH0ulinfd>S4~!vyWe)y>GL|sagoU#8Z4JiedBc(x8-?D&XLH^GNu{bzIWr6 zFN(8C$KBAtus=yfn~mA=y2+Lm)po2raWA6uBrYDCsM7hTTGoA2#M{&eCKa=z(QYG1wU67{B%E@IdY_0wxKrk@HF^?)5`cHblNgy)|nScXf98meds|E z-j+M>=~SQ1{6|lw*l4D9e)Tt+jhti3jCmkap!3tbLMcBdu#=B3$!+Lfn<@93Ju4?b zf%L(O%T=$Ub$80bJv~Xbj+j%}QCiUJ@DKP};uEx?u`qJ`%Bb@7i9pSICOv27T{FH= z1$`qqb)`I7^bt9XX~>9Q;?)cRQ2N} z?J=%?nRH?0x_9*Lv@rur%f4gm?OL`yD}686M7%upIm%|QWw`YJVcoX;GgV;JZsJnE zuG%Z0f&=6q_!B+znId^whl9x;w)C~R3OlRY#{yc7A0yQ@8CEU@kUK&bc#tP!lg)kq zhZR%WYn%c6>awoT1_3%H`^S?zVJLrqZm(!T7=K3 z!Z}zMwj>Pfcx4YKbBDj)G$}F&zhl91N%gUT-62*7x!~RaN$uyPt?NN6CRzZ1UWB#( z+JeTX%Id9i7i&(sQsvmbJ7HXBF1Ec?JS+4Yv)qbY zu)huTxgJf(C9Q^o;#|+~8X5oq0r}xYEX8?FU;yMvESG3HlWRSd1HcMM#yXbm>kH;H z66a?~qW{wL8c-MUT}lwN2KA^mpo6yPqZJg3Z(jDZZfx%MwC_$!Z72Jo2SE;8z5+|y z3glDzexRslJFjoxGVBOURg`O?SagPoFXjSe&!;uLJRXp6-x5sb0qBtikEQAl1^DSs z^BX&miNj7kJd#gg|1WmZdsWoS^tH9!n}ly{kbVpJgpZf)Zyr$aOCa2TPXeI9yNA!6 z>;d#^-sf`v1^V_Hu=2Y{LnX);X96_g`yc`E!iM7U$jAi1S!n~H_~&K+mApC0qX`%Q z9m^*Kb<*V10cdRfEA}S*`X1-}IaMP7b%@m$pOpz0^9&N;=K3H3;gyXI6l&Ljj@pu4 z8Q>uLoh`pR1FLkrXmx|Qr$b((tz~q$pc*Dy7m@N0A_t&&9NELv8I+L;oP^CtH^2H` z3ss<$P>rjtYrM^AdDRWCJgHxhCY5RwL!-2vXOJp4@e=v@0)(OB? zQr}(Md3_QlY2T$84Dc?=XZ~~7G~K2tR@c&sI`<6WX5<#O%cTMZ%{!BbjRp9a#6MHK zTt_smBKtnj+^v}0iI*^vf3{p54N#K}a9CUcdZb1ak}DlY0qE`? z#y`$WvqvLfm~e*1%Qa-6dH{5P)Rwnn1-;hV-58x1ta{?&I9hfQV-LEYzD(2v`-JGo@mGDLv`;$j+NBSmn8d341`!KY9dw@8d)G z#DCH!BuCcPB~h?HGc)+-ZWbSZG-AKzOFLG}8T9&ZSVrsq%ax6vwwjJ1tPO`*;MNJ^ z(Yl3m%_QIW*7-=rN3(kaLnX_{JFoZhGSs3ch}mXtBN+sx>9^XNiLpTy%>QoMNIUga*8owK;*#3jS}Un5>@I;T4jLhD-1&{~F-dtx6*Bl+k6iQHH01nngQX})Dw zP6`e@eISf-1A5w*0B?E1Z%VZ!`5uTS4{|sjPQQhH(1T#5sCvLVueT28|0(O$Y7&Ks8(_+&Dy`)Eyw98H=RkLbXI++V zQ)J#W$*T@P(~baBkQwRO11*?*K8kkA2A&QRF% z38=K@W0FGWh1KBj1!**&$t{7pQVHzN7%@?oH6GdMoj&5y<#@s9+R8?L2S~)~4Vw|G zsSRm-{M$(P8QCiWw_n+yEFFwJZ}S$Ne4(gO0wOu5C=Dt!7QB}y25$d$34E#8dL1xm z!L#`D5=9hCw!=K#n+p}xK&=N;++}3Mc>&I}LyM4r&eE_X$zWOR!++xV#QfLG~rEx0<&) zK(q2{{kTG-zOvPqSN*Hmo0PciPw^EJbdYGD-4>%^rQ4>_JG1z*%|HlrT>iQbs7}4- zBtK780UmK&8N)err6L1ZcbfIOj3Yzs?WZ&f07=An#Bs$0uhg5S29Yb^2UbDyS@|Qx z!W9zt4>N!8J4W!PB~TicthfD{KWAhI&z7J9;{Rq_lrSBhYd(v`$Img3dm{A?V-m&J zO}S!GaKqs&KoheVaylH;9GY*FJZ!Xo;AFcaMmaS`rW*7Ey*|yv5v_?6kf7`D)y+1I!9oB}ne>?Gs78BTZ z5Ky(_uIV-+xTfp|?6?A}(n9TOG1h)I6;~np3O2IL1D2Cb9pA!{`$zf&1vrR&44WNp z9?RQA$E1FMp14Az!sx&WgxBd*d4JD^WF2`A_{}BQ6Kj*zh&On#8(SgWKYoRwG`Nv} zdmp{mZt(MLSrP**(vvSx+pTcG7bCPJVcO;>(l1I9devnqdQU?8&!snlXO#J+R(UtU zs#lHluQ`2lcCby)ZB-IJRf%AO=-Mqa0tM!wqw>5b;d8cIl_fx|JKuIeDIxP>)rl}; z=X`V`_6Y(_0X*j!g`m^cWXhD?sJyMVNaVP^jm|s*p3XUd_<`N&ZWR+C0hYgZK85+n zRqeFwaU+YLnm+YJqN$^>s&T~5)WR;%D7*M*D^hoIOk)0h5UbcZt_*BOUckq|%!{?E zKGqD?ThxUXJz?6eLqL9HoIhZ6`t*r>=WcB%+)bwboQZ&{pY?iEmy54s1spvX@`=6< za{>FG+h+g#Rl2~L1Uha4<_N5yyqNktf#Drt@u_nU#FzXxhWwSqO8s>Do%CPK5ZgE7 zvvU>;WA(H4bLrHZJ~x=CK~MGXJ-q+g=?iHr0A$|(N!0xxRo?$+>G#=H|MANICan8^ zymheS%Pr9HhWaVMT!;lPhJ}tUFktGWxZ2&=&}7(|N;(mF+J+%N^~Fb)bawHbc>40= z2q*iLv~`UR=XViUK3$lmx~?ILaNh&<-)@jtNbl;MVe>EedyZP~t^f=%N)B3gKd1OMCx znqIM9)v~%na=jlTu;*4IeRX}EfZ&hz3DfxX(yRR0+;0otrO-aXn@_iOZ!vlHd0x+K zIi0-PVw0FWMYjJ(WxxCFZd&pyUwQB#=9~Nz5z=NN4btsLRo1h(fdz)vaui{HRYysh zS47z~m~S=07A~@u4YH)32(l1I*8s%CYrnz*wm1<(TKJB{$t(S9IxrcQy*J9|u^HZ#bWMPiTz9HUqa$J+D@?KNg#M5#p=q2pUw` zj`5d{?^iO3H2u!hFzdVCP{J~k|3x6_eH*QP>iNk-BvW;|lL}MeeJCdV<798`&bsqo z*Q;aZ9iK#BTV|lX1!S!!zOwCg{CmLFwtW4`Xp0dI&-3Ji`WQk~+-k%ktl@y!6`hdX z2E13&`0K+nE`h9FL7Vx|+geH=E{`pbkFgI#9OVgp+%L~G_9=Gqx$1xIlHHDP&1H<# zfi72b1sViygmvi=KRlWl%zLcwRuQv63f>B4`Y=z7Q@il*Zm#_2_ z4j`l0F~Px39CV%*K@7Pun5c@UV14n1ZAm?)n#I0@4N^~@3AIsl>F6#r63I<#teCW+ z_SNUmd_i)L(9YH!*^PU~s}%gmH}8^Lfcz^XpQlQHVk3uGy!;Awov{JWn0DXpR*icP zx!HmfqO;m)iPyBRXzZrXd41HD;1X%CXF-2@&9{0SYE&qAZsmbT5zsNjF^cb4h#UtO$5Uv>)CHDf0W`2^T`4T@e_)Y#HCZX+e z+)tz0EUToSj>Z@n#@Mo=#|$%VzfF5LChj1slD0Vd>1??4x3p~JGCBjrYtf4Oy(Gu* zCs$Tc^q)X?vc6sT3i&q)HBdP|IX+%S$hfDR{)4EzON+BIaq|WV9%tM%Ma97Vs<9}e zZdXCWH@C&gKSCgp!k9n=>dE>ftX`vX%x28o{7d?s=d7+*viest3fJR%VfCo`Rzj7~ zWc%ptAc*XLQj{xj1D*&vX9>VXrMXP0|4RCLx zGCw3AE@JAT0)QqSK@gDw^5nx#Y_NONY9-~x1Q|dMboN!MM}~$_fb54%tStG(BF~1N NJl0kzRenNcM8&>NcY*J z&;7jXUFWQ`&N?5?Iv<`d_boI3*m3P^|Ki#ctfBgKz9qyfRvMlPhB~e#AH9h6GTdHNgd7E+PbjNdkzS;2S z=26B`^J=qa=ANK+4Qt=rs=H`^)zL|-=g%tFl8dvWpZxj+ei%?13{03f285Bg;0=m3 znG%ck@81M|evE!7I>LW_P2eXk2Z0quVX)l#b2<7>0*xR4zMTLjk0EiJi01RZZ^uA} zQ2f{9X>n)@Bq8qv{&^jNxJvZ3f4`oF0TZez=SLFw@8`i-UtvK0`96Tb4~2^pwfN89 z;usP#w?Lc!{_P(HT0)DdM)B|KX$rpmyOA^mF&Icz2JsN7f3C-b-WL3)j~Gx%B5{>B zP&o(m82ou2=rs0!I{lxS{!e&=HBF<5+(>im!wC*uB(RTcKRwu-<;D$7qZhwg)t7t3 zEDLeikA)T8z1EdOLxANkAQZy9mDlG6*81Xd@9+#A0bDE@A#oe~X`LF5b&MR%9+Dw5 z_U`QOGwIg2OcvfoWtzTbxJpAN{!^HLGjwr_8RmZl{YH9a8if4;rz80YRI)|E)?;d^$1tToPsEDEXQWwx z`U?o-GEsa9Qh|O;R5@neV(}N)qmo#*jCsa~ei>?84DE{fkXuMNHA1yh;Nxn zGedqTFnf_4#{Fr@Zyxza_t5PaILyR2S@gZJOC#`Spl&}Fjq~#(Mh{h*{at!VLK-8< z?>Xi9e_9fsFOQr=x5KaYKT`&R=l}JT-Fk6&d2tqgS!mEyJ3J@z!d&B^@j5q%LEiZa zCIQU(J;pv4%GD|){C7K1?u0HPx!gso$O|2LA)H-^#jDe@E3Q~3WxjrqqcqF0;^c;t zl~lz{QST?|Le5<#ouvj%J;%FCikh17g4@-@U25he@zO8MU0N#74yRx8bDQ_^e5LZV zA+gh_?h_CW2@&f0)GdjMIjQtMbK!PcQ<d%?J$F+UjxJFNmwZ*D4tp3)rrgyr=RUOLa2YfCE|d?U}tEE3D(hq!Ww0 zwuMx$l>%8b<1H75EPBd5xyxMVTgsn-P6D^p`Mh>NlOB>z$&ea6_c>pp))sT#Tj^a% zHqYSHHuA2Stb7qlCiv=|)q<_X{vAg)$Y-gq+&v|ofW%ny}-LTI|mw8iqS!vTwV|Vq- z`AZBT-^;zs-hSUp$G!bw<gGX+J;Z=dkRY<8OWl=j-M;U@_?t|WOJY$OxX z%O+WuHhl5g>*YUev##75Ru9mioO6PSY=#-d~h`eiQFiWnL6F zwmq$U9(;1V6p6of#&w~oh%Cx$WtXFlxp;8UGI>#Z+Ldb8*y;7Vlc~1NsLsw{j*xXU zOO$;Wp6)!R<8ocfThs1}ojOwVbZx`6qtao@|-W2i+jZdV<0Q48dgaMX&T{ zzMLmbzQSKLB07~j`IFkRH`{I%=zLs1-7Ks7H1Ota^JqPL+xaUt=|-n@lh1KbsWzXB zt*iILs$UsYYn(T=&RkRGgfI4oOTM{n*Nhi`i(-x)5V|~G+UDMiFVm~DtMR7xIX0ea zWRPSCaFQq3a2N5|FAv{~hEs8F@a#9c&bhDp71o5Ih8%ql-W!qOq>6YRKHYsa>pZR_ z5j*>#tB+Rd?L;F-!w;fvIp6sYip<@+qEt{(KcJe;cqB;M@(*NscGDxF>|wFa%H8}AR{#&($w zi@{7<%49{#UE@cEZE8j?1uShQr;R4I-d7h#?=y3K9yZNit}FXmoyi}VZ`AP$N5AY+ z_P%_PXkd1wDt6F8tenJaJ@%CI{$TQS8$LPDx69+c#|jt8r&&E3MF}x$*o~K$(=Xe2 zU1uBu8xE(e6~V$#pM=vD&~53lPG*sC&zE|R6znwp6lEhabYH$LTuC=LP;M->H>US8 zxx(~oicXbTGO?0CR!W?Y^W&2rv9+{w9-Ad*BL%9p{+6Z9Nxvt*Rc#Ix3=qO8jIVS} z6m!(c9l9vru<%Gak7{a98p#nE=yD{q$cZ)$$4qpU>iKkG)Jj_^Zy3?oPdsbhaNqP?w z7d&tMQQN)c!(L}F=X-U5eL(gmulCj1dk}a9YrGn7z!08AZJ8Ig_3o23c;{YTk+vPb z*%o#je^vBTLoBcIpMpe}XPtixuay(r)53;iDM&=>cNg}w^KQRY&QP~!U|4t+n@ zDjd947C9J^@P0d%YUU$;d*f`xXq2HKWPLNFre>h()mhiprK)$9?3AwrzcM7}MB=T+XV-TBMy`Qq7R!qTwJlvd%httxy1=|J+Vp|VD1=qUB&ufS%T zSD%e(3AGfzxO z%@DGN*IR2CcssX(f5};r7>K<(_~bcJZfw@>hw0M$)b7eK7DZH-Xyh}gbY|J5Y{Kdq zEMIZSm=!6lA~O-KSt%8**I;zQQo)F7y}I~0Z9F$qBj;ghZD(kN;j%H(S^98bBt!bG z;rXeqO88Fsr(0EyJ5wGKH??o7U5T#0i^WYCU;NU;_&uSF{o$=%nBZh~g9q<^U%K!# zuf{1BJ#E2({#2es`V7ABu~d^5!a8lAO+G!_W|+jl%sX++tJAf2+kERm^;^X7O9?E^ zJj0ug=6EAppf4NCrfhmOD_MEwRBK9MD(s{VQ`{CmOO-_t$84+Tf?V~;DoIR_;5PSiqCr_krigdq!-A2{AExicI1ZEFm=GJ| zQmZ)U?g_GsxhuKDG`NgHZfl&<=K0Xp^&f*R<^36+cU<=1@l31oMZ8ZvB|_!)@c8ZN zKng1l&SC8hc>Wl&_40I63%YVIYv{(Cj;K?FcT$eeW|C<{=XBd9JWaNWOYHd7nQFLf zp_tZuaap!w{#l&-=hMUhQ6dS=j8^)W597B~=$t}})DeDON|p->PN`ljg!%!WLr$Ku ztS#}HqTZ~Z?xtTj8x45Gyz)(R@2|y??<7B$qXeuXWaNV)>eG)@T;ub8qLZANL>P;6N^gxG&xs7Z!n}`pcK7m~iv*Q^8YZ8s(WjdH!Z3bLa?t z_Ltt2PuTNA)6g{Qd)V+@H7?BGxzC+Q_LKe+6#>;pBD3hH4k-$e&Bbzb2GJWr>HjjE z&u^P(7jB@LmU-Hjs2D)e7;|z^U;lEIuffRm_50wd(RM?fzcRe!Whr*)?*1h?5BO$o zVw(RUeM>xViGZuo3{#2Zi84QWq@7}w-X8r>;93kK{Q&zzO`lbKw}T0w z`PN6We9m{z0jcU-V_xI@OEMj@pLsOm01Edm)rqT_$tZ>p-VBrd%T7aYx=OW^p$ENB zAe@#Fa5aQ1Tq5!>&x|C-8Xi^zPoDwT6lxOZ;t z+>(3-5Z%gVSsNdEkDov3bKMeaHS#>%;>`3pEkrXk!IdP_p6`LwJ8=q|<7KX0RACOW z;wztta-FT%GQAIzEde}_i`*@;I|vqb*?M%aInIBuF}l}v$Ut@vE*6YJsC^Mw=;ojI zGOc|%Z`XRfi08Of@ij#@oLumkrT{TRp6KPVX-?uBp^l|Uu{jFw{lPq?bfNF8?CR@4 zl;KK7@ZM%1s6n0nh*j?Ky*l!}hZA(?p>ERKoAsN z<8+9Cbi*nUUwK{_)O5;t7;1F>u_u+kKkOcVUl=)W7uk1J)+m67l1}zk^)mP8Yph1O z&{Tp<$f@9DH`3PzUQ$mJr3E2U1xhnNnq*S8v|Joc_oC^OaUf-a76bONfu`n*JM8)v z$xl*vaPH&W_d_AWcb(4krt+s^Q@OQ2K3&Uk z=|HIanWsA^ka3y>G^}NZ_5g&gGq$Qq2GwUOf8I&N{rnq&aPDZ4CfhXMRITl1<7CBT z;`eOdGJ~cuK$h;;n(v{G(L$AZ#xYZ=e!~zht74?QN;)8&!MpBPmlrD~b#q)*=KXw; zVwd%UJb^y(S4(1-Ib@<<^(U*om*!1cNIZ!AeHwonT1JUn!s&Z<^&cWy%VpQv3(B5W zeB9reovyYX?<>};WA9|~fBEGu^tPpn3xtS*NMl2sq2T(ByDEp~8jX@T?{D7YOY;2L zGLA;dhop^n7BT_LaOv1U;;}C*tF6=Qp3A{3td!NgQZ|HlJBWJ$G3t3kYIwJ^%BxJn z1d(mE*b!{jlf>ED^!kDqEv(bMU@EsBXFs!c9xK*yNsk`8#bYsm+Uj@6`uMW#V(k3# zsEwc7tml!k*hTdqMB@T6j<@pV-bLe54Wx1 zR0R^sX%#%U7C*f)}FX!hX)EHa12gk#8 z={dbmo%ViSUH&{|gO?PZCi4tDxVG}BN)oh znn~hjjb-ZjN@l$&yeI@Fum*6E`Z%P#v-!7V@P=vxL|E{KtxXC=>J8n#V{zL~@tlpu z`lN4QjZ~Q{J6;@&Ph&Od_Vi(4Qo}5uF28?t9(IddSPXo7pLfhN`qkM2vT?1ZPYsFi zrqTWl0w9KZDa5USSLPIMLKm(MAyOkRYy<<*<9oU4JCzuHxZL<7Mxn=f+`!!D*K6vD z&&~P-_VMjtzRXLTeCORLC`Yq@&vGW+Sq|gIs z3R@Zr-5hN;`=LhnUK_ehzBpuKDXCaM`dLG(S5rhw2R!7$i>!p9uSRQ_jU%mr^jsCZl0FSr_aPkMqq&BCi>K}Kplmxu z%v&XUU35G`?{_HcSl%08eLRf*qRa$ayPL|C;r4OHb>7>>zpOPOCMl*MrXJC)%gu!J zC&VU*3POK!8t8kBz4z-A{`AFYJq?EcBAD8cr49oEW;Xw}^JR{eimz1Mj;npVKU>dA zOU_2rm3hT3)|I!%HNH~1>g!~}Ul1@$iw}ED#c6$ITaT$9CvjG*6QU)iA-D}@QR8_b zDMW@~VA5~OM3SQlU-a0|5fb|B%fn@Q6xOP)TPfC>?sR^Qx{z!z9)tj<1PrA#GDZXq z%IHJm@n|Y_Mn{}+cz(ROhseHDRySuqE)XA8`fMg|ea2gA3@jRMR+^%MdJv3b(D@m=YZG4tAruiZh zSYRK-P6s2m;+`Ds%nJHVzM*k9dEMdOYML2mnxZvkmVWA=BQjj=62kTv)0>P%HTUzm zywE3}$H`73Aa}vj*j93(@rPxD9LAJVXsJrJ&?@NdouW1X5f9fgUUVlUZ%@~0Q@0l{ z**IZ1?zHkvN!u@d33oB~P^vC_+9FJJU)+<%Hy+vaL55_ia2Q%9g%^&B2_&{0xmRTVB|Ye2<#u zYv?tJR49d<%IS3`!?5wG^vO)!tv=((Jzyc#t+TU*KV+<~3AQnV%A`6W>>c70#ep{S zU^AGQX-ZYRbe~XMB^N}PXR-P?H$5|v1`($I2OJC93eXh?zGO#qw-m%%_Jrg3 zWM=`PM0}Wl(Ds`#RmEhk&rgybeNYlxdof?{V4831GAZCZb+t=ecSnO1y77BKI0yW_ToZugOvLt)vw1oAJGwJ z)Zp`4^v22NJ6TF2LI=*!88>&|^>h{N*k(Vtkk1Y`M!QQLdx~{J7YH@hK~jvzmOvnb zb-S}jea*C2fHHaiLrKU9iiNU;##t66n{Vj3%`0pYFUX|wHr;7R-eq@pRNKgaQ`p_! z3tDZIoOj|hTB0|e_Nt3zrI&yHal0Q7AX9F$X?2)uAToH&`zZF#_xh*#Cf>=%#<_*3 zHlY15=?72-42B{egIr!wC!z1<^yG`EbPwvpOaNz zm3DtLIk7LyUtP>k_b)fZ$S zYM2l#Sp9?TdNj1!H)f2{GFI8S)_G%urSf@m z9pixv0f$URf(u0620nE?&-Le=mWm}eP~R0j6Rt8D+{XT?1<1UDvHqrUflTpw1C>@b z)iZ)ZaA;DbFy@#pNMz#iqXTHnM1)qUzGb89PrIWLy(X83NY(?L2oxO_t8{y!sRg*O zK;@geO$ZJ{1*N8@CRzGCzr&)mX9qDU^lla%Hml@9IR9LElb7|X)ApkG=iAyE9T6#1 zDIKH|ilTc*1kC*Y?`m>N^y*T84oj|hW;;>t&#SSlbT@L-w5xw<;l!%3Z||O%PjfP_ zbpjc$Ra_PJ@%?R?1?$#lb@R}eu?QZnT*4xt3?&2Q`-GCBn1cyEn(&a55%2+QX83HUer#d$7Ro)qPM1~@yc@@p z^sa=Mp@5+nV69seYiZN+9)tqeq_5SaXymu$kXC45pzvIb3@aM<|vpFGV@_&^EOB%@K2v4oCru3G_R z)AF{oKC2}MGRQ$y1p1o@MHzk9k{0X=3h#EgAAxA{k54On4? zH$@`Gr9li5(_T_Rc!^Pzqdh^wF%lT)w6!P$1;Hnc5znd)_j8GBjLIJ~hH6?#MK19Y zF370->y}?FlcuBq2cxKN$)>XGHOMW7m|CrP4cK#fJGssp5y>c6gYV=n;POODz8 zPwx6)!k`UeAZSk_p}9NK?gu6K)j;`Br?O*zbG-i_6pcC9 z{)QPW-0XJ>voeGOoIJoJ-~uqQ#>8r--a%VFq@JQIOlAp24;r>ZT@ zj(>gU99Se2B^FmXp=g0lUVfvGocI*eFR*k&7?I0i#p-=>PFKJqoPqCu1Jh_ax^HvX zDU)6CsG+hpw&ztMSoyOP@4C2d<}0Y!PF8-#Wqqhrw!gd?iW-`66NOgd98X28^dy_U zy+LNu=(24EFRZ6gAqG*e7;t>{6lO6E#bNbU%wcI$&5=zOa^C3py(Njidmy8tYVnu? zA_(=eh3kqP0P|#en+QN{1$|l-dT@7mP(3X>gh(B&PH(rD)-Q&H{DgzI(v-UGQou;0 z+Q(hq)uc}isH=O2lk>8E(cF<21h;h&w=*6c)MVzJ1L9tZilAS3k7DiB zL*yodyx2SV^+<|nK}H-YPV*RZO4aS{$O1OlQ>Yz2cHt6$V8UE`%;f;GWiTGgt=lx9 zCWemvv9o$of zf_>vBVD+LMq^?Eb_;;b8w+6dkrZJ#i9)wW)_YdkWH?-ThjJyxx1s8+p!#YNT2O`YQt1x45njL6WeCho+nRGcgX|DWuHvm{R;beR^No0?nwM+PxT8i4n(>kDC ztCU1TkIu1tme0aF^`G=Tw`=m;_g1j$nJ}3+b67;e!{mQ71B*zj-O@=yyOppA(43j6 zcdK%K@;vf#;b8Nk@|(_8AZ4r6sP(}CLw z@mV=k@0gME^ts7iJTRJy4v33L8EhLbH3&t82yqfU6+^Q6OB~EH+UDgaF5P?CY;2?- zFZA|HBB{j8?&T8ol?6PKfxLAu{pZu~j=-i%25#&CVD&X%sJ-(5_;%SxEW+V#%y|vI z?8Z3?NQ8AI+FCjLnJ(;_0-TwN8DLTclH4b9RTe#YciWa+eke$XR>FB$kv|#D&(nZ` zsa0Qi`M$KVt8_L-z-ppAYxbLJ4hhCJS;MF%Md}v5o!=|2#G0jRD1^WdVcqmRk7Tcmwa?K#FI4^_+t7!>wP?NTcb?z-kY zvKOR@V(LC<(nQRpRJ{plpdt7dc#3?}zP~=aE%!z?pNAEdKD^XQpn*+%1qQp`D6!#vL)oo!;7W4! zKi&(w;0`YI%Kj0rZOBhi24$^$&CxAH|df=DA}!xIQxHj|*@NLx6qNu@Ok zMHC6>3WbK~j=uAWyJ$5UqfD)f8l>zDud$Lskzk9%V*GMZL2%sr(#I4_^Y!(c#VDbx z^F32{yF)22H^Ppa%gc#Id_+yjEbJmibgX;1nX=Z^J_v{cQchBugE{z7xZ3h%LqHFl z+FRpcLA80@m>?x^H(b)y&2TxUl@-5QkVw$K2&8mL8q~8G+ z&??a#W^{Er?!tp`hz*LqyAGI`!Q)HNKi$Fjv(?i|4!tc3#~#kw=GLNa{@HwN zAHdpNc%DEIc%5afr&d)!ArnT#oiy6@XNb6nB;?sMymeYm{jE+Go;?dH49re`FT30f zzk^cv_F~>hPQ?kjT& zE8a7U^lMmQIwVnU4|HLmEsOqwc<_)pgTb{CNC(Rv0ctjxwTfG2(rXDoLNO0I z4sZhkB~VaEbq*0qwL<}b5ROj?w{i~Lo7o=t0s^0k@^#<1m5@W2KloGtqZzxN!FRdHhi z=q-u%&o0%bUvD*ew(*&bUN6-rU#VRcUGd=odw8+vIFcK~I-`?hQBfQUUn3G2;@K*TtU2;+*Xf!hK6--*Zy~gF8 z!JuA^)eDi)53@iK4r{kAdV;H;xNYQ8O$?e%vjC`q77kjR zu(O-0W~s&3&t5>J?*P%Eft2_`mz22C=|76VWl>x~$Z7fWL_;V87SxLo+&We7kaJq%H>xYsB^IRk!Y=ZmFba@h!!ohCGUxIlxV-r}DD|K{0*`+j0umc@Vk2 z@L6B!&bY=|P{#a8ALhm~u zvmd$NT^9obdLBfqr3HW+5?6dRI+$Ku7@;rcP=EpOc_AjIEV@owS{CSRWV);_AXd97 z{GLS!qZuwS-h;8g>tim6mG+g!?H~f=uG%6{bf6mQX+#E$>;cbzj^uhdrrHg1Bp(OL~ zq0JXcR6rKJoNs;MtHo#pec}2RmsW)q5^n|HxF_Va_N-;D+AtqmC!EvAASklXiF3SD?ChZwkBww?~xSZfO- zK4bY8ph?dCCl}F#-->fKfIvx^YXyXSolMO_QVE@O6cA zeWXS86A-WX*AgGzEyC8c^T$*zpCdr|o6(sjcwySn3>KysOrwa>`_~6-S%qsO9OZ@i z)D4SG@i5kT`XrMx{+Dw$`4@9;OE(?6AJ!!qws^$H%dW_%j3Ek(i=i$%GnSjezrWFU z>vF`$XZqC&eMgGNpapb_*?_aWmKUH#OD4xCn^M^2!5I}djP;0k4XxbBq8)nI`H48a zAQZwK@~+(*t>=e@63DUo>(*H5j354-&(t8@1(NTt01$$);>P!(H1>}`i0WWs!s;bK zE=MqwUjvHp6A-C)$*_Ph9Rxy~4x&&4jwS4as2t=zT*sNpjNmx+3VB*-BcsB|mf?2I zUjr>Evd-`dz3+YOyq-knB3njC${z;^P*IO~;VlS3P$ZaS(Xmo7%gwQpJRs-E8eP2_ z3ELb*m zp=xLeBIHs2r%pJPdq;#?jpgu{2(@&FFJ$ZX6dbfsCXiE3^aA(H%NJF8MqNb0B=yDs zuA(V`@wn9sx{s%cL}V%}r~p&*y;rNYs`!Uh7WR2m`-!mJ(q^N(&r5EKL=g|1u!4-0-QoX=g-Hq?s2>F3i%V|@v1t>?rkZIYBA!`z zs*=>m#V(=5vT|`b4~_r)`3k?5O5t8SYGb0pw4J=35<*}f?3d>T54&qzr!cU_4cbHp z+QdRWp{4~n>J$%o?X2|+ld<$AlW3a75uMSka$cvN51du>*HJuod!ZSc9 z&CZW^&CuTH%~6m%1s@4k41VE6M_4@IVnq*pGpIN*74g>Iqo_nYl0Lk~PW=*o4}LCP z^yhq%KMz_>!Q&=%Y^8cw6EaYSYI7ejH$oTcvS@X)*j? z!^$g|K}>TJ%-W{-1C=@y+2v<=t~%x zY2C+fcQoqeeVURVyH{Q~UWjOO!PeZ!N?wm7r|DvMVqt27`}D(axJaOt$${<~pi3Xp zzaD+Box0MSI_(LHB)xMEG^X+`03A47?vB3!38@nm9Z=;43Jc<`x?42*OqlfB+xaw6 zPar9mg9@6%KIG9uVvRhkxzTKjMT6_n4-Z?pdlar zz=u*?oWn%%Ucu|JYX7l$`xAK@&p5PZzm!gi_m85YqGA=TnFg8#F0i|G z4}PevB%G+VO`ToXYgoAp zTU-Do#yrjFl%gSc3)b`vkuDDzadm7W4G%H}m0iXp?eD_hCVH6TFOh>RZKlcn9^nku zMirk!Nr$y!N#~?J0#JzOPaRmP{Xt|smB=k?XDE1kixQVP66d*W;SY$>p*zJlNZuy) z0Eo-*F{Kw{U5xz-j}b&5`^01ia|AM!1D%)qMHdOT@kc1SR-Ucs)~ITxW1k>_b6Ptf zj@s7WRpFG&^|?uP0DRGi(+q-M2H)c7TP7ONy%DZvc@YQIOy#r1m6Qa>bHsq2RV521 zZ`#{b-HsN?x{MPAIU>|xfpM{4hWoWr3{Bnh7JSF65jYjeN?+hc7$rf#oQ|5c6m9yvVFZe6u31{A2@E{Xr2W3_qk~2CvMvAnz z;?d|!|AitC@6vh)cVl7BgM{l9diO8^^!RYP!Zh$=ier9XvVsFyNhU2rAV=eGGOY@H zH#W|6P9CZM8 zxVsZM`h|6GD8r7yY071(xN=S+h>)7>>Z$Eq^CWIjtM?fw_oh|MwY;wan2pdEfO+nD zFXyj|)+)$3)*f#QBfEYc8+*eb8{ZfUK(;WKjij;#^+?X`4m`XqFv-U$*#vSo{Zpo* zr?SSlH|Aes<15`HrBI{-bN$;S1da*oNfR6nDFPXGLbYh?Q;ao`XWeepNdh0l0$zC2 zdxHY5lFR->AWc!cEsU|C+8GHQ1%k5C#dtI9+ih3?lejQ$e-!yS5T}3BD?KG6#4O27 z;Wm#jXvz2o`yP}C4YGnBElQJsJ5*J2`>F}Q zjsGz+`1kZdObzO!=o836zz7m$2jNG9?NtUDk5HGTsr!TJ(Ev698Igh}B3(fXc4}yF zPOfu~`$XJRZQXAS#MYEEWwJ=2(+V{yltzWzUtfY3EF0n3ae$zzOg@JUvF4IMDbO_a z5p$9T8DwLINjbv?SSY6bhnvIsk-Sg|&1AP|_0 zVkt(c1WJqM!O)`pV!+H)@dh5F|7IQrl;+u1BuTiEC8!q2|`c@(hGS1Or9d2%m0h*j> zp(tJcsiig1m@*^%7q?ws(8A{s=w+r~-s#9Bhe6|r z(gE0Sd<@Vv7Ye;dr0Y;})49Hz8qm%kI+o)YHPsGru2 zDOO->B8cfe*wGgdQRwUADT!xWb;Ys#Ii{8AP7PFAS&rT62Xgpq1xVs6Jsc4|BW=Wt z^uvP6%r_`p;+mB14K^_x7K779d`?Yn?wwx%w|Di|8#@O;t6d|cN7a=@UR>_{yzDy% z<%^p%DuDslvkQ9rz#7e&a-xL1C#+iLRan0l5T-> zbfr{^UHp={mXAwDJ0Irf1aKv`@^$+pY>m*iOf_rjnN?d1emr#qCDy2(rTxm9%Dv zn0H^L?9d1ZE1bFsc3S>LzuUJ6Cz@Q#M98J!{T5P^-rI=@?*VqPlnBmK;Ak1arNp^` zL%jX=A!kk-@B}w+HRc1f>4MNaveMO*lsS@bejZ6KZzCUNfvZCIL~^-i+^{M%spbw` zJ>&#B3f!5by0ieb!;h;oghi5Fh>KlNp+CA@?o zf}GFBqHg3a*ufiizueo7mL|KR@>ru~Bj-tHbVyEa9I19_{o^0$>czcPfcKvtl=<=s zd8MH%Pr=6a%4zo@iT{k0ft2Qo{C7zt0x6LrrW=>h^s6}vl_Kixaj>}GBLeKNI(M|S za&a{OQuO2pu_HJ_I2|pn82%zOOanO8fzLTMcRTl%yx~;!;bF?kelb8zCs*^2k;4+`Se~|`&hmkc+ zKwSx9=|yPKMx*%QCU8U2fbV!G9~8y#yN3^0gs_F7y6*7l)!I~8S7_w(Y4qNqBcE&l zr-F)q#YDxxz!y5<$PM5Pb?TLBNE`%;oqs4TQ#(O>LHXM3uR%YJLRQ#}`W`#Cl=9Tl zkDDUB2hp41r+8grahh-rNHCM4_XVgzt`04$2^;{CVh7|yGoHq{mS2yncqOC$6sVBl zuqakoT0K$s)qVNSS&c|z+|aWmo$u^-H^;Uv%R@D>t@2M>7v!IZG^Voh&Z`d}8VNoO z=)WU9**~P4CrPhCPT386LK)NIwre7M!R%R`!TJdmg&NY%KIszs)qc&z-O`F`al0$ z6&Pdt+x&#F`y+sopEcJD%K)hJj(MV|07g%S3IG5A diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-install.md b/guides/v2.0/frontend-dev-guide/themes/theme-install.md index ba797c899dc..a051d394c63 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-install.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-install.md @@ -11,15 +11,15 @@ github_link: frontend-dev-guide/themes/theme-install.md ## Overview -This topic describes to install a third-party theme for Magento 2 store. +This topic describes how to install a third-party theme for Magento 2 store. -To install a theme, you need to add its code to your Magento 2 instance code base and register it in the database. There are several ways to do this, depending on the way a theme is distributed: +To install a theme, you need to add its code to your Magento 2 instance code base, and register it in the database. There are several ways to do this, depending on the way a theme is distributed: - if a theme is just a set of files, for example an archive, you need to add it manually. - if a theme is a composer package, you need to install using composer. - if a theme is distributed as an extension, it can be installed using the **Web Setup Wizard** in Magento Admin. -The following sections contain details about each installation flow. +The following sections contain more installation about each installation flow. ## Prerequisites From fb327faaf5adf85b189bb7dc07fac55ecb44906e Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 24 Apr 2017 07:36:16 -0500 Subject: [PATCH 123/301] added issue and workaround for image resizing --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 14 ++++++++++++++ guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 1e089661ef8..56692331d0a 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -13,6 +13,8 @@ github_link: release-notes/ReleaseNotes2.1.6CE.md * TOC {:toc} +*Release notes updated on April 24, 2017.* + We are pleased to present Magento Community Edition 2.1.6. This release includes important performance enhancements for your Magento installation, especially for operations that involve the category page as well as image resizing. @@ -70,6 +72,9 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. +Note: You may encounter some issues with image resizing after upgrade. See Known issue for more information. + + * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. @@ -145,7 +150,16 @@ We address the following functional fixes and enhancements in this release. +## Known issue +**Issue**: Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. + +**Workaround**: To correct problems with image loading, choose one of these two workarounds: + +* Run `php bin/magento catalog:images:resize` + +or +* Save (or resave) the product with the associated image in the Admin panel. ## System requirements Our technology stack is built on PHP and MySQL. For more information, see diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 03a79a456f8..17c292b4dcf 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -13,6 +13,8 @@ github_link: release-notes/ReleaseNotes2.1.6EE.md * TOC {:toc} +*Release notes updated on April 24, 2017.* + We are pleased to present Magento Enterprise Edition 2.1.6. This release includes important performance enhancements for your Magento installation, especially for operations that involve the category page as well as image resizing. Looking for the Magento Enterprise Cloud Edition Release Notes? @@ -69,6 +71,8 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. +Note: You may encounter some issues with image resizing after upgrade. See Known issue for more information. + * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. @@ -145,6 +149,17 @@ We address the following functional fixes and enhancements in this release. +## Known issue +**Issue**: Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. + +**Workaround**: To correct problems with image loading, choose one of these two workarounds: + +* Run `php bin/magento catalog:images:resize` + +or + +* Save (or resave) the product with the associated image in the Admin panel. + ## System requirements Our technology stack is built on PHP and MySQL. For more information, see From 5adcbf94c894bca9e191784499e3d05ef2a56587 Mon Sep 17 00:00:00 2001 From: Loreena Date: Mon, 24 Apr 2017 16:18:37 +0200 Subject: [PATCH 124/301] Update product-video.md typo review --- guides/v2.0/frontend-dev-guide/themes/product-video.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.0/frontend-dev-guide/themes/product-video.md b/guides/v2.0/frontend-dev-guide/themes/product-video.md index 73087d6c6db..c2fd6a36ee6 100644 --- a/guides/v2.0/frontend-dev-guide/themes/product-video.md +++ b/guides/v2.0/frontend-dev-guide/themes/product-video.md @@ -71,7 +71,7 @@ Boolean -The options are set in the `config.xml` of you custom module. +The options are set in the `config.xml` of your custom module. Example: @@ -89,4 +89,4 @@ Example: {%endhighlight%} -For the sake of compatibility, upgradability and easy maintenance, do not edit the default Magento code. Instead add your customizations in a separate module. \ No newline at end of file +For the sake of compatibility, upgradability and easy maintenance, do not edit the default Magento code. Instead add your customizations in a separate module. From 1725162caadf5d55b61a8ec79970a3282594f5e5 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 24 Apr 2017 09:36:43 -0500 Subject: [PATCH 125/301] entered Anton's comments on new note --- .../v2.1/release-notes/ReleaseNotes2.1.6CE.md | 26 +++++++++++-------- .../v2.1/release-notes/ReleaseNotes2.1.6EE.md | 24 ++++++++--------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 56692331d0a..94b9db39d02 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -72,7 +72,21 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -Note: You may encounter some issues with image resizing after upgrade. See Known issue for more information. +
    +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. + +**Workaround**: To correct problems with image loading, choose one of these two workarounds: + +* Run `php bin/magento catalog:images:resize` + +or + +* Save (or resave) the product with the associated image in the Admin panel. +
    + + +* The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. + @@ -150,16 +164,6 @@ Note: You may encounter some issues with image resizing after upgrade. See Known -## Known issue -**Issue**: Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. - -**Workaround**: To correct problems with image loading, choose one of these two workarounds: - -* Run `php bin/magento catalog:images:resize` - -or - -* Save (or resave) the product with the associated image in the Admin panel. ## System requirements Our technology stack is built on PHP and MySQL. For more information, see diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 17c292b4dcf..22424115049 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -71,7 +71,18 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only. -Note: You may encounter some issues with image resizing after upgrade. See Known issue for more information. +
    +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. + +**Workaround**: To correct problems with image loading, choose one of these two workarounds: + +* Run `php bin/magento catalog:images:resize` + +or + +* Save (or resave) the product with the associated image in the Admin panel. +
    + * The `\Magento\CatalogInventory\Model\Stock\Status\getStockId()` method now returns the correct values. @@ -149,17 +160,6 @@ Note: You may encounter some issues with image resizing after upgrade. See Known -## Known issue -**Issue**: Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. - -**Workaround**: To correct problems with image loading, choose one of these two workarounds: - -* Run `php bin/magento catalog:images:resize` - -or - -* Save (or resave) the product with the associated image in the Admin panel. - ## System requirements Our technology stack is built on PHP and MySQL. For more information, see From 227f09fa1fa2896cc38bd71e08a4a7a885dc2381 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Mon, 24 Apr 2017 18:32:18 +0300 Subject: [PATCH 126/301] review comments --- .../themes/theme-uninstall.md | 44 ++++++++++--------- .../themes/theme-uninstall.md | 43 +++++++++--------- 2 files changed, 45 insertions(+), 42 deletions(-) diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md index f6ad4bda819..746c605a1cf 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-uninstall.md @@ -17,15 +17,14 @@ The way a theme should be uninstalled is defined by two factors: * the way the theme was added: manually added (installed or created) or installed as composer package. * the way Magento was installed: [using the source files from Github]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-composer.html). -

    need to verify what is the case when Magento is installed using wizard

    The following sections describe the flow for uninstalling themes in each case. ## Prerequisites 1. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). -2. Make sure that theme is not applied on the storefront. To do this, in the Admin panel navigate to **STORES** > **Configuration**>**Design** and make sure that your custom theme is not applied for any store view. -2. Make sure that theme is not defined as parent for any theme registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. +2. Make sure that the theme is not applied on the storefront. To do this, in the Admin panel navigate to **STORES** > **Configuration**>**Design** and make sure that your custom theme is not applied for any store view. +2. Make sure that the theme is not defined as a parent for any registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. ## Uninstall a manually added theme @@ -34,7 +33,7 @@ In case if your theme was created or installed manually, the uninstall procedure To uninstall a manually added theme: -1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. +1. Navigate to the vendor directory where the theme was installed. The path would look like following: `/app/design/frontend/`. 2. Remove the theme directory. 3. Remove the theme record from database. If you are using MySQL, run the following command to do this: @@ -53,31 +52,34 @@ The flow for uninstalling a theme that is Composer package is different dependin ### Uninstall a theme package if your Magento was installed using Composer -To uninstall a theme Composer package if your Magento instance was installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. +If both the theme and the Magento instance were installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. ### Uninstall a theme package if your Magento was installed by cloning the repository -If both the theme and the Magento instance were installed using Composer, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. +To uninstall a theme Composer package if your Magento instance was installed by cloning the git repository, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. Take the following steps: 1. Open the `/composer.json` file. 2. Find a line with a reference to theme package and delete it. The reference would look like following: -``` -.... -"require": { - .... - "/": "" -}, -.... -``` + ``` + ... + "require": { + ... + "/": "" + }, + ... + ``` + +3. To update the project dependencies, run: + + ``` + composer update + ``` + +4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. +
    You can use the Composer command to remove the dependency, but in that case you will also to delete theme record from database manually. -
    -

    what Composer command?

    -3. To update the project dependencies, run -``` -composer update -``` -4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. \ No newline at end of file +
    \ No newline at end of file diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md index c4ee5057e5f..cea2420e0cf 100644 --- a/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md +++ b/guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md @@ -17,15 +17,14 @@ The way a theme should be uninstalled is defined by two factors: * the way the theme was added: manually added (installed or created) or installed as composer package. * the way Magento was installed: [using the source files from Github]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{page.baseurl}}install-gde/install/cli/install-cli-sample-data-composer.html). -

    need to verify what is the case when Magento is installed using wizard

    The following sections describe the flow for uninstalling themes in each case. ## Prerequisites 1. [Set]({{page.baseurl}}config-guide/cli/config-cli-subcommands-mode.html) your Magento application to the developer or default [mode]({{page.baseurl}}config-guide/bootstrap/magento-modes.html). -2. Make sure that theme is not applied on the storefront. To do this, in the Admin panel navigate to **Content** > **Design** > **Configuration** and make sure that your custom theme is not applied for any store view. -2. Make sure that theme is not defined as parent for any theme registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. +2. Make sure that the theme is not applied on the storefront. To do this, in the Admin panel navigate to **Content** > **Design** > **Configuration** and make sure that your custom theme is not applied for any store view. +2. Make sure that the theme is not defined as a parent for any registered theme. To do this, in the Admin panel, navigate to **Content** > **Design** > **Themes**. Make sure that your theme is not mentioned in the **Parent Theme** column. If it is mentioned, you need to uninstall the child theme first. ## Uninstall a manually added theme @@ -34,7 +33,7 @@ In case if your theme was created or installed manually, the uninstall procedure To uninstall a manually added theme: -1. Navigate to the vendor directory where the theme has been installed. The path would look like following: `/app/design/frontend/`. +1. Navigate to the vendor directory where the theme was installed. The path would look like following: `/app/design/frontend/`. 2. Remove the theme directory. 3. Remove the theme record from database. If you are using MySQL, run the following command to do this: @@ -53,30 +52,32 @@ The flow for uninstalling a theme that is Composer package is different dependin ### Uninstall a theme package if your Magento was installed using Composer -To uninstall a theme Composer package if your Magento instance was installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. +If both the theme and the Magento instance were installed using Composer, you can use a special CLI command. Follow the instructions from the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. ### Uninstall a theme package if your Magento was installed by cloning the repository -If both the theme and the Magento instance were installed using Composer, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. +To uninstall a theme Composer package if your Magento instance was installed by cloning the git repository, you can also uninstall it using the CLI command, but having removed it from the list of dependencies first. Take the following steps: 1. Open the `/composer.json` file. 2. Find a line with a reference to theme package and delete it. The reference would look like following: -``` -.... -"require": { - .... - "/": "" -}, -.... -``` + + {%highlight json%} + ... + "require": { + ... + "/": "" + }, + ... + {%endhighlight%} + +3. To update the project dependencies, run: + + composer update + +4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. +
    You can use the Composer remove command to remove the dependency, but in that case you will also to delete theme record from database manually. -
    -

    what Composer command?

    -3. To update the project dependencies, run -``` -composer update -``` -4. Use the `theme:uninstall` CLI command as described in the [Uninstall theme Composer package]({{page.baseurl}}install-gde/install/cli/install-cli-theme-uninstall.html) topic. \ No newline at end of file +
    \ No newline at end of file From a476f18a4e7150ba6e8cf367b2cddc1fea03b2a8 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 24 Apr 2017 11:47:14 -0500 Subject: [PATCH 127/301] entered Anton's comments on new note --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 94b9db39d02..65c5e5e3964 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -73,7 +73,7 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only.
    -Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, choose one of the two remedial actions described below. **Workaround**: To correct problems with image loading, choose one of these two workarounds: diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index 22424115049..e67f4cddf05 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -72,7 +72,7 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only.
    -Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Image switching works correctly for image or text swatches, and combinations of images and text. +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, choose one of the two remedial actions described below. **Workaround**: To correct problems with image loading, choose one of these two workarounds: From 24ee7ea2391f7f0d35ff55831d98d445769d9569 Mon Sep 17 00:00:00 2001 From: Jeanne Frontain Date: Mon, 24 Apr 2017 12:05:33 -0500 Subject: [PATCH 128/301] entered Anton's comments on new note --- guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md | 2 +- guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md index 65c5e5e3964..de130bcdee6 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6CE.md @@ -73,7 +73,7 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only.
    -Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, choose one of the two remedial actions described below. +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, you'll need to apply a workaround. **Workaround**: To correct problems with image loading, choose one of these two workarounds: diff --git a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md index e67f4cddf05..19c604c9fae 100644 --- a/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md +++ b/guides/v2.1/release-notes/ReleaseNotes2.1.6EE.md @@ -72,7 +72,7 @@ We address the following functional fixes and enhancements in this release. * The storefront now displays images that Magento resizes during product save operations, rather than resizing the product on the storefront. Previously, the image path contained `store_id`, and during save operations, Magento resized images for images the default store only.
    -Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, choose one of the two remedial actions described below. +Users have encountered problems displaying images after upgrading their software to Magento 2.1.6. These problems range from incomplete loading to the total inability to load images. Consequently, if you saved a product and didn't open it on the storefront before upgrading to 2.1.6, you'll need to apply a workaround. **Workaround**: To correct problems with image loading, choose one of these two workarounds: From 5272566e429ddb4861014595bda0c36aab738e01 Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Mon, 24 Apr 2017 16:56:38 -0500 Subject: [PATCH 129/301] Move and rename the backwards_compatible_development_guide file --- .../extension-coding/backwards-compatible-development/index.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename guides/{v2.2/architecture/backwards_compatible_development_guide.md => v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md} (100%) diff --git a/guides/v2.2/architecture/backwards_compatible_development_guide.md b/guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md similarity index 100% rename from guides/v2.2/architecture/backwards_compatible_development_guide.md rename to guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md From 285743ae7b21bb6793cdd46f57cf5b1931b2d8b9 Mon Sep 17 00:00:00 2001 From: James Calcaben Date: Mon, 24 Apr 2017 16:57:22 -0500 Subject: [PATCH 130/301] Revise and reformat the content and create symlinks --- .../backwards-compatible-development/index.md | 611 ++++++++++-------- .../backwards-compatible-development/index.md | 1 + .../backwards-compatible-development/index.md | 1 + 3 files changed, 355 insertions(+), 258 deletions(-) create mode 120000 guides/v2.1/ext-best-practices/extension-coding/backwards-compatible-development/index.md create mode 120000 guides/v2.2/ext-best-practices/extension-coding/backwards-compatible-development/index.md diff --git a/guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md b/guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md index 1b700b0f7be..f803cdd8a53 100644 --- a/guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md +++ b/guides/v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md @@ -1,311 +1,406 @@ -This page describes rules for backwards compatible development. +--- +layout: default +group: ext-best-practices +subgroup: 02_Extension-Coding +title: Backwards compatible development +menu_title: Backwards compatible development +menu_order: 1000 +version: 2.0 +github_link: ext-best-practices/extension-coding/backwards-compatible-development/index.md +--- +This page describes rules and best practices for backwards compatible development. + +## Backward Сompatibility Policy + +See the [versioning][versioning] documentation for the definitions of MAJOR and MINOR changes and how it impacts extension developers. + +The core Magento team and contributing developers work in two release types + +1. New and significant release (product's MINOR release) + - Necessary MAJOR and MINOR changes are allowed, but the Magento architecture team ultimately decides what is allowed. +2. New patch release (product's PATCH release) + - PATCH changes are allowed, but MAJOR and MINOR changes are not allowed. -# Backward Сompatibility Policy +
    + Backward Сompatibility Policy is not applied to Plugins, Observers and Setup Scripts. +
    -See [Visioning](http://devdocs.magento.com/guides/v2.1/extension-dev-guide/versioning/index.html) document for information about what exactly is considered MAJOR and MINOR changes, and how it impacts extension developers. +## Prohibited code changes -The core Magento team and contributing developers work in two directions: +The following code modifications are forbidden for all code (both `@api` and non `@api`) without approval of a Magento architect. -1. New significant release (product's MINOR release) - - **Necessary** MAJOR and MINOR changes **may be** allowed. Magento architecture team decides whether it's allowed or not. -2. New patch release (product's PATCH release) - - **Only** PATCH changes are allowed. +
    + The rules listed do not apply to customization code (e.g. Plugins, Observers, JS Mixins, etc.). +
    -~~~ -Note: Backward Сompatibility Policy is not applied to Plugins, Observers and Setup Scripts. -~~~ +### PHP -# Prohibited Code Changes - -The following code modifications are forbidden for all code (both `@api` and not `@api`) and can only be made with an approval of a Magento architect: - -* PHP - - * interface/class removal - ~~~ - Alternative implementation: - Mark with `@deprecated` tag instead of removing it. Mark also all its methods as deprecated, so IDE highlights them as deprecated. - ~~~ - * public and protected method removal  - ~~~ - Alternative implementation: - Mark with `@deprecated` tag instead. - Continue returning the same results from the method if possible, so the old functionality is preserved. - ~~~ - * introduction of a method to a class or interface - ~~~ - Alternative implementation: - Create a new interface with a new method. - New interface may take over some existing methods from the class if it makes sense to group them together. In this case, corresponding methods in the old interface/class must be deprecated with `@see` annotation referencing the new interface/method. The old methods should proxy the calls to the new interface instead of duplicating the logic. - An example of an interface with an extracted method: `Magento\Catalog\Api\CategoryListInterface` is responsible for `getList()` method, and `Magento\Catalog\Api\CategoryRepositoryInterface` doesn't have such method. - For a **PATCH** product release, do NOT mark the new interface with `@api`. - For a **MINOR** product release, an architect should mark (approve) the new interface with `@api` if it's applicable. - ~~~ - * static function removal - * parameter addition in public methods  - ~~~ - Alternative implementation: - Add a new method with necessary parameters as described in "introduction of a method to a class or interface" item. Deprecate old method. Reference the new method in a `@see` tag as a recommended replacement. Include an explanation of why the old method was replaced with the new one (e.g., there is a bug in the old method).  - ~~~ - * parameter addition in protected methods  - ~~~ - Alternative implementation: - Preserve the method as is. Create a new method with the new signature, and deprecate the old method. If possible declare the new method as private. - - /** - * @deprecated This method is not intended for usage in child classes - * @see updateScopedPrice($price, $storeId) - */ - protected function updatePrice($price) - { - $this->updateScopedPrice($price); - } - - private function updateScopedPrice($price, $storeId) - { - // Updated logic that takes into account $storeId - } - ~~~ - * modification of default value for optional arguments in public and protected methods  - ~~~ - Alternative implementation: - Default argument values of public or protected methods are part of API of the class/interface. - Create a new method with new interface instead. See "introduction of a method to a class or interface". - It's encouraged to avoid optional parameters. Instead, create multiple methods if it's necessary to cover all use cases. - ~~~ - * method argument type modification - * modification of types of thrown exceptions (unless a new exception is a sub-type of the old one) - * constructor modification - ~~~ - Alternative implementation: - Add the new optional parameter to the constructor at the end of arguments list. - In the constructor body, if new dependency is not provided (value of introduced argument is `null`) fetch the dependency using `Magento\Framework\App\ObjectionManager::getInstance()`. - - class ExistingClass - { - /** @var \New\Dependency\Interface */ - private $newDependency; - - public function __construct( - \Old\Dependency\Intreface $oldDependency, - $oldRequiredConstructorParameter, - $oldOptinalConstructorParameter = null, - \New\Dependency\Interface $newDependency = null - ) { - ... - $this->newDependency = $newDependency ?: \Magento\Framework\App\ObjectManager::getInstance()->get(\New\Dependency\Interface::class); - } - - public function existingFunction() - { - // Existing functionality - ... - ... - - // Use $this->newDependency wherever the new dependency is needed - ... - ... - } - } - - // Sample unit test code snippet follows - class ExistingClassTest extends \PHPUnit_Framework_TestCase - { - private $existingClassObject; - - protected function setUp() - { - ... - // Create dependency mcoks with $this->getMock() or $this->getMockBuilder() - $newDependencyMock = $this->getMock(\New\Dependency\Interface::class); - - $objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this); - $this->existingClassObject = $objectManager->getObject( - ExistingClass::class, - [ - 'oldDependency' => $oldDependencyMock, - 'oldRequiredConstructorParameter' => 'foo', - 'oldOptinalConstructorParameter' => 'bar', - 'newDependency' => $newDependencyMock, - ] - ); - } - - public function testExistingFunction() - { - ... - ... - } - } - ~~~ - * public and protected property removal  - ~~~ - Alternative implementation: - Mark with `@deprecated` tag instead. - Continue storing the value in the property, if possible, so the old functionality is preserved. - ~~~ - * constant removal - * event argument removal -* JS - - * interface/class removal - * public and protected method removal - * introduction of method to interface - * introduction of abstract method to class - * static function removal - * argument addition (except for optional arguments) in public and protected methods - * modification of default value for optional arguments in public and protected methods - * public and protected property removal - * constant removal -* XML Schema - - * obligatory node addition - * obligatory attribute addition - * attribute/node type removal - * configuration file renaming -* DB Schema - - * Field modification (type, default values, properties) - * Table removal - * Introduction of new required field -* CSS/LESS - - * class removal - * mix-in removal -* Magento APIs - - * event removal - * layout handle removal - * store configuration path removal - * directory structure modification - * @api annotation removal - * magento tool command argument list modification - * magento tool command removal -* Translatable phrases - * Phrase modification -* Magento functional and integration tests - * Fixtures format - * Fixtures content (except changes forced by new functionality) -~~~ -Note: Please note that in items above "renaming" === "removal" -~~~ -~~~ -Note: Customization code. Listed rules do not apply to customization code: Plugins, Observers, JS Mixins -~~~ +The following is a list of prohibited PHP code changes and possible alternative implementations. + +#### Interface/class removal + +Mark the class with the `@deprecated` tag instead of removing it, and mark all of its methods as deprecated so an IDE can highlight them as deprecated. + +#### Public and protected method removal  + +Mark the method with the `@deprecated` tag instead of removing it. + +Continue returning the same results from the method if possible, so the old functionality is preserved. + +#### Introduction of a method to a class or interface + +Create a new interface with a new method instead of introducing a method to a class or interface. + +The new interface may take over existing methods from the class if it makes sense to group them together. +In this case, you must deprecate corresponding methods in the old interface/class with the `@see` annotation. +The old methods should proxy the calls to the new interface instead of duplicating the logic. + +For an example of an interface with an extracted method see the `Magento\Catalog\Api\CategoryListInterface`. +This interface is responsible for the `getList()` method, but `Magento\Catalog\Api\CategoryRepositoryInterface` does not have that method. + +* For a **PATCH** product release, do NOT mark the new interface with `@api`. +* For a **MINOR** product release, an architect marks, or approves, the new interface with `@api` if applicable. + +#### Removing static functions + +Do not remove static functions. + +#### Adding parameters in public methods  + +Deprecate the method and add a new method with the new parameter(s) instead of adding them to a public method. + +Follow the alternative implementation described earlier for introducing a new method to a class or interface. + +Reference the new method in a `@see` tag as a recommended replacement. +Explain the reasons for replacing the old method with the new one (e.g., there is a bug in the old method).  + +#### Adding parameters in protected methods  + +Instead of adding parameters to protected methods, Create a new method with a new signature and deprecate the old method without changing it. + +Declare the new method as private if possible. + +{% collapsible Example Code %} +{% highlight php startinline %} +/** + * @deprecated This method is not intended for usage in child classes + * @see updateScopedPrice($price, $storeId) + */ +protected function updatePrice($price) +{ + $this->updateScopedPrice($price); +} + +private function updateScopedPrice($price, $storeId) +{ + // Updated logic that takes into account $storeId +} + +{% endhighlight %} +{% endcollapsible %} + +#### Modifying the default values of optional arguments in public and protected methods  + +This is forbidden because the default argument values of public or protected methods are part of the API of the class/interface. + +As an alternative, Create a new method with new interface following the alternative implementation for creating a new method for a class or interface. + +Create multiple methods to cover all use cases to avoid using optional parameters. + +#### Modifying the method argument type + +Do not modify a method argument type. + +#### Modifying the types of thrown exceptions + +Do not modify the types of thrown exceptions unless a new exception is a sub-type of the old one. + +#### Adding a constructor parameter + +Add a new optional parameter to the constructor at the end of the arguments list instead of modifying the constructor. + +In the constructor body, if the new dependency is not provided (i.e. the value of the introduced argument is `null`), fetch the dependency using `Magento\Framework\App\ObjectionManager::getInstance()`. + +{% collapsible Example Code %} +{% highlight php startinline %} +class ExistingClass +{ + /** @var \New\Dependency\Interface */ + private $newDependency; + + public function __construct( + \Old\Dependency\Intreface $oldDependency, + $oldRequiredConstructorParameter, + $oldOptinalConstructorParameter = null, + \New\Dependency\Interface $newDependency = null + ) { + ... + $this->newDependency = $newDependency ?: \Magento\Framework\App\ObjectManager::getInstance()->get(\New\Dependency\Interface::class); + } + + public function existingFunction() + { + // Existing functionality + ... + ... + + // Use $this->newDependency wherever the new dependency is needed + ... + ... + } +} + +// Sample unit test code snippet follows +class ExistingClassTest extends \PHPUnit_Framework_TestCase +{ + private $existingClassObject; + + protected function setUp() + { + ... + // Create dependency mcoks with $this->getMock() or $this->getMockBuilder() + $newDependencyMock = $this->getMock(\New\Dependency\Interface::class); + + $objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this); + $this->existingClassObject = $objectManager->getObject( + ExistingClass::class, + [ + 'oldDependency' => $oldDependencyMock, + 'oldRequiredConstructorParameter' => 'foo', + 'oldOptinalConstructorParameter' => 'bar', + 'newDependency' => $newDependencyMock, + ] + ); + } + + public function testExistingFunction() + { + ... + ... + } +} +{% endhighlight %} +{% endcollapsible %} + +#### Removing or renaming public and protected properties -# Allowed Code Changes +Mark properties with the `@deprecated` tag instead of removing or renaming them. +Continue storing the value in the property to preserve the old functionality. -* PHP - * Changing value of a constant  - ~~~ - Explanation: - Changing the value is backwards compatible by itself and so, it is allowed. - Though client code may save the value of a constant in permanent storage or use it as an input or output value of a method, it's the responsibility of the client code to ensure that it is a reliable implementation. The client code should have enough control over the constant's value. In other words, it's discouraged to rely on a value of a constant from another module (or at least of another vendor). - ~~~ - * Stop setting a value to the Registry - ~~~ - Explanation: - It is backwards compatible. We discourage usage of the Registry, so 3rd-party extensions should not depend on values in the Registry. - ~~~ - * Adding an argument to an event +#### Removing or renaming constants -# Module Setup Version Bumps +Do not remove or rename constants. -1. **Module data/schema version bumps MUST not be done in patch version releases if next minor version is already released.** +#### Removing or renaming event arguments - Example: - Before Magento 2.1 was released, module data/schema version could be changed in all patch releases of Magento 2.0 - After 2.1 is released, it is forbidden to modify version in 2.0 patch releases, but allowed to modify version in 2.1 patch releases until 2.2 is released. +Do not remove or rename event arguments. -2. **Delivery of a fix which bumps module setup/data version in previous minor version should be preceded by its delivery into current unpublished version. If there is an urgent case when a fix is delivered into previous minor version, related fix into current unpublished version must be created with high priority.** +### JS - Example: - The issue which bumps setup/upgrade version is fixed in develop branch (2.2 release) and then ported into 2.1.x version (setup/upgrade version in both the fix and the port are the same). - If the fix was initially made in 2.1.x, the pull request for porting it into develop (2.2 release) must be created immediately with high priority and must be delivered ASAP. +The following is a list of prohibited JS code changes: -3. **Setup version of a module should be higher than setup version of the same module in any of the previous releases.** - For example, setup version for module Magento_Catalog being delivered to mainline/develop branch should have higher version (e.g., 2.1.3) than versions in branches 2.0 (e.g., Magento_Catalog has version 2.0.2 here) or 2.1 (e.g., Magento_Catalog has version 2.1.2 here). +* Removing or renaming an interface or class +* Removing or renaming public or protected methods +* Introducing a method to an interface +* Introducing an abstract method to a class +* Removing or renaming static functions +* Adding non-optional arguments in public and protected methods +* Modifying the default value for optional arguments in public and protected methods +* Removing or renaming public or protected properties +* Removing or renaming constants -# How To +### XML Schema -## How to Backport Fixes with Breaking Changes to Patch Branches +The following is a list of prohibited XML Schema changes: -The main rule is that **backwards compatibility is more important** than niceness and effort of the implementation. A Magento architect must be involved in making a decision. +* Adding an obligatory node +* Adding an obligatory attribute +* Removing or renaming an attribute or node type +* Removing or renaming a configuration file -This rule has the following potential drawbacks and those are expected: -* Double work. Necessity to implement different solutions for "develop" branch (unpoming minor release) and patch release branches -* Inability to refactor code in patch releases -* Effort for implementing fixes in patch releases may be higher due to necessity to implement workarounds +### DB Schema -## Coupling Between Objects Reaches Its Limit with a New Dependency -Sometimes it happens that adding a new **reasonable** dependency to an existing class makes it reaching the dependencies limit. -Assuming that the new dependency is legitimate/reasonable for this class, most likely, it means that the class had a poor design before the changes: too many dependencies, too many responsibilities. Usually, such class should be refactored and so excessive dependencies are removed and/or the class is broken down into smaller classes. But it would be a backward incompatible change if implemented as is. +The following is a list of prohibited DB Schema changes: -For preserving backwards compatibility, public and protected interface of the class should be preserved. But the class should be reviewed and refactored so that parts of the logic go into smaller specialized classes. +* Modifying field type, default value, or property +* Removing or renaming a table +* Introducing a required field -* The existing class then should be functioning as a facade to preserve backwards compatibility, so existing usages of the refactored methods were not broken -* The old public/protected methods should be marked as deprecated with `@see` tag suggesting the new implementation for new usages -* All unused private properties/methods can be removed now -* All unused protected properties must be marked as deprecated. Type of the variable can be removed from the DocBlock, so it's not calculated as one of the dependencies -* If it's necessary to preserve constructor signature: - * remove type hinting for unused parameters. This will remove dependency on their type - * add `@SuppressWarnings(PHPMD.UnusedFormalParameter)` for unused parameters +### CSS/LESS -# Deprecation -Magento 2 must not have alternative APIs. Whenever new implementation of some behavior is introduced, the old implementation must be marked as deprecated. Deprecation reason MUST be specified. +The following is a list of prohibited CSS/LESS changes: + +* Removing or renaming a class +* Removing or renaming a mix-in + +### Magento APIs + +The following is a list of prohibited Magento API changes: + +* Removing or renaming an event +* Removing or renaming a layout handle +* Removing or renaming a store configuration path +* Modifying the directory structure +* Removing an @api annotation +* Modifying the Magento tool command argument list +* Modifying or removing the Magento tool command + +### Translatable phrases + +Do not modify any translatable phrase. + +### Magento functional and integration tests + +The following is a list of prohibited changes to Magento functional and integration tests: + +* Changing a fixture format +* Changing a fixture content (except changes forced by new functionality) + + +## Allowed Code Changes + +### PHP + +#### Changing the value of a constant  + +Changing the value of a constant is itself a backwards compatible change. + +Even if client code saves the value in permanent storage or use it as input or output of a method, it is the responsibility of that code to ensure that it is a reliable implementation. + +The client code should have enough control over the constant's value. +Do not rely on a value of a constant from another module or another vendor. + +#### Stop setting a value to the Registry + +Setting a value to the Registry is backwards compatible. +However, Magento discourages usage of the Registry, so third-party extensions should not depend on values in the Registry. + +#### Adding an argument to an event + +Adding an argument to an event is allowed. + +## Version changing rules for module setup + +1. The module data/schema version must not increase in a patch version release if the next minor version is already released. + + For example, the module data/schema version for all patch releases of Magento 2.0 can change prior to the release of Magento 2.1. + After 2.1 releases, the version cannot change for 2.0 patch releases, but it can change for 2.1 patch releases until Magento 2.2. + +2. Deliver fixes that bump the module setup/data version in the current, unpublished version before delivering it to previous minor versions. + In cases where an urgent fix was delivered in a previous minor version, treat the fix for the current unpublished version as a high priority task. + + For example, issue fixes that change the setup/upgrade version in the unreleased `develop `branch are delivered first before being ported into the released branches. + If the fix was made for a released branch, a pull request for porting it into the `develop` branch must be created with a high priority and delivered as soon as possible. + +3. The setup version of a module must be higher than previous releases of the same module. + + For example, the setup version for a fix for the Magento_Catalog module is higher in the `develop` branch (2.1.3) than previous branch versions (2.0.2 and 2.1.2 for versions 2.0 and 2.1). + + +## Backport fixes with breaking changes to patch branches + +Backwards compatibility is more important than niceness and implementation effort, but a Magento architect must be involved in making a decision. + +Potential drawbacks: +* It is double the work when it is necessary to implement different solutions for the `develop` branch (upcoming minor release) and patch release branches. +* Inability to refactor code in patch releases +* Effort for implementing fixes in patch releases may be higher due to necessary implementation workarounds. + +## Refactoring objects that reach their dependency limit + +Poorly designed classes with too many responsibilities and dependencies should be refactored to prevent them from reaching the dependency limit, but removing excessing dependencies and/or breaking the class down into smaller classes is a backward incompatible implementation. + +Preserve public and protected class interfaces to maintain backwards compatibility. +Review and refactor the class such that parts of the logic go into smaller specialized classes. + +* Turn the existing class into a facade to prevent existing usages of the refactored methods from breaking. +* The old public/protected methods should be marked as deprecated with the `@see` tag to suggest the new implementation for new usages. +* Remove all unused private properties/methods. +* Mark as deprecated unused protected properties. + Remove the variable type indicated in the DocBlock to remove the dependency. +* To preserve the constructor signature: + * Remove type hinting for unused parameters to remove dependency on their type. + * Add `@SuppressWarnings(PHPMD.UnusedFormalParameter)` for unused parameters. + +## Deprecation + +Magento 2 must not have alternative APIs. +Whenever you introduce a new implementation of some behavior, mark the old implementation as deprecated and specify the reason. ### PHP, JS and XML -_**@deprecated**_  tag must be used to mark methods as deprecated. Deprecation reason must be specified after @deprecated tag. **@see** tag MUST be used to recommend new api to use if old api was replaced with new one: -Deprecated tag in PHP +Use the `@deprecated` tag to mark methods as deprecated and follow it up with an explanation. + +Use the  `@see` tag to recommend the new API to use instead of the old one. + +#### Deprecated tag in PHP + ~~~ /** * @deprecated because new api was introduced * @see \New\Api */ - ~~~ +~~~ + +#### Deprecated tag in XML/HTML -Deprecated tag in XML/HTML ~~~ ~~~ + ### WebAPI -Whenever webapi method is replaced by new implementation that has different signature, that new implementation must be accessible on the same resource but with next sequential version +When replacing a WebAPI method with a new implementation that has a different signature, make sure it remains accessible on the same resource but with the next sequential version. ### Removal of deprecated code -Deprecated code should stay in the code for the following time frames: -* `@api` code till next major version of the component -* non-`@api` code for next 2 minor releases or until major release +Keep deprecated code for the following time frames: + +* `@api` code: Until the next major version of the component +* non-`@api` code: The next 2 minor releases or until a major release + +## Documentation of Backwards Incompatible Changes + +Backwards incompatible changes must be approved by an architect and documented in the scope of the task that introduces those changes. -# Documentation of Backwards Incompatible Changes -In case, any backwards incompatible changes are introduced (with an architectural approval), those MUST be documented. -Most of backwards incompatible changes are documented automatically by a tool and SHOULD NOT be documented manually. Those include: -* Adding/removal of a class/interface -* Adding/removal of a method -* Modification of a method signature -* Adding/removal of a class/interface constant -* Adding removal of a class property +Examples of these tasks include: + +* Changing the input/output values format of a method +* Changing a value format in the DB +* Changing XML files (layouts, configuration files, etc.) + +Some changes are detected and documented by an automated tool. +These backward incompatible changes do not need manual documentation: + +* Adding/removing a class/interface +* Adding/removing a method +* Modifying a method signature +* Adding/removing a class/interface constant +* Adding removing a class property Auto-generated [CE changes](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ce/216-develop.html) Auto-generated [EE changes](https://htmlpreview.github.io/?https://github.com/magento/devdocs/blob/develop/_includes/changes/ee/216-develop.html) -All other changes MUST be documented in a scope of the task that introduced the backwards incompatible changes. Examples of such changes: -* change of input/output values format of a method -* change of a value format in the DB -* changes in XML files (layouts, configuration files) +### Where to document + +In the [DevDocs repository][devdocs-repo], manually add backward incompatible changes to the following file: + +`https://github.com/magento/devdocs/blob/develop/guides/v\/release-notes/backward-incompatible-changes.md` + +Where: `` is the MINOR version of the product (2.1, 2.2, 2.3, etc). -## Where to document +Example: [`https://github.com/magento/devdocs/blob/develop/guides/v2.2/release-notes/backward-incompatible-changes.md`][2.2-bic-page]. -Page https://github.com/magento/devdocs/blob/develop/guides/v\/release-notes/backward-incompatible-changes.md in the [devdocs repository](https://github.com/magento/devdocs/), where "``" is the MINOR version of the product ("2.2", "2.3", etc.). +Update the page for the *next* MINOR product release when working in the `develop` branch of Magento. -Example: [backward-incompatible-changes.md](https://github.com/magento/devdocs/blob/develop/guides/v2.2/release-notes/backward-incompatible-changes.md). "2.2" in the path of the file indicates that it's intended for "2.2" release. +For example, when 2.2 is released, a new `backward-incompatible-changes.md` for 2.3 becomes available for editing. -As you work with the `develop` branch of the project, update the page for the **next** MINOR product release. For example, as soon as 2.2 is released, a new page [backward-incompatible-changes.md](https://github.com/magento/devdocs/blob/develop/guides/v2.3/release-notes/backward-incompatible-changes.md) should appear, so start working with this new page. +In order to update the page, create a PR to the DevDocs repository with your changes. -In order to update the page, create a PR to the devdocs repo with the changes. +[versioning]: {{page.baseurl}}extension-dev-guide/versioning/index.html +[devdocs-repo]: https://github.com/magento/devdocs +[2.2-bic-page]: https://github.com/magento/devdocs/blob/develop/guides/v2.2/release-notes/backward-incompatible-changes.md diff --git a/guides/v2.1/ext-best-practices/extension-coding/backwards-compatible-development/index.md b/guides/v2.1/ext-best-practices/extension-coding/backwards-compatible-development/index.md new file mode 120000 index 00000000000..ac6b475b4dc --- /dev/null +++ b/guides/v2.1/ext-best-practices/extension-coding/backwards-compatible-development/index.md @@ -0,0 +1 @@ +../../../../v2.0/ext-best-practices/extension-coding/backwards-compatible-development/index.md \ No newline at end of file diff --git a/guides/v2.2/ext-best-practices/extension-coding/backwards-compatible-development/index.md b/guides/v2.2/ext-best-practices/extension-coding/backwards-compatible-development/index.md new file mode 120000 index 00000000000..a278cac9a4e --- /dev/null +++ b/guides/v2.2/ext-best-practices/extension-coding/backwards-compatible-development/index.md @@ -0,0 +1 @@ +../../../../v2.1/ext-best-practices/extension-coding/backwards-compatible-development/index.md \ No newline at end of file From 35a2431cf7ee18b8231c914655034917b27a0e7a Mon Sep 17 00:00:00 2001 From: mage2-team Date: Mon, 24 Apr 2017 21:14:42 -0700 Subject: [PATCH 131/301] MAGETWO-49336: Publication of breaking changes --- _includes/changes/ce/216-develop.html | 280 ++++++++++++++++++++++++++ 1 file changed, 280 insertions(+) diff --git a/_includes/changes/ce/216-develop.html b/_includes/changes/ce/216-develop.html index e7c3cd9c673..bb489398bfd 100644 --- a/_includes/changes/ce/216-develop.html +++ b/_includes/changes/ce/216-develop.html @@ -2605,6 +2605,10 @@

    Class

    Magento\Theme\Block\Adminhtml\Design\Config\Edit\Scope Class was added. + + Magento\TaxImportExport\Model\Rate\CsvImportHandler + Class was added. + Magento\Tax\Helper\Data Class was added. @@ -2893,6 +2897,90 @@

    Class

    Magento\Rule\Model\Action\Collection Class was added. + + Magento\Rss\Model\Rss + Class was added. + + + Magento\Rss\Model\RssManager + Class was added. + + + Magento\Review\Ui\DataProvider\Product\ReviewDataProvider + Class was added. + + + Magento\Review\Ui\DataProvider\Product\Form\Modifier\Review + Class was added. + + + Magento\Review\Ui\Component\Listing\Columns\ReviewActions + Class was added. + + + Magento\Review\Ui\Component\Listing\Columns\Status + Class was added. + + + Magento\Review\Ui\Component\Listing\Columns\Type + Class was added. + + + Magento\Review\Ui\Component\Listing\Columns\Visibility + Class was added. + + + Magento\Review\Model\Rating + Class was added. + + + Magento\Review\Model\Review + Class was added. + + + Magento\Review\Model\Review\Summary + Class was added. + + + Magento\Review\Model\ResourceModel\Rating + Class was added. + + + Magento\Review\Model\ResourceModel\Review + Class was added. + + + Magento\Review\Model\ResourceModel\Review\Collection + Class was added. + + + Magento\Review\Model\ResourceModel\Review\Product\Collection + Class was added. + + + Magento\Review\Model\ResourceModel\Rating\Collection + Class was added. + + + Magento\Review\Model\ResourceModel\Rating\Option + Class was added. + + + Magento\Review\Model\Rating\Option + Class was added. + + + Magento\Review\Model\Rating\Option\Vote + Class was added. + + + Magento\Review\Helper\Data + Class was added. + + + Magento\Review\Helper\Action\Pager + Class was added. + Magento\RequireJs\Block\Html\Head\Config Class was added. @@ -2905,6 +2993,10 @@

    Class

    Magento\Quote\Model\Quote\Address\RateRequest Class was added. + + Magento\ProductVideo\Helper\Media + Class was added. + Magento\ProductAlert\Model\Email Class was added. @@ -3257,6 +3349,106 @@

    Class

    Magento\Integration\Model\Oauth\Token Class was added. + + Magento\ImportExport\Model\Export + Class was added. + + + Magento\ImportExport\Model\History + Class was added. + + + Magento\ImportExport\Model\Import + Class was added. + + + Magento\ImportExport\Model\Source\Import\AbstractBehavior + Class was added. + + + Magento\ImportExport\Model\Source\Import\Entity + Class was added. + + + Magento\ImportExport\Model\Source\Import\Behavior\Basic + Class was added. + + + Magento\ImportExport\Model\Source\Import\Behavior\Custom + Class was added. + + + Magento\ImportExport\Model\Source\Export\Entity + Class was added. + + + Magento\ImportExport\Model\Source\Export\Format + Class was added. + + + Magento\ImportExport\Model\ResourceModel\CollectionByPagesIterator + Class was added. + + + Magento\ImportExport\Model\ResourceModel\History + Class was added. + + + Magento\ImportExport\Model\ResourceModel\Import\Data + Class was added. + + + Magento\ImportExport\Model\ResourceModel\History\Collection + Class was added. + + + Magento\ImportExport\Model\Import\AbstractEntity + Class was added. + + + Magento\ImportExport\Model\Import\AbstractSource + Class was added. + + + Magento\ImportExport\Model\Import\ErrorProcessing\ProcessingError + Class was added. + + + Magento\ImportExport\Model\Import\Entity\AbstractEav + Class was added. + + + Magento\ImportExport\Model\Import\Entity\AbstractEntity + Class was added. + + + Magento\ImportExport\Model\Export\AbstractEntity + Class was added. + + + Magento\ImportExport\Model\Export\Entity\AbstractEav + Class was added. + + + Magento\ImportExport\Model\Export\Entity\AbstractEntity + Class was added. + + + Magento\ImportExport\Model\Export\Adapter\AbstractAdapter + Class was added. + + + Magento\ImportExport\Model\Export\Adapter\Csv + Class was added. + + + Magento\ImportExport\Helper\Data + Class was added. + + + Magento\ImportExport\Helper\Report + Class was added. + Magento\GroupedProduct\Model\ResourceModel\Product\Link Class was added. @@ -3521,6 +3713,22 @@

    Class

    Magento\Developer\Console\Command\XmlCatalogGenerateCommand Class was added. + + Magento\CustomerImportExport\Model\Import\AbstractCustomer + Class was added. + + + Magento\CustomerImportExport\Model\Import\Customer + Class was added. + + + Magento\CustomerImportExport\Model\Export\Address + Class was added. + + + Magento\CustomerImportExport\Model\Export\Customer + Class was added. + Magento\Customer\Ui\Component\Listing\Column\Actions Class was added. @@ -3721,6 +3929,58 @@

    Class

    Magento\CatalogInventory\Block\Adminhtml\Form\Field\Stock Class was added. + + Magento\CatalogImportExport\Model\Import\Product + Class was added. + + + Magento\CatalogImportExport\Model\Import\Uploader + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\CategoryProcessor + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\Option + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\SkuProcessor + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\Validator + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\Type\AbstractType + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\Type\Simple + Class was added. + + + Magento\CatalogImportExport\Model\Import\Product\Type\Virtual + Class was added. + + + Magento\CatalogImportExport\Model\Export\Product + Class was added. + + + Magento\CatalogImportExport\Model\Export\RowCustomizer\Composite + Class was added. + + + Magento\CatalogImportExport\Model\Export\Product\Type\AbstractType + Class was added. + + + Magento\CatalogImportExport\Model\Export\Product\Type\Simple + Class was added. + Magento\Catalog\Ui\AllowedProductTypes Class was added. @@ -4841,6 +5101,18 @@

    Interface

    Magento\Msrp\Pricing\Price\MsrpPriceInterface Interface was added. + + Magento\ImportExport\Model\Import\ConfigInterface + Interface was added. + + + Magento\ImportExport\Model\Import\ErrorProcessing\ProcessingErrorAggregatorInterface + Interface was added. + + + Magento\ImportExport\Model\Export\ConfigInterface + Interface was added. + Magento\GroupedProduct\Model\ResourceModel\Product\Indexer\Price\GroupedInterface Interface was added. @@ -4949,6 +5221,14 @@

    Interface

    Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock\QueryProcessorInterface Interface was added. + + Magento\CatalogImportExport\Model\Import\Product\RowValidatorInterface + Interface was added. + + + Magento\CatalogImportExport\Model\Export\RowCustomizerInterface + Interface was added. + Magento\Catalog\Ui\Component\Listing\Attribute\RepositoryInterface Interface was added. From ba8f97cfc4fb54e37d2524f08180692d3f12fae2 Mon Sep 17 00:00:00 2001 From: Ievgen Sentiabov Date: Tue, 25 Apr 2017 16:33:44 +0300 Subject: [PATCH 132/301] Update documentation about payment validators --- .../payment-gateway/response-validator.md | 11 ++-- .../base-integration/facade-configuration.md | 53 ++++++++++++++++++- 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/guides/v2.0/payments-integrations/payment-gateway/response-validator.md b/guides/v2.0/payments-integrations/payment-gateway/response-validator.md index 4104c9e0b7c..9bb3b5f4f57 100644 --- a/guides/v2.0/payments-integrations/payment-gateway/response-validator.md +++ b/guides/v2.0/payments-integrations/payment-gateway/response-validator.md @@ -79,17 +79,14 @@ class AcceptValidator extends AbstractValidator } {% endhighlight %} -## Pool of validators {#validators_pool} -The following sample demonstrates defining a validator's pool and adding validators to this pool for the Braintree payment provider in `di.xml`: +Now, the created validator need to specify for needed command. For example for authorization command: {% highlight xml %} ... - + - - Magento\Payment\Gateway\Validator\CountryValidator - AcceptValidator - + ... + Magento\Braintree\Gateway\Validator\AcceptValidator ... diff --git a/guides/v2.1/payments-integrations/base-integration/facade-configuration.md b/guides/v2.1/payments-integrations/base-integration/facade-configuration.md index 329c87aa0c1..98e4c340906 100644 --- a/guides/v2.1/payments-integrations/base-integration/facade-configuration.md +++ b/guides/v2.1/payments-integrations/base-integration/facade-configuration.md @@ -37,7 +37,7 @@ The following arguments must be configured (all arguments are mandatory): | `formBlockType` | Name of the block class responsible for payment provider gateway form rendering. This block is used in the Admin panel only, because on the storefront the form is rendered using knockout.js. See the [Admin integration]({{page.baseurl}}payments-integrations/base-integration/formblocktype.html) topic for details. | | `infoBlockType` | Name of the block class responsible for Transaction/Payment Information details rendering in Order block in Admin panel or customer account on storefront. In most cases it will be enough to specify the default implementation of [Configurable Info]({{site.mage2100url}}app/code/Magento/Payment/Block/ConfigurableInfo.php), but for customizations you can specify your own implementation. | | `valueHandlerPool` | Pool of value handlers used for queries to configuration. For details see the [following paragraph](#value_handlers_pool). | -| `validatorPool` | [Pool of response validators]({{page.baseurl}}payments-integrations/payment-gateway/response-validator.html#validators_pool). | +| `validatorPool` | [Pool of validators](#validators_pool). | | `commandPool` | [Pool of gateway commands]({{page.baseurl}}payments-integrations/payment-gateway/command-pool.html). | #### Value handlers pool {#value_handlers_pool} @@ -78,6 +78,57 @@ Other handlers contain some logic, for example, `can_cancel` option is the same Your custom handlers must implement the [Value Handler interface]({{site.mage2100url}}app/code/Magento/Payment/Gateway/Config/ValueHandlerInterface.php). +#### Validators pool {#validators_pool} + +You can configure the pool of validators, which allows to process payment method validations like: + + - `country` - the validator check if billing country is allowed for payment method + - `currency` - if selected currency is allowed + - `availability` - if payment method is available + - `global` - validation called before placing order + +Custom validator should implements `\Magento\Payment\Gateway\Validator\ValidatorInterface` or in the most cases it will enough +to extend `\Magento\Payment\Gateway\Validator\AbstractValidator` and create implementation of `validate` method: + +{% highlight php startinline=1 %} +class CountryValidator extends AbstractValidator +{ + /** + * @inheritdoc + */ + public function validate(array $validationSubject) + { + $isValid = true; + $storeId = $validationSubject['storeId']; + + if ((int)$this->config->getValue('allowspecific', $storeId) === 1) { + $availableCountries = explode( + ',', + $this->config->getValue('specificcountry', $storeId) + ); + + if (!in_array($validationSubject['country'], $availableCountries)) { + $isValid = false; + } + } + + return $this->createResult($isValid); + } +} +{% endhighlight %} + +Now, the created validator need to add to the global of validators pool: + +{% highlight xml %} + + + + Magento\Braintree\Gateway\Validator\CountryValidator + + + +{% endhighlight %} + ## What's next - [Payment info rendering in Admin checkout]({{page.baseurl}}payments-integrations/base-integration/formblocktype.html) From b9658a313f3c674e9c443a396cf8878e5324ef27 Mon Sep 17 00:00:00 2001 From: Kevin Harper Date: Tue, 25 Apr 2017 09:41:08 -0500 Subject: [PATCH 133/301] fix typo --- guides/v2.2/extension-dev-guide/indexer-batch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/v2.2/extension-dev-guide/indexer-batch.md b/guides/v2.2/extension-dev-guide/indexer-batch.md index 2e76310f236..e0bdb164822 100644 --- a/guides/v2.2/extension-dev-guide/indexer-batch.md +++ b/guides/v2.2/extension-dev-guide/indexer-batch.md @@ -133,7 +133,7 @@ The value of `table_suffix` column of the `indexer_state` table determines which Make sure that these indexers are in "Update By Schedule" mode. If "Update On Save" mode is selected, some data can be lost if you make changes during full reindex.
    -Indexer table switching mechanism requires additional database storage. +The indexer table switching mechanism requires additional database storage.
    ### Related topics From 6696a34218fe2c9a0a0d4ebf980af48d66536536 Mon Sep 17 00:00:00 2001 From: Oleksandra Marchenko Date: Tue, 25 Apr 2017 18:09:50 +0300 Subject: [PATCH 134/301] Added info for ui comps in 2.1 --- .../components/ui-actionscolumn.md | 101 +++++ .../ui_comp_guide/components/ui-bookmarks.md | 47 +++ .../ui_comp_guide/components/ui-button.md | 117 ++++++ .../ui_comp_guide/components/ui-checkbox.md | 74 ++++ .../components/ui-checkboxset.md | 52 +++ .../ui_comp_guide/components/ui-column.md | 144 ++++++++ .../ui_comp_guide/components/ui-columns.md | 212 +++++++++++ .../components/ui-columnscontrols.md | 51 +++ .../v2.1/ui_comp_guide/components/ui-date.md | 77 ++++ .../ui_comp_guide/components/ui-datecolumn.md | 36 ++ .../components/ui-draganddrop.md | 54 +++ .../components/ui-dynamicrows.md | 344 ++++++++++++++++++ .../v2.1/ui_comp_guide/components/ui-email.md | 46 +++ .../components/ui-expandable-column.md | 88 +++++ .../components/ui-exportbutton.md | 115 ++++++ .../ui_comp_guide/components/ui-fieldset.md | 62 ++++ .../v2.1/ui_comp_guide/components/ui-file.md | 122 +++++++ .../components/ui-fileuploader.md | 224 ++++++++++++ .../ui_comp_guide/components/ui-filters.md | 76 ++++ .../components/ui-filterschips.md | 38 ++ .../v2.1/ui_comp_guide/components/ui-form.md | 233 +++++++++++- .../ui_comp_guide/components/ui-hidden.md | 40 ++ .../components/ui-htmlcontent.md | 98 +++++ .../v2.1/ui_comp_guide/components/ui-input.md | 40 ++ .../ui_comp_guide/components/ui-insertform.md | 221 +++++++++++ .../components/ui-insertlisting.md | 181 +++++++++ .../components/ui-listing-grid.md | 11 +- .../components/ui-massactions.md | 192 ++++++++++ .../v2.1/ui_comp_guide/components/ui-modal.md | 257 ++----------- .../ui_comp_guide/components/ui-multiline.md | 178 +++++++++ .../components/ui-multiselect.md | 54 +++ .../components/ui-multiselectcolumn.md | 164 +++++++++ .../v2.1/ui_comp_guide/components/ui-nav.md | 54 +++ .../components/ui-onoffcolumn.md | 48 +++ .../ui_comp_guide/components/ui-paging.md | 48 +++ .../ui_comp_guide/components/ui-radioset.md | 95 +++++ .../v2.1/ui_comp_guide/components/ui-range.md | 42 +++ .../ui_comp_guide/components/ui-search.md | 54 +++ .../ui_comp_guide/components/ui-select.md | 109 ++++++ .../components/ui-selectcolumn.md | 102 ++++++ .../v2.1/ui_comp_guide/components/ui-sizes.md | 83 +++++ .../v2.1/ui_comp_guide/components/ui-tab.md | 48 +++ .../v2.1/ui_comp_guide/components/ui-text.md | 57 +++ .../ui_comp_guide/components/ui-textarea.md | 57 +++ .../components/ui-thumbnailcolumn.md | 42 +++ .../ui_comp_guide/components/ui-toolbar.md | 53 +++ .../components/ui-treemassactions.md | 78 ++++ .../ui_comp_guide/components/ui-wysiwyg.md | 70 ++++ .../v2.2/ui_comp_guide/components/ui-date.md | 6 + .../v2.2/ui_comp_guide/components/ui-form.md | 17 +- 50 files changed, 4556 insertions(+), 256 deletions(-) create mode 100644 guides/v2.1/ui_comp_guide/components/ui-actionscolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-bookmarks.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-button.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-checkbox.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-checkboxset.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-column.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-columns.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-columnscontrols.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-date.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-datecolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-draganddrop.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-dynamicrows.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-email.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-expandable-column.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-exportbutton.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-fieldset.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-file.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-fileuploader.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-filters.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-filterschips.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-hidden.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-htmlcontent.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-input.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-insertform.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-insertlisting.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-massactions.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-multiline.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-multiselect.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-multiselectcolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-nav.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-onoffcolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-paging.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-radioset.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-range.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-search.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-select.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-selectcolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-sizes.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-tab.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-text.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-textarea.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-thumbnailcolumn.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-toolbar.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-treemassactions.md create mode 100644 guides/v2.1/ui_comp_guide/components/ui-wysiwyg.md diff --git a/guides/v2.1/ui_comp_guide/components/ui-actionscolumn.md b/guides/v2.1/ui_comp_guide/components/ui-actionscolumn.md new file mode 100644 index 00000000000..b8ee282d996 --- /dev/null +++ b/guides/v2.1/ui_comp_guide/components/ui-actionscolumn.md @@ -0,0 +1,101 @@ +--- +layout: default +group: UI_Components_guide +subgroup: components +title: ActionsColumn component +menu_title: ActionsColumn component +version: 2.1 +github_link: ui_comp_guide/components/ui-actionscolumn.md +--- + +## Overview + +The ActionsColumns component implements a table's column responsible for displaying and performing a list of record-related actions. + +Constructor: [app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js]({{site.mage2200url}}app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js) + +## Configuration options + +Extends all [Column]({{page.baseurl}}ui_comp_guide/components/listing/ui-column.md) configuration. + +ActionsColumn-specific configuration: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OptionDescriptionTypeDefault
    bodyTmplPath to the .html template used to render a column's field in the table's body.Stringui/grid/cells/actions
    draggableDefines whether a user can change column's position in the table by grabbing column's header and draging it across the table.Booleanfalse
    fieldClassAdditonal CSS classes added to the column's field elements.{[name: string]: Boolean}{'data-grid-actions-cell': true}
    sortableWhether column's fields can be used to sort records in the table.Booleanfalse
    templates.actionsA list of actions that will be displayed in column's fields.{[name: String]: ActionItem}-
    + +### ActionItem interface + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OptionDescriptionTypeRequired
    callbackCustom action's handler.ColumnAction | Array <ColumnAction> Optional
    confirmConfirmation message shown before applying the action.
    {
    title: string;
    message: string
    }
    Optional
    hrefThe link to open on when the column's element is clicked.StringOptional
    indexAction's identifier.StringRequired
    labelLabel to be displayed in the field.StringRequired
    diff --git a/guides/v2.1/ui_comp_guide/components/ui-bookmarks.md b/guides/v2.1/ui_comp_guide/components/ui-bookmarks.md new file mode 100644 index 00000000000..b1e84afd956 --- /dev/null +++ b/guides/v2.1/ui_comp_guide/components/ui-bookmarks.md @@ -0,0 +1,47 @@ +--- +layout: default +group: UI_Components_guide +subgroup: components +title: Bookmarks component +menu_title: Bookmarks component +version: 2.1 +github_link: ui_comp_guide/components/ui-bookmarks.md +--- + +## Overview +The Bookmarks component stores active and changed state of a grid implemented using [Listing]({{page.baseurl}}ui_comp_guide/components/ui-listing-grid.html). It includes the state of filters, columns position, applied sorting, pagination, and so on. + +Constructor: [app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js]({{site.mage2200url}}app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js) + +## Configuration options + +Extends all [uiCollection]({{page.baseurl}}ui_comp_guide/concepts/ui_comp_uicollection_concept.html) configuration. + +Bookmarks-specific configuration: + + + + + + + + + + + + + + + + + + + + + + + + + + +
    OptionDescriptionTypeDefault Value
    newViewLabelDefault label for a new bookmark.StringNew View
    templatePath to the component’s .html template.Stringui/grid/controls/bookmarks/bookmarks
    viewTmplPath to the .html template used to render each bookmark in the list.Stringui/grid/controls/bookmarks/view
    diff --git a/guides/v2.1/ui_comp_guide/components/ui-button.md b/guides/v2.1/ui_comp_guide/components/ui-button.md new file mode 100644 index 00000000000..6a21f57d869 --- /dev/null +++ b/guides/v2.1/ui_comp_guide/components/ui-button.md @@ -0,0 +1,117 @@ +--- +layout: default +group: UI_Components_guide +subgroup: components +title: Button component +menu_title: Button component +version: 2.1 +github_link: ui_comp_guide/components/ui-button.md +--- + +## Overview + +The Button component allows user to perform a list of predefined actions by clicking on the corresponding button. Its default display mode is the HTML `