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/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 = [ 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 (