Skip to content

Commit

Permalink
3.9.1 (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Dec 8, 2016
1 parent 7bbae7d commit 0b3c5ff
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.9.1
* BUGFIX: Fix TypeError triggered by some event listeners. See: https://github.com/getsentry/raven-js/issues/793
* BUGFIX: Fix bad `window` access in web worker environments. See: https://github.com/getsentry/raven-js/pull/792

## 3.9.0
* NEW: `breadcrumbCallback` and `setBreadcrumbCallback` for filtering/mutating breadcrumbs. See: https://github.com/getsentry/raven-js/pull/788
* NEW: Can enable synthetic traces globally via `stacktrace: true` config option. See: https://github.com/getsentry/raven-js/pull/763
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.9.0",
"version": "3.9.1",
"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.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | 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.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | 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.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | 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.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | 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.

2 changes: 1 addition & 1 deletion dist/plugins/vue.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | github.com/getsentry/raven-js */

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

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

8 changes: 5 additions & 3 deletions dist/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.9.0 (8bbd939) | github.com/getsentry/raven-js */
/*! Raven.js 3.9.1 (7bbae7d) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -172,7 +172,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.9.0',
VERSION: '3.9.1',

debug: false,

Expand Down Expand Up @@ -977,6 +977,8 @@ Raven.prototype = {
// need to intercept every DOM event in `before` argument, in case that
// same wrapped method is re-used for different events (e.g. mousemove THEN click)
// see #724
if (!evt) return;

if (evt.type === 'click')
return clickHandler(evt);
else if (evt.type === 'keypress')
Expand Down Expand Up @@ -1738,7 +1740,7 @@ function parseUrl(url) {
};
}
function uuid4() {
var crypto = window.crypto || window.msCrypto;
var crypto = _window.crypto || _window.msCrypto;

if (!isUndefined(crypto) && crypto.getRandomValues) {
// Use window.crypto API if available
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.

2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Putting it all together
<body>
...
<script src="jquery.min.js"></script>
<script src="https://cdn.ravenjs.com/3.9.0/raven.min.js"
<script src="https://cdn.ravenjs.com/3.9.1/raven.min.js"
crossorigin="anonymous"></script>
<script>
Raven.config('___PUBLIC_DSN___', {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ be included after other libraries are loaded, but before your main application c

.. sourcecode:: html

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

For installation using npm or other package managers, see :doc:`install`.

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.9.0/raven.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.ravenjs.com/3.9.1/raven.min.js" crossorigin="anonymous"></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.9.0/raven.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.ravenjs.com/3.9.1/raven.min.js" crossorigin="anonymous"></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 @@ -24,7 +24,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.9.0/angular/raven.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.ravenjs.com/3.9.1/angular/raven.min.js" crossorigin="anonymous"></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 @@ -8,7 +8,7 @@ Start by adding the ``raven.js`` script tag to your page. It should be loaded as

.. sourcecode:: html

<script src="https://cdn.ravenjs.com/3.9.0/raven.min.js"
<script src="https://cdn.ravenjs.com/3.9.1/raven.min.js"
crossorigin="anonymous"></script>

Configuring the Client
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/ember.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.9.0/ember/raven.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.ravenjs.com/3.9.1/ember/raven.min.js" crossorigin="anonymous"></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 @@ -8,7 +8,7 @@ Start by adding the ``raven.js`` script tag to your page. It should be loaded as

.. sourcecode:: html

<script src="https://cdn.ravenjs.com/3.9.0/raven.min.js"
<script src="https://cdn.ravenjs.com/3.9.1/raven.min.js"
crossorigin="anonymous"></script>

Configuring the Client
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/vue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Example:
.. sourcecode:: html

<script src="https://cdn.jsdelivr.net/vue/2.0.0-rc/vue.min.js"></script>
<script src="https://cdn.ravenjs.com/3.9.0/vue/raven.min.js"
<script src="https://cdn.ravenjs.com/3.9.1/vue/raven.min.js"
crossorigin="anonymous"></script>
<script>Raven.config('___PUBLIC_DSN___').install();</script>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raven-js",
"version": "3.9.0",
"version": "3.9.1",
"license": "BSD-2-Clause",
"homepage": "https://github.com/getsentry/raven-js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/raven.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,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.9.0',
VERSION: '3.9.1',

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 @@ -1004,7 +1004,7 @@ describe('globals', function() {
extra: {'session:duration': 100},
});
assert.deepEqual(opts.auth, {
sentry_client: 'raven-js/3.9.0',
sentry_client: 'raven-js/3.9.1',
sentry_key: 'abc',
sentry_version: '7'
});
Expand Down Expand Up @@ -1051,7 +1051,7 @@ describe('globals', function() {
extra: {'session:duration': 100},
});
assert.deepEqual(opts.auth, {
sentry_client: 'raven-js/3.9.0',
sentry_client: 'raven-js/3.9.1',
sentry_key: 'abc',
sentry_secret: 'def',
sentry_version: '7'
Expand Down

0 comments on commit 0b3c5ff

Please sign in to comment.