@vizzly-testing/honeydiff 0.10.3 → 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 +20 -16
- package/README.md +181 -689
- package/assets/honeydiff-mascot-diff-drizzle.png +0 -0
- package/examples/color-blindness.js +18 -18
- package/examples/wcag.js +17 -17
- package/index.d.ts +59 -56
- package/index.js +1 -1
- package/package.json +2 -1
- package/platforms/index-aarch64-apple-darwin.node +0 -0
- package/platforms/index-aarch64-unknown-linux-gnu.node +0 -0
- package/platforms/index-x86_64-pc-windows-msvc.node +0 -0
- package/platforms/index-x86_64-unknown-linux-gnu.node +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ 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
|
+
|
|
8
25
|
## [0.10.3] - 2026-05-19
|
|
9
26
|
|
|
10
27
|
## What's Changed
|
|
@@ -45,7 +62,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
45
62
|
- Returns `gmsdScore` in results (0.0 = identical, higher = more different)
|
|
46
63
|
- Very fast compared to SSIM, ideal for detecting border/outline changes
|
|
47
64
|
- Based on Xue et al. 2014 research paper
|
|
48
|
-
- **Note:**
|
|
65
|
+
- **Note:** In v0.10.0, GMSD required identical dimensions. Current releases calculate `gmsdScore` on the overlapping region for variable-height comparisons.
|
|
49
66
|
- **Cluster Merging** - New `clusterMerge` option to consolidate fragmented text regions
|
|
50
67
|
- Simple API: `clusterMerge: true` enables with sensible defaults
|
|
51
68
|
- Advanced API: Pass an object with `horizontalDistance`, `yBandTolerance`, `maxHeightRatio`, `maxWidthRatio`
|
|
@@ -54,19 +71,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
54
71
|
|
|
55
72
|
**Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.9.0...v0.10.0
|
|
56
73
|
|
|
57
|
-
## [Unreleased]
|
|
58
|
-
|
|
59
|
-
### Added
|
|
60
|
-
- **GMSD (Gradient Magnitude Similarity Deviation)** - New `includeGMSD` option for fast, edge-sensitive perceptual comparison
|
|
61
|
-
- Returns `gmsdScore` in results (0.0 = identical, higher = more different)
|
|
62
|
-
- Very fast compared to SSIM, ideal for detecting border/outline changes
|
|
63
|
-
- Based on Xue et al. 2014 research paper
|
|
64
|
-
- **Cluster Merging** - New `clusterMerge` option to consolidate fragmented text regions
|
|
65
|
-
- Simple API: `clusterMerge: true` enables with sensible defaults
|
|
66
|
-
- Advanced API: Pass an object with `horizontalDistance`, `yBandTolerance`, `maxHeightRatio`, `maxWidthRatio`
|
|
67
|
-
- Solves the "59 clusters for one date string" problem
|
|
68
|
-
- Uses SWT-inspired heuristics (Epshtein et al. 2010)
|
|
69
|
-
|
|
70
74
|
## [0.9.0] - 2026-01-26
|
|
71
75
|
|
|
72
76
|
## What's Changed
|
|
@@ -249,8 +253,8 @@ const result = await compare('baseline.png', 'current.png', {
|
|
|
249
253
|
## [0.3.0] - 2025-11-15
|
|
250
254
|
|
|
251
255
|
### Added
|
|
252
|
-
-
|
|
253
|
-
- `analyzeWcagContrast` / `analyzeWcagContrastSync` -
|
|
256
|
+
- Screenshot contrast screening API using WCAG color-pair math
|
|
257
|
+
- `analyzeWcagContrast` / `analyzeWcagContrastSync` - Screen images for detected contrast warnings
|
|
254
258
|
- `saveWcagOverlay` / `saveWcagOverlaySync` - Generate visual overlays highlighting contrast issues
|
|
255
259
|
|
|
256
260
|
**Full Changelog**: https://github.com/vizzly-testing/honeydiff/compare/v0.2.1...v0.3.0
|