npm @honeybadger-io/js 4.0.0
v4.0.0

latest releases: 6.10.1, 6.10.0, 6.9.3...
2 years ago

[4.0.0] - 2022-05-04

Added

  • AWS Lambda Timeout Warning (#679)
  • Enforce Conventional Commits using a git hook (#731)
  • Nodejs: Include source snippet in backtraces when available (#624)
  • notifyAsync: Async version of notify that returns a promise (#327)
  • AsyncLocalStorage for AWS Lambda Handler (#688)
  • Node.js: Added the hb.withRequest(req, fn) method for webserver apps, which runs a fn, isolating its context to the request req and tracking it across async chains. The Honeybadger.requestMiddleware for Express is now a wrapper around this. (#711, #717)
  • Honeybadger.checkIn() (#725)

Fixed

  • Respect object.toJSON() in breadcrumb.metadata (#722)
  • Allow special characters in tags. Also support space-delimited tags:
    "one two three" and "one, two, three" are equivalent
  • Include reported error link in logs (#713)
  • Properly handle objects which are not native Errors but have the Error prototype (#712)

Changed

  • Call afterNotify handlers with error if notify preconditions fail (#654)
  • Call beforeNotify handlers even if preconditions fail (#654)
  • Honeybadger.lambdaHandler: return async or callback based handler based on input handler (#677)
  • Remove deprecated disabled config option (#671)
  • Apply enableUncaught setting to timers and event listeners (#690)
  • Name wrapped Lambda handlers for better stack traces (#700)

Don't miss a new js release

NewReleases is sending notifications on new releases.