From 61270d9c946ea2188991f36f8147c17ac8146054 Mon Sep 17 00:00:00 2001
From: "cvat-bot[bot]" <147643061+cvat-bot[bot]@users.noreply.github.com>
Date: Thu, 10 Oct 2024 08:27:29 +0000
Subject: [PATCH] Prepare release v2.21.0
---
CHANGELOG.md | 67 +++++++++++++++++++
...20240819_210200_mzhiltso_validation_api.md | 24 -------
changelog.d/20240919_114257_echowxsy.md | 4 --
...dmitrii.lavrukhin_yolov8_classification.md | 4 --
...153_mzhiltso_validation_management_core.md | 14 ----
...001_142106_roman_patch_scopes_hardening.md | 9 ---
..._mzhiltso_fix_task_creation_with_gt_job.md | 6 --
...allow_quality_reports_for_regular_users.md | 4 --
.../20241009_164505_andrey_k8s_probes.md | 4 --
cvat/__init__.py | 2 +-
docker-compose.yml | 18 ++---
helm-chart/values.yaml | 4 +-
12 files changed, 79 insertions(+), 81 deletions(-)
delete mode 100644 changelog.d/20240819_210200_mzhiltso_validation_api.md
delete mode 100644 changelog.d/20240919_114257_echowxsy.md
delete mode 100644 changelog.d/20240926_152800_dmitrii.lavrukhin_yolov8_classification.md
delete mode 100644 changelog.d/20240930_171153_mzhiltso_validation_management_core.md
delete mode 100644 changelog.d/20241001_142106_roman_patch_scopes_hardening.md
delete mode 100644 changelog.d/20241004_144626_mzhiltso_fix_task_creation_with_gt_job.md
delete mode 100644 changelog.d/20241004_201336_mzhiltso_allow_quality_reports_for_regular_users.md
delete mode 100644 changelog.d/20241009_164505_andrey_k8s_probes.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 595b8dd8531d..a2cd17ae9868 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,73 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
+
+## \[2.21.0\] - 2024-10-10
+
+### Added
+
+- New task mode: Honeypots (GT pool)
+ ()
+- New task creation options for quality control: Honeypots (GT pool), GT job
+ ()
+- New GT job frame selection method: `random_per_job`,
+ which guarantees each job will have GT overlap
+ ()
+- \[Server API\] POST `/jobs/`: new frame selection parameters,
+ which accept percentages, instead of absolute values
+ ()
+- \[Server API\] GET `/api/tasks/{id}/` got a new `validation_mode` field,
+ reflecting the current validation configuration (immutable)
+ ()
+- \[Server API\] POST `/api/tasks/{id}/data` got a new `validation_params` field,
+ which allows to enable `GT` and `GT_POOL` validation for a task on its creation
+ ()
+
+- Added custom certificates documentation
+ ()
+
+- Support for YOLOv8 Classification format
+ ()
+
+- \[Server API\] An option to change real frames for honeypot frames in tasks with honeypots
+ ()
+- \[Server API\] New endpoints for validation configuration management in tasks and jobs
+ `/api/tasks/{id}/validation_layout`, `/api/jobs/{id}/validation_layout`
+ ()
+
+- \[Helm\] Readiness and liveness probes
+ ()
+
+### Changed
+
+- \[Server API\] POST `/jobs/` `.frames` field now expects relative frame numbers
+ instead of absolute (source data) ones
+ ()
+
+- \[Server API\] Now chunks in tasks can be changed.
+ There are new API elements to check chunk relevancy, if they are cached:
+ `/api/tasks/{id}/data/meta` got a new field `chunks_updated_date`,
+ `/api/tasks/{id}/data/?type=chunk` got 2 new headers: `X-Updated-Date`, `X-Checksum`
+ ()
+
+- Made the `PATCH` endpoints for projects, tasks, jobs and memberships check
+ the input more strictly
+ ():
+
+ - unknown fields are rejected;
+ - updating a field now requires the same level of permissions regardless of
+ whether the new value is the same as the old value.
+
+- \[Server API\] Quality report computation is now allowed to regular users
+ ()
+
+### Fixed
+
+- Invalid chunks for GT jobs when `?number` is used in the request and task frame step > 1
+ ()
+- Invalid output of frames for specific GT frame requests with `api/jobs/{id}/data/?type=frame`
+ ()
+
## \[2.20.0\] - 2024-10-01
diff --git a/changelog.d/20240819_210200_mzhiltso_validation_api.md b/changelog.d/20240819_210200_mzhiltso_validation_api.md
deleted file mode 100644
index bc4c57563258..000000000000
--- a/changelog.d/20240819_210200_mzhiltso_validation_api.md
+++ /dev/null
@@ -1,24 +0,0 @@
-### Added
-
-- New task mode: Honeypots (GT pool)
- ()
-- New task creation options for quality control: Honeypots (GT pool), GT job
- ()
-- New GT job frame selection method: `random_per_job`,
- which guarantees each job will have GT overlap
- ()
-- \[Server API\] POST `/jobs/`: new frame selection parameters,
- which accept percentages, instead of absolute values
- ()
-- \[Server API\] GET `/api/tasks/{id}/` got a new `validation_mode` field,
- reflecting the current validation configuration (immutable)
- ()
-- \[Server API\] POST `/api/tasks/{id}/data` got a new `validation_params` field,
- which allows to enable `GT` and `GT_POOL` validation for a task on its creation
- ()
-
-### Changed
-
-- \[Server API\] POST `/jobs/` `.frames` field now expects relative frame numbers
- instead of absolute (source data) ones
- ()
diff --git a/changelog.d/20240919_114257_echowxsy.md b/changelog.d/20240919_114257_echowxsy.md
deleted file mode 100644
index 2e1044c674c0..000000000000
--- a/changelog.d/20240919_114257_echowxsy.md
+++ /dev/null
@@ -1,4 +0,0 @@
-### Added
-
-- Added custom certificates documentation
- ()
diff --git a/changelog.d/20240926_152800_dmitrii.lavrukhin_yolov8_classification.md b/changelog.d/20240926_152800_dmitrii.lavrukhin_yolov8_classification.md
deleted file mode 100644
index 4a38def8a579..000000000000
--- a/changelog.d/20240926_152800_dmitrii.lavrukhin_yolov8_classification.md
+++ /dev/null
@@ -1,4 +0,0 @@
-### Added
-
-- Support for YOLOv8 Classification format
- ()
diff --git a/changelog.d/20240930_171153_mzhiltso_validation_management_core.md b/changelog.d/20240930_171153_mzhiltso_validation_management_core.md
deleted file mode 100644
index 73b4011bc459..000000000000
--- a/changelog.d/20240930_171153_mzhiltso_validation_management_core.md
+++ /dev/null
@@ -1,14 +0,0 @@
-### Added
-
-- \[Server API\] An option to change real frames for honeypot frames in tasks with honeypots
- ()
-- \[Server API\] New endpoints for validation configuration management in tasks and jobs
- `/api/tasks/{id}/validation_layout`, `/api/jobs/{id}/validation_layout`
- ()
-
-### Changed
-- \[Server API\] Now chunks in tasks can be changed.
- There are new API elements to check chunk relevancy, if they are cached:
- `/api/tasks/{id}/data/meta` got a new field `chunks_updated_date`,
- `/api/tasks/{id}/data/?type=chunk` got 2 new headers: `X-Updated-Date`, `X-Checksum`
- ()
diff --git a/changelog.d/20241001_142106_roman_patch_scopes_hardening.md b/changelog.d/20241001_142106_roman_patch_scopes_hardening.md
deleted file mode 100644
index f9c3c42796ef..000000000000
--- a/changelog.d/20241001_142106_roman_patch_scopes_hardening.md
+++ /dev/null
@@ -1,9 +0,0 @@
-### Changed
-
-- Made the `PATCH` endpoints for projects, tasks, jobs and memberships check
- the input more strictly
- ():
-
- - unknown fields are rejected;
- - updating a field now requires the same level of permissions regardless of
- whether the new value is the same as the old value.
diff --git a/changelog.d/20241004_144626_mzhiltso_fix_task_creation_with_gt_job.md b/changelog.d/20241004_144626_mzhiltso_fix_task_creation_with_gt_job.md
deleted file mode 100644
index c5a10acd2078..000000000000
--- a/changelog.d/20241004_144626_mzhiltso_fix_task_creation_with_gt_job.md
+++ /dev/null
@@ -1,6 +0,0 @@
-### Fixed
-
-- Invalid chunks for GT jobs when `?number` is used in the request and task frame step > 1
- ()
-- Invalid output of frames for specific GT frame requests with `api/jobs/{id}/data/?type=frame`
- ()
diff --git a/changelog.d/20241004_201336_mzhiltso_allow_quality_reports_for_regular_users.md b/changelog.d/20241004_201336_mzhiltso_allow_quality_reports_for_regular_users.md
deleted file mode 100644
index e272bcdb81e7..000000000000
--- a/changelog.d/20241004_201336_mzhiltso_allow_quality_reports_for_regular_users.md
+++ /dev/null
@@ -1,4 +0,0 @@
-### Changed
-
-- \[Server API\] Quality report computation is now allowed to regular users
- ()
diff --git a/changelog.d/20241009_164505_andrey_k8s_probes.md b/changelog.d/20241009_164505_andrey_k8s_probes.md
deleted file mode 100644
index 0301d23bff55..000000000000
--- a/changelog.d/20241009_164505_andrey_k8s_probes.md
+++ /dev/null
@@ -1,4 +0,0 @@
-### Added
-
-- \[Helm\] Readiness and liveness probes
- ()
diff --git a/cvat/__init__.py b/cvat/__init__.py
index 8333be1717a2..864fb1680d66 100644
--- a/cvat/__init__.py
+++ b/cvat/__init__.py
@@ -4,6 +4,6 @@
from cvat.utils.version import get_version
-VERSION = (2, 21, 0, 'alpha', 0)
+VERSION = (2, 21, 0, 'final', 0)
__version__ = get_version(VERSION)
diff --git a/docker-compose.yml b/docker-compose.yml
index 569e163e9fe5..b9588d33f881 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -79,7 +79,7 @@ services:
cvat_server:
container_name: cvat_server
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on:
<<: *backend-deps
@@ -113,7 +113,7 @@ services:
cvat_utils:
container_name: cvat_utils
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -130,7 +130,7 @@ services:
cvat_worker_import:
container_name: cvat_worker_import
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -146,7 +146,7 @@ services:
cvat_worker_export:
container_name: cvat_worker_export
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -162,7 +162,7 @@ services:
cvat_worker_annotation:
container_name: cvat_worker_annotation
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -178,7 +178,7 @@ services:
cvat_worker_webhooks:
container_name: cvat_worker_webhooks
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -194,7 +194,7 @@ services:
cvat_worker_quality_reports:
container_name: cvat_worker_quality_reports
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -210,7 +210,7 @@ services:
cvat_worker_analytics_reports:
container_name: cvat_worker_analytics_reports
- image: cvat/server:${CVAT_VERSION:-dev}
+ image: cvat/server:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on: *backend-deps
environment:
@@ -226,7 +226,7 @@ services:
cvat_ui:
container_name: cvat_ui
- image: cvat/ui:${CVAT_VERSION:-dev}
+ image: cvat/ui:${CVAT_VERSION:-v2.21.0}
restart: always
depends_on:
- cvat_server
diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml
index 05d74e906e98..a20fffb4e57c 100644
--- a/helm-chart/values.yaml
+++ b/helm-chart/values.yaml
@@ -129,7 +129,7 @@ cvat:
additionalVolumeMounts: []
replicas: 1
image: cvat/server
- tag: dev
+ tag: v2.21.0
imagePullPolicy: Always
permissionFix:
enabled: true
@@ -153,7 +153,7 @@ cvat:
frontend:
replicas: 1
image: cvat/ui
- tag: dev
+ tag: v2.21.0
imagePullPolicy: Always
labels: {}
# test: test