Releases: nodecg/nodecg-screenshot-tester
Releases · nodecg/nodecg-screenshot-tester
v9.0.0
9.0.0 (2020-12-11)
Bug Fixes
Code Refactoring
Features
- allow users to provide their own version of puppeteer (#13) (b6c5235), closes #5
- make diff threshold adjustable (#14) (44400ae), closes #2
BREAKING CHANGES
- The default image comparison threshold is now 0, which means any discrepancy at all will be detected. Previously, this value was 0.1, which meant that small discrepancies would be ignored. If you need this old behavior back, pass
--threshold 0.1
as an argument. - api: The
entranceMethod
andentranceMethodArgs
parameters have been removed from the API. You can use thebefore
hook to achieve the same things. See #11 for details. - api:
after
now runs after the screenshot is taken, instead of before it. pupeeteer
is now apeerDependency
, and therefore will not be automatically installed. Your bundle must install it as its own dependency.- api: The
entranceMethod
andentranceMethodArgs
parameters have been removed from the API. You can use thebefore
hook to achieve the same things. See #11 for details. - api:
after
now runs after the screenshot is taken, instead of before it.