Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.19.0 #8459

Merged
merged 19 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
id: server-cache-action
with:
path: /tmp/cvat_cache_server
Expand All @@ -26,7 +26,7 @@ jobs:
${{ runner.os }}-build-server-${{ needs.get-sha.outputs.sha }}
${{ runner.os }}-build-server-

- uses: actions/cache@v3
- uses: actions/cache@v4
id: ui-cache-action
with:
path: /tmp/cvat_cache_ui
Expand All @@ -36,18 +36,18 @@ jobs:
${{ runner.os }}-build-ui-

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Caching CVAT Server
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
cache-from: type=local,src=/tmp/cvat_cache_server
cache-to: type=local,dest=/tmp/cvat_cache_server-new

- name: Caching CVAT UI
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ui
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +56,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -69,4 +69,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Verify that author of comment is collaborator
if: steps.check-author.outputs.allow == ''
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
script: |
core.setFailed('User that send comment with /check command is not collaborator')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Deploy
if: github.ref == 'refs/heads/develop'
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
ref: ${{ inputs.ref }}

- name: CVAT server. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_server
key: ${{ runner.os }}-build-server-${{ needs.search_cache.outputs.sha }}

- name: CVAT UI. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_ui
key: ${{ runner.os }}-build-ui-${{ needs.search_cache.outputs.sha }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Create artifact directories
run: |
Expand All @@ -50,7 +50,7 @@ jobs:
mkdir /tmp/cvat_sdk

- name: CVAT server. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=/tmp/cvat_cache_server
context: .
Expand All @@ -59,7 +59,7 @@ jobs:
outputs: type=docker,dest=/tmp/cvat_server/image.tar

- name: CVAT UI. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=/tmp/cvat_cache_ui
context: .
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
with:
ref: ${{ inputs.ref }}

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo -n "verifying images:"
docker images

- uses: azure/setup-helm@v3
- uses: azure/setup-helm@v4
with:
version: 'v3.9.4'

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ jobs:
run: ./dev/check_changelog_fragments.py

- name: CVAT server. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_server
key: ${{ runner.os }}-build-server-${{ needs.search_cache.outputs.sha }}

- name: CVAT UI. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_ui
key: ${{ runner.os }}-build-ui-${{ needs.search_cache.outputs.sha }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Create artifact directories
run: |
Expand All @@ -60,7 +60,7 @@ jobs:
mkdir /tmp/cvat_sdk

- name: CVAT server. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
build-args: |
"COVERAGE_PROCESS_START=.coveragerc"
Expand All @@ -76,7 +76,7 @@ jobs:
yarn run coverage

- name: CVAT UI. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=/tmp/cvat_cache_ui
context: .
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'

Expand Down Expand Up @@ -450,6 +450,6 @@ jobs:
name: coverage_results

- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
16 changes: 8 additions & 8 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
password: ${{ secrets.DOCKERHUB_CI_TOKEN }}

- name: CVAT server. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_server
key: ${{ runner.os }}-build-server-${{ needs.search_cache.outputs.sha }}

- name: CVAT UI. Getting cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_ui
key: ${{ runner.os }}-build-ui-${{ needs.search_cache.outputs.sha }}
Expand All @@ -83,10 +83,10 @@ jobs:
type=raw,value=nightly

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: CVAT server. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=/tmp/cvat_cache_server
context: .
Expand All @@ -96,7 +96,7 @@ jobs:
labels: ${{ steps.meta-server.outputs.labels }}

- name: CVAT UI. Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
cache-from: type=local,src=/tmp/cvat_cache_ui
context: .
Expand All @@ -111,18 +111,18 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'

- name: Getting CVAT UI cache from the default branch
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/cvat_cache_ui
key: ${{ runner.os }}-build-ui-${{ needs.search_cache.outputs.sha }}

- name: Building CVAT UI image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile.ui
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/trigger-dependent-repo-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Trigger dependent repo update workflow

on:
workflow_dispatch:
push:
branches: [ master ]

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Generate authentication token
id: gen-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.CVAT_BOT_APP_ID }}
private-key: ${{ secrets.CVAT_BOT_PRIVATE_KEY }}
repositories: ${{ secrets.CVAT_DEPENDENT_REPO }}

- name: Trigger private repository workflow
env:
GH_TOKEN: "${{ steps.gen-token.outputs.token }}"
GH_REPO: cvat-ai/${{ secrets.CVAT_DEPENDENT_REPO }}
run: |
gh workflow run \
update-dependency.yml \
-f triggeredBy=${{ github.repository }} \
-f commitSha=${{ github.sha }} \
-f branch=${{ github.ref }}
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- scriv-insert-here -->

<a id='changelog-2.19.0'></a>
## \[2.19.0\] - 2024-09-20

### Added

- Quality management tab on `quality control` allows to enabling/disabling GT frames
(<https://github.com/cvat-ai/cvat/pull/8329>)

### Changed

- Moved quality control from `analytics` page to `quality control` page
(<https://github.com/cvat-ai/cvat/pull/8329>)

### Removed

- Quality report no longer available in CVAT community version
(<https://github.com/cvat-ai/cvat/pull/8329>)

### Fixed

- Fixing a problem when project export does not export skeleton tracks
(<https://github.com/cvat-ai/cvat/pull/8423>)

### Security

- Fixed an XSS vulnerability in request-related endpoints
(<https://github.com/cvat-ai/cvat/security/advisories/GHSA-hp6c-f34j-qjj7>)

- Fixed an XSS vulnerability in the quality report data endpoint
(<https://github.com/cvat-ai/cvat/security/advisories/GHSA-2c85-39cc-2px9>)

<a id='changelog-2.18.0'></a>
## \[2.18.0\] - 2024-09-10

Expand Down
2 changes: 1 addition & 1 deletion cvat-cli/requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cvat-sdk~=2.18.0
cvat-sdk~=2.19.0
Pillow>=10.3.0
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
2 changes: 1 addition & 1 deletion cvat-cli/src/cvat_cli/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "2.18.0"
VERSION = "2.19.0"
4 changes: 2 additions & 2 deletions cvat-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cvat-core",
"version": "15.1.3",
"version": "15.2.0",
"type": "module",
"description": "Part of Computer Vision Tool which presents an interface for client-side integration",
"main": "src/api.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
"jest-junit": "^6.4.0"
},
"dependencies": {
"axios": "^1.6.0",
"axios": "^1.7.4",
"axios-retry": "^4.0.0",
"cvat-data": "link:./../cvat-data",
"detect-browser": "^5.2.1",
Expand Down
Loading
Loading