UNPKG

36 kBMarkdownView Raw
1# Changelog
2
3## 3.26.4
4
5* FEAT: Add options to customize `showReportDialog` language
6
7## 3.26.3
8
9* FIX: Attempt to provide some information for `<unlabeled event>` (#1397)
10
11## 3.26.2
12
13* FIX: Fallback to <anonymous> handler name in mechanism (#1359)
14* FIX: check for undefined stacks in isSameStacktrace (#1339)
15
16## 3.26.1
17
18* FIX: Bower build
19
20## 3.26.0
21
22* REF: Return location.origin instead of assigning it for IE10
23* FEAT: Send exception mechanisms
24
25## 3.25.2
26
27* REF: Emit transaction instead of culprit (#1330)
28
29## 3.25.1
30
31* BUILD: fix missing plugins in dist directory and simplify grunt build (#1327)
32* BUGFIX: Polyfill location.origin for IE10 (#1325)
33* BUGFIX: use safe \_window and \_navigator references (#1324)
34
35## 3.25.0
36
37* FEAT: Handle JavaScript loaded in the browser inside a blob (#1322)
38* FEAT: Handle DOMError and DOMException gracefully (#1310)
39* BUILD: include plugins-combination in dist and clear some old grunt config
40 (#1313)
41
42## 3.24.2
43
44* FEAT: Capture breadcrumbs on failed fetch request (#1293)
45* BUGFIX: Make debug mode actually work (#1305)
46* BUGFIX: Use correct frame url in ignore/whitelisturl calls (#1304)
47* BUGFIX: Check input type before doing truncation (#1299)
48
49## 3.24.1
50
51* FEAT: Add flag for unhandled promise rejections (#1278)
52* BUGFIX: Use guard for document.attachEvent calls (#1289)
53
54## 3.24.0
55
56* NEW: Introduce `sanitizeKeys` config option (#1264)
57* NEW: Expose Ravens constructor publicly. Kinda. (#1272)
58* BUGFIX: Guard for invalid input to `fill` helper method (#1265)
59* BUGFIX: Check if `XMLHttpRequest` exists before using it (#1265)
60
61## 3.23.3
62
63* BUGFIX: Fix detection of custom error objects in `captureException` method,
64 aka "Schrodinger's Error"© patch(#1261)
65
66## 3.23.2
67
68**NOTE**: This release may introduce some new events for the same errors, as
69we'll provide more information on them now. Your Sentry Issues stream may show
70new errors, without any changes done to your application's code.
71
72* NEW: Sensible non-Error exception serializer (#1253)
73* BUGFIX: Create correct fingerprint when using synthetic stacktraces (#1246)
74
75## 3.23.1
76
77* BUGFIX: Check if `addEventListener` and `removeEventListener` are present
78 before calling them
79
80## 3.23.0
81
82**NOTE**: This release may introduce some new, previously uncaught errors that
83were silently occuring in the background. Your Sentry Issues stream may show new
84errors, without any changes done to your application's code.
85
86* NEW: Introduce global unhandled rejections handler and
87 `captureUnhandledRejections` config option (#1242).
88
89## 3.22.4
90
91* NEW: Chrome and Firefox Extensions stack trace parsing (#1235)
92* BUGFIX: Handle custom error names in TraceKit (#1237)
93* BUGFIX: Let Edge to send fetch requests using default config (#1236)
94* BUGFIX: Correctly increment trimHeadFrames in captureMessage (#1224)
95* BUILD: Fix browserify plugin transform append (#1229)
96
97## 3.22.3
98
99* BUGFIX: Reverted Rollup-based build system and fixed broken plugin builds
100
101## 3.22.2
102
103* BUGFIX: Use correct trimHeadFrames value if capturing new trace (#1216)
104* BUGFIX: Restore console methods after calling uninstall (#1221)
105* BUGFIX: Create safeJoin util for console wrappers (#1222)
106
107## 3.22.1
108
109* NEW: Check for `SENTRY_RELEASE` during config phase (#1194)
110* CHANGE: Fix ChromeLauncher for Travis integration tests (#1196)
111* BUGFIX: Do not include credentials by default (#1191)
112* BUGFIX: Call captureBreadcrumb for fetch after its done (#1197)
113
114## 3.22.0
115
116* NEW: Add `fetchParameters` to configure `fetch` (#1177)
117* NEW: Delete empty properties before sending event to the server (#1179)
118* CHANGE: Improve support for Windows 10 webview URLs in the stack trace (#1137)
119* CHANGE: Various Typescript typings update (#1134 #1183 #1187)
120* BUGFIX: Access `window.location` first before trying `document.location`
121 (#1180)
122* BUGFIX: Check `parseUrl` for correct input type (#1190)
123
124## 3.21.0
125
126* NEW: Use Fetch instead of XHR when available
127 https://github.com/getsentry/raven-js/pull/1157
128* NEW: Ability to specify Custom headers
129 https://github.com/getsentry/raven-js/pull/1166
130* NEW: Handle ErrorEvent objects in TraceKit
131 https://github.com/getsentry/raven-js/pull/1162
132* BUGFIX: Check for both stacktraces before calling 'isSameException'
133 https://github.com/getsentry/raven-js/pull/1150
134* DOCS: Electron integration documentation
135 https://github.com/getsentry/raven-js/pull/1142
136* DOCS: Include Sentry Webpack Plugin in the Source Maps documentation
137 https://github.com/getsentry/raven-js/pull/1155
138
139## 3.20.1
140
141* BUGFIX: Prevent Raven throwing during installation when
142 `Function.prototype.toString` is called in Angular projects with `zone.js` and
143 `core.js` wrapped functions https://github.com/getsentry/raven-js/pull/1135
144* BUGFIX: Add isArray util to prevent undefined `stack.stack` during
145 `captureMessage` with synthetic stack traces enabled
146 https://github.com/getsentry/raven-js/pull/1140
147
148## 3.20.0
149
150* NEW: `autoBreadcrumbs` can now disable sentry breadcrumbs and configure them
151 on demand https://github.com/getsentry/raven-js/pull/1099
152* NEW: Add `maxBreadcrumbs` and `sampleRate` to Typescript typings
153 https://github.com/getsentry/raven-js/commit/29b89deb846dca5578036d88fd77000fb395fba3
154 https://github.com/getsentry/raven-js/commit/989f43abfc0bb9c5fc36b00d7f9ce04c581168c2
155* CHANGE: `isEmptyObject` utility now checks for object's own properties only
156 https://github.com/getsentry/raven-js/pull/1100
157* CHANGE: Update how wrapped functions are detected as native functions
158 https://github.com/getsentry/raven-js/pull/1106
159* CHANGE: Update integration tests on SauceLabs to use Safari 11.0
160* BUGFIX: Send raw error when `vm` is undefined while using Vue plugin
161 https://github.com/getsentry/raven-js/pull/1118
162
163## 3.19.1
164
165* BUGFIX: Don't prettify minified dist files
166 https://github.com/getsentry/raven-js/commit/fee37713c9a17d41b5bb4e669f584ec056658df1
167
168## 3.19.0
169
170* NEW: `ErrorEvent` are now treated in the same way as regular `Error` objects
171 https://github.com/getsentry/raven-js/pull/1094
172* NEW: `replaceState` is now instrumented to be stored as a breadcrumbs
173 correctly https://github.com/getsentry/raven-js/pull/1093
174* NEW: `captureMessage` now respects `ignoreUrls` and `whitelistUrls` configs
175 https://github.com/getsentry/raven-js/pull/1080
176* NEW: Improved support for parsing Electron errors
177 https://github.com/getsentry/raven-js/pull/1068
178* NEW: All test suites are now using Karma and are additionally running on
179 Headless Firefox, Edge 15, Android 4.4/5.1/6.0/7.1 and iOS10
180 https://github.com/getsentry/raven-js/pull/1087
181* BUGFIX: Don't throw error when calling `fetch` without a valid arguments
182 https://github.com/getsentry/raven-js/pull/1069
183* BUGFIX: `ignoreErrors` patterns are now compared on both, error message itself
184 and `<type>: <message>` formatted string
185 https://github.com/getsentry/raven-js/pull/1076
186* BUGFIX: `showReportDialog` `options` argument is now optional in TypeScript
187 definitions https://github.com/getsentry/raven-js/pull/1097
188* BUGFIX: TravisCI tests will run correctly for non-org contributors as well \o/
189 https://github.com/getsentry/raven-js/commit/1650da749282207939d9d362194d086a565e09c5
190
191## 3.18.1
192
193* BUGFIX: Remove engine field from package.json, preventing correct npm/yarn
194 usage
195
196## 3.18.0
197
198* NEW: All unit and integration tests are now running on CI using SauceLabs, to
199 ensure everything is working correctly on all browsers
200 https://github.com/getsentry/raven-js/pull/1026
201* NEW: `console.assert` is now instrumented in the same way as the rest of
202 `console` methods https://github.com/getsentry/raven-js/pull/1044
203* NEW: Vue.js plugin now provides `lifecycleHook` as the 3rd argument to error
204 handler, to make it in line with v2.2.0 implementation
205 https://github.com/getsentry/raven-js/pull/1053
206* NEW: Updated Errors serialization to store all additional properties and allow
207 for attaching other object instances directly to it
208 https://github.com/getsentry/raven-js/pull/1060
209* NEW: Included exception type in `ignoreErrors` test, which allows for
210 filtering based on error types https://github.com/getsentry/raven-js/pull/1057
211* CHANGE: Raven.js now uses Prettier to format it's code
212 https://github.com/getsentry/raven-js/pull/1020
213* CHANGE: Unit tests are using Headless Chrome instead of PhantomJS
214 https://github.com/getsentry/raven-js/pull/1029
215* CHANGE: Added `setDSN` typing definition for TypeScript
216 https://github.com/getsentry/raven-js/pull/995
217* BUGFIX: Defend against undefined `XMLHttpRequest` while sending events
218 https://github.com/getsentry/raven-js/pull/1024
219* BUGFIX: `lastEventId` won't be overriden when an event was dropped
220 https://github.com/getsentry/raven-js/pull/1041
221* BUGFIX: Make sure that `document` is available before reading `location`
222 https://github.com/getsentry/raven-js/pull/1038
223* BUGFIX: Prevent breadcrumbs with undefined url to throw an error
224 https://github.com/getsentry/raven-js/pull/1018
225
226## 3.17.0
227
228* CHANGE: Export TypeScript definitions as a CommonJS module. See:
229 https://github.com/getsentry/raven-js/pull/977
230
231## 3.16.1
232
233* BUGFIX: Fixed stacktrace on Android for React Native release builds. See:
234 https://github.com/getsentry/raven-js/pull/985
235* BUGFIX: TypeScript: Change loglevel option "warn" to "warning".
236
237## 3.16.0
238
239* CHANGE: Plugins no longer disrupt data callback behavior. See:
240 https://github.com/getsentry/raven-js/pull/891
241* BUGFIX: Fixed event object copying in React Native. See:
242 https://github.com/getsentry/raven-js/pull/960
243* BUGFIX: More TypeScript definitions for API properties and methods. See:
244 https://github.com/getsentry/raven-js/pull/968,
245 https://github.com/getsentry/raven-js/pull/963
246
247## 3.15.0
248
249* NEW: Added new `instrument` config option for disabling portions of
250 instrumentation. See: https://github.com/getsentry/raven-js/pull/938
251* NEW: Support CJS use of AngularJS module. See documentation:
252 https://docs.sentry.io/clients/javascript/integrations/angularjs/
253
254## 3.14.2
255
256* BUGFIX: Fix bug in breadcrumb URL truncation when `fetch` is used with a
257 `Request` argument. See: https://github.com/getsentry/raven-js/issues/924
258
259## 3.14.1
260
261* BUGFIX: Fix TypeError caused by breadcrumb URL truncation in some situations.
262 See: https://github.com/getsentry/raven-js/issues/925
263* BUGFIX: Made URL truncation more defensive for some rare cases. See:
264 https://github.com/getsentry/raven-js/pull/918
265* BUGFIX: Raven.js now treats DOMExceptions as "Error" objects w/ traces. See:
266 https://github.com/getsentry/raven-js/pull/919/
267* CHANGE: Remove unused/deprecated escape functions in vendored TraceKit.js.
268 See: https://github.com/getsentry/raven-js/pull/923
269* CHANGE: Removed json-stringify-safe from package.json (was already vendored).
270 See: https://github.com/getsentry/raven-js/pull/917
271
272## 3.14.0
273
274* NEW: URL values captured in http + breadcrumb interfaces are now trimmed to
275 new `maxUrlLength` config (default 250). See:
276 https://github.com/getsentry/raven-js/pull/906
277* CHANGE: Better extraction of URLs from eval frames on Chrome, Firefox. This
278 may affect issue grouping of some events. See:
279 https://github.com/getsentry/raven-js/pull/907
280* BUGFIX: Raven.js now parses webpack:// URLs (generated when using devtool:
281 eval). See: https://github.com/getsentry/raven-js/pull/908
282* BUGFIX: React Native frames on Android no longer show [native code]. See:
283 https://github.com/getsentry/raven-js/pull/875
284
285## 3.13.1
286
287* BUGFIX: Revert TypeScript declaration changes from 3.13.0 that resulted in bad
288 imports. See: https://github.com/getsentry/raven-js/issues/898
289
290## 3.13.0
291
292* NEW: Added new `sampleRate` config option. See:
293 https://github.com/getsentry/raven-js/pull/885
294* CHANGE: TypeScript declaration file (raven.d.ts) has been improved
295 considerably. See: https://github.com/getsentry/raven-js/pull/827
296
297## 3.12.2
298
299* BUGFIX: Fix Raven.js not capturing IE8 errors. See:
300 https://github.com/getsentry/raven-js/pull/883
301
302## 3.12.1
303
304* BUGFIX: Fix Raven.js not properly catching some thrown messages, objects. See:
305 https://github.com/getsentry/raven-js/pull/872
306
307## 3.12.0
308
309* NEW: Raven.js now attempts to suppress back-to-back duplicate errors by
310 default. See: https://github.com/getsentry/raven-js/pull/861
311* BUGFIX: Fix case where breadcrumb instrumention could sometimes throw errors
312 on custom DOM events. See: https://github.com/getsentry/raven-js/pull/857
313* BUGFIX: Fix Raven.js incorrectly interpreting Retry-After header in ms; should
314 be seconds. See: https://github.com/getsentry/raven-js/pull/862
315
316## 3.11.0
317
318* CHANGE: Raven.js no longer auto-wraps jQuery.ready (if present); fixes jQuery
319 deprecation warnings. See: https://github.com/getsentry/raven-js/pull/849
320* BUGFIX: Fix User-Agent not collected in web worker environment. See:
321 https://github.com/getsentry/raven-js/issues/853
322* BUGFIX: Fix DOM tree summarizer (breadcrumbs) not splitting on breadcrumbs
323 effectively. See: https://github.com/getsentry/raven-js/pull/852
324* BUGFIX: Fix Vue plugin breaking on production builds. See:
325 https://github.com/getsentry/raven-js/pull/848
326* NEW: Added comment to Raven.wrap to indicate stack traces containing this
327 frame are not indicative of a bug. See:
328 https://github.com/getsentry/raven-js/pull/847
329
330## 3.10.0
331
332* NEW: Raven.js will exponentially back off if server returns a 400-level error
333 (e.g. 429 too many requests). See:
334 https://github.com/getsentry/raven-js/pull/839
335* CHANGE: Raven.js will not set lastEventId if transmission failed because Raven
336 is not configured. See: https://github.com/getsentry/raven-js/pull/839
337* BUGFIX: Raven.js now properly handles Firefox resource:// URLs (extensions).
338 See: https://github.com/getsentry/raven-js/pull/837
339
340## 3.9.2
341
342* BUGFIX: Use json-stringify-safe in React Native plugin to avoid circular refs.
343 See: https://github.com/getsentry/raven-js/pull/829
344* BUGFIX: Avoid document.location access in React Native plugin. See:
345 https://github.com/getsentry/raven-js/issues/800
346
347## 3.9.1
348
349* BUGFIX: Fix TypeError triggered by some event listeners. See:
350 https://github.com/getsentry/raven-js/issues/793
351* BUGFIX: Fix bad `window` access in web worker environments. See:
352 https://github.com/getsentry/raven-js/pull/792
353
354## 3.9.0
355
356* NEW: `breadcrumbCallback` and `setBreadcrumbCallback` for filtering/mutating
357 breadcrumbs. See: https://github.com/getsentry/raven-js/pull/788
358* NEW: Can enable synthetic traces globally via `stacktrace: true` config
359 option. See: https://github.com/getsentry/raven-js/pull/763
360* CHANGE: Can set user context via `config` under `user` key. See:
361 https://github.com/getsentry/raven-js/pull/762
362* CHANGE: Unit and integration tests now run on PhantomJS 2. See:
363 https://github.com/getsentry/raven-js/pull/777
364* BUGFIX: Fix mouse click breadcrumbs not captured in some scenarios. See:
365 https://github.com/getsentry/raven-js/pull/766
366* BUGFIX: React Native plugin normalizes paths in stacktraces generated via
367 `captureMessage`. See: https://github.com/getsentry/raven-js/pull/778
368* BUGFIX: Doesn't break when window is absent (e.g. inside web workers). See:
369 https://github.com/getsentry/raven-js/pull/785
370
371## 3.8.1
372
373* BUGFIX: Fix dangling comma affecting IE8. See:
374 https://github.com/getsentry/raven-js/pull/769
375
376## 3.8.0
377
378* NEW: Record fetch request breadcrumbs. See:
379 https://github.com/getsentry/raven-js/pull/744
380* NEW: Record contentEditable input event breadcrumbs. See:
381 https://github.com/getsentry/raven-js/pull/748
382* BUGFIX: Updated Typescript declaration file. See:
383 https://github.com/getsentry/raven-js/pull/746
384* NEW: File size improvements for raven.min.js See:
385 https://github.com/getsentry/raven-js/pull/721
386
387## 3.7.0
388
389* BUGFIX: Add missing return types from TypeScript declaration file. See:
390 https://github.com/getsentry/raven-js/pull/718
391* BUGFIX: Fix "Permission denied" error in Firefox via WebDriver. See:
392 https://github.com/getsentry/raven-js/pull/720
393* REMOVED: Legacy stack trace parsing from Opera 9, 10. See:
394 https://github.com/getsentry/raven-js/pull/716
395
396## 3.6.1
397
398* BUGFIX: Fix `trimHeadFrames` appearing in some data payloads when using
399 synthetic traces. See: https://github.com/getsentry/raven-js/pull/714
400
401## 3.6.0
402
403* NEW: `Raven.captureMessage` will generate synthetic stacktraces if passed
404 `stacktrace: true` via options. See:
405 https://github.com/getsentry/raven-js/pull/582
406* NEW: Added `Raven.setDSN` for changing target DSN after Raven has been
407 configured. See: https://github.com/getsentry/raven-js/pull/706
408* CHANGE: Added missing TypeScript type declarations for Raven API methods. See:
409 https://github.com/getsentry/raven-js/pull/698
410
411## 3.5.1
412
413* BUGFIX: Fix non-fatals crashing React Native plugin unless
414 `shouldSendCallback` is specified. See:
415 https://github.com/getsentry/raven-js/pull/694
416
417## 3.5.0
418
419* NEW: Can now disable automatic collection of breadcrumbs via `autoBreadcrumbs`
420 config option. See: https://github.com/getsentry/raven-js/pull/686
421* NEW: Can now configure max number of breadcrumbs to collect via
422 `maxBreadcrumbs`. See: https://github.com/getsentry/raven-js/pull/685
423* NEW: Added Vue.js plugin. See: https://github.com/getsentry/raven-js/pull/688
424* CHANGE: Raven.js now collects 100 breadcrumbs by default. See:
425 https://github.com/getsentry/raven-js/pull/685
426* CHANGE: React Native plugin now also normalizes paths from CodePush. See:
427 https://github.com/getsentry/raven-js/pull/683
428
429## 3.4.1
430
431* BUGFIX: Fix exception breadcrumbs having "undefined" for exception value. See:
432 https://github.com/getsentry/raven-js/pull/681
433
434## 3.4.0
435
436* CHANGE: React Native plugin now stores errors in AsyncStorage and sends error
437 data on app init. See: https://github.com/getsentry/raven-js/pull/626
438* BUGFIX: React Native path normalization regex has been updated. See:
439 https://github.com/getsentry/raven-js/pull/666
440* BUGFIX: Angular 1 plugin now extracts errors from minified exception strings.
441 See: https://github.com/getsentry/raven-js/pull/667
442
443## 3.3.0
444
445* NEW: Can now specify `environment` configuration option. See:
446 https://github.com/getsentry/raven-js/pull/661
447* CHANGE: Raven.js now serializes data payload w/ json-stringify-safe to avoid
448 circular references. See: https://github.com/getsentry/raven-js/pull/652
449* BUGFIX: Angular 1.x plugin no longer clobbers user-specified `dataCallback`.
450 See: https://github.com/getsentry/raven-js/pull/658
451
452## 3.2.1
453
454* BUGFIX: Fixed error when manually calling captureException with Error objects
455 w/ maxMessageLength > 0. See: https://github.com/getsentry/raven-js/pull/647
456* BUGFIX: Fixed TypeScript language declaration file for compatibility w/
457 Webpack loaders. See: https://github.com/getsentry/raven-js/pull/645
458* BUGFIX: Fixed Raven dropping file:/// frames from Phantom 1.x. See:
459 https://github.com/getsentry/raven-js/pull/642
460
461## 3.2.0
462
463* CHANGE: Callbacks set via `setDataCallback`, `setShouldSendCallback` now
464 receive any prior-set callback as the 2nd argument. See:
465 https://github.com/getsentry/raven-js/pull/636
466* CHANGE: Raven.js no longer passes a 'message' interface for exceptions. See:
467 https://github.com/getsentry/raven-js/pull/632
468* CHANGE: Log level now recorded for "sentry" breadcrumbs. See:
469 https://github.com/getsentry/raven-js/pull/633
470
471## 3.1.1
472
473* BUGFIX: Fix message truncation occurring before dataCallback is invoked. See:
474 https://github.com/getsentry/raven-js/issues/605
475* BUGFIX: Fix pushState error in Chrome Apps. See:
476 https://github.com/getsentry/raven-js/issues/601
477* BUGFIX: Fix error in addEventListener call affecting very old Firefox
478 versions. See: https://github.com/getsentry/raven-js/issues/603
479
480## 3.1.0
481
482* NEW: Added TypeScript declaration file for compatibility with TypeScript
483 projects. See: https://github.com/getsentry/raven-js/pull/610
484
485## 3.0.5
486
487* BUGFIX: Fix breadcrumb instrumentation failing in IE8. See:
488 https://github.com/getsentry/raven-js/issues/594
489
490## 3.0.4
491
492* BUGFIX: Navigation breadcrumbs now include query strings and document fragment
493 (#). See: https://github.com/getsentry/raven-js/issues/573
494* BUGFIX: Remove errant `throw` call in \_makeRequest affecting some Raven
495 configs. See: https://github.com/getsentry/raven-js/pull/572
496
497## 3.0.3
498
499* BUGFIX: Fix pushState instrumentation breaking on non-string URL args. See:
500 https://github.com/getsentry/raven-js/issues/569
501
502## 3.0.2
503
504* BUGFIX: Fix XMLHttpRequest.prototype.open breaking on non-string `url`
505 arguments. See: https://github.com/getsentry/raven-js/issues/567
506
507## 3.0.1
508
509* BUGFIX: Fix broken CDN builds. See:
510 https://github.com/getsentry/raven-js/pull/566
511
512## 3.0.0
513
514* NEW: Raven.js now collects breadcrumbs from XMLHttpRequest objects, URL
515 changes (pushState), console log calls, UI clicks, and errors.
516* BUGFIX: Fix parsing error messages from Opera Mini. See:
517 https://github.com/getsentry/raven-js/pull/554
518* REMOVED: Fallback Image transport (HTTP GET) has been removed. See:
519 https://github.com/getsentry/raven-js/pull/545
520* REMOVED: TraceKit client-side source fetching has been removed. See:
521 https://github.com/getsentry/raven-js/pull/542
522
523## 2.3.0
524
525* NEW: `pathStrip` option now available in React Native plugin. See:
526 https://github.com/getsentry/raven-js/pull/515
527* BUGFIX: Handle stacks from internal exceptions sometimes thrown by Firefox.
528 See: https://github.com/getsentry/raven-js/pull/536
529* BUGFIX: Better error message strings in browsers w/ limited onerror
530 implementations. See: https://github.com/getsentry/raven-js/pull/538
531
532## 2.2.1
533
534* BUGFIX: Fix HTTP requests not sending with React Native on Android devices.
535 See: https://github.com/getsentry/raven-js/issues/526
536* BUGFIX: Raven.js now captures stack traces caused by Firefox internal errors.
537 See: https://github.com/getsentry/raven-js/pull/528
538
539## 2.2.0
540
541* NEW: `allowSecretKey` configuration option. See:
542 https://github.com/getsentry/raven-js/pull/525
543* NEW: Console plugin can be configured to capture specific log levels. See:
544 https://github.com/getsentry/raven-js/pull/514
545* CHANGE: React Native plugin now calls default exception handler. See:
546 https://github.com/getsentry/raven-js/pull/492
547* CHANGE: React Native plugin now uses HTTP POST transport. See:
548 https://github.com/getsentry/raven-js/pull/494
549* BUGFIX: Fix Raven throwing exception when run via Webdriver. See:
550 https://github.com/getsentry/raven-js/issues/495
551
552## 2.1.1
553
554* BUGFIX: Fixed IE8 regression introduced in 2.1.0. See:
555 https://github.com/getsentry/raven-js/issues/498
556* BUGFIX: Fixed initialization error when run via Selenium. See:
557 https://github.com/getsentry/raven-js/issues/495
558
559## 2.1.0
560
561* BUGFIX: Fixed Raven.js rejecting frames w/ blob URLs. See:
562 https://github.com/getsentry/raven-js/issues/463
563* BUGFIX: Fixed plugin files not consumable without module loader. See:
564 https://github.com/getsentry/raven-js/issues/446
565* BUGFIX: Fixed bug in console.js plugin where `level` wasn't passed. See:
566 https://github.com/getsentry/raven-js/pull/474
567* BUGFIX: Fixed broken debug logging in IE9 and below. See:
568 https://github.com/getsentry/raven-js/pull/473
569* BUGFIX: Fixed `XMLHttpRequest` wrapper not capturing all event handlers. See:
570 https://github.com/getsentry/raven-js/issues/453
571* CHANGE: `Raven.uninstall` now restores original builtin functions (e.g.
572 setTimeout). See: https://github.com/getsentry/raven-js/issues/228
573* CHANGE: `maxMessageLength` now defaults to 0 (no limit). See:
574 https://github.com/getsentry/raven-js/pull/441
575* NEW: New `stackTraceLimit` config option (default 50 in supported browsers).
576 See: https://github.com/getsentry/raven-js/pull/419/files
577* NEW: `Raven.showReportDialog` (experimental). See:
578 https://github.com/getsentry/raven-js/pull/456
579
580## 2.0.5
581
582* BUGFIX: Fixed exception thrown by React Native plugin. See:
583 https://github.com/getsentry/raven-js/issues/468
584* BUGFIX: Fixed "pre-built JavaScript" warning when loading Raven.js via
585 Webpack. See: https://github.com/getsentry/raven-js/issues/465
586
587## 2.0.4
588
589* BUGFIX: Fixed bug where Raven.VERSION was not set when required as a CommonJS
590 module.
591
592## 2.0.2
593
594* BUGFIX: Fixed bug where wrapped requestAnimationFrame didn't return callback
595 ID. See: https://github.com/getsentry/raven-js/pull/460
596
597## 2.0.1
598
599* BUGFIX: Fixed bug where unwrapped errors might be suppressed. See:
600 https://github.com/getsentry/raven-js/pull/447
601
602## 2.0.0
603
604* CHANGE: Raven.js now wraps functions passed to timer functions, event
605 listeners, and XMLHttpRequest handlers
606* CHANGE: Removed jQuery, Backbone, and native plugins (now handled inside
607 raven.js)
608* CHANGE: Default HTTP transport changed from `Image` GET to `XMLHttpRequest`
609 POST (w/ CORS)
610* CHANGE: When using CommonJS, plugins are initialized via
611 `Raven.addPlugin(require('raven-js/plugins/ember'))`
612* CHANGE: Raven builds are generated using Browserify
613* NEW: Integration tests (/test/integration/index.html)
614
615## 1.3.0
616
617* CHANGE: `console` plugin will now send all arguments as an `extra` value. See:
618 https://github.com/getsentry/raven-js/pull/398
619* CHANGE: Bump to v7 of the Sentry API spec. This now requires a Sentry 7.7.0+
620 https://github.com/getsentry/raven-js/pull/403
621* CHANGE: Revamp of AngularJS plugin. Please see documentation. See:
622 https://github.com/getsentry/raven-js/pull/405
623* CHANGE: `Raven.debug` now defaults to `false`.
624 https://github.com/getsentry/raven-js/commit/dc142b88f0c4953f54cb3754f9015d95ada55ba0
625* BUGFIX: `Raven.wrap` now correctly preserves `prototype`. See:
626 https://github.com/getsentry/raven-js/issues/401 and
627 https://github.com/getsentry/raven-js/pull/402
628* NEW: `serverName` config option.
629 https://github.com/getsentry/raven-js/pull/404
630* NEW: Experimental support for React Native added.
631
632## 1.2.0
633
634* BUGFIX: Error in cases where a `document` context doesn't exist. See:
635 https://github.com/getsentry/raven-js/pull/383
636* BUGFIX: Trailing comma when using unminified dist which affects IE9. See:
637 https://github.com/getsentry/raven-js/pull/385
638* NEW: Add ability to swap in a custom transport. Adds `Raven.setTransport`, and
639 `transport` option to config. Docs:
640 https://docs.sentry.io/hosted/clients/javascript/config/
641* CHANGE: Always expose `Raven` to `window`. Please call `Raven.noConflict()` if
642 you want it restored to what it was. See:
643 https://github.com/getsentry/raven-js/pull/393
644* DEPRECATED: Replace `Raven.setReleaseContext` with `Raven.setRelease`.
645* NEW: Add `Raven.clearContext()` to empty all of the context.
646* NEW: Add `Raven.getContext()` to get a copy of the current context.
647* NEW: `Raven.set{Extra,Tags}Context(ctx)` now merges with existing values
648 instead of overwriting.
649* NEW: Add `Raven.addPlugin()` to register a plugin to be initialized when
650 installed.
651* NEW: Plugins are now initialized and loaded when calling `Raven.install()`.
652 This avoid some race conditions with load order.
653
654## 1.1.22
655
656* Fix another outstanding bug related to
657 https://github.com/getsentry/raven-js/issues/377 that wasn't fully resolved
658 with 1.1.21
659* Laid groundwork for pluggable transports, but not ready for public consumption
660 yet
661
662## 1.1.21
663
664* Fix a bug where calling `captureException` before calling `Raven.config()`
665 would trigger it's own exception. See:
666 https://github.com/getsentry/raven-js/issues/377
667
668## 1.1.20
669
670* Wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ] See:
671 https://github.com/getsentry/raven-js/pull/268
672* Use window.crypto for uuid4 if present. See:
673 https://github.com/getsentry/raven-js/pull/349
674* Add winjs support. See:
675 https://github.com/getsentry/raven-js/commit/b9a1292cbc9275fc9f9f1108ff3698cbd5ce2180
676* Fix calling `Raven.captureException` from browser console. See:
677 https://github.com/getsentry/raven-js/issues/358
678* guard against document.location being null or undefined. See:
679 https://github.com/getsentry/raven-js/pull/357
680* Change error message format to match other clients. See:
681 https://github.com/getsentry/raven-js/commit/64ca528b1b066ec7cdb5ef38e755c445f16ebef7
682* Don't require a user in the DSN. See:
683 https://github.com/getsentry/raven-js/pull/361
684* Add `crossOrigin` option. See: https://github.com/getsentry/raven-js/pull/362
685* Avoid recursing when using the `console` plugin. See:
686 https://github.com/getsentry/raven-js/commit/f92ff9de538f331a291af4a7d302202e587aaae5
687
688## 1.1.19
689
690* Use more compliant way of creating an Image in the dom. See:
691 https://github.com/getsentry/raven-js/pull/334
692* `String` objects weren't getting identified as a string. See:
693 https://github.com/getsentry/raven-js/pull/336
694* Expose getter/setter for dataCallback and shouldSendCallback
695* Better handle if/when the dataCallback returns garbage
696* Fix support for nodeunit. See: https://github.com/getsentry/raven-js/pull/338
697* Fix `console.warn` sending as a `warning` level to server. See:
698 https://github.com/getsentry/raven-js/issues/342
699* Improve the capture of unhandled errors from promises in Ember plugin. See:
700 https://github.com/getsentry/raven-js/pull/330
701
702## 1.1.18
703
704* Fixed a trailing comma which would make IE8 cry. This affects the uncompressed
705 builds only. Compressed builds were unaffected. See:
706 https://github.com/getsentry/raven-js/pull/333
707
708## 1.1.17
709
710* Better support for Angular errors. See:
711 https://github.com/getsentry/raven-js/pull/238
712* Allow setting truncate length through `globalOptions.maxMessageLength`. See:
713 https://github.com/getsentry/raven-js/pull/246
714* Fixed the pattern for parsing gecko stacktraces. See:
715 https://github.com/getsentry/raven-js/pull/252
716* Browserify support. See: https://github.com/getsentry/raven-js/pull/253,
717 https://github.com/getsentry/raven-js/pull/260,
718 https://github.com/getsentry/raven-js/pull/261
719* Start tracking `session:duration` automatically as metadata.
720* Fix globalOptions overwrite. See:
721 https://github.com/getsentry/raven-js/pull/264
722* Better cross origin support. See:
723 https://github.com/getsentry/raven-js/pull/276
724* Better anonymous function support in Chrome stack trace parsing. See:
725 https://github.com/getsentry/raven-js/pull/290,
726 https://github.com/getsentry/raven-js/pull/294
727* Remove deprecated `site` param.
728* New `Raven.isSetup()`. See: https://github.com/getsentry/raven-js/pull/309
729* Better backbone.js support. See:
730 https://github.com/getsentry/raven-js/pull/307
731* `ignoreErrors` now also is applied to `captureMessage()`. See:
732 https://github.com/getsentry/raven-js/pull/312
733* Capture unhandled errors from promises in Ember. See:
734 https://github.com/getsentry/raven-js/pull/319
735* Add new support for `releases`. See:
736 https://github.com/getsentry/raven-js/issues/325
737
738## 1.1.16
739
740* Fixed a bug that was preventing stack frames from `raven.js` from being hidden
741 correctly. See: https://github.com/getsentry/raven-js/pull/216
742* Fixed an IE bug with the `console` plugin. See:
743 https://github.com/getsentry/raven-js/issues/217
744* Added support for `chrome-extension://` protocol in Chrome in stack traces.
745* Added `setExtraContext` and `setTagsContext`. See:
746 https://github.com/getsentry/raven-js/pull/219
747* Renamed `setUser` to `setUserContext` to match. `setUser` still exists, but
748 will be deprecated in a future release.
749* New `backbone.js` plugin. See: https://github.com/getsentry/raven-js/pull/220
750* Added support for `chrome://` protocol in Firefox in stack traces. See:
751 https://github.com/getsentry/raven-js/pull/225
752* Ignore more garbage from IE cross origin errors. See:
753 https://github.com/getsentry/raven-js/pull/224
754* Added `Raven.debug` to prevent logging to `console` when `false`. Defaults to
755 `true` for backwards compatability. See:
756 https://github.com/getsentry/raven-js/pull/229
757* Prevent calling `Raven.config()` or `Raven.install()` twice. See:
758 https://github.com/getsentry/raven-js/pull/233
759
760## 1.1.15
761
762* Fix issues if a non-string were passed to `Raven.captureMessage` and non-Error
763 objects were passed to `Raven.captureException`.
764
765## 1.1.14
766
767* Only filter normal Error objects without a message, not all of them. Turns
768 out, people throw errors like this. Ahem, Underscore.js. See:
769 https://github.com/jashkenas/underscore/pull/1589/files
770
771## 1.1.13
772
773* Fixed a unicode issue in the previous release.
774
775## 1.1.12
776
777* Fix a bug using the `console` plugin with older IE. See:
778 https://github.com/getsentry/raven-js/pull/192
779* Added initial `ember.js` plugin for early testing and feedback.
780* Added initial `angular.js` plugin for early testing and feedback.
781* Fixed an issue with the `require.js` plugin basically not working at all. See:
782 https://github.com/getsentry/raven-js/commit/c2a2e2672a2a61a5a07e88f24a9c885f6dba57ae
783* Got rid of `Raven.afterLoad` and made it internal only.
784* `Raven.TraceKit` is now internal only.
785* Truncate message length to a max of 100 characters becasue angular.js sucks
786 and generates stupidly large error messages.
787
788## 1.1.11
789
790* Capture column number from FireFox
791* Fix propagation of extra options through `captureException`, see:
792 https://github.com/getsentry/raven-js/pull/189
793* Fix a minor bug that causes TraceKit to blow up of someone passes something
794 dumb through `window.onerror`
795
796## 1.1.10
797
798* A falsey DSN value disables Raven without yelling about an invalid DSN.
799
800## 1.1.9
801
802* Added `Raven.lastEventId()` to get back the Sentry event id. See:
803 http://raven-js.readthedocs.org/en/latest/usage/index.html#getting-back-an-event-id
804* Fixed a bug in the `console` plugin. See:
805 https://github.com/getsentry/raven-js/pull/181
806* Provide a way out of deep wrapping arguments. See:
807 https://github.com/getsentry/raven-js/pull/182
808* `Raven.uninstall()` actually removes the patched `window.onerror`.
809* No more globally exposed `TraceKit`!
810
811## 1.1.8
812
813* Fixed a bug in IE8. See: https://github.com/getsentry/raven-js/pull/179
814
815## 1.1.4-1.1.7
816
817These were a bunch of super small incremental updates trying to get better
818integration and better support inside Sentry itself.
819
820* Culprit determined from the src url of the offending script, not the url of
821 the page.
822* Send Sentry the frames in the right order. They were being sent in reverse.
823 Somehow nobody noticed this.
824* Support for Chrome's new window.onerror api. See:
825 https://github.com/getsentry/raven-js/issues/172
826
827## 1.1.3
828
829* When loading with an AMD loader present, do not automatically call
830 `Raven.noConflict()`. This was causing issues with using plugins. See:
831 https://github.com/getsentry/raven-js/pull/165
832* https://github.com/getsentry/raven-js/pull/168
833
834## 1.1.2
835
836* An invalid DSN will now raise a RavenConfigError instead of some cryptic error
837* Will raise a RavenConfigError when supplying the private key part of the DSN
838 since this isn't applicable for raven.js and is harmful to include
839* https://github.com/getsentry/raven-js/issues/128
840
841## 1.1.1
842
843* Fixed a bug in parsing some DSNs. See:
844 https://github.com/getsentry/raven-js/issues/160
845
846## 1.1.0
847
848### Plugins
849
850If you're upgrading from 1.0.x, 2 "plugins" were included with the package.
851These 2 plugins are now stripped out of core and included as the `jquery` and
852`native` plugins. If you'd like to start using 1.1.0 and maintain existing
853functionality, you'll want to use:
854http://cdn.ravenjs.com/1.1.0/jquery,native/raven.min.js For a list of other
855plugins, checkout http://ravenjs.com
856
857### ravenjs.com
858
859A new website dedicated to helping you compile a custom build of raven.js
860
861### whitelistUrls
862
863`whitelistUrls` are recommended over `ignoreUrls`. `whitelistUrls` drastically
864helps cut out noisy error messages from other scripts running on your site.
865
866### Misc
867
868* `ignoreUrls`, `ignoreErrors`, `includePaths` have all been unified to accept
869 both a regular expression and strings to avoid confusion and backwards
870 compatability
871* `Raven.wrap` recursively wraps arguments
872* Events are dispatched when an exception is received, recorded or failed
873 sending to Sentry
874* Support newer Sentry protocol which allows smaller packets
875* Allow loading raven async with RavenConfig
876* Entirely new build system with Grunt
877* `options.collectWindowErrors` to tell Raven to ignore window.onerror