From e63c64fb9901ed21d5adc29d155e5bf3cf369d4b Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 5 Feb 2025 14:50:36 +0800 Subject: [PATCH] [docs] Describe the versions of Moodle required for upgrades --- .../development/policies/moodle-versions.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 general/development/policies/moodle-versions.md diff --git a/general/development/policies/moodle-versions.md b/general/development/policies/moodle-versions.md new file mode 100644 index 0000000000..126cfd353e --- /dev/null +++ b/general/development/policies/moodle-versions.md @@ -0,0 +1,30 @@ +--- +title: Moodle Versions +tags: + - Processes + - Core development + - Versions + - Dependencies +--- + +New versions of Moodle are released approximately every six months. Moodle supports upgrading from a previous version. This policy describes how the minimum version to upgrade from is calculated. + +## Policy statement + +When determining the requirements for a version of Moodle, the following rules apply to supported Moodle Versions to upgrade from: + +1. A Long Term Support (LTS) release will always require the _previous_ LTS release (or later) for upgrading. +2. Other versions of Moodle will the higher of either: + - the lowest version of Moodle supported by the minimum PHP version requirement; or + - the minimum version required by the previous LTS. + +:::tip Examples + +- Moodle 4.5 LTS requires Moodle 4.1 LTS or higher because it is an LTS release. +- Moodle 5.0 has a minimum PHP version of 8.2, therefore it requires Moodle 4.2.3 which was the first version to support PHP 8.2. + +::: + +## See also + +- [PHP Version Policy](./php.md)