UNPKG

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