UNPKG

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