File tree 8 files changed +15
-11
lines changed
8 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.1.21
4
+
5
+ * Fix a bug where calling ` captureException ` before calling ` Raven.config() ` would trigger it's own exception. See: https://github.com/getsentry/raven-js/issues/377
6
+
3
7
## 1.1.20
4
8
5
9
* Wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ] See: https://github.com/getsentry/raven-js/pull/268
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " raven-js" ,
3
- "version" : " 1.1.20 " ,
3
+ "version" : " 1.1.21 " ,
4
4
"dependencies" : {},
5
5
"main" : " dist/raven.js" ,
6
6
"ignore" : [
Original file line number Diff line number Diff line change 1
- /*! Raven.js 1.1.20 (f4760ed ) | github.com/getsentry/raven-js */
1
+ /*! Raven.js 1.1.21 (8995c6d ) | github.com/getsentry/raven-js */
2
2
3
3
/*
4
4
* Includes TraceKit
@@ -1119,7 +1119,7 @@ for (var method in originalConsole) {
1119
1119
* @this {Raven}
1120
1120
*/
1121
1121
var Raven = {
1122
- VERSION : '1.1.20 ' ,
1122
+ VERSION : '1.1.21 ' ,
1123
1123
1124
1124
debug : true ,
1125
1125
@@ -1641,7 +1641,7 @@ function normalizeFrame(frame) {
1641
1641
1642
1642
normalized . in_app = ! ( // determine if an exception came from outside of our app
1643
1643
// first we check the global includePaths list.
1644
- ! globalOptions . includePaths . test ( normalized . filename ) ||
1644
+ ( ! ! globalOptions . includePaths . test && ! globalOptions . includePaths . test ( normalized . filename ) ) ||
1645
1645
// Now we check for fun, if the function name is Raven or TraceKit
1646
1646
/ ( R a v e n | T r a c e K i t ) \. / . test ( normalized [ 'function' ] ) ||
1647
1647
// finally, we do a last ditch effort and check for raven.min.js
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ you can use our CDN:
27
27
28
28
.. sourcecode :: html
29
29
30
- <script src="//cdn.ravenjs.com/1.1.20 /raven.min.js"></script>
30
+ <script src="//cdn.ravenjs.com/1.1.21 /raven.min.js"></script>
31
31
32
32
Configuring the Project
33
33
-----------------------
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ So for example:
9
9
.. sourcecode :: html
10
10
11
11
<script src="jquery.js"></script>
12
- <script src="//cdn.ravenjs.com/1.1.20 /jquery,native/raven.min.js"></script>
12
+ <script src="//cdn.ravenjs.com/1.1.21 /jquery,native/raven.min.js"></script>
13
13
<script>Raven.config('___PUBLIC_DSN___').install();</script>
14
14
<script src="app.js"></script>
15
15
@@ -28,7 +28,7 @@ Our CDN distributes builds with and without :doc:`plugins <plugins>`.
28
28
29
29
.. sourcecode :: html
30
30
31
- <script src="//cdn.ravenjs.com/1.1.20 /raven.min.js"></script>
31
+ <script src="//cdn.ravenjs.com/1.1.21 /raven.min.js"></script>
32
32
33
33
**We highly recommend trying out a plugin or two since it'll greatly
34
34
improve the chances that we can collect good information. **
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " raven-js" ,
3
- "version" : " 1.1.20 " ,
3
+ "version" : " 1.1.21 " ,
4
4
"license" : " BSD-2-Clause" ,
5
5
"homepage" : " https://getsentry.com" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments