Skip to content

Commit 8f51189

Browse files
committed
3.22.4
1 parent 114c958 commit 8f51189

22 files changed

+178
-104
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 3.22.4
4+
5+
* NEW: Chrome and Firefox Extensions stack trace parsing (#1235)
6+
* BUGFIX: Handle custom error names in TraceKit (#1237)
7+
* BUGFIX: Let Edge to send fetch requests using default config (#1236)
8+
* BUGFIX: Correctly increment trimHeadFrames in captureMessage (#1224)
9+
* BUILD: Fix browserify plugin transform append (#1229)
10+
311
## 3.22.3
412

513
* BUGFIX: Reverted Rollup-based build system and fixed broken plugin builds

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.22.3",
3+
"version": "3.22.4",
44
"dependencies": {},
55
"main": "dist/raven.js",
66
"ignore": [

dist/plugins/angular.js

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Raven.js 3.22.3 (d6a1ff2) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.22.4 (114c958) | github.com/getsentry/raven-js */
22

33
/*
44
* Includes TraceKit
@@ -169,6 +169,24 @@ function supportsFetch() {
169169
}
170170
}
171171

172+
// Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default
173+
// https://caniuse.com/#feat=referrer-policy
174+
// It doesn't. And it throw exception instead of ignoring this parameter...
175+
// REF: https://github.com/getsentry/raven-js/issues/1233
176+
function supportsReferrerPolicy() {
177+
if (!supportsFetch()) return false;
178+
179+
try {
180+
// eslint-disable-next-line no-new
181+
new Request('pickleRick', {
182+
referrerPolicy: 'origin'
183+
});
184+
return true;
185+
} catch (e) {
186+
return false;
187+
}
188+
}
189+
172190
function wrappedCallback(callback) {
173191
function dataCallback(data, original) {
174192
var normalizedData = callback(data) || data;
@@ -521,6 +539,7 @@ module.exports = {
521539
isEmptyObject: isEmptyObject,
522540
supportsErrorEvent: supportsErrorEvent,
523541
supportsFetch: supportsFetch,
542+
supportsReferrerPolicy: supportsReferrerPolicy,
524543
wrappedCallback: wrappedCallback,
525544
each: each,
526545
objectMerge: objectMerge,

dist/plugins/angular.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)