Skip to content

Commit c3c55fd

Browse files
committed
Merge branch 'develop' into friday
2 parents 8d2e236 + 8c4cf24 commit c3c55fd

File tree

7 files changed

+142
-7
lines changed

7 files changed

+142
-7
lines changed

CHANGELOG.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# Changelog
2+
All release higlighths of this project will be documented in this file.
3+
## 4.2.9 - Jan 30 2022
4+
### Added
5+
- `superannotate_schemas` as a stand alone package on annotation schemas.
6+
### Updated
7+
- `upload_annotations_from_folder_to_project()` to reference the `validate_annotations()`.
8+
- `upload_videos_from_folder_to_project()` to remove code duplications.
9+
- `clone_project()` to set upload state of clone project to inital.
10+
### Fixed
11+
- `validate_annotations()` to fix rotated bounding box schema.
12+
### Removed
13+
- Third party logs from logging mechanism.
14+
###
15+
## 4.2.8 - Jan 9 2022
16+
### Added
17+
- `invite_contributers_to_team()` for bulk team invite.
18+
- `add_contributors_to_project()` for bulk project sharing.
19+
### Updated
20+
- `upload_images_from_folder_to_project()` for non existing S3 path handling.
21+
- `upload_annotations_from_folder_to_project()` for template name and class processing on template annotation upload.
22+
- `add_annotation_comment_to_image()` for unrecognized author processing.
23+
- `add_annotation_point_to_image()` for valid point addition on empty state.
24+
- `add_annotation_bbox_to_image()` for valid bbox addition on empty state.
25+
- `add_annotation_comment_to_image()` for valid comment addition on empty state.
26+
### Fixed
27+
- `superannotatecli upload_images` to accept default list of image extensions.
28+
### Removed
29+
- `invite_contributor_to_team()` use `invite_contributors_to_team()` instead.
30+
###
31+
## 4.2.7 - Dec 12 2021
32+
### Added
33+
- Logging mechanism.
34+
### Updated
35+
- Cloning projects with attached URLs.
36+
- Improve relation between image status and annotations.
37+
- Deprecate functions of zero usage.
38+
### Fixed
39+
- Small bug fix & enhancements.
40+
###
41+
## 4.2.6 - Nov 21 2021
42+
### Added
43+
- Validation schemas for annotations.
44+
- Dataframe aggregation for video projects.
45+
### Fixed
46+
- Minor bug fixes and enhancements.
47+
###
48+
## 4.2.4 - Nov 2 2021
49+
### Fixed
50+
- Minor bug fixes and enhancements.
51+
###
52+
## 4.2.3 - Oct 31 2021
53+
### Fixed
54+
- Minor bug fixes and enhancements.
55+
###
56+
## 4.2.2 - Oct 22 2021
57+
### Fixed
58+
- Minor bug fixes and enhancements.
59+
###
60+
## 4.2.1 - Oct 13 2021
61+
### Fixed
62+
- `init` functionality.
63+
- `upload_annotation` functionality.
64+
###
65+
## 4.2.0 - Oct 10 2021
66+
### Added
67+
- `delete_annotations()` for bulk annotation delete.
68+
### Updated
69+
- Project/folder limitations.
70+
### Fixed
71+
- Refactor and major bug fix.
72+
## 4.1.9 - Sep 22 2021
73+
### Added
74+
- Text project support.
75+
## 4.1.8 - Aug 15 2021
76+
### Added
77+
- Video project release.
78+
###
79+
## 4.1.7 - Aug 1 2021
80+
### Fixed
81+
- Video upload refinements.
82+
###
83+
## 4.1.6 - Jul 19 2021
84+
### Added
85+
- Training/Test data with folder structure.
86+
- Token validation.
87+
### Updated
88+
- Add success property on mixpanel events.
89+
### Fixed
90+
- Upload template enhancements.
91+
###
92+
## 4.1.5 - Jun 16 2021
93+
### Added
94+
- Folder assignment.
95+
### Updated
96+
- COCO keypoint enhancements.
97+
###
98+
## 4.1.4 - May 26 2021
99+
### Added
100+
- Mixpanel Integration.
101+
### Updated
102+
- Image upload enhancements.
103+
- Video upload enhancements.
104+
- Annotation upload enhancements.
105+
- Consensus enhancements.
106+
- Image copy/move enhancements.
107+
- COCO import/export enhancements.
108+
- AWS region enhancements.
109+
###
110+
## 4.1.3 - Apr 19 2021
111+
### Added
112+
- Folder limitations.
113+
###
114+
## 4.1.2 - Apr 1 2021
115+
### Fixed
116+
- Video upload to folder.
117+
###
118+
## 4.1.1 - Mar 31 2021
119+
### Added
120+
- Attach image URLs.
121+
###
122+
## 4.1.0 - Mar 22 2021
123+
### Added
124+
- Folder structure on platform.
125+
###
126+
## 4.0.1 - Mar 15 2021
127+
### Updated
128+
- The FPS change during video upload has more stable frame choosing algorithm now.
129+
###
130+
## 4.0.0 - Feb 28 2021
131+
### Updated
132+
- Improved image storage structure on platform, which requires this upgrade in SDK. This change in platform is backward incompatible with previous versions of SDK.
133+
###
134+
Changelog not maintained before version 4.0.0.

src/superannotate/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
__version__ = "4.3.0b17"
1+
__version__ = "4.2.9"
2+

tests/integration/annotations/test_uopload_annotations_without_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_annotation_upload(self):
3737
with tempfile.TemporaryDirectory() as classes_dir:
3838
classes_path = sa.download_annotation_classes_json(self.PROJECT_NAME, classes_dir)
3939
self.assertEqual(json.load(open(classes_path, "r")), [])
40-
sa.create_annotation_class(self.PROJECT_NAME, "tt", "#FFFFFF", type="tag")
40+
sa.create_annotation_class(self.PROJECT_NAME, "tt", "#FFFFFF", class_type="tag")
4141
classes_path = sa.download_annotation_classes_json(self.PROJECT_NAME, classes_dir)
4242
classes_json = json.load(open(classes_path, "r"))
4343
self.assertEqual(classes_json[0]["type"], "tag")

tests/integration/classes/test_create_annotation_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def large_json_path(self):
1919
return os.path.join(DATA_SET_PATH, self.TEST_LARGE_CLASSES_JSON)
2020

2121
def test_create_annotation_class(self):
22-
sa.create_annotation_class(self.PROJECT_NAME, "test_add", "#FF0000", type="tag")
22+
sa.create_annotation_class(self.PROJECT_NAME, "test_add", "#FF0000", class_type="tag")
2323
classes = sa.search_annotation_classes(self.PROJECT_NAME)
2424
self.assertEqual(classes[0]["type"], "tag")
2525

@@ -36,7 +36,7 @@ class TestCreateAnnotationClassNonVectorWithError(BaseTestCase):
3636
def test_create_annotation_class(self):
3737
msg = ""
3838
try:
39-
sa.create_annotation_class(self.PROJECT_NAME, "test_add", "#FF0000", type="tag")
39+
sa.create_annotation_class(self.PROJECT_NAME, "test_add", "#FF0000", class_type="tag")
4040
except Exception as e:
4141
msg = str(e)
4242
self.assertEqual(msg, "Predefined tagging functionality is not supported for projects of type Video.")

tests/integration/test_depricated_functions_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
class TestDeprecatedFunctionsDocument(TestCase):
15-
PROJECT_NAME = "document proj 11"
15+
PROJECT_NAME = "TestDeprecatedFunctionsDocument"
1616
PROJECT_DESCRIPTION = "desc"
1717
PROJECT_TYPE = "Document"
1818
PATH_TO_URLS = "data_set/attach_urls.csv"

tests/integration/test_depricated_functions_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
class TestDeprecatedFunctionsVideo(TestCase):
15-
PROJECT_NAME = "vid proj 11"
15+
PROJECT_NAME = "TestDeprecatedFunctionsVideo"
1616
PROJECT_DESCRIPTION = "desc"
1717
PROJECT_TYPE = "Video"
1818
PATH_TO_URLS = "data_set/attach_urls.csv"

tests/integration/test_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_get_project_metadata(self):
7373
metadata = sa.get_project_metadata(self.PROJECT_NAME)
7474
self.assertIsNotNone(metadata["id"])
7575
self.assertListEqual(metadata.get("contributors", []), [])
76-
sa.create_annotation_class(self.PROJECT_NAME, "tt", "#FFFFFF", type="tag")
76+
sa.create_annotation_class(self.PROJECT_NAME, "tt", "#FFFFFF", class_type="tag")
7777
metadata_with_users = sa.get_project_metadata(self.PROJECT_NAME, include_annotation_classes=True, include_contributors=True)
7878
self.assertEqual(metadata_with_users['classes'][0]['type'], 'tag')
7979
self.assertIsNotNone(metadata_with_users.get("contributors"))

0 commit comments

Comments
 (0)