diff --git a/bower.json b/bower.json index 3a1913123864..e8271c5edea7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "raven-js", - "version": "3.7.0", + "version": "3.7.1", "dependencies": {}, "main": "dist/raven.js", "ignore": [ diff --git a/dist/plugins/angular.js b/dist/plugins/angular.js index 2fcb1ffff89c..99f9161d73c1 100644 --- a/dist/plugins/angular.js +++ b/dist/plugins/angular.js @@ -1,4 +1,4 @@ -/*! Raven.js 3.7.0 (cf2ddee) | github.com/getsentry/raven-js */ +/*! Raven.js 3.7.1 (cf2ddee) | github.com/getsentry/raven-js */ /* * Includes TraceKit diff --git a/package.json b/package.json index f66dee6ab900..6ba737f9983e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "raven-js", - "version": "3.7.0", + "version": "3.7.1", "license": "BSD-2-Clause", "homepage": "https://github.com/getsentry/raven-js", "scripts": { diff --git a/src/raven.js b/src/raven.js index 18fefed96848..c6ded15f3c3f 100644 --- a/src/raven.js +++ b/src/raven.js @@ -74,7 +74,7 @@ Raven.prototype = { // webpack (using a build step causes webpack #1617). Grunt verifies that // this value matches package.json during build. // See: https://github.com/getsentry/raven-js/issues/465 - VERSION: '3.7.0', + VERSION: '3.7.1', debug: false, diff --git a/test/raven.test.js b/test/raven.test.js index 419903368a00..ee435e2c8fa3 100644 --- a/test/raven.test.js +++ b/test/raven.test.js @@ -1004,7 +1004,7 @@ describe('globals', function() { extra: {'session:duration': 100}, }); assert.deepEqual(opts.auth, { - sentry_client: 'raven-js/3.7.0', + sentry_client: 'raven-js/3.7.1', sentry_key: 'abc', sentry_version: '7' }); diff --git a/typescript/raven-tests.ts b/typescript/raven-tests.ts index c671adbccd4a..7d1adcfb236a 100644 --- a/typescript/raven-tests.ts +++ b/typescript/raven-tests.ts @@ -54,6 +54,7 @@ var err:Error = Raven.lastException(); Raven.captureMessage('Broken!'); Raven.captureMessage('Broken!', {tags: { key: "value" }}); +Raven.captureMessage('Broken!', { stacktrace: true }); Raven.captureBreadcrumb({}); Raven.setRelease('abc123'); diff --git a/typescript/raven.d.ts b/typescript/raven.d.ts index 0b6844557fd8..27d470a9896c 100644 --- a/typescript/raven.d.ts +++ b/typescript/raven.d.ts @@ -39,6 +39,9 @@ interface RavenOptions { [id: string]: string; }; + /** set to true to get the strack trace of your message */ + stacktrace?: boolean; + extra?: any; /** In some cases you may see issues where Sentry groups multiple events together when they should be separate entities. In other cases, Sentry simply doesn’t group events together because they’re so sporadic that they never look the same. */