diff --git a/components/api_server/src/initialization/database.py b/components/api_server/src/initialization/database.py index a0e64c12d5..9e87654edf 100644 --- a/components/api_server/src/initialization/database.py +++ b/components/api_server/src/initialization/database.py @@ -32,7 +32,7 @@ def set_feature_compatibility_version(admin_database: Database) -> None: See https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/ """ - admin_database.command("setFeatureCompatibilityVersion", "7.0", confirm=True) + admin_database.command("setFeatureCompatibilityVersion", "8.0", confirm=True) def create_indexes(database: Database) -> None: diff --git a/docs/src/changelog.md b/docs/src/changelog.md index 513e59893d..c7321da7b0 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -17,6 +17,7 @@ If your currently installed *Quality-time* version is not the latest version, pl ### Changed - Change the 'unmerged branches' metric to 'inactive branches', also enabling it to count branches that have been merged but not deleted. Closes [#1253](https://github.com/ICTU/quality-time/issues/1253). +- Set the MongoDB feature compatibility version to v8. Closes [#10357](https://github.com/ICTU/quality-time/issues/10357). ## v5.19.0 - 2024-11-22 diff --git a/docs/src/versioning.md b/docs/src/versioning.md index 5326dedf72..e9f3434cdb 100644 --- a/docs/src/versioning.md +++ b/docs/src/versioning.md @@ -21,7 +21,7 @@ The table below contains the *Quality-time* releases since the last minor of the | Version | Date | Mongo | FC | Migrations | Downgrade | Upgrade | Manual changes | |------------|--------------|--------|--------|------------|-----------------|-----------------|----------------| -| v5.20.0 | [unreleased] | v8 | v7 | added | not possible | n/a | no | +| v5.20.0 | [unreleased] | v8 | **v8** | added | not possible | n/a | no | | v5.19.0 | 2024-11-22 | v8 | v7 | | v5.14.0-v5.18.0 | v5.20.0 | no | | v5.18.0 | 2024-11-06 | v8 | v7 | | v5.14.0-v5.17.1 | v5.19.0-v5.20.0 | no | | v5.17.1 | 2024-10-25 | v8 | v7 | | v5.14.0-v5.17.0 | v5.18.0-v5.20.0 | no |