MDL-76617 store_mongodb: Adjust moodle to mongo-php-library to v1.15.0

The new library version should work without problems with older
php-mongodb extension versions:
- v1.15.0 (paired version, tested).
- v1.14.1 (tested)

So, here, in 401_STABLE, we aren't raising the requirements. We have
done that in master, in order to get php82 support, but not here. For
more details about compatibilities, see:

https://www.mongodb.com/docs/drivers/php/#compatibility
This commit is contained in:
Eloy Lafuente (stronk7) 2022-12-10 10:45:20 +01:00
parent c22b39a650
commit 5db1ac4e98
3 changed files with 6 additions and 5 deletions

View File

@ -7,6 +7,7 @@ Import procedure:
- Copy all the files and folders from the folder mongodb/src in the cache/stores/mongodb/MongoDB directory.
- Copy the license file from the project root.
- Update thirdpartylibs.xml with the latest version.
- Check the minim php driver version in https://docs.mongodb.com/drivers/php#compatibility and change the value in the "are_requirements_met" method if necessary.
- Check the minim php driver version in https://docs.mongodb.com/drivers/php#compatibility and change the
value in the "are_requirements_met" method if necessary.
This version (1.13.1) requires PHP mongodb extension >= 1.14.0
This version (1.15.0) requires PHP mongodb extension >= 1.14.0

View File

@ -4,7 +4,7 @@
<location>MongoDB</location>
<name>MongoDB PHP Library</name>
<description>This library provides a high-level abstraction around the lower-level PHP driver, also known as the mongodb extension.</description>
<version>1.13.1</version>
<version>1.15.0</version>
<license>Apache</license>
<licenseversion>2.0</licenseversion>
<repository>https://github.com/mongodb/mongo-php-driver</repository>

View File

@ -24,6 +24,6 @@
defined('MOODLE_INTERNAL') || die;
$plugin->version = 2022112800; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2022112801; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2022111800; // Requires this Moodle version.
$plugin->component = 'cachestore_mongodb'; // Full name of the plugin.
$plugin->component = 'cachestore_mongodb'; // Full name of the plugin.