From 7e765eb054ea8a123a40c1c182cc7f78b37cd357 Mon Sep 17 00:00:00 2001 From: jirka <6035284+Borda@users.noreply.github.com> Date: Wed, 17 Jun 2026 22:41:17 +0200 Subject: [PATCH] docs: reformat entries in changelog for improved readability --- docs/changelog.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 01a9f670..5e628bd1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,20 +7,13 @@ date_modified: 2026-06-15 ### UnReleased -- Fixed [#2334](https://github.com/roboflow/supervision/pull/2334): `sv.JSONSink` now - serializes NumPy scalars (e.g. `np.int64` frame indices) in `custom_data` as JSON - numbers instead of raising `TypeError` at close time. File handle is now guaranteed - to close even when serialization fails. +- Fixed [#2334](https://github.com/roboflow/supervision/pull/2334): `sv.JSONSink` now serializes NumPy scalars (e.g. `np.int64` frame indices) in `custom_data` as JSON numbers instead of raising `TypeError` at close time. File handle is now guaranteed to close even when serialization fails. - Fixed [#2335](https://github.com/roboflow/supervision/pull/2335): `sv.KeyPoints(confidence=...)` now works again. The `0.29.0` refactor accidentally dropped the deprecated `confidence` constructor kwarg; it is now accepted and mapped to `keypoint_confidence` with a deprecation warning. - Fixed [#2322](https://github.com/roboflow/supervision/pull/2322): COCO export now preserves all polygon parts for multi-component masks. Previously, only the first polygon was written when a non-crowd mask had disjoint segments; all parts are now included. -- Fixed [#2333](https://github.com/roboflow/supervision/pull/2333): - [`sv.DetectionsSmoother`](https://supervision.roboflow.com/latest/detection/tools/smoother/#supervision.detection.tools.smoother.DetectionsSmoother) - no longer raises when smoothing detections without `confidence`. Confidence is now - averaged over the frames that carry it; when tracks in the same frame disagree on - confidence presence, `confidence` is set to `None` for all smoothed detections. +- Fixed [#2333](https://github.com/roboflow/supervision/pull/2333): [`sv.DetectionsSmoother`](https://supervision.roboflow.com/latest/detection/tools/smoother/#supervision.detection.tools.smoother.DetectionsSmoother) no longer raises when smoothing detections without `confidence`. Confidence is now averaged over the frames that carry it; when tracks in the same frame disagree on confidence presence, `confidence` is set to `None` for all smoothed detections. - Fixed [#2331](https://github.com/roboflow/supervision/pull/2331): `sv.Precision` and `sv.F1Score` now count predictions on background images (empty target set) as false positives, and count predictions of classes absent from ground truth as false positives under `MICRO` and `MACRO` averaging. Previously both edge cases were silently ignored, inflating scores. `WEIGHTED` averaging is unchanged — absent classes retain weight 0, consistent with scikit-learn. Users relying on previous scores should re-evaluate after upgrading; no API change is required.