Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@pablosichert pablosichert released this 30 Oct 14:48
· 7 commits to master since this release

Full Changelog

Breaking changes:

  • options.reporter expects a writable stream instead of a callback function
  • Errors from next are not caught, but passed on

New features:

  • options.width can be passed in as function (or like previously as primitive value number / boolean)
  • options.getLevel now has the signature of (responseTime, context) => {} instead of responseTime => {}