BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Adding puppeteer should be a major version update

Open babielmam opened this issue 8 years ago • 3 comments

I support adding puppeteer. However, adding it crashed our CI process in the way, that Puppeteer requires at least Node version 6.4.0. Prior to adding Puppeteer you could use BackstopJS with at least Node version 4.8.7. This in my view represents a breaking change and according to semantic versioning the new version should be a major version update.

From the Semantic Versioning Docs

MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner

Maybe you should consider changing the version retrospectively and republish the different versions to npm. On the other hand, I know that it probably isn't worth the hassle :D Just wanted to let you know :)

babielmam avatar Jul 12 '18 07:07 babielmam

Sure -- good point -- but does backstop fail to run under chromy or phantom?

garris avatar Jul 12 '18 07:07 garris

The problem occurs during npm install, because the Puppeteer installation fails on Node versions < 6.4.0. So it doesn't even come to running any of the available options.

babielmam avatar Jul 12 '18 07:07 babielmam

oh, well then yeah, you're totally right. Sorry bout that.

garris avatar Jul 12 '18 07:07 garris