|
| 1 | +# Semantic Versioning |
| 2 | + |
| 3 | +See [CakePHP Development Process](../appendices/cakephp-development-process.md) and the [Backwards Compatibility Guide](../contributing/backwards-compatibility) |
| 4 | + |
| 5 | +## CakePHP Supported Versions |
| 6 | + |
| 7 | +This table was last updated in February 2026. |
| 8 | + |
| 9 | +| Major Version | Supported Version | PHP-Version | Active Support | Security Support | |
| 10 | +|---------------|-------------------|----------------|----------------|----------------------| |
| 11 | +| `5.x` | `5.1` to `5.3` | `8.1` to `8.5` | `5.3+` | ✅ | |
| 12 | +| `4.x` | `4.4` to `4.6` | `7.2` to `8.3` | ❌ | September 10th, 2026 | |
| 13 | +| `3.x` | None | `5.6` to `7.4` | ❌ | ❌ | |
| 14 | +| `2.x` | None | `5.4` to `7.4` | ❌ | ❌ | |
| 15 | +| `1.x` | None | `¯\_(ツ)_/¯` | ❌ | ❌ | |
| 16 | + |
| 17 | +### Major Version Support |
| 18 | + |
| 19 | +We follow the rule to support the previous major version for |
| 20 | + |
| 21 | +- 24 months of `active support` (includes new features and bugfixes) and |
| 22 | +- 36 months of `security support` |
| 23 | + |
| 24 | +after the release of a new major version. |
| 25 | + |
| 26 | +E.g. [CakePHP 5.0](https://github.com/cakephp/cakephp/releases/tag/5.0.0) released on September 10th 2023, |
| 27 | +so we will support CakePHP 4.x until September 10th 2025 and provide security updates until September 10th 2026. |
| 28 | + |
| 29 | +### Minor Version Support |
| 30 | + |
| 31 | +`Active support` for a minor branch ends the moment a new minor branch is released. |
| 32 | +E.g. when CakePHP 5.2 is released, active support for CakePHP 5.1 will end and only security updates will be provided. |
| 33 | + |
| 34 | +`Security updates` will be provided |
| 35 | + |
| 36 | +- till the end of the support period for the major version, or |
| 37 | +- 3 new minor releases have been published (e.g. `5.2` support ended when `5.5` was released) |
| 38 | + |
| 39 | +whichever comes first. |
| 40 | + |
| 41 | +> [!TIP] |
| 42 | +> Keep production applications on a currently supported major line and plan |
| 43 | +> regular upgrades to stay within supported minor ranges. |
| 44 | +
|
| 45 | +> [!TIP] |
| 46 | +> Each minor and major release of CakePHP includes automated upgrade commands which you |
| 47 | +> can use to upgrade your application or plugin. See e.g. the |
| 48 | +> [upgrade guide](../appendices/5-0-upgrade-guide.md#use-the-upgrade-tool) |
| 49 | +> for more details on how to use these commands. |
0 commit comments