supervision breaking changes
Updated December 4, 2026
On this page
Latest version 0.32.3, released November 26, 2026. Source repository
Its 0.30.0 release requires Python 3.10 or later. Python end of life dates.
supervision 0.32.0 breaking changes
- Removed
supervision.annotators.utils.validate_labels
supervision.annotators.utils.validate_labels was removed in supervision 0.32.0 pypi.org - Removed
supervision.detection.core.detection_iou
supervision.detection.core.detection_iou was removed in supervision 0.32.0 pypi.org - Removed
supervision.detection.core.merge_inner_detection_object_pair
This helper was deleted after being deprecated since 0.29.0. Merge detections with sv.Detections.merge and with_nmm, passing a confidence value. pypi.org - Removed
supervision.detection.core.merge_inner_detections_objects
This helper was deleted after being deprecated since 0.29.0. To fuse boxes from several models, use sv.box_weighted_box_fusion. pypi.org - Removed
supervision.detection.core.merge_inner_detections_objects_without_iou
This helper was deleted after being deprecated since 0.29.0. Use sv.Detections.merge with with_nmm instead. pypi.org - Removed
supervision.detection.core.validate_fields_both_defined_or_none
supervision.detection.core.validate_fields_both_defined_or_none was removed in supervision 0.32.0 pypi.org - Removed
supervision.detection.vlm.validate_vlm_parameters
supervision.detection.vlm.validate_vlm_parameters was removed in supervision 0.32.0 pypi.org - Removed
supervision.KeyPoints.confidence
The confidence property and the confidence constructor argument were deleted. Pass and read keypoint_confidence instead. pypi.org - Removed
supervision.metrics.detection.validate_input_tensors
supervision.metrics.detection.validate_input_tensors was removed in supervision 0.32.0 pypi.org - Removed
supervision.PercentageBarAnnotator.validate_custom_values
PercentageBarAnnotator.validate_custom_values was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_class_id
supervision.validators.validate_class_id was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_confidence
supervision.validators.validate_confidence was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_data
supervision.validators.validate_data was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_detections_fields
supervision.validators.validate_detections_fields was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_key_point_confidence
supervision.validators.validate_key_point_confidence was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_key_points_fields
supervision.validators.validate_key_points_fields was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_mask
supervision.validators.validate_mask was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_resolution
supervision.validators.validate_resolution was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_tracker_id
supervision.validators.validate_tracker_id was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_xy
supervision.validators.validate_xy was removed in supervision 0.32.0 pypi.org - Removed
supervision.validators.validate_xyxy
supervision.validators.validate_xyxy was removed in supervision 0.32.0 pypi.org - Removed
validate_*
The public validate_* helpers were deleted after being deprecated since 0.29.0. Construct sv.Detections or sv.KeyPoints instead, which validate their fields and raise ValueError on bad input. github.com - Renamed
supervision.key_points.core.warn_deprecated
Use supervision.key_points.annotators.warn_deprecated instead. pypi.org - Behavior changed
sv.JSONSink
Extra data that reuses a built-in detection field name now raises an error instead of silently overwriting the field. Rename the extra data field. github.com - Behavior changed
sv.xyxy_to_xywh
Integer input now returns int64 arrays instead of the previous dtype. Code that depends on the output dtype may need updating. github.com - Default changed
sv.DetectionDataset.from_coco
Relying on the default mask_rasterizer for polygon segmentation now warns. The default will change to pycocotools no earlier than 0.35.0, so pass mask_rasterizer explicitly. github.com - Signature changed
supervision.dataset.core.load_coco_annotations
Was def load_coco_annotations(images_directory_path: str, annotations_path: str, force_masks: bool = False, use_iscrowd: bool = True, show_progress: bool = False) -> tuple[list[str], list[str], dict[str, Detections]]; now def... pypi.org - Signature changed
supervision.dataset.core.load_yolo_annotations
Was def load_yolo_annotations(images_directory_path: str, annotations_directory_path: str, data_yaml_path: str, force_masks: bool = False, is_obb: bool = False, show_progress: bool = False) -> tuple[list[str], list[str], dict[str... pypi.org - Signature changed
supervision.dataset.core.save_dataset_images
Was def save_dataset_images(dataset: DetectionDataset, images_directory_path: str, show_progress: bool = False) -> None; now def save_dataset_images(dataset: DetectionDataset | KeyPointsDataset, images_directory_path: str, show_progress... pypi.org - Signature changed
supervision.dataset.formats.coco.coco_annotations_to_detections
Was def coco_annotations_to_detections(image_annotations: list[CocoDict], resolution_wh: tuple[int, int], with_masks: bool, use_iscrowd: bool = True) -> Detections; now def coco_annotations_to_detections(image_annotations: list[CocoDict]... pypi.org - Signature changed
supervision.dataset.formats.coco.coco_annotations_to_masks
Was def coco_annotations_to_masks(image_annotations: list[CocoDict], resolution_wh: tuple[int, int]) -> npt.NDArray[np.bool_]; now def coco_annotations_to_masks(image_annotations: list[CocoDict], resolution_wh: tuple[int, int], *... pypi.org - Signature changed
supervision.dataset.formats.coco.load_coco_annotations
Was def load_coco_annotations(images_directory_path: str, annotations_path: str, force_masks: bool = False, use_iscrowd: bool = True, show_progress: bool = False) -> tuple[list[str], list[str], dict[str, Detections]]; now def... pypi.org - Signature changed
supervision.dataset.formats.yolo.load_yolo_annotations
Was def load_yolo_annotations(images_directory_path: str, annotations_directory_path: str, data_yaml_path: str, force_masks: bool = False, is_obb: bool = False, show_progress: bool = False) -> tuple[list[str], list[str], dict[str... pypi.org - Signature changed
supervision.dataset.formats.yolo.yolo_annotations_to_detections
Was def yolo_annotations_to_detections(lines: list[str], resolution_wh: tuple[int, int], with_masks: bool, is_obb: bool = False) -> Detections; now def yolo_annotations_to_detections(lines: list[str], resolution_wh: tuple[int, int]... pypi.org - Signature changed
supervision.DetectionDataset.from_coco
Was @classmethod def from_coco(cls, images_directory_path: str, annotations_path: str, force_masks: bool = False, show_progress: bool = False, *, use_iscrowd: bool = True) -> DetectionDataset; now @classmethod def from_coco(cls... pypi.org - Signature changed
supervision.DetectionDataset.from_yolo
Was @classmethod def from_yolo(cls, images_directory_path: str, annotations_directory_path: str, data_yaml_path: str, force_masks: bool = False, is_obb: bool = False, show_progress: bool = False) -> DetectionDataset; now @classmethod def... pypi.org - Signature changed
supervision.EdgeAnnotator.__init__
Was def __init__(self, color: Color = Color.ROBOFLOW, thickness: int = 2, edges: Sequence[tuple[int, int]] | dict[int, Sequence[tuple[int, int]]] | None = None) -> None; now def __init__(self, color: Color | ColorPalette = Color.ROBOFLOW... pypi.org - Signature changed
supervision.KeyPoints.__init__
Was def __init__(self, xy: npt.NDArray[np.float32], class_id: npt.NDArray[np.int_] | None = None, keypoint_confidence: npt.NDArray[np.float32] | None = None, detection_confidence: npt.NDArray[np.float32] | None = None, visible... pypi.org - Signature changed
supervision.KeyPoints.__iter__
Was def __iter__(self) -> Iterator[tuple[npt.NDArray[np.float32], npt.NDArray[np.float32] | None, npt.NDArray[np.int_] | None, _DetectionDataType]]; now def __iter__(self) -> Iterator[tuple[npt.NDArray[np.floating[Any]]... pypi.org - Signature changed
supervision.KeyPoints.xy
Was xy: npt.NDArray[np.float32]; now xy: npt.NDArray[np.floating[Any]]. pypi.org - Signature changed
supervision.LineZoneAnnotator.annotate
Was def annotate(self, frame: npt.NDArray[np.uint8], line_counter: LineZone) -> npt.NDArray[np.uint8]; now def annotate(self, frame: npt.NDArray[np.uint8], line_counter: LineZone, coord_transform: CoordinatesTransformation | None = None)... pypi.org - Signature changed
supervision.list_files_with_extensions
Was def list_files_with_extensions(directory: str | Path, extensions: list[str] | None = None) -> list[Path]; now def list_files_with_extensions(directory: str | Path, extensions: Sequence[str] | None = None) -> list[Path]. pypi.org - Signature changed
supervision.PolygonZone.__init__
Was def __init__(self, polygon: npt.NDArray[np.int64], triggering_anchors: Iterable[Position] = (Position.BOTTOM_CENTER), require_all_anchors: bool = True) -> None; now def __init__(self, polygon: npt.NDArray[np.int64], triggering_anchors... pypi.org - Signature changed
supervision.PolygonZone.trigger
Was def trigger(self, detections: Detections, coord_transform: CoordinatesTransformation | None = None) -> npt.NDArray[np.bool_]; now def trigger(self, detections: Detections, coord_transform: CoordinatesTransformation | None = None... pypi.org - Signature changed
supervision.PolygonZoneAnnotator.annotate
Was def annotate(self, scene: npt.NDArray[Any], label: str | None = None) -> npt.NDArray[Any]; now def annotate(self, scene: npt.NDArray[Any], label: str | None = None, coord_transform: CoordinatesTransformation | None = None) ->... pypi.org - Signature changed
supervision.VertexAnnotator.__init__
Was def __init__(self, color: Color = Color.ROBOFLOW, radius: int = 4) -> None; now def __init__(self, color: Color | ColorPalette = Color.ROBOFLOW, radius: int = 4, color_lookup: ColorLookup = ColorLookup.CLASS) -> None. pypi.org - Signature changed
supervision.VertexLabelAnnotator.__init__
Was def __init__(self, color: Color | list[Color] = Color.ROBOFLOW, text_color: Color | list[Color] = Color.WHITE, text_scale: float = 0.5, text_thickness: int = 1, text_padding: int = 10, border_radius: int = 0, smart_position: bool =... pypi.org - Signature changed
supervision.VertexLabelAnnotator.color
Was color: Color | list[Color]; now color: Color | list[Color] | ColorPalette. pypi.org - Signature changed
supervision.VertexLabelAnnotator.text_color
Was text_color: Color | list[Color]; now text_color: Color | list[Color] | ColorPalette. pypi.org
supervision 0.31.0 breaking changes
- Removed
Detections.from_lmm
Use Detections.from_vlm instead. github.com - Removed
supervision.ByteTrack
Use ByteTrackTracker from the trackers package instead, and call update() rather than update_with_detections(). pypi.org - Removed
supervision.dataset.utils.mask_to_rle
Use sv.mask_to_rle instead. github.com - Removed
supervision.dataset.utils.rle_to_mask
Use sv.rle_to_mask instead. github.com - Removed
supervision.detection.core.Detections.from_lmm
Detections.from_lmm was removed in supervision 0.31.0 pypi.org - Removed
supervision.detection.core.warn_deprecated
supervision.detection.core.warn_deprecated was removed in supervision 0.31.0 pypi.org - Removed
supervision.detection.utils.iou_and_nms.mask_to_xyxy
supervision.detection.utils.iou_and_nms.mask_to_xyxy was removed in supervision 0.31.0 pypi.org - Removed
supervision.detection.vlm.LMM
supervision.detection.vlm.LMM was removed in supervision 0.31.0 pypi.org - Removed
supervision.Detections.from_lmm
Detections.from_lmm was removed in supervision 0.31.0 pypi.org - Removed
supervision.keypoint
Import from supervision.key_points instead. pypi.org
And 68 more in this version. Sign up to see every change
supervision 0.30.0 breaking changes
- Removed
Python 3.9 is no longer supported and 3.10 is now the minimum version. Code running on Python 3.9 must upgrade its interpreter. github.com - Removed
supervision.annotators.core.overlay_image
supervision.annotators.core.overlay_image was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.core.detections_to_pascal_voc
supervision.dataset.core.detections_to_pascal_voc was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.approximate_mask_with_polygons
supervision.dataset.utils.approximate_mask_with_polygons was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.approximate_polygon
supervision.dataset.utils.approximate_polygon was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.build_class_index_mapping
supervision.dataset.utils.build_class_index_mapping was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.DetectionDataset
supervision.dataset.utils.DetectionDataset was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.filter_polygons_by_area
supervision.dataset.utils.filter_polygons_by_area was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.map_detections_class_id
supervision.dataset.utils.map_detections_class_id was removed in supervision 0.30.0 pypi.org - Removed
supervision.dataset.utils.mask_to_polygons
supervision.dataset.utils.mask_to_polygons was removed in supervision 0.30.0 pypi.org
And 192 more in this version. Sign up to see every change
supervision 0.29.0 breaking changes
- Removed
supervision.annotators.core.validate_labels
supervision.annotators.core.validate_labels was removed in supervision 0.29.0 pypi.org - Removed
supervision.detection.core.validate_detections_fields
supervision.detection.core.validate_detections_fields was removed in supervision 0.29.0 pypi.org - Removed
supervision.detection.core.validate_resolution
supervision.detection.core.validate_resolution was removed in supervision 0.29.0 pypi.org - Removed
supervision.detection.core.validate_vlm_parameters
supervision.detection.core.validate_vlm_parameters was removed in supervision 0.29.0 pypi.org - Removed
supervision.detection.utils.iou_and_nms.polygon_to_mask
supervision.detection.utils.iou_and_nms.polygon_to_mask was removed in supervision 0.29.0 pypi.org - Removed
supervision.key_points.annotators.VertexLabelAnnotator.preprocess_and_validate_colors
VertexLabelAnnotator.preprocess_and_validate_colors was removed in supervision 0.29.0 pypi.org - Removed
supervision.key_points.annotators.VertexLabelAnnotator.preprocess_and_validate_labels
VertexLabelAnnotator.preprocess_and_validate_labels was removed in supervision 0.29.0 pypi.org - Removed
supervision.key_points.core.validate_key_points_fields
supervision.key_points.core.validate_key_points_fields was removed in supervision 0.29.0 pypi.org - Removed
supervision.VertexLabelAnnotator.preprocess_and_validate_colors
VertexLabelAnnotator.preprocess_and_validate_colors was removed in supervision 0.29.0 pypi.org - Removed
supervision.VertexLabelAnnotator.preprocess_and_validate_labels
VertexLabelAnnotator.preprocess_and_validate_labels was removed in supervision 0.29.0 pypi.org
And 41 more in this version. Sign up to see every change
supervision 0.28.0 breaking changes
- Removed
supervision.annotators.base.ImageType
supervision.annotators.base.ImageType was removed in supervision 0.28.0 pypi.org - Removed
supervision.assets.downloader.VIDEO_ASSETS
supervision.assets.downloader.VIDEO_ASSETS was removed in supervision 0.28.0 pypi.org - Removed
supervision.assets.downloader.VideoAssets
supervision.assets.downloader.VideoAssets was removed in supervision 0.28.0 pypi.org - Removed
supervision.assets.list.VIDEO_ASSETS
supervision.assets.list.VIDEO_ASSETS was removed in supervision 0.28.0 pypi.org - Removed
supervision.detection.tools.polygon_zone.clip_boxes
supervision.detection.tools.polygon_zone.clip_boxes was removed in supervision 0.28.0 pypi.org - Removed
supervision.detection.tools.polygon_zone.PolygonZone.frame_resolution_wh
PolygonZone.frame_resolution_wh was removed in supervision 0.28.0 pypi.org - Removed
supervision.metrics.mean_average_precision.COCOEvaluator.__str__
COCOEvaluator.__str__ was removed in supervision 0.28.0 pypi.org - Removed
supervision.PolygonZone.frame_resolution_wh
PolygonZone.frame_resolution_wh was removed in supervision 0.28.0 pypi.org - Renamed
sv.ByteTrack.update_with_detections
Callers must use update() on the new tracker class instead of update_with_detections(). github.com - Behavior changed
sv.MeanAveragePrecisionResult
Metric results may differ in the last few digits; code depending on float64 precision may be affected. github.com
And 470 more in this version. Sign up to see every change
supervision 0.27.0 breaking changes
- Removed
supervision.annotators.core.ensure_cv2_image_for_annotation
supervision.annotators.core.ensure_cv2_image_for_annotation was removed in supervision 0.27.0 pypi.org - Removed
supervision.annotators.core.ensure_pil_image_for_annotation
supervision.annotators.core.ensure_pil_image_for_annotation was removed in supervision 0.27.0 pypi.org - Removed
supervision.create_tiles
supervision.create_tiles was removed in supervision 0.27.0 pypi.org - Removed
supervision.detection.tools.inference_slicer.InferenceSlicer.overlap_ratio_wh
InferenceSlicer.overlap_ratio_wh was removed in supervision 0.27.0 pypi.org - Removed
supervision.detection.tools.inference_slicer.warn_deprecated
supervision.detection.tools.inference_slicer.warn_deprecated was removed in supervision 0.27.0 pypi.org - Removed
supervision.InferenceSlicer.overlap_ratio_wh
InferenceSlicer.overlap_ratio_wh was removed in supervision 0.27.0 pypi.org - Removed
supervision.keypoint.core.validate_keypoints_fields
supervision.keypoint.core.validate_keypoints_fields was removed in supervision 0.27.0 pypi.org - Removed
supervision.utils.conversion.ensure_cv2_image_for_annotation
supervision.utils.conversion.ensure_cv2_image_for_annotation was removed in supervision 0.27.0 pypi.org - Removed
supervision.utils.conversion.ensure_pil_image_for_annotation
supervision.utils.conversion.ensure_pil_image_for_annotation was removed in supervision 0.27.0 pypi.org - Removed
supervision.utils.image.calculate_optimal_text_scale
supervision.utils.image.calculate_optimal_text_scale was removed in supervision 0.27.0 pypi.org
And 45 more in this version. Sign up to see every change
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
supervision 0.26.0 breaking changes
- Removed
Python 3.8 is no longer supported; upgrade to Python 3.9 or later. github.com - Removed
supervision.__version__
supervision.__version__ was removed in supervision 0.26.0 pypi.org
And 85 more in this version.
supervision 0.25.0 breaking changes
- Removed
supervision.detection.line_zone.LineZone.calculate_region_of_interest_limits
LineZone.calculate_region_of_interest_limits was removed in supervision 0.25.0 pypi.org - Removed
supervision.detection.line_zone.LineZone.is_point_in_limits
LineZone.is_point_in_limits was removed in supervision 0.25.0 pypi.org
And 58 more in this version.
supervision 0.24.0 breaking changes
- Removed
The "headless" and "desktop" pip extras were removed. Installing supervision[headless] still works but only installs the base library and warns that the extra does not exist. github.com - Removed
PolygonZone.frame_resolution_wh
The frame_resolution_wh parameter in PolygonZone was removed after being deprecated. Stop passing it when constructing PolygonZone. github.com
And 41 more in this version.
supervision 0.23.0 breaking changes
- Removed
ByteTrack.match_thresh
The match_thresh parameter of ByteTrack was removed in 0.23.0. Use minimum_matching_threshold instead. github.com - Removed
ByteTrack.track_buffer
The track_buffer parameter of ByteTrack was removed in 0.23.0. Use lost_track_buffer instead. github.com
And 43 more in this version.
supervision 0.22.0 breaking changes
- Removed
supervision.annotators.core.convert_for_annotation_method
supervision.annotators.core.convert_for_annotation_method was removed in supervision 0.22.0 pypi.org - Removed
supervision.BaseDataset.__init__
BaseDataset() was removed in supervision 0.22.0 pypi.org
And 93 more in this version.
supervision 0.21.0 breaking changes
- Removed
supervision.annotators.core.LabelAnnotator.resolve_text_background_xyxy
LabelAnnotator.resolve_text_background_xyxy was removed in supervision 0.21.0 pypi.org - Removed
supervision.LabelAnnotator.resolve_text_background_xyxy
LabelAnnotator.resolve_text_background_xyxy was removed in supervision 0.21.0 pypi.org
And 17 more in this version.
supervision 0.20.0 breaking changes
- Removed
supervision.annotators.core.resize_image
supervision.annotators.core.resize_image was removed in supervision 0.20.0 pypi.org - Removed
supervision.annotators.utils.ImageType
supervision.annotators.utils.ImageType was removed in supervision 0.20.0 pypi.org
And 33 more in this version.
supervision 0.19.0 breaking changes
- Removed
supervision.ByteTrack.match_thresh
ByteTrack.match_thresh was removed in supervision 0.19.0 pypi.org - Removed
supervision.ByteTrack.track_thresh
ByteTrack.track_thresh was removed in supervision 0.19.0 pypi.org
And 59 more in this version.
supervision 0.18.0 breaking changes
- Removed
supervision.detection.core.validate_inference_callback
supervision.detection.core.validate_inference_callback was removed in supervision 0.18.0 pypi.org - Removed
supervision.detection.line_counter.Vector.is_in
Vector.is_in was removed in supervision 0.18.0 pypi.org
And 48 more in this version.
supervision 0.17.0 breaking changes
- Removed
supervision.annotators.core.BoxMaskAnnotator
supervision.annotators.core.BoxMaskAnnotator was removed in supervision 0.17.0 pypi.org - Removed
supervision.annotators.core.LabelAnnotator.text_position
LabelAnnotator.text_position was removed in supervision 0.17.0 pypi.org
And 12 more in this version.
supervision 0.16.0 breaking changes
- Removed
supervision.annotators.core.BoundingBoxAnnotator.color_map
BoundingBoxAnnotator.color_map was removed in supervision 0.16.0 pypi.org - Removed
supervision.annotators.core.BoxCornerAnnotator.color_map
BoxCornerAnnotator.color_map was removed in supervision 0.16.0 pypi.org
And 57 more in this version.
supervision 0.15.0 breaking changes
- Removed
supervision.detection.annotate.MaskAnnotator
supervision.detection.annotate.MaskAnnotator was removed in supervision 0.15.0 pypi.org - Signature changed
supervision.detection.core.Detections.__init__
Was def __init__(self, xyxy: np.ndarray, mask: np.Optional[np.ndarray] = None, confidence: Optional[np.ndarray] = None, class_id: Optional[np.ndarray] = None, tracker_id: Optional[np.ndarray] = None) -> None; now def __init__(self, xyxy... pypi.org
And 14 more in this version.
supervision 0.14.0 breaking changes
- Renamed
supervision.crop
Use supervision.crop_image instead. pypi.org - Behavior changed
sv.ClassificationDataset
ClassificationDataset now uses the image path rather than the image name as its dataset keys, so code relying on name keys must change. github.com
And 2 more in this version.
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.