Skip to content

Commit

Permalink
Merge pull request #1252 from andrewnicols/moodleVersionDependency
Browse files Browse the repository at this point in the history
Moodle version dependency requirements
  • Loading branch information
sarjona authored Feb 5, 2025
2 parents 97b8fec + e63c64f commit 2131b07
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions general/development/policies/moodle-versions.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 2131b07

Please sign in to comment.