Skip to content

Commit 4d637a2

Browse files
authored
3.5.0 (#689)
1 parent 892008a commit 4d637a2

27 files changed

+200
-94
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 3.5.0
4+
* NEW: Can now disable automatic collection of breadcrumbs via `autoBreadcrumbs` config option. See: https://github.com/getsentry/raven-js/pull/686
5+
* NEW: Can now configure max number of breadcrumbs to collect via `maxBreadcrumbs`. See: https://github.com/getsentry/raven-js/pull/685
6+
* NEW: Added Vue.js plugin. See: https://github.com/getsentry/raven-js/pull/688
7+
* CHANGE: Raven.js now collects 100 breadcrumbs by default. See: https://github.com/getsentry/raven-js/pull/685
8+
* CHANGE: React Native plugin now also normalizes paths from CodePush. See: https://github.com/getsentry/raven-js/pull/683
9+
310
## 3.4.1
411
* BUGFIX: Fix exception breadcrumbs having "undefined" for exception value. See: https://github.com/getsentry/raven-js/pull/681
512

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raven-js",
3-
"version": "3.4.1",
3+
"version": "3.5.0",
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.4.1 (d824691) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.5.0 (892008a) | 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.4.1 (d824691) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.5.0 (892008a) | 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.4.1 (d824691) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.5.0 (892008a) | 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.4.1 (d824691) | github.com/getsentry/raven-js */
1+
/*! Raven.js 3.5.0 (892008a) | 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/plugins/vue.js

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*! Raven.js 3.5.0 (892008a) | github.com/getsentry/raven-js */
2+
3+
/*
4+
* Includes TraceKit
5+
* https://github.com/getsentry/TraceKit
6+
*
7+
* Copyright 2016 Matt Robenolt and other contributors
8+
* Released under the BSD license
9+
* https://github.com/getsentry/raven-js/blob/master/LICENSE
10+
*
11+
*/
12+
13+
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g=(g.Raven||(g.Raven = {}));g=(g.Plugins||(g.Plugins = {}));g.Vue = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
14+
/**
15+
* Vue.js 2.0 plugin
16+
*
17+
*/
18+
'use strict';
19+
20+
function vuePlugin(Raven, Vue) {
21+
Vue = Vue || window.Vue;
22+
23+
// quit if Vue isn't on the page
24+
if (!Vue || !Vue.config) return;
25+
26+
var _oldOnError = Vue.config.errorHandler;
27+
Vue.config.errorHandler = function VueErrorHandler(error, vm) {
28+
Raven.captureException(error, {
29+
extra: {
30+
componentName: Vue.util.formatComponentName(vm),
31+
propsData: vm.$options.propsData
32+
}
33+
});
34+
35+
if (typeof _oldOnError === 'function') {
36+
_oldOnError.call(this, error, vm);
37+
}
38+
};
39+
}
40+
41+
module.exports = vuePlugin;
42+
43+
44+
},{}]},{},[1])(1)
45+
});

dist/plugins/vue.min.js

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

dist/plugins/vue.min.js.map

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

0 commit comments

Comments
 (0)