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
On this page
Latest version 2.5.0, released November 14, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
rt-utils 2.0.0 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 - 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 - 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 - Signature changed
rt_utils.ds_helper.ROIData.mask
Was mask: str; now mask: np.ndarray. pypi.org - 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 - 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.