magento / quality-patches
magento/quality-patches
Provides quality patches for AdobeCommerce & Magento OpenSource
Quality Patches Tool
Welcome to the Quality Patches Tool!
Overview
Quality Patches Tool is a command-line tool that delivers quality patches for Adobe Commerce and Magento Open Source. It allows you to:
- view the general information about the latest patches
- apply patches
- revert previously applied patches
Quality patches are provided by Adobe support and Magento OS community.
Here is a full list of available patches in Quality Patches Tool.
Installation
On-Prem Project
$ composer require magento/quality-patches
Cloud Project
The quality-patches package is a dependency for the ece-tools package starting from v.2002.1.2 and is installed or updated when you update the ece-tools package version.
Usage - On-Prem Project
Make sure to test all patches in a pre-production environment. For the changes to be reflected, refresh the cache in the Admin under System > Tools > Cache Management
Use
$ ./vendor/bin/magento-patchesscript
Status command
Show information about available patches for current Magento version:
$ ./vendor/bin/magento-patches status
Apply command
Applies provided list of patches:
$ ./vendor/bin/magento-patches apply MAGETWO-95591 MAGETWO-67097
Revert command
Reverts provided list of patches:
$ ./vendor/bin/magento-patches revert MAGETWO-95591 MAGETWO-67097
Reverts all patches:
$ ./vendor/bin/magento-patches revert --all
Usage - Cloud Project
Make sure to test all patches in a pre-production environment. For Magento Cloud, new branches can be created with magento-cloud environment:branch
Use
$ ./vendor/bin/ece-patchesscript
Applying a patch
Add to .magento.env.yaml environment variable QUALITY_PATCHES with a list of patches to apply:
stage:
build:
QUALITY_PATCHES:
- MCTEST-1002
- MCTEST-1003
Commit and push updated .magento.env.yaml file into the remote branch. Patches will be applied during deploy process.
Apply patches manually in a local environment
You can apply patches manually in a local environment and test them before you deploy.
To apply patches manually:
- Add to .magento.env.yaml environment variable QUALITY_PATCHES with a list of patches to apply
- From the project root, apply the patches:
$ ./vendor/bin/ece-patches apply
Patches will be applied in the following order:- Cloud-required patches
- Quality patches from .magento.env.yaml
- Custom patches from the /m2-hotfixes directory.
- Check with
./vendor/bin/ece-patches statusif the patch was applied - Clear the Magento cache
$ ./bin/magento cache:clean
Test the patches, make any necessary changes to custom patches.
Revert patches in a local environment
You can revert patches in a local environment to clean instance:
$ ./vendor/bin/ece-patches revert
Patches will be reverted in the following order:
- Custom patches from the /m2-hotfixes directory.
- Magento-quality patches
- Cloud-required patches
Status command information
Status:
- Applied - the patch is already applied
- Not applied - the patch is not applied
- N/A - if the status of patch cannot be defined due to some conflicts
Type:
- Optional - all patches from Quality Patches Tool are optional for Cloud & On-Prem customers
- Required - all patches from Cloud Patches are required for Cloud and optional for On-Prem customers
- Deprecated - patch is marked as deprecated (there is a recommendation to revert if it was applied)
- Custom - customer specific patches from m2-hotfixes folder (Cloud only)
Details:
- Affected components - show the list of affected components (magento-modules)
- Required patches - shows the list of required patches (dependencies)
- Recommended replacement - patch, that is recommended for replacement of deprecated patch
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.1.80 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-05-29 06:42:39 |
| 1.1.79 | stable | Not tested | Not yet tested Details | 2026-05-08 09:19:15 |
| 1.1.78 | stable | Not tested | Not yet tested Details | 2026-04-14 13:33:44 |
| 1.1.77 | stable | Not tested | Not yet tested Details | 2026-02-13 20:08:37 |
| 1.1.76 | stable | Not tested | Not yet tested Details | 2026-01-29 14:43:42 |
| 1.1.75 | stable | Not tested | Not yet tested Details | 2026-01-13 04:08:35 |
| 1.1.74 | stable | Not tested | Not yet tested Details | 2025-11-20 06:37:47 |
| 1.1.73 | stable | Not tested | Not yet tested Details | 2025-10-27 17:50:00 |
| 1.1.72 | stable | Not tested | Not yet tested Details | 2025-10-16 06:54:49 |
| 1.1.71 | stable | Not tested | Not yet tested Details | 2025-09-25 07:00:42 |
| 1.1.70 | stable | Not tested | Not yet tested Details | 2025-09-08 18:14:05 |
| 1.1.69 | stable | Not tested | Not yet tested Details | 2025-08-13 20:43:05 |
| 1.1.68 | stable | Not tested | Not yet tested Details | 2025-07-24 20:03:53 |
| 1.1.67 | stable | Not tested | Not yet tested Details | 2025-06-27 19:49:05 |
| 1.1.66 | stable | Not tested | Not yet tested Details | 2025-06-19 16:32:57 |
| 1.1.65 | stable | Not tested | Not yet tested Details | 2025-06-02 23:24:54 |
| 1.1.64 | stable | Not tested | Not yet tested Details | 2025-05-19 18:31:24 |
| 1.1.63 | stable | Not tested | Not yet tested Details | 2025-05-01 19:07:38 |
| 1.1.62 | stable | Not tested | Not yet tested Details | 2025-03-27 14:11:43 |
| 1.1.61 | stable | Not tested | Not yet tested Details | 2025-03-19 16:46:11 |
| 1.1.60 | stable | Not tested | Not yet tested Details | 2025-02-25 20:31:47 |
| 1.1.59 | stable | Not tested | Not yet tested Details | 2025-02-12 14:16:16 |
| 1.1.58 | stable | Not tested | Not yet tested Details | 2025-01-15 16:27:38 |
| 1.1.57 | stable | Not tested | Not yet tested Details | 2025-01-08 14:49:44 |
| 1.1.56 | stable | Not tested | Not yet tested Details | 2024-12-05 03:14:49 |
| 1.1.55 | stable | Not tested | Not yet tested Details | 2024-11-18 05:30:28 |
| 1.1.54 | stable | Not tested | Not yet tested Details | 2024-11-01 18:13:07 |
| 1.1.53 | stable | Not tested | Not yet tested Details | 2024-10-16 23:35:33 |
| 1.1.52 | stable | Not tested | Not yet tested Details | 2024-10-03 20:12:47 |
| 1.1.51 | stable | Not tested | Not yet tested Details | 2024-09-12 17:57:57 |
| 1.1.50 | stable | Not tested | Not yet tested Details | 2024-08-28 05:16:02 |
| 1.1.49 | stable | Not tested | Not yet tested Details | 2024-08-05 17:07:15 |
| 1.1.48 | stable | Not tested | Not yet tested Details | 2024-04-10 05:40:09 |
| 1.1.47 | stable | Not tested | Not yet tested Details | 2024-02-26 07:26:15 |
| 1.1.46 | stable | Not tested | Not yet tested Details | 2024-02-16 06:59:44 |
| 1.1.45 | stable | Not tested | Not yet tested Details | 2024-01-29 18:00:11 |
| 1.1.44 | stable | Not tested | Not yet tested Details | 2024-01-22 06:39:40 |
| 1.1.43 | stable | Not tested | Not yet tested Details | 2023-12-08 18:26:19 |
| 1.1.42 | stable | Not tested | Not yet tested Details | 2023-11-15 23:17:54 |
| 1.1.41 | stable | Not tested | Not yet tested Details | 2023-11-10 00:55:41 |
| 1.1.40 | stable | Not tested | Not yet tested Details | 2023-10-24 23:59:07 |
| 1.1.39 | stable | Not tested | Not yet tested Details | 2023-10-05 13:12:20 |
| 1.1.38 | stable | Not tested | Not yet tested Details | 2023-09-14 21:18:43 |
| 1.1.37 | stable | Not tested | Not yet tested Details | 2023-08-31 22:02:09 |
| 1.1.36 | stable | Not tested | Not yet tested Details | 2023-08-10 19:33:15 |
| 1.1.35 | stable | Not tested | Not yet tested Details | 2023-07-26 07:44:27 |
| 1.1.34 | stable | Not tested | Not yet tested Details | 2023-06-30 16:52:22 |
| 1.1.33 | stable | Not tested | Not yet tested Details | 2023-06-16 00:24:27 |
| 1.1.32 | stable | Not tested | Not yet tested Details | 2023-06-12 07:06:56 |
| 1.1.31 | stable | Not tested | Not yet tested Details | 2023-05-04 19:46:55 |
| 1.1.30 | stable | Not tested | Not yet tested Details | 2023-04-19 03:41:15 |
| 1.1.29 | stable | Not tested | Not yet tested Details | 2023-03-23 07:33:44 |
| 1.1.28 | stable | Not tested | Not yet tested Details | 2023-03-07 03:15:34 |
| 1.1.27 | stable | Not tested | Not yet tested Details | 2023-02-09 16:30:54 |
| 1.1.26 | stable | Not tested | Not yet tested Details | 2023-01-28 00:35:05 |
| 1.1.25 | stable | Not tested | Not yet tested Details | 2022-12-21 10:53:57 |
| 1.1.24 | stable | Not tested | Not yet tested Details | 2022-11-30 14:11:50 |
| 1.1.23 | stable | Not tested | Not yet tested Details | 2022-11-04 12:54:22 |
| 1.1.22 | stable | Not tested | Not yet tested Details | 2022-10-25 17:39:14 |
| 1.1.21 | stable | Not tested | Not yet tested Details | 2022-10-06 19:58:39 |
| 1.1.20 | stable | Not tested | Not yet tested Details | 2022-09-28 10:49:47 |
| 1.1.19 | stable | Not tested | Not yet tested Details | 2022-08-26 13:16:32 |
| 1.1.18 | stable | Not tested | Not yet tested Details | 2022-08-12 14:30:30 |
| 1.1.17 | stable | Not tested | Not yet tested Details | 2022-07-29 17:19:18 |
| 1.1.16-release | stable | Not tested | Not yet tested Details | 2022-07-01 18:25:11 |
| 1.1.15 | stable | Not tested | Not yet tested Details | 2022-06-08 17:12:07 |
| 1.1.14 | stable | Not tested | Not yet tested Details | 2022-05-11 05:21:17 |
| 1.1.13 | stable | Not tested | Not yet tested Details | 2022-05-09 08:39:19 |
| 1.1.12 | stable | Not tested | Not yet tested Details | 2022-04-06 10:00:56 |
| 1.1.11 | stable | Not tested | Not yet tested Details | 2022-03-09 15:56:04 |
| 1.1.10 | stable | Not tested | Not yet tested Details | 2022-02-10 15:11:24 |
| 1.1.9 | stable | Not tested | Not yet tested Details | 2022-01-24 19:30:52 |
| 1.1.8 | stable | Not tested | Not yet tested Details | 2021-12-20 21:35:09 |
| 1.1.7 | stable | Not tested | Not yet tested Details | 2021-11-30 18:23:25 |
| 1.1.6 | stable | Not tested | Not yet tested Details | 2021-11-12 15:35:11 |
| 1.1.5 | stable | Not tested | Not yet tested Details | 2021-10-27 18:57:19 |
| 1.1.4 | stable | Not tested | Not yet tested Details | 2021-10-13 21:44:34 |
| 1.1.3 | stable | Not tested | Not yet tested Details | 2021-09-16 00:20:40 |
| 1.1.2 | stable | Not tested | Not yet tested Details | 2021-09-08 02:28:31 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2021-08-10 17:10:54 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2021-07-29 18:34:39 |
| 1.0.25 | stable | Not tested | Not yet tested Details | 2021-06-30 17:48:37 |
| 1.0.26 | stable | Not tested | Not yet tested Details | 2021-06-30 16:29:06 |
| 1.0.24 | stable | Not tested | Not yet tested Details | 2021-06-04 03:24:03 |
| 1.0.23 | stable | Not tested | Not yet tested Details | 2021-05-25 12:47:40 |
| 1.0.22 | stable | Not tested | Not yet tested Details | 2021-05-08 00:33:29 |
| 1.0.21 | stable | Not tested | Not yet tested Details | 2021-04-26 22:33:38 |
| 1.0.20 | stable | Not tested | Not yet tested Details | 2021-04-26 22:33:34 |
| 1.0.19 | stable | Not tested | Not yet tested Details | 2021-04-26 22:33:29 |
| 1.0.18 | stable | Not tested | Not yet tested Details | 2021-03-18 19:14:09 |
| 1.0.17 | stable | Not tested | Not yet tested Details | 2021-03-05 17:26:39 |
| 1.0.16 | stable | Not tested | Not yet tested Details | 2021-03-05 17:26:35 |
| 1.0.15 | stable | Not tested | Not yet tested Details | 2021-02-03 03:45:35 |
| 1.0.14 | stable | Not tested | Not yet tested Details | 2021-01-26 18:08:29 |
| 1.0.13 | stable | Not tested | Not yet tested Details | 2020-12-10 23:51:36 |
| 1.0.12 | stable | Not tested | Not yet tested Details | 2020-12-10 23:51:30 |
| 1.0.11 | stable | Not tested | Not yet tested Details | 2020-11-24 18:55:42 |
| 1.0.10 | stable | Not tested | Not yet tested Details | 2020-11-24 18:55:37 |
| 1.0.9 | stable | Not tested | Not yet tested Details | 2020-11-24 18:52:44 |
| 1.0.8 | stable | Not tested | Not yet tested Details | 2020-11-24 18:52:23 |
| 1.0.7 | stable | Not tested | Not yet tested Details | 2020-10-22 16:59:17 |
| 1.0.6 | stable | Not tested | Not yet tested Details | 2020-09-30 22:57:56 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2020-09-22 17:11:11 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2020-09-11 00:47:28 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2020-08-26 17:36:27 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2020-08-22 01:00:17 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2020-08-06 18:52:29 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2020-07-30 22:18:54 |
Requires 3
| Package | Constraint |
|---|---|
| php | ^8.1 |
| ext-json | * |
| magento/magento-cloud-patches | ^1.0.11 |
Requires-dev 10
| Package | Constraint |
|---|---|
| codeception/codeception | ^4.1 || ^5.1 |
| codeception/module-asserts | ^1.2 || ^3.0 |
| codeception/module-db | ^1.0 || ^3.0 |
| codeception/module-phpbrowser | ^1.0 || ^3.0 |
| codeception/module-rest | ^1.2 || ^3.0 |
| consolidation/robo | ^1.2 || ^2.0 || ^3.0 |
| phpunit/phpunit | ^10.0 || ^12.0 |
| composer/semver | @stable |
| phpmd/phpmd | @stable |
| squizlabs/php_codesniffer | ^3.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 44 | 4 errors, 40 warnings (ruleset: Magento2) — 7 auto-fixable with phpcbf |
| PHPMD | Warning | 12 | 12 rule violations (MissingImport:9, IfStatementAssignment:2, ExcessiveClassComplexity:1) |
| Cpd | Pass | 0 | |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from magento
View vendorProvides critical fixes for Magento 2 Enterprise Edition
Cloud Components Module for Magento 2.x
Provides tools to build and deploy Magento 2 Enterprise Edition
Magento Cloud Docker
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.