From 1c48307eb9ce6701f49bee900cba86834c255b24 Mon Sep 17 00:00:00 2001 From: Gabefire <33893811+Gabefire@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:40:53 -0600 Subject: [PATCH 1/2] add prep --- docs/conf.py | 2 +- libs/labelbox/CHANGELOG.md | 12 ++++++++++++ libs/labelbox/src/labelbox/__init__.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index dc26dda07..c98167b68 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ project = 'Python SDK reference' copyright = '2025, Labelbox' author = 'Labelbox' -release = '6.7.0' +release = '6.8.0' # -- General configuration --------------------------------------------------- diff --git a/libs/labelbox/CHANGELOG.md b/libs/labelbox/CHANGELOG.md index e2679e3a6..6c32ebf44 100644 --- a/libs/labelbox/CHANGELOG.md +++ b/libs/labelbox/CHANGELOG.md @@ -1,4 +1,16 @@ # Changelog +Version 6.8.0 (2025-02-20) +### Added Support for Source Ontology Names in Relationships + +Added the ability to specify relationships using `source_ontology_name` instead of a concrete source annotation. This enhancement is particularly useful for PDF document annotations where you can create relationships referencing ontology classes directly. + +Key changes: +- Added optional `source_ontology_name` field to `Relationship` class +- Made `source` field optional +- Added validation to ensure either `source` or `source_ontology_name` is provided, but not both +### Added search by name for `get_catalog_slice` +### Added `get_catalog_slices` to get all slices + # Version 6.7.0 (2025-02-06) ## Added * MAL support for pdf relationships (beta)([#1932](https://github.com/Labelbox/labelbox-python/pull/1932)) diff --git a/libs/labelbox/src/labelbox/__init__.py b/libs/labelbox/src/labelbox/__init__.py index 68605ad0c..663028916 100644 --- a/libs/labelbox/src/labelbox/__init__.py +++ b/libs/labelbox/src/labelbox/__init__.py @@ -1,6 +1,6 @@ name = "labelbox" -__version__ = "6.7.0" +__version__ = "6.8.0" from labelbox.client import Client from labelbox.schema.annotation_import import ( From b6d4c8e77b51c5bb66818a7e9c98a7f921ab23d5 Mon Sep 17 00:00:00 2001 From: Gabefire <33893811+Gabefire@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:52:00 -0600 Subject: [PATCH 2/2] bump version --- libs/labelbox/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/labelbox/pyproject.toml b/libs/labelbox/pyproject.toml index 52796fb3e..46393624d 100644 --- a/libs/labelbox/pyproject.toml +++ b/libs/labelbox/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "labelbox" -version = "6.7.0" +version = "6.8.0" description = "Labelbox Python API" authors = [{ name = "Labelbox", email = "engineering@labelbox.com" }] dependencies = [