Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@bobbyg603 bobbyg603 released this 11 Apr 15:38
· 76 commits to master since this release

Features

  • Added bugsplat.postAndExit which is a convenience function that calls process.exit(1) after bugsplat.post.
  • Added the ability to override default appKey, user, email and/or description by passing an options object as the second parameter to bugsplat.post.
  • Added the ability to specify a callback for each invocation of bugsplat.post.

Breaking Changes

  • The functions setAppKey, setUser, setEmail, setDescription have all been replaced by setDefaultAppKey, setDefaultUser, setDefaultEmail, setDefaultDescription respectively.
  • Removed the setCallback function.

Other

  • Replaced mock-require with spies in unit tests.
  • Added additional unit tests.