From 45dbc5c6eddc9c621920fd6bf481d704c17a7b6f Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 15 Oct 2023 11:22:53 +0200 Subject: [PATCH] Prepare compatibility for Moodle 4.2. --- .github/workflows/moodle-plugin-ci.yml | 4 ++-- CHANGES.md | 4 ++++ README.md | 2 +- version.php | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index f9301f3..4cf22fa 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -30,8 +30,8 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4', '8.0', '8.1'] - moodle-branch: ['MOODLE_401_STABLE'] + php: ['8.0', '8.1', '8.2'] + moodle-branch: ['MOODLE_402_STABLE'] database: [pgsql, mariadb] steps: diff --git a/CHANGES.md b/CHANGES.md index 41f99c4..375a824 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-availability_password Changes ------- +### Unreleased + +* 2023-09-01 - Prepare compatibility for Moodle 4.2. + ### v4.1-r2 * 2023-10-14 - Add automated release to moodle.org/plugins diff --git a/README.md b/README.md index eb971fd..d440a59 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Moodle availability plugin which lets users restrict resources and activities wi Requirements ------------ -This plugin requires Moodle 4.1+ +This plugin requires Moodle 4.2+ Motivation for this plugin diff --git a/version.php b/version.php index 3950f7c..16f6718 100644 --- a/version.php +++ b/version.php @@ -27,6 +27,6 @@ $plugin->component = 'availability_password'; $plugin->version = 2023010501; $plugin->release = 'v4.1-r2'; -$plugin->requires = 2022112800; -$plugin->supported = [401, 401]; +$plugin->requires = 2023042400; +$plugin->supported = [402, 402]; $plugin->maturity = MATURITY_STABLE;