Skip to content

Releasing 0.27.0.post0 [rebase & merge] - #2118

Merged
Borda merged 16 commits into
mainfrom
release/0.27.x
Feb 6, 2026
Merged

Borda merged 16 commits into
mainfrom
release/0.27.x

Conversation

@Borda

@Borda Borda commented Jan 30, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings January 30, 2026 12:25
@Borda
Borda requested a review from SkalskiP as a code owner January 30, 2026 12:25
@Borda
Borda marked this pull request as draft January 30, 2026 12:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive deprecation support for version 0.27.0 by migrating from a custom deprecated decorator to the external pyDeprecate library. The changes introduce deprecation warnings for multiple functions, classes, and parameters to prepare for future API cleanup.

Changes:

  • Replaced custom deprecated decorator with pyDeprecate>=0.4.0 library
  • Added deprecation wrappers for validator functions with underscore naming inconsistencies (keypoint vs key_point)
  • Deprecated the supervision.keypoint module in favor of supervision.key_points
  • Added parameter deprecation handling in InferenceSlicer for overlap_ratio_wh and overlap_filter_strategy
  • Updated existing deprecations for overlay_image, MeanAveragePrecision, LMM enum, and related functions to use new decorator format

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 16 comments.

Show a summary per file
File Description
pyproject.toml Adds pyDeprecate>=0.4.0 as a new dependency
supervision/utils/internal.py Removes custom deprecated decorator implementation
supervision/validators/init.py Adds deprecation wrappers for validate_keypoint_confidence and validate_keypoints_fields
supervision/utils/conversion.py Adds deprecation wrappers for annotation-related decorator functions
supervision/utils/image.py Updates overlay_image deprecation and adds create_tiles deprecation stub
supervision/detection/utils/boxes.py Adds parameter renaming deprecation for denormalize_boxes
supervision/metrics/detection.py Updates MeanAveragePrecision deprecation to use new decorator
supervision/detection/vlm.py Updates LMM enum deprecation to use new decorator
supervision/detection/core.py Updates from_lmm method deprecation to use new decorator
supervision/detection/tools/inference_slicer.py Adds manual parameter deprecation handling for overlap_ratio_wh and overlap_filter_strategy
supervision/keypoint/init.py Creates new file with deprecation warning for module
supervision/keypoint/core.py Creates new file with deprecation warning and forward import
supervision/keypoint/annotators.py Creates new file with deprecation warning and forward imports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread supervision/utils/conversion.py
Comment thread supervision/detection/tools/inference_slicer.py Outdated
Comment thread supervision/detection/tools/inference_slicer.py Outdated
Comment thread supervision/keypoint/core.py Outdated
Comment thread supervision/utils/image.py Outdated
Comment thread supervision/keypoint/annotators.py Outdated
Comment thread supervision/validators/__init__.py
Comment thread supervision/utils/conversion.py
Comment thread supervision/utils/conversion.py
Comment thread supervision/keypoint/annotators.py Outdated
@Borda

Borda commented Jan 30, 2026 •

Copy link
Copy Markdown
Member Author

wondering why the py3.9 tests are failing...


Considering to skip this one test for specific py3.9

Comment thread supervision/detection/tools/inference_slicer.py Outdated
Comment thread supervision/detection/core.py Outdated
@Borda Borda changed the title Draft for 0.27.0.post0 Releasing 0.27.0.post0 [rebase & merge] Feb 5, 2026
@Borda
Borda marked this pull request as ready for review February 5, 2026 13:11
@Borda
Borda merged commit f50ddca into main Feb 6, 2026
22 checks passed
@Borda
Borda deleted the release/0.27.x branch February 6, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants