Skip to content

Commit 89c791c

Browse files
authored
Merge pull request #321 from Labelbox/ms/prep-for-3.8.0
update changelog & prep for release
2 parents 7cbc85c + 0cbe7d3 commit 89c791c

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
# Changelog
2+
3+
## Deprecation Notice
4+
| Name | Replacement | Removed After |
5+
| ------------------------------------- | ------------------------------------- | ------------- |
6+
| `ModelRun.delete_annotation_groups()` | `ModelRun.delete_model_run_data_rows()`| 3.9 |
7+
| `ModelRun.annotation_groups()` | `ModelRun.model_run_data_rows()` | 3.9 |
8+
| `DataRowMetadataSchema.id` | `DataRowMetadataSchema.uid` | 3.9 |
9+
-----
10+
11+
# Version 3.8.0 (2021-10-21)
12+
## Added
13+
* `ModelRun.upsert_data_rows()`
14+
* Add data rows to a model run without also attaching labels
15+
* `OperationNotAllowedException`
16+
* raised when users hit resource limits or are not allowed to use a particular operation
17+
18+
## Updated
19+
* `ModelRun.upsert_labels()`
20+
* Blocks until the upsert job is complete. Error messages have been improved
21+
* `Organization.invite_user()` and `Organization.invite_limit()` are no longer experimental
22+
* `AnnotationGroup` was renamed to `ModelRunDataRow`
23+
* `ModelRun.delete_annotation_groups()` was renamed to `ModelRun.delete_model_run_data_rows()`
24+
* `ModelRun.annotation_groups()` was renamed to `ModelRun.model_run_data_rows()`
25+
26+
## Fix
27+
* `DataRowMetadataField` no longer relies on pydantic for field validation and coercion
28+
* This prevents unintended type coercion from occuring
29+
230
# Version 3.7.0 (2021-10-11)
331
## Added
432
* Search for data row ids from external ids without specifying a dataset

examples/basics/data_row_metadata.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
"outputs": [],
274274
"source": [
275275
"field = DataRowMetadataField(\n",
276-
" schema_id=mdo.reserved_by_name[\"captureDateTime\"].id, # specify the schema id\n",
276+
" schema_id=mdo.reserved_by_name[\"captureDateTime\"].uid, # specify the schema id\n",
277277
" value=datetime.now(), # typed inputs\n",
278278
")\n",
279279
"# Completed object ready for upload\n",

labelbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "labelbox"
2-
__version__ = "3.7.0"
2+
__version__ = "3.8.0"
33

44
from labelbox.schema.project import Project
55
from labelbox.client import Client

0 commit comments

Comments
 (0)