Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 3.66 KB

versions-and-updates.md

File metadata and controls

79 lines (55 loc) · 3.66 KB
description Learn how Mage-OS versions are numbered, which releases receive security fixes, when security releases ship, and how to upgrade to the latest release.
keywords Mage-OS versions, supported versions, version support policy, release cycle, security releases, end of support, Mage-OS upgrade, system requirements

Versions and Updates

[TOC]

Introduction

This page explains how Mage-OS numbers its releases, which releases receive security fixes, and how to keep your installation up to date.

Versioning

Mage-OS releases use MAJOR.MINOR.PATCH version numbers. The part that changes tells you what to expect from a release:

Release type Example What it contains Cadence
Major 3.0.0 New features, dependency changes, and system requirement updates About twice a year (around April and October)
Minor 3.6.0 Security patches and compatibility updates After each upstream security release
Patch 2.2.1 Critical fixes that can't wait for the next minor release As needed

Every Mage-OS release is built on a Magento Open Source release. For example, Mage-OS 4.0.0 is based on Magento Open Source 2.4.9.

Supported Versions

Mage-OS is maintained by a community-run nonprofit organization. It provides security patches and updates for the latest release only. Older releases receive no fixes, so upgrade promptly to keep your store secure.

A release stops receiving fixes as soon as the next one ships. This includes major versions: once a new major version is out, the previous major version receives no more fixes. Plan for a major upgrade about twice a year.

The releases page lists the latest release and the release notes of every version. The roadmap shows what's planned next.

Security Releases

Adobe publishes security patches for Magento Open Source on the second Tuesday of each month. Mage-OS usually publishes a matching minor release within days. Critical vulnerabilities are fixed in an emergency patch release when needed.

To report a vulnerability, see Reporting security issues.

System Requirements

Major releases can raise the system requirements, so check them before you upgrade. The system requirements page always lists the requirements of the latest release.

Checking Your Version

Run this command in your project root to see which version is installed:

composer show mage-os/product-community-edition

The versions line shows the installed version.

Upgrading

Back up your database and files before you upgrade, and test the upgrade in a staging environment first. Before a major upgrade, also read the release notes for breaking changes and check the system requirements.

Projects created from the Mage-OS project template pin the exact product version in composer.json, so set the version you want first. Replace 4.0.0 with the version you're upgrading to:

bin/magento maintenance:enable
composer require mage-os/product-community-edition:4.0.0 --no-update
composer update mage-os/product-community-edition --with-all-dependencies
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
bin/magento maintenance:disable