Skip to content

Releases: approvals/Approvals.NodeJS

v4.0.0-beta.1

27 Mar 19:35
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

✨ ✨ NEW and Shiny ✨ ✨

  • New configuration options:
    // Default to `false` - launching each diff tool in the background, failing the test and
    // moving on to the next test. If `true` will launch the diff tool and block/wait (if diff tool supports this) until
    // the user exits the diff tool before continuing on with the rest of the tests.
    blockUntilReporterExits: false,
    
    // The number of reporters (diff tools) launched before before approval tests stops launching new reporters.
    // This is to avoid overloading a system with too many processes.
    // NOTE: This value is only used if `blockUntilReporterExits` is `false`.
    maxLaunches: 10
    
  • Per the maxLaunches in the config above we do not continue launching diff tools once we've reached the maxLaunches value (default is 10).

Updates

Updating deps & Change how diff-tools launch

23 Mar 18:36
f50d527
Compare
Choose a tag to compare

FEEDBACK NEEDED (we're researching in this beta)

  • We made a change in 723d3fa that launches reporters synchronously (needs feedback)

Updates

v3.0.5

31 Mar 05:40
Compare
Choose a tag to compare

v2.1.2

09 Mar 03:30
Compare
Choose a tag to compare
  • Fixed #70 - specifying the mocha optional directory was not actually being taken into account
  • Fixed an issue with line-endings when validating if files differed

v2.1.1

05 Mar 20:00
Compare
Choose a tag to compare

readme update

v2.1.0

05 Mar 19:38
Compare
Choose a tag to compare

Updated docs and help for the approvals CLI too.

v2.0.0

05 Mar 19:38
Compare
Choose a tag to compare
  • Added ability to approve png images
  • Fixed #30
  • Fixed #59
  • Fixed #60
  • Added diffmerge reporter
  • Updated beyondcompare to look for more versions/file paths.
  • Added multi (MultiReporter for running multiple reporters at the same time)
  • Added initial scrubbers support (#62)
  • Added copycommand reporter.
  • Lots of docs updates and additions.

v1.4.0

05 Mar 19:32
Compare
Choose a tag to compare
  • Removed support for older versions of node

  • Added vimdiff reporter

  • Added meld reporter

  • Added kdiff3 reporter

  • Added kompare reporter

  • #40 homeConfig is broken

  • #45 reporterFactory returns a list of reporters and then the first compatible reporter.

  • #42 Textually same but binary different

v1.3.0

05 Mar 19:25
Compare
Choose a tag to compare
  • Added ability to configure line endings
  • Thanks to a PR from Xenon for getting this project to throw proper Error objects instead of strings.
  • Lots of dependencies updated.

v1.1.2

05 Mar 19:22
Compare
Choose a tag to compare

In v1.1.1 we removed the __dirname parameter from .mocha(__dirname) - and in this we'll add it back with a more backwards compatible update. So, while it's not required, if you do pass in a value, we'll use that.