---
title: "rt-utils 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each rt-utils release removed, renamed or changed: 8 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/rt-utils
last_updated: 2026-12-04
---

# rt-utils breaking changes

rt-utils 2.0.0 (November 11, 2026) is its newest release with breaking changes, 8 of them. The first: Masks are rasterised by voxel centre when read back in rt-utils 2.0.0. Every breaking API change we have recorded in rt-utils on PyPI: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.5.0`, released November 14, 2026. [Source repository](https://github.com/qurit/rt-utils)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## rt-utils 2.0.0 breaking changes

rt-utils 2.0.0, released November 11, 2026: 8 breaking changes.

- **Behavior changed**  

A voxel is now set when its centre lies inside a contour, so masks read from contours, including those written by other software, can differ from 1.x results. [github.com](https://github.com/qurit/rt-utils/releases/tag/v2.0.0)
- **Default changed** `contour_mode`  

Contours are now traced along voxel edges by default instead of through voxel centres, so written contours differ from 1.x. To reproduce the previous contours, pass contour_mode="voxel_center" to add_roi. [github.com](https://github.com/qurit/rt-utils/releases/tag/v2.0.0)
- **Signature changed** `rt_utils.ds_helper.ROIData.__init__`  

Was def \_\_init\_\_(self, mask: str, color: Union\[str, List\[int\]\], number: int, name: str, frame_of_reference_uid: int, description: str = '', use_pin_hole: bool = False, approximate_contours: bool = True, roi_generation_algorithm: Union\[str... [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)
- **Signature changed** `rt_utils.ds_helper.ROIData.mask`  

Was mask: str; now mask: np.ndarray. [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)
- **Signature changed** `rt_utils.image_helper.load_sorted_image_series`  

Was def load_sorted_image_series(dicom_series_path: str); now def load_sorted_image_series(dicom_series: Union\[str, os.PathLike, List\[Dataset\]\]) -> List\[Dataset\]. [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)
- **Signature changed** `rt_utils.RTStruct.add_roi`  

Was def add_roi(self, mask: np.ndarray, color: Union\[str, List\[int\]\] = None, name: str = None, description: str = '', use_pin_hole: bool = False, approximate_contours: bool = True, roi_generation_algorithm: Union\[str, int\] = 0... [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)
- **Signature changed** `rt_utils.RTStructBuilder.create_from`  

Was @staticmethod def create_from(dicom_series_path: str, rt_struct_path: str, warn_only: bool = False) -> RTStruct; now @staticmethod def create_from(dicom_series_path: Union\[str, os.PathLike, List\[Dataset\]\], rt_struct_path: Union\[str... [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)
- **Signature changed** `rt_utils.RTStructBuilder.create_new`  

Was @staticmethod def create_new(dicom_series_path: str) -> RTStruct; now @staticmethod def create_new(dicom_series_path: Union\[str, os.PathLike, List\[Dataset\]\]) -> RTStruct. [pypi.org](https://pypi.org/project/rt-utils/2.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
