Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MageCONF 2020 - Efficient and safe Magento 2.x ...

MageCONF 2020 - Efficient and safe Magento 2.x Upgrade

Avatar for Igor Sydorenko

Igor Sydorenko

February 04, 2022

More Decks by Igor Sydorenko

Other Decks in Programming

Transcript

  1. Page | 4 Magento Services: What we do Commerce Strategy

    Infrastructure Review Code Audit Solution Health Check Magento Cloud Deployment Architectural Advisory Project Advisory and Governance Data Science and Analytics Business Requirements Consulting Migration, Upgrade and Implementation
  2. Page | 5 Magento Services: Architect work Code Audit Solution

    Health Check Magento Cloud Deployment Architectural Advisory Project Advisory and Governance Migration, Upgrade and Implementation
  3. Page | 10 Page | 10 ➔ Magento CE 1.9.x:

    2014-2015 Added More Themes and Emails ➔ Magento CE 1.9: December 11, 2013 Enhanced Tax Calculations and Redis Cache in Core ➔ Magento CE 1.7: Added Mobile Theme, Auto Coupon Codes, Group Pricing: April 24, 2012 ➔ Magento CE 1.6: August 8, 2011 Multi DB Support ➔ Magento CE 1.5: February 8, 2011 Added iPad & Android to Magento Mobile ➔ Magento CE 1.4: February 12, 2010 Introduced Widgets and WYSIWYG Editor ➔ … Magento 1 Releases
  4. Page | 11 v • Went to an office kitchen

    • Made a coffee • Discussed the new upgrade with colleagues • Came back and upgraded How did we upgrade Magento 1?
  5. Page | 12 Page | 12 ➔ Magento 2.4.1: 9

    days ago J ➔ Magento 2.3.6: 9 days ago ➔ Magento 2.4.0: July 28, 2020 ➔ Magento 2.3.5: April 28, 2020 ➔ Magento 2.3.4: January 28, 2020 ➔ Magento 2.3.3: October 8, 2019 ➔ Magento 2.3.2: June 25, 2019 ➔ Magento 2.3.1: March 26, 2019 ➔ Magento 2.3.0: November 28, 2018 ➔ … Magento 2 Releases
  6. Page | 13 v • Went to an office kitchen

    • Made a coffee • Discussed the new upgrade with colleagues • Came back and upgraded How did we upgrade Magento 2?
  7. Page | 15 Page | 15 ➔ System has been

    changed ➔ Habits keeping the same ➔ No methodology Main reasons of failure
  8. Page | 16 v • Magento Services started getting requests

    for Magento 2.x Upgrade • Most of architect time being spent to pre-sales and upgrade estimation Outcome
  9. Page | 17 v • DevDocs: Release notes • DevDocs:

    Backward incompatible changes Source of truth
  10. Page | 22 v 1. Copy MD files from DevDocs

    to repository 2. Generate a ruleset based on Magento FROM and TO versions: 3. Run the tool: Tool
  11. Page | 24 v • Check release notes • Run

    the tool for custom code and 3rd-party modules • Run phpcs for detecting deprecated code • Analyze result • Manual review • Provide code upgrade estimate Magento 2.x Upgrade estimation process
  12. Page | 25 v • Use public information in an

    efficient way • Automate the routine Conclusions
  13. Page | 26 v • D6. Sergio Vera Next –

    Magento Safe Upgrade Tool