Skip to content

Commit

Permalink
3.25.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed May 11, 2018
1 parent b6f3c7a commit 66b3148
Show file tree
Hide file tree
Showing 118 changed files with 2,485 additions and 926 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 3.25.1

* BUILD: fix missing plugins in dist directory and simplify grunt build (#1327)
* BUGFIX: Polyfill location.origin for IE10 (#1325)
* BUGFIX: use safe _window and _navigator references (#1324)

## 3.25.0

* FEAT: Handle JavaScript loaded in the browser inside a blob (#1322)
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.25.0",
"version": "3.25.1",
"dependencies": {},
"main": "dist/raven.js",
"ignore": [
Expand Down
24 changes: 17 additions & 7 deletions dist/angular,console,ember,require,vue/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -419,7 +419,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1728,8 +1728,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1758,8 +1758,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -2049,7 +2049,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3224,6 +3224,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,ember,require,vue/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,ember,require,vue/raven.min.js.map

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/angular,console,ember,require/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -369,7 +369,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1678,8 +1678,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1708,8 +1708,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -1999,7 +1999,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3174,6 +3174,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,ember,require/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,ember,require/raven.min.js.map

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/angular,console,ember,vue/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -402,7 +402,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1711,8 +1711,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1741,8 +1741,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -2032,7 +2032,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3207,6 +3207,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,ember,vue/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,ember,vue/raven.min.js.map

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/angular,console,ember/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -352,7 +352,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1661,8 +1661,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1691,8 +1691,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -1982,7 +1982,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3157,6 +3157,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,ember/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,ember/raven.min.js.map

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/angular,console,require,vue/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -386,7 +386,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1695,8 +1695,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1725,8 +1725,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -2016,7 +2016,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3191,6 +3191,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,require,vue/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,require,vue/raven.min.js.map

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/angular,console,require/raven.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */

/*
* Includes TraceKit
Expand Down Expand Up @@ -336,7 +336,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.25.0',
VERSION: '3.25.1',

debug: false,

Expand Down Expand Up @@ -1645,8 +1645,8 @@ Raven.prototype = {
var hasPushAndReplaceState =
!isChromePackagedApp &&
_window.history &&
history.pushState &&
history.replaceState;
_window.history.pushState &&
_window.history.replaceState;
if (autoBreadcrumbs.location && hasPushAndReplaceState) {
// TODO: remove onpopstate handler on uninstall()
var oldOnPopState = _window.onpopstate;
Expand Down Expand Up @@ -1675,8 +1675,8 @@ Raven.prototype = {
};
};

fill(history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'pushState', historyReplacementFunction, wrappedBuiltIns);
fill(_window.history, 'replaceState', historyReplacementFunction, wrappedBuiltIns);
}

if (autoBreadcrumbs.console && 'console' in _window && console.log) {
Expand Down Expand Up @@ -1966,7 +1966,7 @@ Raven.prototype = {

if (this._hasNavigator && _navigator.userAgent) {
httpData.headers = {
'User-Agent': navigator.userAgent
'User-Agent': _navigator.userAgent
};
}

Expand Down Expand Up @@ -3141,6 +3141,16 @@ function getLocationHref() {

function getLocationOrigin() {
if (typeof document === 'undefined' || document.location == null) return '';

// Oh dear IE10...
if (!document.location.origin) {
document.location.origin =
document.location.protocol +
'//' +
document.location.hostname +
(document.location.port ? ':' + document.location.port : '');
}

return document.location.origin;
}

Expand Down
6 changes: 3 additions & 3 deletions dist/angular,console,require/raven.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular,console,require/raven.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 66b3148

Please sign in to comment.