Skip to content

Commit aeb4961

Browse files
committed
Merge pull request #568 from getsentry/3.0.2-release
3.0.2
2 parents 3f21412 + 7470e32 commit aeb4961

24 files changed

+40
-38
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Changelog
22

3-
## 3.0.1
3+
## 3.0.2
4+
* BUGFIX: Fix XMLHttpRequest.prototype.open breaking on non-string `url` arguments. See: https://github.com/getsentry/raven-js/issues/567
45

6+
## 3.0.1
57
* BUGFIX: Fix broken CDN builds. See: https://github.com/getsentry/raven-js/pull/566
68

79
## 3.0.0
8-
910
* NEW: Raven.js now collects breadcrumbs from XMLHttpRequest objects, URL changes (pushState), console log calls, UI clicks, and errors.
1011
* BUGFIX: Fix parsing error messages from Opera Mini. See: https://github.com/getsentry/raven-js/pull/554
1112
* REMOVED: Fallback Image transport (HTTP GET) has been removed. See: https://github.com/getsentry/raven-js/pull/545

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"dependencies": {},
55
"main": "dist/raven.js",
66
"ignore": [

dist/plugins/angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/angular.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/console.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/console.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/ember.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/ember.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/require.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit

dist/plugins/require.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/raven.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -82,6 +82,7 @@ var urlencode = utils.urlencode;
8282
var uuid4 = utils.uuid4;
8383
var htmlTreeAsString = utils.htmlTreeAsString;
8484
var parseUrl = utils.parseUrl;
85+
var isString = utils.isString;
8586

8687
var wrapConsoleMethod = _dereq_(2).wrapMethod;
8788

@@ -149,7 +150,7 @@ Raven.prototype = {
149150
// webpack (using a build step causes webpack #1617). Grunt verifies that
150151
// this value matches package.json during build.
151152
// See: https://github.com/getsentry/raven-js/issues/465
152-
VERSION: '3.0.1',
153+
VERSION: '3.0.2',
153154

154155
debug: false,
155156

@@ -901,7 +902,7 @@ Raven.prototype = {
901902
return function (method, url) { // preserve arity
902903

903904
// if Sentry key appears in URL, don't capture
904-
if (url.indexOf(self._globalKey) === -1) {
905+
if (isString(url) && url.indexOf(self._globalKey) === -1) {
905906
this.__raven_xhr = {
906907
method: method,
907908
url: url,

dist/raven.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/raven.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sri.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"@dist/raven.js": {
33
"hashes": {
4-
"sha256": "L3GrgwyvVyx8lmfTMjsB2QMkQ0rlDGot8FS7Cir+JrU=",
5-
"sha512": "ji5Kdv5lExilDjHLdZbzXsi10ppNmEIsfVkrBfJPubZUCErReMxuwYnWOIadMn2rQvARA8/F72FFp+z/A6dqjg=="
4+
"sha256": "yh0l1izZy8ACTse9vyqoU0sO5pLWH5IkGjQv6Mo5bLs=",
5+
"sha512": "gbJtmy+JJcwFhkgk+pjtGYCplYvgHUZCoV+N2EMwqOsKV4LspU0biazBpkZ2Cx9wiXR50hNfYzmyJNhfjXwbFg=="
66
},
77
"type": null,
8-
"integrity": "sha256-L3GrgwyvVyx8lmfTMjsB2QMkQ0rlDGot8FS7Cir+JrU= sha512-ji5Kdv5lExilDjHLdZbzXsi10ppNmEIsfVkrBfJPubZUCErReMxuwYnWOIadMn2rQvARA8/F72FFp+z/A6dqjg==",
8+
"integrity": "sha256-yh0l1izZy8ACTse9vyqoU0sO5pLWH5IkGjQv6Mo5bLs= sha512-gbJtmy+JJcwFhkgk+pjtGYCplYvgHUZCoV+N2EMwqOsKV4LspU0biazBpkZ2Cx9wiXR50hNfYzmyJNhfjXwbFg==",
99
"path": "dist/raven.js"
1010
},
1111
"@dist/raven.min.js": {
1212
"hashes": {
13-
"sha256": "/p2gFyxHlRoB6Lh88YzaDJ2doQ33+Snlemq8L0txUVE=",
14-
"sha512": "owp/TCO++gUKeQinTBiFtVxtlSPKUOgXzSfW8Fhmr3tyJZeLcK41bjs5qbZmYr7uOyhePkpft3LiY3wYDClPlQ=="
13+
"sha256": "Lz811EBXq/vXGUpHazW7Fs3tZpu4Iw8PUm9bMHeiBEI=",
14+
"sha512": "TXOh90oJ/4W6hOZGiHb9/1nmk9XTn8pptuynJBgpHY2xiNgoCupsVUjrOVDI6CNZQqeeCMnAjIi9altk2otpzw=="
1515
},
1616
"type": null,
17-
"integrity": "sha256-/p2gFyxHlRoB6Lh88YzaDJ2doQ33+Snlemq8L0txUVE= sha512-owp/TCO++gUKeQinTBiFtVxtlSPKUOgXzSfW8Fhmr3tyJZeLcK41bjs5qbZmYr7uOyhePkpft3LiY3wYDClPlQ==",
17+
"integrity": "sha256-Lz811EBXq/vXGUpHazW7Fs3tZpu4Iw8PUm9bMHeiBEI= sha512-TXOh90oJ/4W6hOZGiHb9/1nmk9XTn8pptuynJBgpHY2xiNgoCupsVUjrOVDI6CNZQqeeCMnAjIi9altk2otpzw==",
1818
"path": "dist/raven.min.js"
1919
}
2020
}

docs/config.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Putting it all together
237237
<body>
238238
...
239239
<script src="jquery.min.js"></script>
240-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
240+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
241241
<script>
242242
Raven.config('___PUBLIC_DSN___', {
243243
logger: 'my-logger',

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ scripts. For all details see :doc:`install`.
2626

2727
.. sourcecode:: html
2828

29-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
29+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
3030

3131

3232
Configuring the Client

docs/install.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ So for example:
99
.. sourcecode:: html
1010

1111
<script src="jquery.js"></script>
12-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
12+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
1313
<script>Raven.config('___PUBLIC_DSN___').install();</script>
1414
<script src="app.js"></script>
1515

@@ -28,7 +28,7 @@ Our CDN distributes builds with and without :doc:`integrations <integrations/ind
2828

2929
.. sourcecode:: html
3030

31-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
31+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
3232

3333
This version does not include any plugins. See `ravenjs.com
3434
<http://ravenjs.com/>`_ for more information about plugins and getting

docs/integrations/angular.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Example:
2727
.. sourcecode:: html
2828

2929
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>
30-
<script src="https://cdn.ravenjs.com/3.0.1/angular/raven.min.js"></script>
30+
<script src="https://cdn.ravenjs.com/3.0.2/angular/raven.min.js"></script>
3131
<script>Raven.config('___PUBLIC_DSN___').install();</script>
3232

3333
Note that this CDN build auto-initializes the Angular plugin.

docs/integrations/backbone.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ after you load all other external libraries (like jQuery), but before your code.
99

1010
.. sourcecode:: html
1111

12-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
12+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
1313

1414
Configuring the Client
1515
----------------------

docs/integrations/ember.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ To use Sentry with your Ember application, you will need to use both Raven.js (S
55

66
On its own, Raven.js will report any uncaught exceptions triggered from your application. For advanced usage examples of Raven.js, please read :doc:`Raven.js usage <../usage>`.
77

8-
Additionally, the Raven.js Ember plugin will catch any Ember-specific exceptions reported through Ember's `onerror <https://guides.emberjs.com/v3.0.1/configuring-ember/debugging/#toc_implement-an-ember-onerror-hook-to-log-all-errors-in-production>`_. hook
9-
and any `RSVP promises <https://guides.emberjs.com/v3.0.1/configuring-ember/debugging/#toc_errors-within-an-code-rsvp-promise-code>`_ that would otherwise be swallowed.
8+
Additionally, the Raven.js Ember plugin will catch any Ember-specific exceptions reported through Ember's `onerror <https://guides.emberjs.com/v3.0.2/configuring-ember/debugging/#toc_implement-an-ember-onerror-hook-to-log-all-errors-in-production>`_. hook
9+
and any `RSVP promises <https://guides.emberjs.com/v3.0.2/configuring-ember/debugging/#toc_errors-within-an-code-rsvp-promise-code>`_ that would otherwise be swallowed.
1010

1111
Installation
1212
------------
@@ -23,7 +23,7 @@ Example:
2323
.. sourcecode:: html
2424

2525
<script src="http://builds.emberjs.com/tags/v2.3.1/ember.prod.js"></script>
26-
<script src="https://cdn.ravenjs.com/3.0.1/ember/raven.min.js"></script>
26+
<script src="https://cdn.ravenjs.com/3.0.2/ember/raven.min.js"></script>
2727
<script>Raven.config('___PUBLIC_DSN___').install();</script>
2828

2929
Note that this CDN build auto-initializes the Ember plugin.

docs/integrations/react.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ after you load all other external libraries (like jQuery), but before your code.
99

1010
.. sourcecode:: html
1111

12-
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
12+
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
1313

1414
Configuring the Client
1515
----------------------

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "BSD-2-Clause",
55
"homepage": "https://getsentry.com",
66
"scripts": {
@@ -35,7 +35,7 @@
3535
"jquery": "^2.1.4",
3636
"lodash": "^3.10.1",
3737
"mocha": "^1.21.5",
38-
"proxyquireify": "^3.0.1",
38+
"proxyquireify": "^3.0.2",
3939
"sinon": "1.7.3",
4040
"through2": "^2.0.0"
4141
},

src/raven.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Raven.prototype = {
8686
// webpack (using a build step causes webpack #1617). Grunt verifies that
8787
// this value matches package.json during build.
8888
// See: https://github.com/getsentry/raven-js/issues/465
89-
VERSION: '3.0.1',
89+
VERSION: '3.0.2',
9090

9191
debug: false,
9292

test/raven.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ describe('globals', function() {
10741074
extra: {'session:duration': 100},
10751075
});
10761076
assert.deepEqual(opts.auth, {
1077-
sentry_client: 'raven-js/3.0.1',
1077+
sentry_client: 'raven-js/3.0.2',
10781078
sentry_key: 'abc',
10791079
sentry_version: '7'
10801080
});
@@ -1121,7 +1121,7 @@ describe('globals', function() {
11211121
extra: {'session:duration': 100},
11221122
});
11231123
assert.deepEqual(opts.auth, {
1124-
sentry_client: 'raven-js/3.0.1',
1124+
sentry_client: 'raven-js/3.0.2',
11251125
sentry_key: 'abc',
11261126
sentry_secret: 'def',
11271127
sentry_version: '7'

0 commit comments

Comments
 (0)