Skip to content

Commit

Permalink
Set MongoDB feature compatibility version to v8.
Browse files Browse the repository at this point in the history
Closes #10357.
  • Loading branch information
fniessink committed Nov 28, 2024
1 parent eec4757 commit f21c8c9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/api_server/src/initialization/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ If your currently installed *Quality-time* version is not the latest version, pl

<!-- The line "## <square-bracket>Unreleased</square-bracket>" is replaced by the release/release.py script with the new release version and release date. -->

## [Unreleased]

### Changed

- Set the MongoDB feature compatibility version to v8. Closes [#10357](https://github.com/ICTU/quality-time/issues/10357).

## v5.19.0 - 2024-11-22

### Added
Expand Down
19 changes: 10 additions & 9 deletions docs/src/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ The table below contains the *Quality-time* releases since the last minor of the

| Version | Date | Mongo | FC | Migrations | Downgrade | Upgrade | Manual changes |
|------------|--------------|--------|--------|------------|-----------------|-----------------|----------------|
| v5.19.0 | 2024-11-22 | v8 | v7 | | v5.14.0-v5.18.0 | n/a | no |
| v5.18.0 | 2024-11-06 | v8 | v7 | | v5.14.0-v5.17.1 | v5.19.0 | no |
| v5.17.1 | 2024-10-25 | v8 | v7 | | v5.14.0-v5.17.0 | v5.18.0-v5.19.0 | no |
| v5.17.0 | 2024-10-17 | **v8** | v7 | | v5.14.0-v5.16.2 | v5.17.1-v5.19.0 | no |
| v5.16.2 | 2024-10-03 | v7 | v7 | | v5.14.0-v5.16.1 | v5.17.0-v5.19.0 | no |
| v5.16.1 | 2024-09-26 | v7 | v7 | | v5.14.0-v5.16.0 | v5.16.2-v5.19.0 | no |
| v5.16.0 | 2024-09-19 | v7 | v7 | added | v5.14.0-v5.15.0 | v5.16.1-v5.19.0 | no |
| v5.15.0 | 2024-07-30 | v7 | v7 | | v5.14.0 | v5.16.0-v5.19.0 | no |
| v5.14.0 | 2024-07-05 | v7 | **v7** | added | not possible | v5.15.0-v5.19.0 | no |
| v5.20.0 | [unreleased] | v8 | **v8** | | 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 |
| v5.17.0 | 2024-10-17 | **v8** | v7 | | v5.14.0-v5.16.2 | v5.17.1-v5.20.0 | no |
| v5.16.2 | 2024-10-03 | v7 | v7 | | v5.14.0-v5.16.1 | v5.17.0-v5.20.0 | no |
| v5.16.1 | 2024-09-26 | v7 | v7 | | v5.14.0-v5.16.0 | v5.16.2-v5.20.0 | no |
| v5.16.0 | 2024-09-19 | v7 | v7 | added | v5.14.0-v5.15.0 | v5.16.1-v5.20.0 | no |
| v5.15.0 | 2024-07-30 | v7 | v7 | | v5.14.0 | v5.16.0-v5.20.0 | no |
| v5.14.0 | 2024-07-05 | v7 | **v7** | added | not possible | v5.15.0-v5.20.0 | no |
| v5.13.0 | 2024-05-23 | v7 | v6 | added | not possible | v5.14.0-v5.16.2 | no |
| v5.12.0 | 2024-05-17 | v7 | v6 | added | not possible | v5.13.0-v5.16.2 | no |
| v5.11.0 | 2024-04-22 | v7 | v6 | | v5.6.0-v5.10.0 | v5.12.0-v5.16.2 | no |
Expand Down

0 comments on commit f21c8c9

Please sign in to comment.