All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.0.1 (2024-08-09)
- remove async from index.d.ts (59a6a1c)
9.0.0 (2023-10-31)
- node versions less than 18.0.0 are no longer supported
- drop node versions less than 18 (1f0097c)
8.2.4 (2023-10-11)
- return diffArea in diffClusters if shouldCluster is false (0c92966)
8.2.3 (2023-09-27)
- createDiffImage off by one (cd9744b)
8.2.2 (2023-09-25)
8.2.1 (2023-08-02)
8.2.0 (2023-08-02)
- calc equality and build diff simultaneously (abbe9ed)
8.1.0 (2022-11-21)
- add different files format support (d32441a)
8.0.1 (2022-09-22)
- Update typings to async/await interface
- Export interfaces
8.0.0 (2022-09-19)
- drop support of node versions less than 12
- dropped old node-style callback interface support
7.3.0 (2021-02-03)
7.2.4 (2020-11-13)
7.2.3 (2020-05-08)
7.2.2 (2019-10-28)
- unknown file path in parse png error (15898d4)
- add ability to ignore antialiasing and caret in "createDiff" method
- add typescript types
- Update nodejs to 6 version
- Add ability to make ignore antialiasing less strict
- Add
getDiffArea
method
- Add ability to ignore caret when it is crossing with text
- Add
ignoreAntialiasing
option to ignore diffs with anti-aliased pixels. Enabled by default.
- Remove support for 0.10 and 0.12 NodeJS versions.
- Fix ignore caret on devices with
pixelRatio
> 1. - Fix bug with the missed 1px diff between images when
ignoreCaret
option is enabled.
- Use
pngjs2
instead oflodepng
(@SevInf).
- Use
lodepng
for png encoding/decoding (@LinusU).
- Expose color comparsion function
looksSame.colors
(@SevInf).
- Allow to receive diff image as a Buffer (@flore77).
- Fix critical bug in color comparison algorithm. Published as 2.0.0 because the result of the comparison will change for many images and affect the dependencies.
- Setting both
tolerance
andstrict
fails only ifstrict
is set totrue
.
- Ability to configure tolerance.
- Correctly read RGB values from image.
- Initial release