Skip to content

Commit 74c6c03

Browse files
authored
3.3.0 (#662)
1 parent 492f4bf commit 74c6c03

14 files changed

+87
-35
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 3.3.0
4+
* NEW: Can now specify `environment` configuration option. See: https://github.com/getsentry/raven-js/pull/661
5+
* CHANGE: Raven.js now serializes data payload w/ json-stringify-safe to avoid circular references. See: https://github.com/getsentry/raven-js/pull/652
6+
* BUGFIX: Angular 1.x plugin no longer clobbers user-specified `dataCallback`. See: https://github.com/getsentry/raven-js/pull/658
7+
38
## 3.2.1
49
* BUGFIX: Fixed error when manually calling captureException with Error objects w/ maxMessageLength > 0. See: https://github.com/getsentry/raven-js/pull/647
510
* BUGFIX: Fixed TypeScript language declaration file for compatibility w/ Webpack loaders. See: https://github.com/getsentry/raven-js/pull/645

dist/plugins/angular.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.2.1 (bbd229d) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.2.1 (492f4bf) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -50,7 +50,7 @@ function angularPlugin(Raven, angular) {
5050
.provider('Raven', RavenProvider)
5151
.config(['$provide', ExceptionHandlerProvider]);
5252

53-
Raven.setDataCallback(function(data) {
53+
Raven.setDataCallback(function(data, original) {
5454
// We only care about mutating an exception
5555
var exception = data.exception;
5656
if (exception) {
@@ -66,6 +66,7 @@ function angularPlugin(Raven, angular) {
6666
data.extra.angularDocs = matches[3].substr(0, 250);
6767
}
6868
}
69+
original && original(data);
6970
});
7071
}
7172

dist/plugins/angular.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/angular.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.2.1 (bbd229d) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.2.1 (492f4bf) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/console.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/ember.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.2.1 (bbd229d) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.2.1 (492f4bf) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/ember.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/require.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.2.1 (bbd229d) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.2.1 (492f4bf) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/require.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)