@vizzly-testing/honeydiff 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.11.0] - 2026-06-20
9
+
10
+ ## What's Changed
11
+
12
+ ### Changed
13
+ - SSIM, MS-SSIM, GMSD, and color vision deficiency simulation now align with the studies and standards cited in the docs. Metric values can change as a result.
14
+ - Screenshot contrast analysis is described as screening, and the default reports every detected WCAG color-pair failure unless callers opt into a max-contrast filter.
15
+ - Variable-height comparisons report GMSD for the overlapping image region.
16
+
17
+ ### Fixed
18
+ - Anti-aliasing detection no longer hides flat full-surface color regressions.
19
+ - Variable-height comparisons keep a height-difference cluster visible even when `maxDiffs` caps the reported output below `minClusterSize`.
20
+ - `clusterMerge.maxHeightRatio` and `clusterMerge.maxWidthRatio` now reject `0`, while `maxContrastThreshold: 0` remains valid.
21
+ - Release packaging keeps npm assets included with the published package.
22
+
23
+ **Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.10.3...v0.11.0
24
+
25
+ ## [0.10.3] - 2026-05-19
26
+
27
+ ## What's Changed
28
+
29
+ - ⚡ Speed up image comparison hot paths (#31)
30
+ - 🛠️ Resume current npm release
31
+
32
+ **Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.10.2...v0.10.3
33
+
8
34
  ## [0.10.2] - 2026-05-19
9
35
 
10
36
  ## What's Changed
@@ -36,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
36
62
  - Returns `gmsdScore` in results (0.0 = identical, higher = more different)
37
63
  - Very fast compared to SSIM, ideal for detecting border/outline changes
38
64
  - Based on Xue et al. 2014 research paper
39
- - **Note:** GMSD requires images with identical dimensions. For variable-height comparisons, `gmsdScore` will be `null`
65
+ - **Note:** In v0.10.0, GMSD required identical dimensions. Current releases calculate `gmsdScore` on the overlapping region for variable-height comparisons.
40
66
  - **Cluster Merging** - New `clusterMerge` option to consolidate fragmented text regions
41
67
  - Simple API: `clusterMerge: true` enables with sensible defaults
42
68
  - Advanced API: Pass an object with `horizontalDistance`, `yBandTolerance`, `maxHeightRatio`, `maxWidthRatio`
@@ -45,19 +71,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
45
71
 
46
72
  **Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.9.0...v0.10.0
47
73
 
48
- ## [Unreleased]
49
-
50
- ### Added
51
- - **GMSD (Gradient Magnitude Similarity Deviation)** - New `includeGMSD` option for fast, edge-sensitive perceptual comparison
52
- - Returns `gmsdScore` in results (0.0 = identical, higher = more different)
53
- - Very fast compared to SSIM, ideal for detecting border/outline changes
54
- - Based on Xue et al. 2014 research paper
55
- - **Cluster Merging** - New `clusterMerge` option to consolidate fragmented text regions
56
- - Simple API: `clusterMerge: true` enables with sensible defaults
57
- - Advanced API: Pass an object with `horizontalDistance`, `yBandTolerance`, `maxHeightRatio`, `maxWidthRatio`
58
- - Solves the "59 clusters for one date string" problem
59
- - Uses SWT-inspired heuristics (Epshtein et al. 2010)
60
-
61
74
  ## [0.9.0] - 2026-01-26
62
75
 
63
76
  ## What's Changed
@@ -240,8 +253,8 @@ const result = await compare('baseline.png', 'current.png', {
240
253
  ## [0.3.0] - 2025-11-15
241
254
 
242
255
  ### Added
243
- - WCAG accessibility testing API for analyzing color contrast compliance
244
- - `analyzeWcagContrast` / `analyzeWcagContrastSync` - Analyze images for WCAG color contrast violations
256
+ - Screenshot contrast screening API using WCAG color-pair math
257
+ - `analyzeWcagContrast` / `analyzeWcagContrastSync` - Screen images for detected contrast warnings
245
258
  - `saveWcagOverlay` / `saveWcagOverlaySync` - Generate visual overlays highlighting contrast issues
246
259
 
247
260
  **Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.2.1...v0.3.0