Releases: approvals/Approvals.NodeJS
Releases · approvals/Approvals.NodeJS
v1.1.1
v1.1.0
This is a small update:
- Fixes an issue when comparing files but ignore the
BOM
(Byte Order Mark) - Added the config option
{ forceApproveAll: false }
(check the docs in the readme for more info).
v1.0.0
*** BIG BREAKING CHANGES ***
I'm sorry for the breaking changes, but over the holiday, I had some time to implement some of my original vision regarding configuration and the ability for different users to override configuration on their local machine. (allowing two different developers to use different diff tools without it having to be checked into source control).
I'm also going to make an effort at using semver (which is why the bump to 1.0 now
Install Module
npm install --save-dev approvals
Install CLI Tool
npm install -g approvals
In this Release
Breaking changes
- Default configuration for
appenEOL
is nowtrue
(it used to be just true on windows, false otherwise (not sure why I thought that was needed)) - Restructured how configuration works #11
- If you ever used the final
reporters
parameter on a verify method - that's been changed to a fullconfig
object and you'll have to update it as such. - Change calling
this.verify(someData, ['gitdiff'])
- which becomes
this.verify(someData, { reporters: ['gitdiff'] } )
- If you ever used the final
Other changes
- Merged in support for icdiff reporter thanks to @icecreammatt
- While diffing, allow the Byte Order Mark to be ignored #13
v0.0.27
Install Module
npm install approvals
Install CLI Tool
npm install -g approvals
In this Release
This release contained a number of internal cleanup items consisted of mostly cleanup items...
- Thanks to a PR from @robdmoore a usual test run (without any failures) should be much faster.
- CLI tool adds a shortcut for
--forceapproveall
with-f
as an option now. - Added the
nodediff
reporter which is a decent CLI reporter using color (based on https://github.com/kpdecker/jsdiff)