Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bengourley committed Oct 2, 2017
1 parent 37beb1f commit cd0d8ca
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,26 @@
Changelog
=========

## 2.0.0 (2017-10-02)

### Enhancements

* Handle [`process#unhandledRejection`](https://nodejs.org/dist/latest-v8.x/docs/api/process.html#process_event_unhandledrejection)
by default.
([#115](https://github.com/bugsnag/bugsnag-node/pull/115))
* Added support for detecting whether an error was handled or unhandled.
([#116](https://github.com/bugsnag/bugsnag-node/pull/116))

### Notes

Bugsnag will shut down your process after reporting a [`process#unhandledRejection`](https://nodejs.org/dist/latest-v8.x/docs/api/process.html#process_event_unhandledrejection)
event. This is the most sensible thing to do by default, and it will become the
default behaviour of a node process in the near future. However this is a breaking
change for the module, hence the major/breaking version bump.

If you want to do something else when `process#unhandledRejection` happens, you
can set `options.autoNotifyUnhandledRejection=false`.

## 1.12.2 (2017-09-13)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/notification.js
Expand Up @@ -10,7 +10,7 @@ var Promise = require('promise'),
stringify = require("json-stringify-safe");

var NOTIFIER_NAME = "Bugsnag Node Notifier",
NOTIFIER_VERSION = "1.12.2",
NOTIFIER_VERSION = "2.0.0",
NOTIFIER_URL = "https://github.com/bugsnag/bugsnag-node",
SUPPORTED_SEVERITIES = ["error", "warning", "info"];

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "bugsnag",
"description": "Bugsnag notifier for node.js scripts",
"version": "1.12.2",
"version": "2.0.0",
"main": "./lib/bugsnag.js",
"typings": "./lib/bugsnag.d.ts",
"homepage": "http://bugsnag.com",
Expand Down

0 comments on commit cd0d8ca

Please sign in to comment.