> ## Documentation Index
> Fetch the complete documentation index at: https://app.redbrickai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# RedBrick AI Python SDK changelog

> Release notes and version history for the RedBrick AI Python SDK and CLI, including new methods, breaking changes, and bug fixes across versions.

**v2.35.4**

Sep 8, 2026

**Changed:**

* Allow special characters (@, #) in task folder names.

**v2.35.3**

Aug 27, 2026

**Changed:**

* Fix consensus task export issue when different annotation versions are saved across multiple buckets.

**v2.35.2**

Aug 17, 2026

**Changed:**

* Update Pillow>=12.3.0

**v2.35.1**

Aug 10, 2026

**Changed:**

* Improvements to Session-based login.

**v2.35.0**

Aug 5, 2026

**Changed:**

* Export series items in the original order in which they were uploaded.

**v2.34.0**

Jul 20, 2026

**Changed:**

* Allow exporting members productivity - [https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.get\_members\_productivity](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.get_members_productivity) & [https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.get\_members\_productivity](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.get_members_productivity)
* Allow conversion of 2D DICOM images to NIfTI
* Ability to add labels along with the new series added through [https://sdk.redbrickai.com/sdk.html#redbrick.common.upload.Upload.update\_task\_items](https://sdk.redbrickai.com/sdk.html#redbrick.common.upload.Upload.update_task_items)
* Improve API error logging.

**v2.33.4**

May 15, 2026

**Changed:**

* Allow uploading empty masks.

**v2.33.3**

May 11, 2026

**Changed:**

* Add `concurrency` to `project.labeling.assign_tasks()`.

**v2.33.2**

Apr 1, 2026

**Changed:**

* Add support for .html reports.

**v2.33.1**

Mar 11, 2026

**Changed:**

* Added `overlappingGroups` for tasks having overlapping labels but exported as single multi-class mask - [https://sdk.redbrickai.com/formats/annotations.html#redbrick.types.task.CommonLabelProps.overlappingGroups](https://sdk.redbrickai.com/formats/annotations.html#redbrick.types.task.CommonLabelProps.overlappingGroups)

**v2.33.0**

Feb 25, 2026

**Changed:**

* Session-based SDK authentication: Run `redbrick login` to authenticate via browser and receive short-lived session credentials, replacing long-lived API keys. (redbrick.get\_project(org\_id, project\_id) - [https://sdk.redbrickai.com/sdk.html#redbrick.get\_project](https://sdk.redbrickai.com/sdk.html#redbrick.get_project)
* Dataset Releases: Named, point-in-time snapshots of tasks for consistent and reproducible exports. Visible across the Data Page and task analytics. Run `redbrick releases` to manage Dataset releases. (project.releases) - [https://sdk.redbrickai.com/sdk.html#redbrick.common.releases.Releases](https://sdk.redbrickai.com/sdk.html#redbrick.common.releases.Releases)

**v2.32.0**

Feb 24, 2026

**Changed:**

* Added support for video file uploads.

**v2.31.0**

Dec 19, 2025

**Changed:**

* Removed `with_labels` argument in `Export.get_task_events()`. The method now exports `labelsId` by default for each task submission event - [https://sdk.redbrickai.com/sdk.html#redbrick.common.export.Export.get\_task\_events](https://sdk.redbrickai.com/sdk.html#redbrick.common.export.Export.get_task_events)
* Added `Export.export_task_labels()` to export a specific label version for a task - [https://sdk.redbrickai.com/sdk.html#redbrick.common.export.Export.export\_task\_labels](https://sdk.redbrickai.com/sdk.html#redbrick.common.export.Export.export_task_labels)

**v2.30.0**

Nov 26, 2025

**Changed:**

* Improve error reporting during task uploads.
* Improve resolution of temp config path.
* Fix download of task items with duplicate items.

**v2.29.2**

Nov 25, 2025

**Changed:**

* Improve task upload performance.

**v2.29.1**

Nov 14, 2025

**Changed:**

* Keep spaces in project and task file names on exports.
* Fix indexing issue in export of consensus task labels.

**v2.29.0**

Nov 10, 2025

**Changed:**

* Add imageHeaders in task series - [https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.ImageHeaders](https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.ImageHeaders)
* Drop support for python 3.9
* Revert changes made in SDK v2.28.14

**v2.28.14**

Nov 5, 2025

**Changed:**

* Export `absolutePoint1` (top-left) and `absolutePoint2` (bottom-right) 2D points in bounding box labels.

**v2.28.13**

Oct 15, 2025

**Changed:**

* Add `mask` property in segmentMap for non-NIfTI segmentation exports.

**v2.28.12**

Oct 2, 2025

**Changed:**

* Add `TaskEventTypes.TASK_MOVED` to denote events where a task has been manually moved to a different stage.

**v2.28.11**

Oct 1, 2025

**Changed:**

* Add `project.upload.archive_tasks()` for bulk archival of tasks.

**v2.28.10**

Sep 10, 2025

**Changed:**

* Move changelog to [https://docs.redbrickai.com/changelogs/redbrick-sdk-changelog](https://docs.redbrickai.com/changelogs/redbrick-sdk-changelog)

**v2.28.9**

Sep 9, 2025

**Changed:**

* Add `project.created_at` and `project.updated_at` properties.

**v2.28.8**

Aug 21, 2025

**Changed:**

* Internal changes.

**v2.28.7**

Aug 8, 2025

**Changed:**

* Add `org.delete_taxonomies()` for bulk delete of taxonomies.

**v2.28.6**

Aug 8, 2025

**Changed:**

* Update `org.taxonomies()` to return complete list of taxonomies.
* Add `org.delete_projects()` for bulk delete of archived projects.

**v2.28.5**

Aug 6, 2025

**Changed:**

* API keys will be exported as `API Key - {keyName}`

**v2.28.4**

Aug 1, 2025

* Improve concurrency of file downloads

**v2.28.3**

Jul 29, 2025

**Changed:**

* All exported label objects contain a `labelId` property, which can be directly used to create entity-level comments via `project.upload.create_comment()`

**Requires: redbrick\@v1.5.3+**

**v2.28.2**

Jul 3, 2025

Requires: **RedBrick v1.5.0+**

* Ability to add pins to global/entity comments:

```ts theme={null}
"comment": {
  "text": <comment text>,
  "pin"?: {
    // coordinates are in image-space
    "pointX": <column>,
    "pointY": <row>,
    "pointZ": <slice index>,
    "frameIndex"?: <frame index for videos>,
    "volumeIndex"?: <series index>,
  }
}
```

**v2.28.1**

Jun 16, 2025

* Internal API changes

**v2.28.0**

Jun 13, 2025

**📢 We're Now on DeepWiki!**

redbrick-sdk is now live on [DeepWiki](https://deepwiki.com/redbrick-ai/redbrick-sdk) — with built-in, high-quality AI chat support.
*Ask questions, get code examples, and explore docs with DeepWiki’s smart, conversational assistant — all powered by our latest documentation.*

**v2.27.3**

Jun 6, 2025

* Enable webhook option

**v2.27.2**

Jun 4, 2025

**Changed:**

* Updated nibabel to force numpy v2
* Fixed update webhook API

**v2.27.1**

May 30, 2025

**Changed:**

* org.get\_dataset() now returns RBDataset instead of Dict

**v2.27.0**

May 30, 2025

**Changed:**

* Export.list\_tasks() to return tasks currently in the given stage if no `search` filter is specified

**v2.26.0**

May 28, 2025

**Added**

* DICOM Seg support in upload and export modules (`--dicom-seg` in CLI)

**Fixed**

* Stage name validation in send\_tasks\_to\_stage

**v2.25.4**

May 23, 2025

* Update docs

**v2.25.3**

May 23, 2025

**Added**

* Create task comments - [https://sdk.redbrickai.com/sdk.html#redbrick.common.upload.Upload.create\_comment](https://sdk.redbrickai.com/sdk.html#redbrick.common.upload.Upload.create_comment)
* Add review\_comment while reviewing tasks - [https://sdk.redbrickai.com/sdk.html#redbrick.common.labeling.Labeling.put\_tasks](https://sdk.redbrickai.com/sdk.html#redbrick.common.labeling.Labeling.put_tasks)

**v2.25.2**

May 15, 2025

* Update ModelStage.Config

**v2.25.1**

May 7, 2025

* Silently bypass empty mask error on upload

**v2.25.0**

May 7, 2025

**Changed:**

* Added [org.archive\_project()](https://sdk.redbrickai.com/sdk.html#redbrick.RBOrganization.archive_project) / [org.unarchive\_project()](https://sdk.redbrickai.com/sdk.html#redbrick.RBOrganization.unarchive_project) to manage soft deletion.
* [org.delete\_project()](https://sdk.redbrickai.com/sdk.html#redbrick.RBOrganization.delete_project) now performs a full hard delete operation.

**v2.24.1**

May 1, 2025

**Changed:**

* Fix license check with tools like liccheck

**New Contributors**

* @marcus-wirtz-snkeos made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/214](https://github.com/redbrick-ai/redbrick-sdk/pull/214)

**v2.24.0**

Apr 29, 2025

* AltaDB Datasets

**v2.23.0**

Apr 16, 2025

* Performance upgrade for semantic and binary mask exports

**v2.22.0**

Mar 28, 2025

**Requires RedBrick: v1.4.0+**

**Added**

* [OrgMember.is\_active: bool](https://sdk.redbrickai.com/sdk.html#redbrick.OrgMember)
* [Organization.Team.enable\_members(member\_ids: List\[str\]) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.enable_members)
* [Organization.Team.disable\_members(member\_ids: List\[str\]) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.disable_members)
  **Updated**
* [Organization.Team.list\_members(active: bool = True) -> List\[OrgMember\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.list_members)
* [Workspace.update\_datapoint\_attributes(dp\_id: str, attributes: Dict) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace.update_datapoint_attributes)
* [StorageMethod.AltaDB](https://sdk.redbrickai.com/sdk.html#redbrick.StorageMethod.AltaDB) is now a RedBrick integrated storage method
  **Removed**
* Organization.Team.remove\_members(member\_ids: List\[str]) -> None

**v2.21.8**

Mar 14, 2025

* Use default series names in file paths

**v2.21.7**

Mar 14, 2025

* Add storageId to task list and export

**v2.21.6**

Mar 4, 2025

* Fix MHD segmentation direction

**v2.21.5**

Feb 27, 2025

* Add labels export deserialization

**v2.21.4**

Feb 27, 2025

* org.team.remove\_members

**v2.21.3**

Feb 26, 2025

* Support for multiple assignees

**v2.21.2**

Feb 26, 2025

* Fix org.team.list\_invites()

**v2.21.1**

Feb 26, 2025

**v2.21.0**

Feb 18, 2025

**Requires RedBrick: v1.3.0+**
**[Organization](https://sdk.redbrickai.com/sdk.html#redbrick.RBOrganization)**

* **[team](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team)**
* [get\_member(member\_id: str) -> OrgMember](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.get_member)
* [list\_members() -> List\[OrgMember\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.list_members)
* [remove\_member(member\_id: str) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.remove_member)
* [list\_invites() -> List\[OrgInvite\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.list_invites)
* [invite\_user(invitation: OrgInvite) -> OrgInvite](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.invite_user)
* [revoke\_invitation(invitation: OrgInvite) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Team.revoke_invitation)
* **[storage](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage)**
* [get\_storage(storage\_id: str) -> StorageProvider](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.get_storage)
* [list\_storages() -> List\[StorageProvider\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.list_storages)
* [create\_storage(storage: StorageProvider) -> StorageProvider](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.create_storage)
* [update\_storage(storage\_id: str, details: StorageProvider.Details) -> StorageProvider](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.update_storage)
* [delete\_storage(storage\_id: str) -> bool](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.delete_storage)
* [verify\_storage(storage\_id: str, path: str) -> bool](https://sdk.redbrickai.com/sdk.html#redbrick.common.storage.Storage.verify_storage)
  **[Workspace](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace)**
* [create\_datapoints(storage\_id: str, points: List\[InputTask\], concurrency: int = 50) -> List\[Dict\]](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace.create_datapoints)
* [delete\_datapoints(dp\_ids: List\[str\], concurrency: int = 50) -> bool](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace.delete_datapoints)
* [update\_datapoints\_metadata(storage\_id: str, points: List\[Dict\]) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace.update_datapoints_metadata)
* [add\_datapoints\_to\_projects(project\_ids: List\[str\], dp\_ids: List\[str\], is\_ground\_truth: bool = False) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.RBWorkspace.add_datapoints_to_projects)
  **[Project](https://sdk.redbrickai.com/sdk.html#redbrick.RBProject)**
* **[workforce](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce)**
* [get\_member(member\_id: str) -> ProjectMember](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.get_member)
* [list\_members() -> List\[ProjectMember\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.list_members)
* [add\_members(members: List\[ProjectMember\]) -> List\[ProjectMember\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.add_members)
* [update\_members(members: List\[ProjectMember\]) -> List\[ProjectMember\]](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.update_members)
* [remove\_members(member\_ids: List\[str\]) -> None](https://sdk.redbrickai.com/sdk.html#redbrick.common.member.Workforce.remove_members)

**v2.20.5**

Jan 24, 2025

* Unified control for client session

**v2.20.4**

Jan 17, 2025

* Update consensus stage names

**v2.20.3**

Jan 10, 2025

* Add status in task export

**v2.20.2**

Jan 10, 2025

* Compress MHD segmentations

**v2.20.1**

Dec 23, 2024

**Added**

* [project.upload.send\_tasks\_to\_stage](https://sdk.redbrickai.com/sdk.html#redbrick.upload.Upload.send_tasks_to_stage)

**v2.20.0**

Dec 13, 2024

**Compatible with redbrick\@v1.2.0+**

* **Dropped Python 3.8 support** - [https://endoflife.date/python](https://endoflife.date/python)
* Datapoint classification: [https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.OutputTask.datapointClassification](https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.OutputTask.datapointClassification)
* MHD segmentations:
* Upload: [https://sdk.redbrickai.com/sdk.html#redbrick.upload.Upload.create\_datapoints](https://sdk.redbrickai.com/sdk.html#redbrick.upload.Upload.create_datapoints) & [https://sdk.redbrickai.com/sdk.html#redbrick.upload.Upload.update\_tasks\_labels](https://sdk.redbrickai.com/sdk.html#redbrick.upload.Upload.update_tasks_labels)
* Label: [https://sdk.redbrickai.com/sdk.html#redbrick.labeling.Labeling.put\_tasks](https://sdk.redbrickai.com/sdk.html#redbrick.labeling.Labeling.put_tasks)
* Export: [https://sdk.redbrickai.com/sdk.html#redbrick.export.Export.export\_tasks](https://sdk.redbrickai.com/sdk.html#redbrick.export.Export.export_tasks)
* Also added `prune_segmentations` support in Label & Upload labels methods, which does a two-way pruning of uncommon instances in segmentMap and segmentations

**Changed:**

* Upload attributes along with the datapoints
* Improve processing time of process\_nifti\_upload
* Fix bug in process\_nifti\_upload
* fix input types
* (v2.19.8) Fixes #197
* Make pydicom dep more flexible
* Download AltaDB series while exporting a task
* export seriesFrameIndex only when it has a non null value
* Improve speed of binary mask exports

**v2.19.8**

Nov 16, 2024

Fixes:

* [Incorrect segmentation masks uploaded when multiple series and overlaps are present #197](https://github.com/redbrick-ai/redbrick-sdk/issues/197) proposed by @anaoum

**v2.19.7**

Nov 13, 2024

* Fix workspace datapoint update query

**v2.19.6**

Nov 9, 2024

* Fix bug in segmentations upload

**v2.19.5**

Nov 9, 2024

**Changed:**

* Improve processing time of process\_nifti\_upload

**New Contributors**

* 🎉  @anaoum made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/192](https://github.com/redbrick-ai/redbrick-sdk/pull/192)

**v2.19.4**

Oct 30, 2024

* Fixes segmentation uploads to azure containers.
* Fixes length measurement labels exports.
* Adds more model sub types to CT Segmentator.

**v2.19.3**

Oct 14, 2024

**Changed:**

* Add datapoint classification to export
* fix(redbrick/utils/rb\_dicom\_utils.py): Fix datapoint exports using SDK

**v2.19.2**

Oct 9, 2024

* fix docker build dependencies

**v2.19.1**

Oct 9, 2024

* Python 3.13

**v2.19.0**

Oct 9, 2024

* Add python 3.13 support

**v2.18.11**

Sep 28, 2024

* allow mixed formats task updates

**v2.18.10**

Sep 28, 2024

* Patch an edge case in export of half-split data

**v2.18.9**

Sep 27, 2024

* remove "test" from updated series name

**v2.18.8**

Sep 27, 2024

* invalidate series items during update

**v2.18.7**

Sep 26, 2024

**Changed:**

* remove gzipping on upload
* Fields in label computed on label editor to be optional

**v2.18.6**

Sep 24, 2024

**Changed:**

* SDK changes for read only labels
* Update metadata along for tasks

**v2.18.5**

Sep 12, 2024

* Fix consensus index issue

**v2.18.4**

Sep 6, 2024

**Changed:**

* add segmentMap\[instanceId].overlappingGroups in export ([docs](https://sdk.redbrickai.com/formats/annotations.html#redbrick.types.task.CommonLabelProps.overlappingGroups))

**v2.18.3**

Sep 3, 2024

**Changed:**

* Set Consensus Settings during or after project creation

**v2.18.2**

Aug 29, 2024

* [https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.Series.transforms](https://sdk.redbrickai.com/formats/index.html#redbrick.types.task.Series.transforms)
* [https://sdk.redbrickai.com/formats/annotations.html#redbrick.types.task.CommonLabelProps.group](https://sdk.redbrickai.com/formats/annotations.html#redbrick.types.task.CommonLabelProps.group)

(requires RedBrick\@v1.1.2)

**v2.18.1**

Aug 9, 2024

**Added**

* [redbrick.get\_org\_from\_profile(\[profile\])](https://sdk.redbrickai.com/sdk.html#redbrick.get_org_from_profile)
* [redbrick.get\_project\_from\_profile(\[project\_id\], \[profile\])](https://sdk.redbrickai.com/sdk.html#redbrick.get_project_from_profile)
* [org.delete\_project(project\_id)](https://sdk.redbrickai.com/sdk.html#redbrick.organization.RBOrganization.delete_project)
* [org.delete\_taxonomy(\[name\], \[tax\_id\])](https://sdk.redbrickai.com/sdk.html#redbrick.organization.RBOrganization.delete_taxonomy)

**v2.18.0**

Jul 4, 2024

**Changed:**

* project.settings.task\_duplication
* SDK Support for Local and External HeatMaps

**New Contributors**

* @AvanishCodes made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/178](https://github.com/redbrick-ai/redbrick-sdk/pull/178)

**2.17.7b1**

Jun 13, 2024

**Changed:**

* SDK Support for Local and External HeatMaps

**New Contributors**

* @AvanishCodes made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/178](https://github.com/redbrick-ai/redbrick-sdk/pull/178)

**v2.17.6**

May 27, 2024

* [handle overlapping segmentations in rt-struct exports](https://github.com/redbrick-ai/redbrick-sdk/commit/674ffe20682e29a2caa16f04f6df56a55b44dd19)
* [use asyncio.run instead of asyncio.get\_event\_loop](https://github.com/redbrick-ai/redbrick-sdk/commit/be955f67d18b171330a11dd66ad3a7695b0f5745)

**v2.17.5**

May 23, 2024

Support for custom application [logging level](https://docs.python.org/3/library/logging.html#logging-levels) using environment variable `REDBRICK_SDK_LOG_LEVEL` or through `redbrick.config.log_level` attribute.

For example, in order to suppress all INFO and WARNING messages and only log for ERROR:

* `REDBRICK_SDK_LOG_LEVEL=40 redbrick clone ...`
* ```
  ```

\$ python

> > > import redbrick
> > > redbrick.config.log\_level = 40
> > > project = redbrick.get\_project(...)

**v2.17.4**

May 21, 2024

Update deps

**v2.17.3**

Apr 24, 2024

* Fix consensus segmentation export with empty base

**v2.17.2**

Apr 11, 2024

* Boost CT Segmentator

**v2.17.1**

Apr 9, 2024

* Minor patch

**v2.17.0**

Apr 9, 2024

**Changed:**

* Now available as a Docker image - [https://hub.docker.com/r/redbrickai/redbrick-sdk](https://hub.docker.com/r/redbrickai/redbrick-sdk)
* Project creation improvements
* Project Webhooks
* Update task labels at any point in pipeline
* Workspaces support
* PNG binary mask upload

**v2.16.12**

Mar 26, 2024

* Export only final labels

**v2.16.11**

Mar 26, 2024

* Improve task export performance

**v2.16.10**

Feb 22, 2024

* Trigger readthedocs build

**v2.16.9**

Feb 22, 2024

* Docs improvements

**v2.16.8**

Feb 21, 2024

* More docs improvements

**v2.16.7**

Feb 20, 2024

* Update docs links

**v2.16.6**

Feb 20, 2024

* Fix docs build

**v2.16.5**

Feb 20, 2024

* [update docstrings and readthedocs for formats](https://github.com/redbrick-ai/redbrick-sdk/commit/f2bedc8918ddd24398a8d0f042bf3123d116375c) by @shivam124081 🎉

**v2.16.4**

Feb 15, 2024

* Add taxonomy types

**v2.16.3**

Feb 8, 2024

* Fix label export index

**v2.16.2**

Feb 8, 2024

* Global redbrick.config

**v2.16.1**

Feb 5, 2024

* Add types for upload and export

**v2.16.0**

Jan 24, 2024

* Export improvements

**v2.15.5**

Jan 19, 2024

* Improved support for RT-Struct

**v2.15.4**

Jan 18, 2024

* context.config.verify\_ssl for upload/download files

**v2.15.3**

Jan 18, 2024

* Add context.config

**v2.15.2**

Jan 18, 2024

* Check global segmentations during upload

**v2.15.1**

Jan 12, 2024

* TASK\_CORRECTED event

**v2.15.0**

Jan 10, 2024

* Advanced project creation
* Improved labeling metrics
* Import DICOM RT-Struct segmentations
* Use `rt_struct=True` in `project.upload.create_datapoints()` OR `--rt-struct` in `redbrick upload`
* The keys of `segmentMap` will be ROI names instead of instance ids -> `{"Segment_1": "category"}`

**v2.14.2**

Dec 20, 2023

* Update Dependencies

**v2.14.1**

Dec 19, 2023

**Changed:**

* Chima/maj 2537 unit tests of sdkcli

**v2.14.0**

Dec 6, 2023

* updated list\_tasks `assignee` format

```ts theme={null}
[{
    "taskId": str,
    "name": str,
    "createdAt": str,
    "updatedAt": str,
    "currentStageName": str,
    "createdBy"?: {"userId": str, "email": str},
    "priority"?: float([0, 1]),
    "metaData"?: dict,
    "series"?: [{"name"?: str, "metaData"?: dict}],
    "assignees"?: [{
        "user": str,
        "status": str,
        "assignedAt": datetime,
        "lastSavedAt"?: datetime,
        "completedAt"?: datetime,
        "timeSpentMs"?: float,
    }]
}]
```

* uploaded dicom files are stored in raw format

**v2.13.23**

Dec 5, 2023

[https://docs.redbrickai.com/python-sdk/format-reference#taxonomy-object](https://docs.redbrickai.com/python-sdk/format-reference#taxonomy-object)

**v2.13.22**

Dec 5, 2023

* Add .dicom support

**v2.13.21**

Nov 29, 2023

**Changed:**

* Feat/add tests
* Addresses #173

**New Contributors**

* @cAtaman made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/170](https://github.com/redbrick-ai/redbrick-sdk/pull/170)

**v2.13.20**

Nov 15, 2023

* Docs updates

**v2.13.19**

Nov 3, 2023

* Bug fix (project clone)

**v2.13.18**

Nov 3, 2023

* Logging improvements

**v2.13.17**

Oct 26, 2023

* Add top-level series to consensus tasks

**v2.13.16**

Oct 20, 2023

**CLI (redbrick export)**

* `--without-masks` : Exports only tasks JSON without downloading any segmentation masks.
  Note: This is not recommended for tasks with overlapping labels.
* `--semantic` : Whether to export all segmentations as semantic\_mask.
  This will create one segmentation file per class.
  If this is set to True and a task has multiple instances per class,
  then attributes belonging to each instance will not be exported.
* `--binary-mask` : Whether to export all segmentations as binary masks.
  This will create one segmentation file per instance.
* `--single-mask`: Whether to export all segmentations in a single file.
  Binary mask will be considered if both binary\_mask and single\_mask are set.

**SDK (project.export.export\_tasks)**

* `without_masks: bool = False` : Same as `--without-masks`
* `without_json: bool = False` : Doesn't create the tasks JSON file.
* `semantic_mask: bool = False` : Same as `--semantic`
* `binary_mask: Optional[bool] = None` : True is same as `--binary-mask` and False is same as `--single-mask`

**v2.13.16b2**

Oct 17, 2023

* Fix non-binary semantic class merging

**v2.13.16b1**

Oct 16, 2023

* SDK: [https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.export.Export.export\_tasks](https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.export.Export.export_tasks)

```
semantic_mask (bool = False) – Whether to export all segmentations as semantic_mask. This will create one instance per class. If this is set to True and a task has multiple instances per class, then attributes belonging to each instance will not be exported.

binary_mask (Optional[bool] = None) – Whether to export all segmentations as binary masks. This will create one segmentation file per instance. If this is set to None and a task has overlapping labels, then binary_mask option will be True for that particular task.

If both semantic_mask and binary_mask options are True, then one binary mask will be generated per class.
```

* CLI: `redbrick export`

![image](https://github.com/redbrick-ai/redbrick-sdk/assets/59230352/cdb0e5c9-6a78-4775-b68a-920cb539c9fc)

**v2.13.15**

Oct 9, 2023

* Fix typo

**v2.13.14**

Oct 9, 2023

Added `RBProject.settings` member to manage project-level settings ([https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.settings.Settings](https://redbrick-sdk.readthedocs.io/en/stable/sdk.html#redbrick.settings.Settings))

**v2.13.13**

Oct 4, 2023

* Export cuboid labels

**v2.13.12**

Sep 28, 2023

**Fixes**

* Export groundtruth (c1431b9b519322c7aa0c1ff84429c987fb477c0a)
* Export consensus items (ea631b108c01370e2a78cb642d8cae954c7d19fc)
* Create project taxonomy (ae113dd77f2991e24af0e53179f31ceff9477185)

**v2.13.11**

Sep 20, 2023

* Fix taxonomy format docs link

**v2.13.10**

Sep 18, 2023

* Fix taxonomy format docs link

**v2.13.9**

Sep 13, 2023

* Fix export series mapping

**v2.13.8**

Aug 22, 2023

* Add sec. user ids to consensus export

**v2.13.7**

Aug 18, 2023

* Fix 'redbrick report'

**v2.13.6**

Aug 18, 2023

**Fixes:**

* Internal server error on Export.get\_active\_time when task\_id provided (#166)

**v2.13.5**

Aug 15, 2023

**Fixes:**

* Unable to programatically determine the outcome of a create/update taxonomy operation (#165)

**v2.13.4**

Aug 11, 2023

* Type distribution

**v2.13.3**

Aug 11, 2023

**Added**
[PEP-561](https://peps.python.org/pep-0561/) type distribution (#164)
**Removed**

* Implicit version checking (#163)

For explicit version check:

* SDK: `redbrick.version()`
* CLI: `redbrick -v`

**v2.13.2**

Aug 8, 2023

* Fix segmentation export re-map issue

**v2.13.1**

Aug 2, 2023

* Import NRRD images

**v2.13.0**

Jul 28, 2023

**Added:**

* Support to export segmentations in DICOM RT-Struct format using `--rt-struct` in redbrick export / `rt_struct: bool` in Export.export\_tasks
* Export.get\_active\_time

```
def get_active_time(
    self,
    *,
    stage_name: str,
    task_id: Optional[str] = None,
    concurrency: int = 100,
) -> Iterator[Dict]:
    """Get active time spent on tasks for labeling/reviewing.
    Parameters
    -----------
    stage_name: str
        Stage for which to return the time info.

    task_id: Optional[str] = None
        If set, will return info for the given task in the given stage.

    concurrency: int = 100
        Request batch size.

    Returns
    -----------
    Iterator[Dict]
        >>> [{
            "orgId": string,
            "projectId": string,
            "stageName": string,
            "taskId": string,
            "completedBy": string,
            "timeSpent": number,  # In milliseconds
            "completedAt": datetime,
            "cycle": number  # Task cycle
        }]
    """
```

* Export.list\_tasks added param

```
completed_at: Optional[Tuple[Optional[float], Optional[float]]] = None
If present, will return tasks that were completed in the given time range.
The tuple contains the `from` and `to` timestamps respectively.
```

**Changed:**

* Renamed RBOrganization.create\_taxonomy\_new -> RBOrganization.create\_taxonomy
* Export.export\_tasks now returns Iterator\[Dict]
* Export.list\_tasks now returns Iterator\[Dict]
* Export.get\_task\_events now returns Iterator\[Dict]
* Unified all `user` entities across exports to email of user.

**Removed:**

* Export.search\_tasks
* Export.redbrick\_nifti
* Labeling.get\_tasks
* Labeling.get\_task\_queue
* Labeling.assign\_tasks (removed current\_user param)

**Changed:**

* Support DICOM RT-Struct segmentations export
* Export enhancements
* fix super truth export

**v2.13.0a2**

Jul 25, 2023

**Changed:**

* fix super truth export

**v2.13.0a1**

Jul 18, 2023

**Added:**

* Support to export segmentations in DICOM RT-Struct format using `--rt-struct` in redbrick export / `rt_struct: bool` in Export.export\_tasks
* Export.get\_active\_time

```
def get_active_time(
    self,
    *,
    stage_name: str,
    task_id: Optional[str] = None,
    concurrency: int = 100,
) -> Iterator[Dict]:
    """Get active time spent on tasks for labeling/reviewing.
    Parameters
    -----------
    stage_name: str
        Stage for which to return the time info.

    task_id: Optional[str] = None
        If set, will return info for the given task in the given stage.

    concurrency: int = 100
        Request batch size.

    Returns
    -----------
    Iterator[Dict]
        >>> [{
            "orgId": string,
            "projectId": string,
            "stageName": string,
            "taskId": string,
            "completedBy": string,
            "timeSpent": number,  # In milliseconds
            "completedAt": datetime,
            "cycle": number  # Task cycle
        }]
    """
```

* Export.list\_tasks added param

```
completed_at: Optional[Tuple[Optional[float], Optional[float]]] = None
If present, will return tasks that were completed in the given time range.
The tuple contains the `from` and `to` timestamps respectively.
```

**Changed:**

* Renamed RBOrganization.create\_taxonomy\_new -> RBOrganization.create\_taxonomy
* Export.export\_tasks now returns Iterator\[Dict]
* Export.list\_tasks now returns Iterator\[Dict]
* Export.get\_task\_events now returns Iterator\[Dict]
* Unified all `user` entities across exports to email of user.

**Removed:**

* Export.search\_tasks
* Export.redbrick\_nifti
* Labeling.get\_tasks
* Labeling.get\_task\_queue
* Labeling.assign\_tasks (removed current\_user param)

**v2.12.10a1**

Jul 14, 2023

**Changed:**

* Support DICOM RT-Struct segmentations export

**v2.12.9**

Jul 12, 2023

**Changed:**

* Fix image export for consensus tasks

**v2.12.8**

Jul 5, 2023

**Changed:**

* (v2.12.8) - Add superTruth in consensus export

**v2.12.7**

Jul 3, 2023

**Changed:**

* (v2.12.7) - Add extra info in Export.list\_tasks

```
[{
    "taskId": str,
    "name": str,
    "createdAt": str,
    "currentStageName": str,
    "createdBy"?: {"userId": str, "email": str},
    "priority"?: float([0, 1]),
    "metaData"?: dict,
    "series"?: [{"name"?: str, "metaData"?: dict}],
    "assignees"?: [{"userId": str, "email": str}]
}]
```

**v2.12.6**

Jun 26, 2023

**Changed:**

* Upload.update\_tasks\_priority (v2.12.6)
* release v2.12.6

**v2.12.5**

Jun 8, 2023

**Changed:**

* Fix readthedocs (v2.12.5)

**v2.12.4**

Jun 8, 2023

**Changed:**

* Fix readthedocs (v2.12.4)

**v2.12.3**

Jun 8, 2023

**Changed:**

* Fix GH Actions (v2.12.3)

**v2.12.2**

Jun 8, 2023

**Changed:**

* Fix and update docs (v2.12.2)

**v2.12.1**

Jun 8, 2023

**Changed:**

* Update docs - Export.list\_tasks

**v2.12.0**

May 31, 2023

**Changed:**

* Nested taxonomy and hints
* Labeling.update\_tasks\_priority + Series level meta data
* Misc improvements

**v2.12.0a1**

May 24, 2023

**Changed:**

* Labeling.update\_tasks\_priority + Series level meta data

**v2.12.0b1**

May 18, 2023

**Changed:**

* Nested taxonomy and hints

**v2.11.2**

May 2, 2023

**Changed:**

* Extensionless dicom files upload
* Update docs for enums
* Restrict project creation to use Taxonomy V2

**v2.11.1**

Apr 18, 2023

**Changed:**

* v2.11.1 - Fix project creation

**v2.11.0**

Apr 11, 2023

**Changed:**

* Workspace, tasks filter and major improvements
* alpha release
* list\_tasks fix
* list\_tasks fix
* release v2.11.0

**v2.11.0a2**

Apr 6, 2023

**Changed:**

* list\_tasks fix

**2.11.0a3**

Apr 6, 2023

**Changed:**

* list\_tasks fix

**v2.11.0a1**

Apr 5, 2023

**Changed:**

* Workspace, tasks filter and major improvements
* alpha release

**v2.10.4**

Mar 20, 2023

**Changed:**

* improve handling file upload/download concurrency

**v2.10.3**

Mar 13, 2023

**Changed:**

* json handle dcm upload without extension

**v2.10.2**

Mar 2, 2023

**Changed:**

* Optimize non-segmentation task export

**v2.10.1**

Feb 23, 2023

**Changed:**

* v2.10.1 update packages

**v2.10.0**

Feb 21, 2023

**Added**

* Allow updating task items
* Support put labeling tasks with existing labels
* Add from\_timestamp in task report export
* Export task report for all labeling cycles
  **Fixed**
* Memory management in nifti import/export processing
* Fast export for single task
* Export frameindex for DCM videos
  **Deprecated**
* Discontinue to\_timestamp in task export

**v2.9.1**

Feb 13, 2023

**Changed:**

* v2.9.1 - Instance Classification

**v2.9.0**

Jan 6, 2023

**Changed:**

* Support Python 3.10 and 3.11

**v2.8.0**

Jan 5, 2023

**Changed:**

* Labeling interface changes

***

**Added**

1. `Labeling.assign_tasks`

* Assign multiple tasks at once in the stage that they are currently in
  **Changed:**

1. `Labeling.put_tasks`

* All arguments except `stage_name` and `tasks` are keyword-only.
* `finalize` boolean indicates whether to submit or save the task as draft in the label stage
* `review_result` boolean indicates whether to accept or reject all tasks in the review stage

2. `Labeling.get_task_queue`

* Get tasks in users' queue based on their email
  **Removed**

1. `Labeling.assign_task`

* In favour of `Labeling.assign_tasks`

**v2.7.2**

Dec 29, 2022

**Changed:**

* Update readthedocs theme, and docstrings.

**v2.7.1**

Dec 21, 2022

**Changed:**

* add ellipse and measurement stats to export

**v2.7.0**

Dec 13, 2022

**Changed:**

* CLI export images '--dicom-to-nifti'
* change task events report userId to email

**v2.6.1**

Nov 26, 2022

**Changed:**

* Remove rasterio dependency

**v2.6.0**

Nov 18, 2022

**Changed:**

* Generate task events report + Deprecate legacy export and import
* Add `concurrency` in upload
* better handle segmentation files with volume index without a label instance

***

* redbrick\_nifti :: return-type labels
* update attribute format docs
* report command to fetch task events report
* deprecate legacy projects data import/export
* Add option for concurrency (Default: 50) in data upload
* Improve error feedback
* Compress all request and response data
* single series segmentation labels

**v2.5.0**

Nov 2, 2022

**Changed:**

* RB-1175 : Deprecate active learning
* Task Pre-Assignment
* fix nifti mask color for taxonomy v2

**v2.4.0**

Oct 20, 2022

**Changed:**

* project members list
* sdk support for new tax labels

**v2.3.0**

Oct 5, 2022

**Changed:**

* NIfTI png export, New Taxonomy

**v2.2.1**

Oct 3, 2022

* Properly bump version

**v2.1.1**

Oct 3, 2022

**Changed:**

* Improvements to task import/export
* fix segmentation input type

**v2.1.0**

Sep 13, 2022

**Changed:**

* Fix export series index issue + Disable creating legacy project types

**v2.0.0**

Aug 22, 2022

**Changed:**

* Drop Python3.6 support
* redesign task format
* Consensus Tasks

**v2.0.0b1**

Aug 8, 2022

**Changed:**

* Drop Python3.6 support
* redesign task format

**v1.5.0**

Jun 28, 2022

**Changed:**

* simplify segmentation upload
* deleteTasks and new task object format

**v1.4.0b1**

Jun 21, 2022

**Changed:**

* simplify segmentation upload

**v1.3.2**

Jun 10, 2022

**Changed:**

* typo fix and support local paths when labelsPath is a list

**v1.3.1**

May 25, 2022

**Changed:**

* fix no labels export issue

**v1.3.0**

May 24, 2022

**Changed:**

* nifti - import/export overlapping labels

**v1.2.2**

Apr 26, 2022

**Changed:**

* fix readthedocs import issue and build

**v1.2.1**

Apr 26, 2022

**v1.2.0**

Apr 25, 2022

**Changed:**

* support label from external storage on upload

**v1.1.11**

Apr 1, 2022

**Changed:**

* set label storage

**v1.1.10**

Mar 31, 2022

**Changed:**

* active learning + mask taxonomy colour + other improvements
* upgrade pillow==9.0.1 for python > 3.6
* cli export by stage

**v1.1.9**

Mar 18, 2022

**Changed:**

* fix data paginator iteration

**v1.1.8**

Mar 17, 2022

**Changed:**

* add ima to supported dicom extensions
* org.create\_taxonomy + .nii, .nii.gz DICOM image upload

**v1.1.7**

Mar 5, 2022

**Changed:**

* task labeling time information per org

**v1.1.6**

Feb 26, 2022

**Changed:**

* add labeling methods to docs

**v1.1.5**

Feb 26, 2022

**Changed:**

* resurrect notebook event loop handler

**v1.1.4**

Feb 23, 2022

**Changed:**

* add methods to docs

**v1.1.3**

Feb 23, 2022

**Changed:**

* add task search and taxonomies methods

**v1.1.2**

Feb 16, 2022

**Changed:**

* sdk dicom upload with labels
* support custom storage id in upload + lint fixes
* Bump pillow from 8.3.2 to 9.0.0
* move task to start api
* pillow to 8.4.0 for python 3.6 support
* minor changes
* fix groundtruth tasks export
* export input labels

**v1.1.1**

Feb 4, 2022

**Changed:**

* skip task in export for all errors
* slicer: first draft
* remove slicer
* fix mask labels data type

**v1.1.0b1**

Jan 27, 2022

**Changed:**

* skip task in export for all errors
* slicer: first draft

**v1.0.0**

Jan 7, 2022

**Changed:**

* add cli export test
* segmentation export
* redbrick\_nifti export
* workflow tests
* prep v1
* error handling and improvements
* CLI NIfTI export
* better file path and naming sync
* CLI upload
* polishing upload

**v0.7.0**

Dec 15, 2021

**Changed:**

* add exists\_okay check to project creation
* automatically attach nest\_asyncio when there is a running event loop
* make url an optional arg in main methods
* get task id for uploads
* CLI - I
* active learning info get only unassigned tasks
* cli export caching
* fix:: check dpId existence in cached dimensions
* minor improvement for cache validity
* Hotfix/segmentation export

**0.6.17**

Dec 10, 2021

Bug fix for segmentation export.

**0.6.16b4**

Dec 3, 2021

Speed up to direct upload with async io.

**0.6.16b2**

Dec 3, 2021

Added support for image and video direct upload.

**0.6.15**

Dec 1, 2021

* fix client error management

**0.6.14**

Dec 1, 2021

**Changed:**

* use latestTaskData and labelsData for export

**New Contributors**

* @pritamrungta made their first contribution in [https://github.com/redbrick-ai/redbrick-sdk/pull/50](https://github.com/redbrick-ai/redbrick-sdk/pull/50)

**0.6.13**

Nov 25, 2021

* New method for checking processing state of training.

**0.6.12**

Nov 19, 2021

* bug fix: upload of segmentation masks with single class fixed.

**0.6.11b1**

Nov 19, 2021

* Connection request limiting and session re-use

**0.6.10**

Nov 18, 2021

* Allow get\_learning\_info call after start\_processing

**0.6.9**

Nov 16, 2021

Use environment markers in setup.py.

**0.6.8**

Nov 16, 2021

* Version bump for setup.py modifications.

**0.6.7**

Nov 16, 2021

* Rasterio has been removed as a dependency for windows machines. To upload/export png masks, windows users will have to manually install rasterio.
* Create datapoint with masks interface has been updated.

**0.6.6**

Nov 15, 2021

* datapoint.json file now uses task\_id instead of dp\_id.

**0.6.5.2**

Nov 12, 2021

0.6.5 - add is\_ground\_truth flag to upload

**0.6.4**

Nov 11, 2021

* bug fix: correctly handle 0 label tasks in segmentation export.

**0.6.3**

Nov 11, 2021

* Variable naming changes.

**0.6.2**

Nov 11, 2021

* Bug fix: If RedBrick AI polygon segmentation holes/regions have only 2 vertices, ignore for PNG mask export.
* Feature: Fill holes on segmentation mask PNG export.

**0.6.1**

Nov 5, 2021

**Changed:**

* Active learning upgrade
* Active learning v2

**0.5.12**

Nov 2, 2021

Include datapoint map in png export

**0.5.11**

Nov 2, 2021

Updating matplotlib package.

**0.5.10**

Nov 2, 2021

Support for PNG export format for segmentation projects.

**0.5.9**

Oct 21, 2021

* minor bug fix for coco bbox area calculation

**0.5.8**

Oct 14, 2021

* Handle incorrect api key error

**0.5.7**

Oct 8, 2021

**0.5.6b**

Oct 8, 2021

**0.5.5**

Oct 1, 2021

Active learning create project

**0.5.4**

Sep 29, 2021

Assign task to labeler

**0.5.3**

Sep 27, 2021

Single task export

**0.5.2b1**

Sep 15, 2021

ocr value added to query

**0.5.1**

Aug 11, 2021

**0.5.0**

Aug 5, 2021

**0.5.0b**

Aug 5, 2021

**0.4.13**

Jul 22, 2021

**0.4.12**

Jul 22, 2021

**0.4.11**

Jul 21, 2021

**0.4.9b**

Jul 21, 2021

**0.4.9**

Jul 21, 2021

**0.4.8**

Jul 21, 2021

**0.4.7**

Jul 17, 2021

Add coco format

**0.4.6**

Jul 15, 2021

**0.4.5**

Jul 15, 2021

**0.4.4**

Jul 14, 2021

Small bug fixes to export

**0.4.3**

Jul 12, 2021

**0.4.2**

Jul 12, 2021

**0.4.1**

Jul 9, 2021

**0.4.0**

Jul 9, 2021

**0.2.15a**

Feb 3, 2021
