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.8.0 #7039

Merged
merged 21 commits into from
Oct 24, 2023
Merged

Release v2.8.0 #7039

merged 21 commits into from
Oct 24, 2023

Commits on Oct 16, 2023

  1. prepare to new version

    azhavoro committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    fae72e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b0130f View commit details
    Browse the repository at this point in the history
  3. Update lowlevel-api.md (#6989)

    Fix the method name from `as_dict()` to `to_dict()` in SDK docs
    george-kuanli-peng authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    c1802c4 View commit details
    Browse the repository at this point in the history
  4. Release v2.7.6

    nmanovic authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e6724fa View commit details
    Browse the repository at this point in the history
  5. Disable zookeeper (#7003)

    azhavoro authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    b02cbe5 View commit details
    Browse the repository at this point in the history
  6. [GCS] Skip manually created dirs (#7006)

    <!-- Raise an issue to propose your change
    (https://github.com/opencv/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution
    guide](https://opencv.github.io/cvat/docs/contributing/). -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    The same problem for GCS as was fixed for AWS S3
    #6997
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - [ ] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    ~~- [ ] I have updated the documentation accordingly~~
    ~~- [ ] I have added tests to cover my changes~~
    ~~- [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
    ~~- [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))~~
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    Marishka17 authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    b7ea8d1 View commit details
    Browse the repository at this point in the history
  7. Add support for Cloudflare R2 Buckets (#6701)

    It is currently not possible to add a Cloudflare R2 Bucket as a Cloud
    Storage source, since the Secret access key of R2 has a length of 64 but
    the ui/serializer restricts the length to 44.
    
    [This issue](#5512) addresses the
    same problem when using STORJ but with a max length of `128`.
    
    For me it would make the most sense to completely remove the max length,
    but this PR currently only fixes the R2 compatibility by increasing the
    max length to `64`.
    JonasHiltl authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    021e58c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Fix possible double writing of the uploaded client files in Upload-Mu…

    …ltiple requests (#6952)
    
    Fixes #6878 
    
    In the case of big files (>2.5 MB by default), the uploaded files could
    be write-appended twice,
    leading to bigger raw file sizes than expected. This PR fixes the
    behavior by excluding repetitive
    writes where it was not supposed.
    
    - Fixed double append-writing of the uploaded files when Upload-Multiple
      requests are used
    - Fixed potential DB - disk inconsistencies in the case of upload errors
    - Added tests
    zhiltsov-max authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    e8db2c3 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Add new community links to the Links README section (#7014)

    This PR adds two links to the CVAT README `Links` section. The first
    link is a tutorial written by the Roboflow team on how to use CVAT and
    the second link shows the Roboflow guide to using models for automatic
    labeling in CVAT. I would love for the Roboflow + CVAT integration to be
    more accessible to new users; the faster someone can label, the quicker
    they can get a model into production.
    capjamesg authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    28ea2b4 View commit details
    Browse the repository at this point in the history
  2. Add basic checks for changelog fragments to CI (#7007)

    <!-- Raise an issue to propose your change
    (https://github.com/opencv/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution
    guide](https://opencv.github.io/cvat/docs/contributing/). -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    This'll help prevent simple mistakes that would cause scriv to assemble
    the changelog incorrectly.
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    Manual testing.
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - ~~[ ] I have created a changelog fragment~~ <!-- see top comment in
    CHANGELOG.md -->
    - ~~[ ] I have updated the documentation accordingly~~
    - ~~[ ] I have added tests to cover my changes~~
    - ~~[ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
    - ~~[ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))~~
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    SpecLad authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    871bd4f View commit details
    Browse the repository at this point in the history
  3. Add a GitHub workflow for finalizing a release (#6998)

    This automates the second half of the release process (the first being
    automated by `prepare-release.yml`). After this workflow completes, the
    only action that should remain for the releaser to do is to merge the
    `dev-release-*` pull request. We can't do that as part of this workflow,
    because CI has to finish first, and it seems pointless to create another
    workflow just to merge 1 PR.
    
    Apply some of the aspects of this pipeline to `prepare-release.yml` as
    well:
    
    * Make the release notes extraction process more sophisticated to work
      around GitHub's frustrating handling of line breaks in PR and release
      descriptions.
    
    * Use GitHub app credentials in order to be able to trigger other
      pipelines.
    SpecLad authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    0f821e4 View commit details
    Browse the repository at this point in the history
  4. Add test for retrieving bucket content when bucket contains manually …

    …created dirs (#7018)
    
    <!-- Raise an issue to propose your change
    (https://github.com/opencv/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution
    guide](https://opencv.github.io/cvat/docs/contributing/). -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - [x] I have created a changelog fragment <!-- see top comment in
    CHANGELOG.md -->
    ~~- [ ] I have updated the documentation accordingly~~
    - [x] I have added tests to cover my changes
    ~~- [ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
    ~~- [ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))~~
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    Marishka17 authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    c9a6083 View commit details
    Browse the repository at this point in the history
  5. Remove unnecessary COUNT for labels (#6918)

    Optimized /api/projects, /api/tasks, and /api/jobs requests. Previously
    for unification, we decided to add a count of labels into every response
    for each project, task, and job. It leads to performance issues. UI and
    probably other clients don't use the information because it is useless.
    Removing it, helps to optimize the SQL request several times.
    
    ---------
    
    Co-authored-by: Boris Sekachev <boris@cvat.ai>
    nmanovic and bsekachev authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    736881b View commit details
    Browse the repository at this point in the history
  6. Don't fetch existing annotations in `cvat_sdk.auto_annotation.annotat…

    …e_task` (#7019)
    
    We don't need existing annotations in order to re-annotate a task, but
    they were being fetched anyway, because that's how the underlying
    `TaskDataset` class works.
    
    Add an option to `TaskDataset` to disable annotation loading, and use it
    in `auto_annotate` to prevent those unnecessary fetches.
    SpecLad authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8197cd2 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. SDK: determine supported server versions automatically (#7026)

    This removes what should be the last manual step that used to be involved
    in making a release.
    SpecLad authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    9004b27 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Update nested objects on parent labels update (#6958)

    Fixes #6871
    
    Added batch update (note - no signals issued on this) for owning and nested objects (tasks, jobs) on parent (task, project) labels updates
    zhiltsov-max authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    99e4801 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8f2052 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Factor out shared environment variables in docker-compose.yml (#7016)

    <!-- Raise an issue to propose your change
    (https://github.com/opencv/cvat/issues).
    It helps to avoid duplication of efforts from multiple independent
    contributors.
    Discuss your ideas with maintainers to be sure that changes will be
    approved and merged.
    Read the [Contribution
    guide](https://opencv.github.io/cvat/docs/contributing/). -->
    
    <!-- Provide a general summary of your changes in the Title above -->
    
    ### Motivation and context
    <!-- Why is this change required? What problem does it solve? If it
    fixes an open
    issue, please link to the issue here. Describe your changes in detail,
    add
    screenshots. -->
    This improves maintainability of the file.
    
    ### How has this been tested?
    <!-- Please describe in detail how you tested your changes.
    Include details of your testing environment, and the tests you ran to
    see how your change affects other areas of the code, etc. -->
    I brought CVAT up using Docker Compose, and checked that the environment
    variables in containers were as expected.
    
    ### Checklist
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply.
    If an item isn't applicable for some reason, then ~~explicitly
    strikethrough~~ the whole
    line. If you don't do that, GitHub will show incorrect progress for the
    pull request.
    If you're unsure about any of these, don't hesitate to ask. We're here
    to help! -->
    - [x] I submit my changes into the `develop` branch
    - ~~[ ] I have created a changelog fragment~~ <!-- see top comment in
    CHANGELOG.md -->
    - ~~[ ] I have updated the documentation accordingly~~
    - ~~[ ] I have added tests to cover my changes~~
    - ~~[ ] I have linked related issues (see [GitHub docs](
    
    https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
    - ~~[ ] I have increased versions of npm packages if it is necessary
    
    ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),
    
    [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),
    
    [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
    and
    
    [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))~~
    
    ### License
    
    - [x] I submit _my code changes_ under the same [MIT License](
    https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
    project.
      Feel free to contact the maintainers if that's a concern.
    SpecLad authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    e038b7c View commit details
    Browse the repository at this point in the history
  2. Prepare release v2.8.0

    cvat-bot[bot] committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    cd57917 View commit details
    Browse the repository at this point in the history
  3. change log text update

    mdacoca committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    dcdadf6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e771bb View commit details
    Browse the repository at this point in the history