Magento2 2.0.14 y 2.1.7

Actualización para Magento2

No sólo aquellos que estén trabajando con la versión primogénita de Magento van a tener la posibilidad de entretenerse parcheando. Quienes metemos mano en Magento2 también tuvimos novedades.

Desde ayer contamos con la siguientes nuevas versiones:

  • Magento2 2.0.14
  • Magento2 2.1.7

En ambos casos, en sus ediciones CE y EE.

En todas las versiones, lo que se soluciona es:

  • Posibilidad de procesar transacciones con el nuevo BIN de MasterCard.
  • Los bugs y potenciales fallas explicadas en el reporte de seguridad.

Luego, sólo para las versiones 2.1.7, se revirtieron los cambios introducidos por el parche MAGETWO-67805.

Actualizar no debería ser un problema si estamos usando Composer. (Caso contrario, me encantaría acompañarlos en esa fiesta, pero tengo compromisos previos).

Los pasos para actualziar serían:

composer require magento/product-community-edition 2.1.7 --no-update

Y luego actualizamos (esperen a leer hasta el final del post)

composer update

Por ejemplo, en mi caso, estando en una CE 2.1.6 el output ha sido:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 36 updates, 0 removals
  - Updating symfony/process (v2.8.19 => v2.8.21): Loading from cache
  - Updating magento/framework (100.1.6 => 100.1.7): Loading from cache
  - Updating magento/theme-frontend-blank (100.1.4 => 100.1.5): Loading from cache
  - Updating magento/theme-frontend-luma (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-ui (100.1.4 => 100.1.5): Loading from cache
  - Updating magento/module-theme (100.1.4 => 100.1.5): Loading from cache
  - Updating magento/module-widget (100.1.2 => 100.1.3): Loading from cache
  - Updating magento/module-catalog (101.0.6 => 101.0.7): Loading from cache
  - Updating magento/module-cms (101.0.4 => 101.0.5): Loading from cache
  - Updating magento/module-customer (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-integration (100.1.3 => 100.1.4): Loading from cache
  - Updating magento/module-grouped-product (100.1.3 => 100.1.4): Loading from cache
  - Updating magento/module-rule (100.1.3 => 100.1.4): Loading from cache
  - Updating magento/module-sales (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-checkout (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-review (100.1.2 => 100.1.3): Loading from cache
  - Updating magento/module-webapi (100.1.2 => 100.1.3): Loading from cache
  - Updating magento/module-configurable-product (100.1.6 => 100.1.7): Loading from cache
  - Updating magento/module-swatches (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-search (100.1.2 => 100.1.3): Loading from cache
  - Updating magento/module-product-video (100.1.4 => 100.1.5): Loading from cache
  - Updating magento/module-paypal (100.1.4 => 100.1.5): Loading from cache
  - Updating magento/module-bundle (100.1.2 => 100.1.3): Loading from cache
  - Updating magento/module-braintree (100.1.5 => 100.1.6): Loading from cache
  - Updating magento/module-authorizenet (100.1.4 => 100.1.5): Loading from cache
  - Updating symfony/finder (v3.2.7 => v3.3.0): Loading from cache
  - Updating symfony/filesystem (v2.8.19 => v2.8.21): Loading from cache
  - Updating phpseclib/phpseclib (2.0.4 => 2.0.5): Loading from cache
  - Updating symfony/event-dispatcher (v2.8.19 => v2.8.21): Loading from cache
  - Updating magento/magento2-base (2.1.6 => 2.1.7): Loading from cache
  - Updating sebastian/diff (1.4.1 => 1.4.3): Loading from cache
  - Updating symfony/yaml (v2.8.19 => v2.8.21): Loading from cache
  - Updating symfony/config (v2.8.19 => v2.8.21): Loading from cache
  - Updating symfony/dependency-injection (v2.8.19 => v2.8.21): Loading from cache
  - Updating symfony/stopwatch (v3.2.7 => v3.3.0): Loading from cache
Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead.
Writing lock file
Generating autoload files

Antes de terminar, hay un detalle más a tener en cuenta. Si van a actualizar una versión 2.1.6 (es sólo para esa versión), tienen que tener en cuenta que si habían aplicado el parche MAGETWO-67805, deberán primero:

  1. Borrar el parche antes de actualizar.
  2. Luego de actualizar, ejecutar el comando: bin/magento catalog:images:resize

Si no habían aplicado el parche, actualizan directamente y luego ejecutan el comando del punto 2.