diff --git a/components/api_server/src/initialization/database.py b/components/api_server/src/initialization/database.py index 2a22c1fb52..5af9576585 100644 --- a/components/api_server/src/initialization/database.py +++ b/components/api_server/src/initialization/database.py @@ -38,7 +38,7 @@ def set_feature_compatibility_version(admin_database: Database) -> None: See https://docs.mongodb.com/manual/reference/command/setFeatureCompatibilityVersion/ """ - admin_database.command("setFeatureCompatibilityVersion", "6.0", confirm=True) + admin_database.command("setFeatureCompatibilityVersion", "7.0", confirm=True) def create_indexes(database: Database) -> None: diff --git a/docs/src/changelog.md b/docs/src/changelog.md index b5eec56824..ac8b41bd1f 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -33,6 +33,7 @@ If your currently installed *Quality-time* version is v4.10.0 or older, please r In addition: - A new parameter 'clean code attributes category' is added. +- Set the MongoDB feature compatibility version to v7. Closes [#8896](https://github.com/ICTU/quality-time/issues/8896). ## v5.13.0 - 2024-05-23