32 KiB
32 KiB
Changelog
3.22.2
- BUGFIX: Use correct trimHeadFrames value if capturing new trace (#1216)
- BUGFIX: Restore console methods after calling uninstall (#1221)
- BUGFIX: Create safeJoin util for console wrappers (#1222)
3.22.1
- NEW: Check for
SENTRY_RELEASEduring config phase (#1194) - CHANGE: Fix ChromeLauncher for Travis integration tests (#1196)
- BUGFIX: Do not include credentials by default (#1191)
- BUGFIX: Call captureBreadcrumb for fetch after its done (#1197)
3.22.0
- NEW: Add
fetchParametersto configurefetch(#1177) - NEW: Delete empty properties before sending event to the server (#1179)
- CHANGE: Improve support for Windows 10 webview URLs in the stack trace (#1137)
- CHANGE: Various Typescript typings update (#1134 #1183 #1187)
- BUGFIX: Access
window.locationfirst before tryingdocument.location(#1180) - BUGFIX: Check
parseUrlfor correct input type (#1190)
3.21.0
- NEW: Use Fetch instead of XHR when available https://github.com/getsentry/raven-js/pull/1157
- NEW: Ability to specify Custom headers https://github.com/getsentry/raven-js/pull/1166
- NEW: Handle ErrorEvent objects in TraceKit https://github.com/getsentry/raven-js/pull/1162
- BUGFIX: Check for both stacktraces before calling 'isSameException' https://github.com/getsentry/raven-js/pull/1150
- DOCS: Electron integration documentation https://github.com/getsentry/raven-js/pull/1142
- DOCS: Include Sentry Webpack Plugin in the Source Maps documentation https://github.com/getsentry/raven-js/pull/1155
3.20.1
- BUGFIX: Prevent Raven throwing during installation when
Function.prototype.toStringis called in Angular projects withzone.jsandcore.jswrapped functions https://github.com/getsentry/raven-js/pull/1135 - BUGFIX: Add isArray util to prevent undefined
stack.stackduringcaptureMessagewith synthetic stack traces enabled https://github.com/getsentry/raven-js/pull/1140
3.20.0
- NEW:
autoBreadcrumbscan now disable sentry breadcrumbs and configure them on demand https://github.com/getsentry/raven-js/pull/1099 - NEW: Add
maxBreadcrumbsandsampleRateto Typescript typings29b89deb84989f43abfc - CHANGE:
isEmptyObjectutility now checks for object's own properties only https://github.com/getsentry/raven-js/pull/1100 - CHANGE: Update how wrapped functions are detected as native functions https://github.com/getsentry/raven-js/pull/1106
- CHANGE: Update integration tests on SauceLabs to use Safari 11.0
- BUGFIX: Send raw error when
vmis undefined while using Vue plugin https://github.com/getsentry/raven-js/pull/1118
3.19.1
- BUGFIX: Don't prettify minified dist files
fee37713c9
3.19.0
- NEW:
ErrorEventare now treated in the same way as regularErrorobjects https://github.com/getsentry/raven-js/pull/1094 - NEW:
replaceStateis now instrumented to be stored as a breadcrumbs correctly https://github.com/getsentry/raven-js/pull/1093 - NEW:
captureMessagenow respectsignoreUrlsandwhitelistUrlsconfigs https://github.com/getsentry/raven-js/pull/1080 - NEW: Improved support for parsing Electron errors https://github.com/getsentry/raven-js/pull/1068
- NEW: All test suites are now using Karma and are additionally running on Headless Firefox, Edge 15, Android 4.4/5.1/6.0/7.1 and iOS10 https://github.com/getsentry/raven-js/pull/1087
- BUGFIX: Don't throw error when calling
fetchwithout a valid arguments https://github.com/getsentry/raven-js/pull/1069 - BUGFIX:
ignoreErrorspatterns are now compared on both, error message itself and<type>: <message>formatted string https://github.com/getsentry/raven-js/pull/1076 - BUGFIX:
showReportDialogoptionsargument is now optional in TypeScript definitions https://github.com/getsentry/raven-js/pull/1097 - BUGFIX: TravisCI tests will run correctly for non-org contributors as well \o/
1650da7492
3.18.1
- BUGFIX: Remove engine field from package.json, preventing correct npm/yarn usage
3.18.0
- NEW: All unit and integration tests are now running on CI using SauceLabs, to ensure everything is working correctly on all browsers https://github.com/getsentry/raven-js/pull/1026
- NEW:
console.assertis now instrumented in the same way as the rest ofconsolemethods https://github.com/getsentry/raven-js/pull/1044 - NEW: Vue.js plugin now provides
lifecycleHookas the 3rd argument to error handler, to make it in line with v2.2.0 implementation https://github.com/getsentry/raven-js/pull/1053 - NEW: Updated Errors serialization to store all additional properties and allow for attaching other object instances directly to it https://github.com/getsentry/raven-js/pull/1060
- NEW: Included exception type in
ignoreErrorstest, which allows for filtering based on error types https://github.com/getsentry/raven-js/pull/1057 - CHANGE: Raven.js now uses Prettier to format it's code https://github.com/getsentry/raven-js/pull/1020
- CHANGE: Unit tests are using Headless Chrome instead of PhantomJS https://github.com/getsentry/raven-js/pull/1029
- CHANGE: Added
setDSNtyping definition for TypeScript https://github.com/getsentry/raven-js/pull/995 - BUGFIX: Defend against undefined
XMLHttpRequestwhile sending events https://github.com/getsentry/raven-js/pull/1024 - BUGFIX:
lastEventIdwon't be overriden when an event was dropped https://github.com/getsentry/raven-js/pull/1041 - BUGFIX: Make sure that
documentis available before readinglocationhttps://github.com/getsentry/raven-js/pull/1038 - BUGFIX: Prevent breadcrumbs with undefined url to throw an error https://github.com/getsentry/raven-js/pull/1018
3.17.0
- CHANGE: Export TypeScript definitions as a CommonJS module. See: https://github.com/getsentry/raven-js/pull/977
3.16.1
- BUGFIX: Fixed stacktrace on Android for React Native release builds. See: https://github.com/getsentry/raven-js/pull/985
- BUGFIX: TypeScript: Change loglevel option "warn" to "warning".
3.16.0
- CHANGE: Plugins no longer disrupt data callback behavior. See: https://github.com/getsentry/raven-js/pull/891
- BUGFIX: Fixed event object copying in React Native. See: https://github.com/getsentry/raven-js/pull/960
- BUGFIX: More TypeScript definitions for API properties and methods. See: https://github.com/getsentry/raven-js/pull/968, https://github.com/getsentry/raven-js/pull/963
3.15.0
- NEW: Added new
instrumentconfig option for disabling portions of instrumentation. See: https://github.com/getsentry/raven-js/pull/938 - NEW: Support CJS use of AngularJS module. See documentation: https://docs.sentry.io/clients/javascript/integrations/angularjs/
3.14.2
- BUGFIX: Fix bug in breadcrumb URL truncation when
fetchis used with aRequestargument. See: https://github.com/getsentry/raven-js/issues/924
3.14.1
- BUGFIX: Fix TypeError caused by breadcrumb URL truncation in some situations. See: https://github.com/getsentry/raven-js/issues/925
- BUGFIX: Made URL truncation more defensive for some rare cases. See: https://github.com/getsentry/raven-js/pull/918
- BUGFIX: Raven.js now treats DOMExceptions as "Error" objects w/ traces. See: https://github.com/getsentry/raven-js/pull/919/
- CHANGE: Remove unused/deprecated escape functions in vendored TraceKit.js. See: https://github.com/getsentry/raven-js/pull/923
- CHANGE: Removed json-stringify-safe from package.json (was already vendored). See: https://github.com/getsentry/raven-js/pull/917
3.14.0
- NEW: URL values captured in http + breadcrumb interfaces are now trimmed to new
maxUrlLengthconfig (default 250). See: https://github.com/getsentry/raven-js/pull/906 - CHANGE: Better extraction of URLs from eval frames on Chrome, Firefox. This may affect issue grouping of some events. See: https://github.com/getsentry/raven-js/pull/907
- BUGFIX: Raven.js now parses webpack:// URLs (generated when using devtool: eval). See: https://github.com/getsentry/raven-js/pull/908
- BUGFIX: React Native frames on Android no longer show [native code]. See: https://github.com/getsentry/raven-js/pull/875
3.13.1
- BUGFIX: Revert TypeScript declaration changes from 3.13.0 that resulted in bad imports. See: https://github.com/getsentry/raven-js/issues/898
3.13.0
- NEW: Added new
sampleRateconfig option. See: https://github.com/getsentry/raven-js/pull/885 - CHANGE: TypeScript declaration file (raven.d.ts) has been improved considerably. See: https://github.com/getsentry/raven-js/pull/827
3.12.2
- BUGFIX: Fix Raven.js not capturing IE8 errors. See: https://github.com/getsentry/raven-js/pull/883
3.12.1
- BUGFIX: Fix Raven.js not properly catching some thrown messages, objects. See: https://github.com/getsentry/raven-js/pull/872
3.12.0
- NEW: Raven.js now attempts to suppress back-to-back duplicate errors by default. See: https://github.com/getsentry/raven-js/pull/861
- BUGFIX: Fix case where breadcrumb instrumention could sometimes throw errors on custom DOM events. See: https://github.com/getsentry/raven-js/pull/857
- BUGFIX: Fix Raven.js incorrectly interpreting Retry-After header in ms; should be seconds. See: https://github.com/getsentry/raven-js/pull/862
3.11.0
- CHANGE: Raven.js no longer auto-wraps jQuery.ready (if present); fixes jQuery deprecation warnings. See: https://github.com/getsentry/raven-js/pull/849
- BUGFIX: Fix User-Agent not collected in web worker environment. See: https://github.com/getsentry/raven-js/issues/853
- BUGFIX: Fix DOM tree summarizer (breadcrumbs) not splitting on breadcrumbs effectively. See: https://github.com/getsentry/raven-js/pull/852
- BUGFIX: Fix Vue plugin breaking on production builds. See: https://github.com/getsentry/raven-js/pull/848
- NEW: Added comment to Raven.wrap to indicate stack traces containing this frame are not indicative of a bug. See: https://github.com/getsentry/raven-js/pull/847
3.10.0
- NEW: Raven.js will exponentially back off if server returns a 400-level error (e.g. 429 too many requests). See: https://github.com/getsentry/raven-js/pull/839
- CHANGE: Raven.js will not set lastEventId if transmission failed because Raven is not configured. See: https://github.com/getsentry/raven-js/pull/839
- BUGFIX: Raven.js now properly handles Firefox resource:// URLs (extensions). See: https://github.com/getsentry/raven-js/pull/837
3.9.2
- BUGFIX: Use json-stringify-safe in React Native plugin to avoid circular refs. See: https://github.com/getsentry/raven-js/pull/829
- BUGFIX: Avoid document.location access in React Native plugin. See: https://github.com/getsentry/raven-js/issues/800
3.9.1
- BUGFIX: Fix TypeError triggered by some event listeners. See: https://github.com/getsentry/raven-js/issues/793
- BUGFIX: Fix bad
windowaccess in web worker environments. See: https://github.com/getsentry/raven-js/pull/792
3.9.0
- NEW:
breadcrumbCallbackandsetBreadcrumbCallbackfor filtering/mutating breadcrumbs. See: https://github.com/getsentry/raven-js/pull/788 - NEW: Can enable synthetic traces globally via
stacktrace: trueconfig option. See: https://github.com/getsentry/raven-js/pull/763 - CHANGE: Can set user context via
configunderuserkey. See: https://github.com/getsentry/raven-js/pull/762 - CHANGE: Unit and integration tests now run on PhantomJS 2. See: https://github.com/getsentry/raven-js/pull/777
- BUGFIX: Fix mouse click breadcrumbs not captured in some scenarios. See: https://github.com/getsentry/raven-js/pull/766
- BUGFIX: React Native plugin normalizes paths in stacktraces generated via
captureMessage. See: https://github.com/getsentry/raven-js/pull/778 - BUGFIX: Doesn't break when window is absent (e.g. inside web workers). See: https://github.com/getsentry/raven-js/pull/785
3.8.1
- BUGFIX: Fix dangling comma affecting IE8. See: https://github.com/getsentry/raven-js/pull/769
3.8.0
- NEW: Record fetch request breadcrumbs. See: https://github.com/getsentry/raven-js/pull/744
- NEW: Record contentEditable input event breadcrumbs. See: https://github.com/getsentry/raven-js/pull/748
- BUGFIX: Updated Typescript declaration file. See: https://github.com/getsentry/raven-js/pull/746
- NEW: File size improvements for raven.min.js See: https://github.com/getsentry/raven-js/pull/721
3.7.0
- BUGFIX: Add missing return types from TypeScript declaration file. See: https://github.com/getsentry/raven-js/pull/718
- BUGFIX: Fix "Permission denied" error in Firefox via WebDriver. See: https://github.com/getsentry/raven-js/pull/720
- REMOVED: Legacy stack trace parsing from Opera 9, 10. See: https://github.com/getsentry/raven-js/pull/716
3.6.1
- BUGFIX: Fix
trimHeadFramesappearing in some data payloads when using synthetic traces. See: https://github.com/getsentry/raven-js/pull/714
3.6.0
- NEW:
Raven.captureMessagewill generate synthetic stacktraces if passedstacktrace: truevia options. See: https://github.com/getsentry/raven-js/pull/582 - NEW: Added
Raven.setDSNfor changing target DSN after Raven has been configured. See: https://github.com/getsentry/raven-js/pull/706 - CHANGE: Added missing TypeScript type declarations for Raven API methods. See: https://github.com/getsentry/raven-js/pull/698
3.5.1
- BUGFIX: Fix non-fatals crashing React Native plugin unless
shouldSendCallbackis specified. See: https://github.com/getsentry/raven-js/pull/694
3.5.0
- NEW: Can now disable automatic collection of breadcrumbs via
autoBreadcrumbsconfig option. See: https://github.com/getsentry/raven-js/pull/686 - NEW: Can now configure max number of breadcrumbs to collect via
maxBreadcrumbs. See: https://github.com/getsentry/raven-js/pull/685 - NEW: Added Vue.js plugin. See: https://github.com/getsentry/raven-js/pull/688
- CHANGE: Raven.js now collects 100 breadcrumbs by default. See: https://github.com/getsentry/raven-js/pull/685
- CHANGE: React Native plugin now also normalizes paths from CodePush. See: https://github.com/getsentry/raven-js/pull/683
3.4.1
- BUGFIX: Fix exception breadcrumbs having "undefined" for exception value. See: https://github.com/getsentry/raven-js/pull/681
3.4.0
- CHANGE: React Native plugin now stores errors in AsyncStorage and sends error data on app init. See: https://github.com/getsentry/raven-js/pull/626
- BUGFIX: React Native path normalization regex has been updated. See: https://github.com/getsentry/raven-js/pull/666
- BUGFIX: Angular 1 plugin now extracts errors from minified exception strings. See: https://github.com/getsentry/raven-js/pull/667
3.3.0
- NEW: Can now specify
environmentconfiguration option. See: https://github.com/getsentry/raven-js/pull/661 - CHANGE: Raven.js now serializes data payload w/ json-stringify-safe to avoid circular references. See: https://github.com/getsentry/raven-js/pull/652
- BUGFIX: Angular 1.x plugin no longer clobbers user-specified
dataCallback. See: https://github.com/getsentry/raven-js/pull/658
3.2.1
- BUGFIX: Fixed error when manually calling captureException with Error objects w/ maxMessageLength > 0. See: https://github.com/getsentry/raven-js/pull/647
- BUGFIX: Fixed TypeScript language declaration file for compatibility w/ Webpack loaders. See: https://github.com/getsentry/raven-js/pull/645
- BUGFIX: Fixed Raven dropping file:/// frames from Phantom 1.x. See: https://github.com/getsentry/raven-js/pull/642
3.2.0
- CHANGE: Callbacks set via
setDataCallback,setShouldSendCallbacknow receive any prior-set callback as the 2nd argument. See: https://github.com/getsentry/raven-js/pull/636 - CHANGE: Raven.js no longer passes a 'message' interface for exceptions. See: https://github.com/getsentry/raven-js/pull/632
- CHANGE: Log level now recorded for "sentry" breadcrumbs. See: https://github.com/getsentry/raven-js/pull/633
3.1.1
- BUGFIX: Fix message truncation occurring before dataCallback is invoked. See: https://github.com/getsentry/raven-js/issues/605
- BUGFIX: Fix pushState error in Chrome Apps. See: https://github.com/getsentry/raven-js/issues/601
- BUGFIX: Fix error in addEventListener call affecting very old Firefox versions. See: https://github.com/getsentry/raven-js/issues/603
3.1.0
- NEW: Added TypeScript declaration file for compatibility with TypeScript projects. See: https://github.com/getsentry/raven-js/pull/610
3.0.5
- BUGFIX: Fix breadcrumb instrumentation failing in IE8. See: https://github.com/getsentry/raven-js/issues/594
3.0.4
- BUGFIX: Navigation breadcrumbs now include query strings and document fragment (#). See: https://github.com/getsentry/raven-js/issues/573
- BUGFIX: Remove errant
throwcall in _makeRequest affecting some Raven configs. See: https://github.com/getsentry/raven-js/pull/572
3.0.3
- BUGFIX: Fix pushState instrumentation breaking on non-string URL args. See: https://github.com/getsentry/raven-js/issues/569
3.0.2
- BUGFIX: Fix XMLHttpRequest.prototype.open breaking on non-string
urlarguments. See: https://github.com/getsentry/raven-js/issues/567
3.0.1
- BUGFIX: Fix broken CDN builds. See: https://github.com/getsentry/raven-js/pull/566
3.0.0
- NEW: Raven.js now collects breadcrumbs from XMLHttpRequest objects, URL changes (pushState), console log calls, UI clicks, and errors.
- BUGFIX: Fix parsing error messages from Opera Mini. See: https://github.com/getsentry/raven-js/pull/554
- REMOVED: Fallback Image transport (HTTP GET) has been removed. See: https://github.com/getsentry/raven-js/pull/545
- REMOVED: TraceKit client-side source fetching has been removed. See: https://github.com/getsentry/raven-js/pull/542
2.3.0
- NEW:
pathStripoption now available in React Native plugin. See: https://github.com/getsentry/raven-js/pull/515 - BUGFIX: Handle stacks from internal exceptions sometimes thrown by Firefox. See: https://github.com/getsentry/raven-js/pull/536
- BUGFIX: Better error message strings in browsers w/ limited onerror implementations. See: https://github.com/getsentry/raven-js/pull/538
2.2.1
- BUGFIX: Fix HTTP requests not sending with React Native on Android devices. See: https://github.com/getsentry/raven-js/issues/526
- BUGFIX: Raven.js now captures stack traces caused by Firefox internal errors. See: https://github.com/getsentry/raven-js/pull/528
2.2.0
- NEW:
allowSecretKeyconfiguration option. See: https://github.com/getsentry/raven-js/pull/525 - NEW: Console plugin can be configured to capture specific log levels. See: https://github.com/getsentry/raven-js/pull/514
- CHANGE: React Native plugin now calls default exception handler. See: https://github.com/getsentry/raven-js/pull/492
- CHANGE: React Native plugin now uses HTTP POST transport. See: https://github.com/getsentry/raven-js/pull/494
- BUGFIX: Fix Raven throwing exception when run via Webdriver. See: https://github.com/getsentry/raven-js/issues/495
2.1.1
- BUGFIX: Fixed IE8 regression introduced in 2.1.0. See: https://github.com/getsentry/raven-js/issues/498
- BUGFIX: Fixed initialization error when run via Selenium. See: https://github.com/getsentry/raven-js/issues/495
2.1.0
- BUGFIX: Fixed Raven.js rejecting frames w/ blob URLs. See: https://github.com/getsentry/raven-js/issues/463
- BUGFIX: Fixed plugin files not consumable without module loader. See: https://github.com/getsentry/raven-js/issues/446
- BUGFIX: Fixed bug in console.js plugin where
levelwasn't passed. See: https://github.com/getsentry/raven-js/pull/474 - BUGFIX: Fixed broken debug logging in IE9 and below. See: https://github.com/getsentry/raven-js/pull/473
- BUGFIX: Fixed
XMLHttpRequestwrapper not capturing all event handlers. See: https://github.com/getsentry/raven-js/issues/453 - CHANGE:
Raven.uninstallnow restores original builtin functions (e.g. setTimeout). See: https://github.com/getsentry/raven-js/issues/228 - CHANGE:
maxMessageLengthnow defaults to 0 (no limit). See: https://github.com/getsentry/raven-js/pull/441 - NEW: New
stackTraceLimitconfig option (default 50 in supported browsers). See: https://github.com/getsentry/raven-js/pull/419/files - NEW:
Raven.showReportDialog(experimental). See: https://github.com/getsentry/raven-js/pull/456
2.0.5
- BUGFIX: Fixed exception thrown by React Native plugin. See: https://github.com/getsentry/raven-js/issues/468
- BUGFIX: Fixed "pre-built JavaScript" warning when loading Raven.js via Webpack. See: https://github.com/getsentry/raven-js/issues/465
2.0.4
- BUGFIX: Fixed bug where Raven.VERSION was not set when required as a CommonJS module.
2.0.2
- BUGFIX: Fixed bug where wrapped requestAnimationFrame didn't return callback ID. See: https://github.com/getsentry/raven-js/pull/460
2.0.1
- BUGFIX: Fixed bug where unwrapped errors might be suppressed. See: https://github.com/getsentry/raven-js/pull/447
2.0.0
- CHANGE: Raven.js now wraps functions passed to timer functions, event listeners, and XMLHttpRequest handlers
- CHANGE: Removed jQuery, Backbone, and native plugins (now handled inside raven.js)
- CHANGE: Default HTTP transport changed from
ImageGET toXMLHttpRequestPOST (w/ CORS) - CHANGE: When using CommonJS, plugins are initialized via
Raven.addPlugin(require('raven-js/plugins/ember')) - CHANGE: Raven builds are generated using Browserify
- NEW: Integration tests (/test/integration/index.html)
1.3.0
- CHANGE:
consoleplugin will now send all arguments as anextravalue. See: https://github.com/getsentry/raven-js/pull/398 - CHANGE: Bump to v7 of the Sentry API spec. This now requires a Sentry 7.7.0+ https://github.com/getsentry/raven-js/pull/403
- CHANGE: Revamp of AngularJS plugin. Please see documentation. See: https://github.com/getsentry/raven-js/pull/405
- CHANGE:
Raven.debugnow defaults tofalse.dc142b88f0 - BUGFIX:
Raven.wrapnow correctly preservesprototype. See: https://github.com/getsentry/raven-js/issues/401 and https://github.com/getsentry/raven-js/pull/402 - NEW:
serverNameconfig option. https://github.com/getsentry/raven-js/pull/404 - NEW: Experimental support for React Native added.
1.2.0
- BUGFIX: Error in cases where a
documentcontext doesn't exist. See: https://github.com/getsentry/raven-js/pull/383 - BUGFIX: Trailing comma when using unminified dist which affects IE9. See: https://github.com/getsentry/raven-js/pull/385
- NEW: Add ability to swap in a custom transport. Adds
Raven.setTransport, andtransportoption to config. Docs: https://docs.sentry.io/hosted/clients/javascript/config/ - CHANGE: Always expose
Raventowindow. Please callRaven.noConflict()if you want it restored to what it was. See: https://github.com/getsentry/raven-js/pull/393 - DEPRECATED: Replace
Raven.setReleaseContextwithRaven.setRelease. - NEW: Add
Raven.clearContext()to empty all of the context. - NEW: Add
Raven.getContext()to get a copy of the current context. - NEW:
Raven.set{Extra,Tags}Context(ctx)now merges with existing values instead of overwriting. - NEW: Add
Raven.addPlugin()to register a plugin to be initialized when installed. - NEW: Plugins are now initialized and loaded when calling
Raven.install(). This avoid some race conditions with load order.
1.1.22
- Fix another outstanding bug related to https://github.com/getsentry/raven-js/issues/377 that wasn't fully resolved with 1.1.21
- Laid groundwork for pluggable transports, but not ready for public consumption yet
1.1.21
- Fix a bug where calling
captureExceptionbefore callingRaven.config()would trigger it's own exception. See: https://github.com/getsentry/raven-js/issues/377
1.1.20
- Wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ] See: https://github.com/getsentry/raven-js/pull/268
- Use window.crypto for uuid4 if present. See: https://github.com/getsentry/raven-js/pull/349
- Add winjs support. See:
b9a1292cbc - Fix calling
Raven.captureExceptionfrom browser console. See: https://github.com/getsentry/raven-js/issues/358 - guard against document.location being null or undefined. See: https://github.com/getsentry/raven-js/pull/357
- Change error message format to match other clients. See:
64ca528b1b - Don't require a user in the DSN. See: https://github.com/getsentry/raven-js/pull/361
- Add
crossOriginoption. See: https://github.com/getsentry/raven-js/pull/362 - Avoid recursing when using the
consoleplugin. See:f92ff9de53
1.1.19
- Use more compliant way of creating an Image in the dom. See: https://github.com/getsentry/raven-js/pull/334
Stringobjects weren't getting identified as a string. See: https://github.com/getsentry/raven-js/pull/336- Expose getter/setter for dataCallback and shouldSendCallback
- Better handle if/when the dataCallback returns garbage
- Fix support for nodeunit. See: https://github.com/getsentry/raven-js/pull/338
- Fix
console.warnsending as awarninglevel to server. See: https://github.com/getsentry/raven-js/issues/342 - Improve the capture of unhandled errors from promises in Ember plugin. See: https://github.com/getsentry/raven-js/pull/330
1.1.18
- Fixed a trailing comma which would make IE8 cry. This affects the uncompressed builds only. Compressed builds were unaffected. See: https://github.com/getsentry/raven-js/pull/333
1.1.17
- Better support for Angular errors. See: https://github.com/getsentry/raven-js/pull/238
- Allow setting truncate length through
globalOptions.maxMessageLength. See: https://github.com/getsentry/raven-js/pull/246 - Fixed the pattern for parsing gecko stacktraces. See: https://github.com/getsentry/raven-js/pull/252
- Browserify support. See: https://github.com/getsentry/raven-js/pull/253, https://github.com/getsentry/raven-js/pull/260, https://github.com/getsentry/raven-js/pull/261
- Start tracking
session:durationautomatically as metadata. - Fix globalOptions overwrite. See: https://github.com/getsentry/raven-js/pull/264
- Better cross origin support. See: https://github.com/getsentry/raven-js/pull/276
- Better anonymous function support in Chrome stack trace parsing. See: https://github.com/getsentry/raven-js/pull/290, https://github.com/getsentry/raven-js/pull/294
- Remove deprecated
siteparam. - New
Raven.isSetup(). See: https://github.com/getsentry/raven-js/pull/309 - Better backbone.js support. See: https://github.com/getsentry/raven-js/pull/307
ignoreErrorsnow also is applied tocaptureMessage(). See: https://github.com/getsentry/raven-js/pull/312- Capture unhandled errors from promises in Ember. See: https://github.com/getsentry/raven-js/pull/319
- Add new support for
releases. See: https://github.com/getsentry/raven-js/issues/325
1.1.16
- Fixed a bug that was preventing stack frames from
raven.jsfrom being hidden correctly. See: https://github.com/getsentry/raven-js/pull/216 - Fixed an IE bug with the
consoleplugin. See: https://github.com/getsentry/raven-js/issues/217 - Added support for
chrome-extension://protocol in Chrome in stack traces. - Added
setExtraContextandsetTagsContext. See: https://github.com/getsentry/raven-js/pull/219 - Renamed
setUsertosetUserContextto match.setUserstill exists, but will be deprecated in a future release. - New
backbone.jsplugin. See: https://github.com/getsentry/raven-js/pull/220 - Added support for
chrome://protocol in Firefox in stack traces. See: https://github.com/getsentry/raven-js/pull/225 - Ignore more garbage from IE cross origin errors. See: https://github.com/getsentry/raven-js/pull/224
- Added
Raven.debugto prevent logging toconsolewhenfalse. Defaults totruefor backwards compatability. See: https://github.com/getsentry/raven-js/pull/229 - Prevent calling
Raven.config()orRaven.install()twice. See: https://github.com/getsentry/raven-js/pull/233
1.1.15
- Fix issues if a non-string were passed to
Raven.captureMessageand non-Error objects were passed toRaven.captureException.
1.1.14
- Only filter normal Error objects without a message, not all of them. Turns out, people throw errors like this. Ahem, Underscore.js. See: https://github.com/jashkenas/underscore/pull/1589/files
1.1.13
- Fixed a unicode issue in the previous release.
1.1.12
- Fix a bug using the
consoleplugin with older IE. See: https://github.com/getsentry/raven-js/pull/192 - Added initial
ember.jsplugin for early testing and feedback. - Added initial
angular.jsplugin for early testing and feedback. - Fixed an issue with the
require.jsplugin basically not working at all. See:c2a2e2672a - Got rid of
Raven.afterLoadand made it internal only. Raven.TraceKitis now internal only.- Truncate message length to a max of 100 characters becasue angular.js sucks and generates stupidly large error messages.
1.1.11
- Capture column number from FireFox
- Fix propagation of extra options through
captureException, see: https://github.com/getsentry/raven-js/pull/189 - Fix a minor bug that causes TraceKit to blow up of someone passes something dumb through
window.onerror
1.1.10
- A falsey DSN value disables Raven without yelling about an invalid DSN.
1.1.9
- Added
Raven.lastEventId()to get back the Sentry event id. See: http://raven-js.readthedocs.org/en/latest/usage/index.html#getting-back-an-event-id - Fixed a bug in the
consoleplugin. See: https://github.com/getsentry/raven-js/pull/181 - Provide a way out of deep wrapping arguments. See: https://github.com/getsentry/raven-js/pull/182
Raven.uninstall()actually removes the patchedwindow.onerror.- No more globally exposed
TraceKit!
1.1.8
- Fixed a bug in IE8. See: https://github.com/getsentry/raven-js/pull/179
1.1.4-1.1.7
These were a bunch of super small incremental updates trying to get better integration and better support inside Sentry itself.
- Culprit determined from the src url of the offending script, not the url of the page.
- Send Sentry the frames in the right order. They were being sent in reverse. Somehow nobody noticed this.
- Support for Chrome's new window.onerror api. See: https://github.com/getsentry/raven-js/issues/172
1.1.3
- When loading with an AMD loader present, do not automatically call
Raven.noConflict(). This was causing issues with using plugins. See: https://github.com/getsentry/raven-js/pull/165 - https://github.com/getsentry/raven-js/pull/168
1.1.2
- An invalid DSN will now raise a RavenConfigError instead of some cryptic error
- Will raise a RavenConfigError when supplying the private key part of the DSN since this isn't applicable for raven.js and is harmful to include
- https://github.com/getsentry/raven-js/issues/128
1.1.1
- Fixed a bug in parsing some DSNs. See: https://github.com/getsentry/raven-js/issues/160
1.1.0
Plugins
If you're upgrading from 1.0.x, 2 "plugins" were included with the package. These 2 plugins are now stripped out of core and included as the jquery and native plugins. If you'd like to start using 1.1.0 and maintain existing functionality, you'll want to use: http://cdn.ravenjs.com/1.1.0/jquery,native/raven.min.js For a list of other plugins, checkout http://ravenjs.com
ravenjs.com
A new website dedicated to helping you compile a custom build of raven.js
whitelistUrls
whitelistUrls are recommended over ignoreUrls. whitelistUrls drastically helps cut out noisy error messages from other scripts running on your site.
Misc
ignoreUrls,ignoreErrors,includePathshave all been unified to accept both a regular expression and strings to avoid confusion and backwards compatabilityRaven.wraprecursively wraps arguments- Events are dispatched when an exception is received, recorded or failed sending to Sentry
- Support newer Sentry protocol which allows smaller packets
- Allow loading raven async with RavenConfig
- Entirely new build system with Grunt
options.collectWindowErrorsto tell Raven to ignore window.onerror