Skip to content

Commit

Permalink
Merge pull request #568 from getsentry/3.0.2-release
Browse files Browse the repository at this point in the history
3.0.2
  • Loading branch information
benvinegar committed May 3, 2016
2 parents 3f21412 + 7470e32 commit aeb4961
Show file tree
Hide file tree
Showing 24 changed files with 40 additions and 38 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Changelog

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

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

## 3.0.0

* NEW: Raven.js now collects breadcrumbs from XMLHttpRequest objects, URL changes (pushState), console log calls, UI clicks, and errors.
* BUGFIX: Fix parsing error messages from Opera Mini. See: https://github.com/getsentry/raven-js/pull/554
* REMOVED: Fallback Image transport (HTTP GET) has been removed. See: https://github.com/getsentry/raven-js/pull/545
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raven-js",
"version": "3.0.1",
"version": "3.0.2",
"dependencies": {},
"main": "dist/raven.js",
"ignore": [
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/angular.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/angular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/console.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/console.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/ember.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/ember.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/require.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down
2 changes: 1 addition & 1 deletion dist/plugins/require.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions dist/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.0.1 (996e09a) | github.com/getsentry/raven-js */
/*! Raven.js 3.0.2 (da9227a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -82,6 +82,7 @@ var urlencode = utils.urlencode;
var uuid4 = utils.uuid4;
var htmlTreeAsString = utils.htmlTreeAsString;
var parseUrl = utils.parseUrl;
var isString = utils.isString;

var wrapConsoleMethod = _dereq_(2).wrapMethod;

Expand Down Expand Up @@ -149,7 +150,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.0.1',
VERSION: '3.0.2',

debug: false,

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

// if Sentry key appears in URL, don't capture
if (url.indexOf(self._globalKey) === -1) {
if (isString(url) && url.indexOf(self._globalKey) === -1) {
this.__raven_xhr = {
method: method,
url: url,
Expand Down
4 changes: 2 additions & 2 deletions dist/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/raven.min.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/sri.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"@dist/raven.js": {
"hashes": {
"sha256": "L3GrgwyvVyx8lmfTMjsB2QMkQ0rlDGot8FS7Cir+JrU=",
"sha512": "ji5Kdv5lExilDjHLdZbzXsi10ppNmEIsfVkrBfJPubZUCErReMxuwYnWOIadMn2rQvARA8/F72FFp+z/A6dqjg=="
"sha256": "yh0l1izZy8ACTse9vyqoU0sO5pLWH5IkGjQv6Mo5bLs=",
"sha512": "gbJtmy+JJcwFhkgk+pjtGYCplYvgHUZCoV+N2EMwqOsKV4LspU0biazBpkZ2Cx9wiXR50hNfYzmyJNhfjXwbFg=="
},
"type": null,
"integrity": "sha256-L3GrgwyvVyx8lmfTMjsB2QMkQ0rlDGot8FS7Cir+JrU= sha512-ji5Kdv5lExilDjHLdZbzXsi10ppNmEIsfVkrBfJPubZUCErReMxuwYnWOIadMn2rQvARA8/F72FFp+z/A6dqjg==",
"integrity": "sha256-yh0l1izZy8ACTse9vyqoU0sO5pLWH5IkGjQv6Mo5bLs= sha512-gbJtmy+JJcwFhkgk+pjtGYCplYvgHUZCoV+N2EMwqOsKV4LspU0biazBpkZ2Cx9wiXR50hNfYzmyJNhfjXwbFg==",
"path": "dist/raven.js"
},
"@dist/raven.min.js": {
"hashes": {
"sha256": "/p2gFyxHlRoB6Lh88YzaDJ2doQ33+Snlemq8L0txUVE=",
"sha512": "owp/TCO++gUKeQinTBiFtVxtlSPKUOgXzSfW8Fhmr3tyJZeLcK41bjs5qbZmYr7uOyhePkpft3LiY3wYDClPlQ=="
"sha256": "Lz811EBXq/vXGUpHazW7Fs3tZpu4Iw8PUm9bMHeiBEI=",
"sha512": "TXOh90oJ/4W6hOZGiHb9/1nmk9XTn8pptuynJBgpHY2xiNgoCupsVUjrOVDI6CNZQqeeCMnAjIi9altk2otpzw=="
},
"type": null,
"integrity": "sha256-/p2gFyxHlRoB6Lh88YzaDJ2doQ33+Snlemq8L0txUVE= sha512-owp/TCO++gUKeQinTBiFtVxtlSPKUOgXzSfW8Fhmr3tyJZeLcK41bjs5qbZmYr7uOyhePkpft3LiY3wYDClPlQ==",
"integrity": "sha256-Lz811EBXq/vXGUpHazW7Fs3tZpu4Iw8PUm9bMHeiBEI= sha512-TXOh90oJ/4W6hOZGiHb9/1nmk9XTn8pptuynJBgpHY2xiNgoCupsVUjrOVDI6CNZQqeeCMnAjIi9altk2otpzw==",
"path": "dist/raven.min.js"
}
}
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Putting it all together
<body>
...
<script src="jquery.min.js"></script>
<script src="https://cdn.ravenjs.com/3.0.1/raven.min.js"></script>
<script src="https://cdn.ravenjs.com/3.0.2/raven.min.js"></script>
<script>
Raven.config('___PUBLIC_DSN___', {
logger: 'my-logger',
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ scripts. For all details see :doc:`install`.

.. sourcecode:: html

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


Configuring the Client
Expand Down
4 changes: 2 additions & 2 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ So for example:
.. sourcecode:: html

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

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

.. sourcecode:: html

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

This version does not include any plugins. See `ravenjs.com
<http://ravenjs.com/>`_ for more information about plugins and getting
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/angular.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Example:
.. sourcecode:: html

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

Note that this CDN build auto-initializes the Angular plugin.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/backbone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ after you load all other external libraries (like jQuery), but before your code.

.. sourcecode:: html

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

Configuring the Client
----------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/integrations/ember.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ To use Sentry with your Ember application, you will need to use both Raven.js (S

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>`.

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
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.
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
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.

Installation
------------
Expand All @@ -23,7 +23,7 @@ Example:
.. sourcecode:: html

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

Note that this CDN build auto-initializes the Ember plugin.
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/react.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ after you load all other external libraries (like jQuery), but before your code.

.. sourcecode:: html

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

Configuring the Client
----------------------
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raven-js",
"version": "3.0.1",
"version": "3.0.2",
"license": "BSD-2-Clause",
"homepage": "https://getsentry.com",
"scripts": {
Expand Down Expand Up @@ -35,7 +35,7 @@
"jquery": "^2.1.4",
"lodash": "^3.10.1",
"mocha": "^1.21.5",
"proxyquireify": "^3.0.1",
"proxyquireify": "^3.0.2",
"sinon": "1.7.3",
"through2": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/raven.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,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.0.1',
VERSION: '3.0.2',

debug: false,

Expand Down
4 changes: 2 additions & 2 deletions test/raven.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ describe('globals', function() {
extra: {'session:duration': 100},
});
assert.deepEqual(opts.auth, {
sentry_client: 'raven-js/3.0.1',
sentry_client: 'raven-js/3.0.2',
sentry_key: 'abc',
sentry_version: '7'
});
Expand Down Expand Up @@ -1121,7 +1121,7 @@ describe('globals', function() {
extra: {'session:duration': 100},
});
assert.deepEqual(opts.auth, {
sentry_client: 'raven-js/3.0.1',
sentry_client: 'raven-js/3.0.2',
sentry_key: 'abc',
sentry_secret: 'def',
sentry_version: '7'
Expand Down

0 comments on commit aeb4961

Please sign in to comment.