- NEW: Check for
SENTRY_RELEASE
during 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)
- NEW: Add
fetchParameters
to 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.location
first before tryingdocument.location
(#1180) - BUGFIX: Check
parseUrl
for correct input type (#1190)
- NEW: Use Fetch instead of XHR when available getsentry/sentry-javascript#1157
- NEW: Ability to specify Custom headers getsentry/sentry-javascript#1166
- NEW: Handle ErrorEvent objects in TraceKit getsentry/sentry-javascript#1162
- BUGFIX: Check for both stacktraces before calling 'isSameException' getsentry/sentry-javascript#1150
- DOCS: Electron integration documentation getsentry/sentry-javascript#1142
- DOCS: Include Sentry Webpack Plugin in the Source Maps documentation getsentry/sentry-javascript#1155
- BUGFIX: Prevent Raven throwing during installation when
Function.prototype.toString
is called in Angular projects withzone.js
andcore.js
wrapped functions getsentry/sentry-javascript#1135 - BUGFIX: Add isArray util to prevent undefined
stack.stack
duringcaptureMessage
with synthetic stack traces enabled getsentry/sentry-javascript#1140
- NEW:
autoBreadcrumbs
can now disable sentry breadcrumbs and configure them on demand getsentry/sentry-javascript#1099 - NEW: Add
maxBreadcrumbs
andsampleRate
to Typescript typings https://github.com/getsentry/raven-js/commit/29b89deb846dca5578036d88fd77000fb395fba3 https://github.com/getsentry/raven-js/commit/989f43abfc0bb9c5fc36b00d7f9ce04c581168c2 - CHANGE:
isEmptyObject
utility now checks for object's own properties only getsentry/sentry-javascript#1100 - CHANGE: Update how wrapped functions are detected as native functions getsentry/sentry-javascript#1106
- CHANGE: Update integration tests on SauceLabs to use Safari 11.0
- BUGFIX: Send raw error when
vm
is undefined while using Vue plugin getsentry/sentry-javascript#1118
- BUGFIX: Don't prettify minified dist files https://github.com/getsentry/raven-js/commit/fee37713c9a17d41b5bb4e669f584ec056658df1
- NEW:
ErrorEvent
are now treated in the same way as regularError
objects getsentry/sentry-javascript#1094 - NEW:
replaceState
is now instrumented to be stored as a breadcrumbs correctly getsentry/sentry-javascript#1093 - NEW:
captureMessage
now respectsignoreUrls
andwhitelistUrls
configs getsentry/sentry-javascript#1080 - NEW: Improved support for parsing Electron errors getsentry/sentry-javascript#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 getsentry/sentry-javascript#1087
- BUGFIX: Don't throw error when calling
fetch
without a valid arguments getsentry/sentry-javascript#1069 - BUGFIX:
ignoreErrors
patterns are now compared on both, error message itself and<type>: <message>
formatted string getsentry/sentry-javascript#1076 - BUGFIX:
showReportDialog
options
argument is now optional in TypeScript definitions getsentry/sentry-javascript#1097 - BUGFIX: TravisCI tests will run correctly for non-org contributors as well \o/ https://github.com/getsentry/raven-js/commit/1650da749282207939d9d362194d086a565e09c5
- BUGFIX: Remove engine field from package.json, preventing correct npm/yarn usage
- NEW: All unit and integration tests are now running on CI using SauceLabs, to ensure everything is working correctly on all browsers getsentry/sentry-javascript#1026
- NEW:
console.assert
is now instrumented in the same way as the rest ofconsole
methods getsentry/sentry-javascript#1044 - NEW: Vue.js plugin now provides
lifecycleHook
as the 3rd argument to error handler, to make it in line with v2.2.0 implementation getsentry/sentry-javascript#1053 - NEW: Updated Errors serialization to store all additional properties and allow for attaching other object instances directly to it getsentry/sentry-javascript#1060
- NEW: Included exception type in
ignoreErrors
test, which allows for filtering based on error types getsentry/sentry-javascript#1057 - CHANGE: Raven.js now uses Prettier to format it's code getsentry/sentry-javascript#1020
- CHANGE: Unit tests are using Headless Chrome instead of PhantomJS getsentry/sentry-javascript#1029
- CHANGE: Added
setDSN
typing definition for TypeScript getsentry/sentry-javascript#995 - BUGFIX: Defend against undefined
XMLHttpRequest
while sending events getsentry/sentry-javascript#1024 - BUGFIX:
lastEventId
won't be overriden when an event was dropped getsentry/sentry-javascript#1041 - BUGFIX: Make sure that
document
is available before readinglocation
getsentry/sentry-javascript#1038 - BUGFIX: Prevent breadcrumbs with undefined url to throw an error getsentry/sentry-javascript#1018
- CHANGE: Export TypeScript definitions as a CommonJS module. See: getsentry/sentry-javascript#977
- BUGFIX: Fixed stacktrace on Android for React Native release builds. See: getsentry/sentry-javascript#985
- BUGFIX: TypeScript: Change loglevel option "warn" to "warning".
- CHANGE: Plugins no longer disrupt data callback behavior. See: getsentry/sentry-javascript#891
- BUGFIX: Fixed event object copying in React Native. See: getsentry/sentry-javascript#960
- BUGFIX: More TypeScript definitions for API properties and methods. See: getsentry/sentry-javascript#968, getsentry/sentry-javascript#963
- NEW: Added new
instrument
config option for disabling portions of instrumentation. See: getsentry/sentry-javascript#938 - NEW: Support CJS use of AngularJS module. See documentation: https://docs.sentry.io/clients/javascript/integrations/angularjs/
- BUGFIX: Fix bug in breadcrumb URL truncation when
fetch
is used with aRequest
argument. See: getsentry/sentry-javascript#924
- BUGFIX: Fix TypeError caused by breadcrumb URL truncation in some situations. See: getsentry/sentry-javascript#925
- BUGFIX: Made URL truncation more defensive for some rare cases. See: getsentry/sentry-javascript#918
- BUGFIX: Raven.js now treats DOMExceptions as "Error" objects w/ traces. See: getsentry/sentry-javascript#919
- CHANGE: Remove unused/deprecated escape functions in vendored TraceKit.js. See: getsentry/sentry-javascript#923
- CHANGE: Removed json-stringify-safe from package.json (was already vendored). See: getsentry/sentry-javascript#917
- NEW: URL values captured in http + breadcrumb interfaces are now trimmed to new
maxUrlLength
config (default 250). See: getsentry/sentry-javascript#906 - CHANGE: Better extraction of URLs from eval frames on Chrome, Firefox. This may affect issue grouping of some events. See: getsentry/sentry-javascript#907
- BUGFIX: Raven.js now parses webpack:// URLs (generated when using devtool: eval). See: getsentry/sentry-javascript#908
- BUGFIX: React Native frames on Android no longer show [native code]. See: getsentry/sentry-javascript#875
- BUGFIX: Revert TypeScript declaration changes from 3.13.0 that resulted in bad imports. See: getsentry/sentry-javascript#898
- NEW: Added new
sampleRate
config option. See: getsentry/sentry-javascript#885 - CHANGE: TypeScript declaration file (raven.d.ts) has been improved considerably. See: getsentry/sentry-javascript#827
- BUGFIX: Fix Raven.js not capturing IE8 errors. See: getsentry/sentry-javascript#883
- BUGFIX: Fix Raven.js not properly catching some thrown messages, objects. See: getsentry/sentry-javascript#872
- NEW: Raven.js now attempts to suppress back-to-back duplicate errors by default. See: getsentry/sentry-javascript#861
- BUGFIX: Fix case where breadcrumb instrumention could sometimes throw errors on custom DOM events. See: getsentry/sentry-javascript#857
- BUGFIX: Fix Raven.js incorrectly interpreting Retry-After header in ms; should be seconds. See: getsentry/sentry-javascript#862
- CHANGE: Raven.js no longer auto-wraps jQuery.ready (if present); fixes jQuery deprecation warnings. See: getsentry/sentry-javascript#849
- BUGFIX: Fix User-Agent not collected in web worker environment. See: getsentry/sentry-javascript#853
- BUGFIX: Fix DOM tree summarizer (breadcrumbs) not splitting on breadcrumbs effectively. See: getsentry/sentry-javascript#852
- BUGFIX: Fix Vue plugin breaking on production builds. See: getsentry/sentry-javascript#848
- NEW: Added comment to Raven.wrap to indicate stack traces containing this frame are not indicative of a bug. See: getsentry/sentry-javascript#847
- NEW: Raven.js will exponentially back off if server returns a 400-level error (e.g. 429 too many requests). See: getsentry/sentry-javascript#839
- CHANGE: Raven.js will not set lastEventId if transmission failed because Raven is not configured. See: getsentry/sentry-javascript#839
- BUGFIX: Raven.js now properly handles Firefox resource:// URLs (extensions). See: getsentry/sentry-javascript#837
- BUGFIX: Use json-stringify-safe in React Native plugin to avoid circular refs. See: getsentry/sentry-javascript#829
- BUGFIX: Avoid document.location access in React Native plugin. See: getsentry/sentry-javascript#800
- BUGFIX: Fix TypeError triggered by some event listeners. See: getsentry/sentry-javascript#793
- BUGFIX: Fix bad
window
access in web worker environments. See: getsentry/sentry-javascript#792
- NEW:
breadcrumbCallback
andsetBreadcrumbCallback
for filtering/mutating breadcrumbs. See: getsentry/sentry-javascript#788 - NEW: Can enable synthetic traces globally via
stacktrace: true
config option. See: getsentry/sentry-javascript#763 - CHANGE: Can set user context via
config
underuser
key. See: getsentry/sentry-javascript#762 - CHANGE: Unit and integration tests now run on PhantomJS 2. See: getsentry/sentry-javascript#777
- BUGFIX: Fix mouse click breadcrumbs not captured in some scenarios. See: getsentry/sentry-javascript#766
- BUGFIX: React Native plugin normalizes paths in stacktraces generated via
captureMessage
. See: getsentry/sentry-javascript#778 - BUGFIX: Doesn't break when window is absent (e.g. inside web workers). See: getsentry/sentry-javascript#785
- BUGFIX: Fix dangling comma affecting IE8. See: getsentry/sentry-javascript#769
- NEW: Record fetch request breadcrumbs. See: getsentry/sentry-javascript#744
- NEW: Record contentEditable input event breadcrumbs. See: getsentry/sentry-javascript#748
- BUGFIX: Updated Typescript declaration file. See: getsentry/sentry-javascript#746
- NEW: File size improvements for raven.min.js See: getsentry/sentry-javascript#721
- BUGFIX: Add missing return types from TypeScript declaration file. See: getsentry/sentry-javascript#718
- BUGFIX: Fix "Permission denied" error in Firefox via WebDriver. See: getsentry/sentry-javascript#720
- REMOVED: Legacy stack trace parsing from Opera 9, 10. See: getsentry/sentry-javascript#716
- BUGFIX: Fix
trimHeadFrames
appearing in some data payloads when using synthetic traces. See: getsentry/sentry-javascript#714
- NEW:
Raven.captureMessage
will generate synthetic stacktraces if passedstacktrace: true
via options. See: getsentry/sentry-javascript#582 - NEW: Added
Raven.setDSN
for changing target DSN after Raven has been configured. See: getsentry/sentry-javascript#706 - CHANGE: Added missing TypeScript type declarations for Raven API methods. See: getsentry/sentry-javascript#698
- BUGFIX: Fix non-fatals crashing React Native plugin unless
shouldSendCallback
is specified. See: getsentry/sentry-javascript#694
- NEW: Can now disable automatic collection of breadcrumbs via
autoBreadcrumbs
config option. See: getsentry/sentry-javascript#686 - NEW: Can now configure max number of breadcrumbs to collect via
maxBreadcrumbs
. See: getsentry/sentry-javascript#685 - NEW: Added Vue.js plugin. See: getsentry/sentry-javascript#688
- CHANGE: Raven.js now collects 100 breadcrumbs by default. See: getsentry/sentry-javascript#685
- CHANGE: React Native plugin now also normalizes paths from CodePush. See: getsentry/sentry-javascript#683
- BUGFIX: Fix exception breadcrumbs having "undefined" for exception value. See: getsentry/sentry-javascript#681
- CHANGE: React Native plugin now stores errors in AsyncStorage and sends error data on app init. See: getsentry/sentry-javascript#626
- BUGFIX: React Native path normalization regex has been updated. See: getsentry/sentry-javascript#666
- BUGFIX: Angular 1 plugin now extracts errors from minified exception strings. See: getsentry/sentry-javascript#667
- NEW: Can now specify
environment
configuration option. See: getsentry/sentry-javascript#661 - CHANGE: Raven.js now serializes data payload w/ json-stringify-safe to avoid circular references. See: getsentry/sentry-javascript#652
- BUGFIX: Angular 1.x plugin no longer clobbers user-specified
dataCallback
. See: getsentry/sentry-javascript#658
- BUGFIX: Fixed error when manually calling captureException with Error objects w/ maxMessageLength > 0. See: getsentry/sentry-javascript#647
- BUGFIX: Fixed TypeScript language declaration file for compatibility w/ Webpack loaders. See: getsentry/sentry-javascript#645
- BUGFIX: Fixed Raven dropping file:/// frames from Phantom 1.x. See: getsentry/sentry-javascript#642
- CHANGE: Callbacks set via
setDataCallback
,setShouldSendCallback
now receive any prior-set callback as the 2nd argument. See: getsentry/sentry-javascript#636 - CHANGE: Raven.js no longer passes a 'message' interface for exceptions. See: getsentry/sentry-javascript#632
- CHANGE: Log level now recorded for "sentry" breadcrumbs. See: getsentry/sentry-javascript#633
- BUGFIX: Fix message truncation occurring before dataCallback is invoked. See: getsentry/sentry-javascript#605
- BUGFIX: Fix pushState error in Chrome Apps. See: getsentry/sentry-javascript#601
- BUGFIX: Fix error in addEventListener call affecting very old Firefox versions. See: getsentry/sentry-javascript#603
- NEW: Added TypeScript declaration file for compatibility with TypeScript projects. See: getsentry/sentry-javascript#610
- BUGFIX: Fix breadcrumb instrumentation failing in IE8. See: getsentry/sentry-javascript#594
- BUGFIX: Navigation breadcrumbs now include query strings and document fragment (#). See: getsentry/sentry-javascript#573
- BUGFIX: Remove errant
throw
call in _makeRequest affecting some Raven configs. See: getsentry/sentry-javascript#572
- BUGFIX: Fix pushState instrumentation breaking on non-string URL args. See: getsentry/sentry-javascript#569
- BUGFIX: Fix XMLHttpRequest.prototype.open breaking on non-string
url
arguments. See: getsentry/sentry-javascript#567
- BUGFIX: Fix broken CDN builds. See: getsentry/sentry-javascript#566
- 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: getsentry/sentry-javascript#554
- REMOVED: Fallback Image transport (HTTP GET) has been removed. See: getsentry/sentry-javascript#545
- REMOVED: TraceKit client-side source fetching has been removed. See: getsentry/sentry-javascript#542
- NEW:
pathStrip
option now available in React Native plugin. See: getsentry/sentry-javascript#515 - BUGFIX: Handle stacks from internal exceptions sometimes thrown by Firefox. See: getsentry/sentry-javascript#536
- BUGFIX: Better error message strings in browsers w/ limited onerror implementations. See: getsentry/sentry-javascript#538
- BUGFIX: Fix HTTP requests not sending with React Native on Android devices. See: getsentry/sentry-javascript#526
- BUGFIX: Raven.js now captures stack traces caused by Firefox internal errors. See: getsentry/sentry-javascript#528
- NEW:
allowSecretKey
configuration option. See: getsentry/sentry-javascript#525 - NEW: Console plugin can be configured to capture specific log levels. See: getsentry/sentry-javascript#514
- CHANGE: React Native plugin now calls default exception handler. See: getsentry/sentry-javascript#492
- CHANGE: React Native plugin now uses HTTP POST transport. See: getsentry/sentry-javascript#494
- BUGFIX: Fix Raven throwing exception when run via Webdriver. See: getsentry/sentry-javascript#495
- BUGFIX: Fixed IE8 regression introduced in 2.1.0. See: getsentry/sentry-javascript#498
- BUGFIX: Fixed initialization error when run via Selenium. See: getsentry/sentry-javascript#495
- BUGFIX: Fixed Raven.js rejecting frames w/ blob URLs. See: getsentry/sentry-javascript#463
- BUGFIX: Fixed plugin files not consumable without module loader. See: getsentry/sentry-javascript#446
- BUGFIX: Fixed bug in console.js plugin where
level
wasn't passed. See: getsentry/sentry-javascript#474 - BUGFIX: Fixed broken debug logging in IE9 and below. See: getsentry/sentry-javascript#473
- BUGFIX: Fixed
XMLHttpRequest
wrapper not capturing all event handlers. See: getsentry/sentry-javascript#453 - CHANGE:
Raven.uninstall
now restores original builtin functions (e.g. setTimeout). See: getsentry/sentry-javascript#228 - CHANGE:
maxMessageLength
now defaults to 0 (no limit). See: getsentry/sentry-javascript#441 - NEW: New
stackTraceLimit
config option (default 50 in supported browsers). See: https://github.com/getsentry/raven-js/pull/419/files - NEW:
Raven.showReportDialog
(experimental). See: getsentry/sentry-javascript#456
- BUGFIX: Fixed exception thrown by React Native plugin. See: getsentry/sentry-javascript#468
- BUGFIX: Fixed "pre-built JavaScript" warning when loading Raven.js via Webpack. See: getsentry/sentry-javascript#465
- BUGFIX: Fixed bug where Raven.VERSION was not set when required as a CommonJS module.
- BUGFIX: Fixed bug where wrapped requestAnimationFrame didn't return callback ID. See: getsentry/sentry-javascript#460
- BUGFIX: Fixed bug where unwrapped errors might be suppressed. See: getsentry/sentry-javascript#447
- 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
Image
GET toXMLHttpRequest
POST (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)
- CHANGE:
console
plugin will now send all arguments as anextra
value. See: getsentry/sentry-javascript#398 - CHANGE: Bump to v7 of the Sentry API spec. This now requires a Sentry 7.7.0+ getsentry/sentry-javascript#403
- CHANGE: Revamp of AngularJS plugin. Please see documentation. See: getsentry/sentry-javascript#405
- CHANGE:
Raven.debug
now defaults tofalse
. https://github.com/getsentry/raven-js/commit/dc142b88f0c4953f54cb3754f9015d95ada55ba0 - BUGFIX:
Raven.wrap
now correctly preservesprototype
. See: getsentry/sentry-javascript#401 and getsentry/sentry-javascript#402 - NEW:
serverName
config option. getsentry/sentry-javascript#404 - NEW: Experimental support for React Native added.
- BUGFIX: Error in cases where a
document
context doesn't exist. See: getsentry/sentry-javascript#383 - BUGFIX: Trailing comma when using unminified dist which affects IE9. See: getsentry/sentry-javascript#385
- NEW: Add ability to swap in a custom transport. Adds
Raven.setTransport
, andtransport
option to config. Docs: https://docs.sentry.io/hosted/clients/javascript/config/ - CHANGE: Always expose
Raven
towindow
. Please callRaven.noConflict()
if you want it restored to what it was. See: getsentry/sentry-javascript#393 - DEPRECATED: Replace
Raven.setReleaseContext
withRaven.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.
- Fix another outstanding bug related to getsentry/sentry-javascript#377 that wasn't fully resolved with 1.1.21
- Laid groundwork for pluggable transports, but not ready for public consumption yet
- Fix a bug where calling
captureException
before callingRaven.config()
would trigger it's own exception. See: getsentry/sentry-javascript#377
- Wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ] See: getsentry/sentry-javascript#268
- Use window.crypto for uuid4 if present. See: getsentry/sentry-javascript#349
- Add winjs support. See: https://github.com/getsentry/raven-js/commit/b9a1292cbc9275fc9f9f1108ff3698cbd5ce2180
- Fix calling
Raven.captureException
from browser console. See: getsentry/sentry-javascript#358 - guard against document.location being null or undefined. See: getsentry/sentry-javascript#357
- Change error message format to match other clients. See: https://github.com/getsentry/raven-js/commit/64ca528b1b066ec7cdb5ef38e755c445f16ebef7
- Don't require a user in the DSN. See: getsentry/sentry-javascript#361
- Add
crossOrigin
option. See: getsentry/sentry-javascript#362 - Avoid recursing when using the
console
plugin. See: https://github.com/getsentry/raven-js/commit/f92ff9de538f331a291af4a7d302202e587aaae5
- Use more compliant way of creating an Image in the dom. See: getsentry/sentry-javascript#334
String
objects weren't getting identified as a string. See: getsentry/sentry-javascript#336- Expose getter/setter for dataCallback and shouldSendCallback
- Better handle if/when the dataCallback returns garbage
- Fix support for nodeunit. See: getsentry/sentry-javascript#338
- Fix
console.warn
sending as awarning
level to server. See: getsentry/sentry-javascript#342 - Improve the capture of unhandled errors from promises in Ember plugin. See: getsentry/sentry-javascript#330
- Fixed a trailing comma which would make IE8 cry. This affects the uncompressed builds only. Compressed builds were unaffected. See: getsentry/sentry-javascript#333
- Better support for Angular errors. See: getsentry/sentry-javascript#238
- Allow setting truncate length through
globalOptions.maxMessageLength
. See: getsentry/sentry-javascript#246 - Fixed the pattern for parsing gecko stacktraces. See: getsentry/sentry-javascript#252
- Browserify support. See: getsentry/sentry-javascript#253, getsentry/sentry-javascript#260, getsentry/sentry-javascript#261
- Start tracking
session:duration
automatically as metadata. - Fix globalOptions overwrite. See: getsentry/sentry-javascript#264
- Better cross origin support. See: getsentry/sentry-javascript#276
- Better anonymous function support in Chrome stack trace parsing. See: getsentry/sentry-javascript#290, getsentry/sentry-javascript#294
- Remove deprecated
site
param. - New
Raven.isSetup()
. See: getsentry/sentry-javascript#309 - Better backbone.js support. See: getsentry/sentry-javascript#307
ignoreErrors
now also is applied tocaptureMessage()
. See: getsentry/sentry-javascript#312- Capture unhandled errors from promises in Ember. See: getsentry/sentry-javascript#319
- Add new support for
releases
. See: getsentry/sentry-javascript#325
- Fixed a bug that was preventing stack frames from
raven.js
from being hidden correctly. See: getsentry/sentry-javascript#216 - Fixed an IE bug with the
console
plugin. See: getsentry/sentry-javascript#217 - Added support for
chrome-extension://
protocol in Chrome in stack traces. - Added
setExtraContext
andsetTagsContext
. See: getsentry/sentry-javascript#219 - Renamed
setUser
tosetUserContext
to match.setUser
still exists, but will be deprecated in a future release. - New
backbone.js
plugin. See: getsentry/sentry-javascript#220 - Added support for
chrome://
protocol in Firefox in stack traces. See: getsentry/sentry-javascript#225 - Ignore more garbage from IE cross origin errors. See: getsentry/sentry-javascript#224
- Added
Raven.debug
to prevent logging toconsole
whenfalse
. Defaults totrue
for backwards compatability. See: getsentry/sentry-javascript#229 - Prevent calling
Raven.config()
orRaven.install()
twice. See: getsentry/sentry-javascript#233
- Fix issues if a non-string were passed to
Raven.captureMessage
and non-Error objects were passed toRaven.captureException
.
- 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
- Fixed a unicode issue in the previous release.
- Fix a bug using the
console
plugin with older IE. See: getsentry/sentry-javascript#192 - Added initial
ember.js
plugin for early testing and feedback. - Added initial
angular.js
plugin for early testing and feedback. - Fixed an issue with the
require.js
plugin basically not working at all. See: https://github.com/getsentry/raven-js/commit/c2a2e2672a2a61a5a07e88f24a9c885f6dba57ae - Got rid of
Raven.afterLoad
and made it internal only. Raven.TraceKit
is now internal only.- Truncate message length to a max of 100 characters becasue angular.js sucks and generates stupidly large error messages.
- Capture column number from FireFox
- Fix propagation of extra options through
captureException
, see: getsentry/sentry-javascript#189 - Fix a minor bug that causes TraceKit to blow up of someone passes something dumb through
window.onerror
- A falsey DSN value disables Raven without yelling about an invalid DSN.
- 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
console
plugin. See: getsentry/sentry-javascript#181 - Provide a way out of deep wrapping arguments. See: getsentry/sentry-javascript#182
Raven.uninstall()
actually removes the patchedwindow.onerror
.- No more globally exposed
TraceKit
!
- Fixed a bug in IE8. See: getsentry/sentry-javascript#179
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: getsentry/sentry-javascript#172
- When loading with an AMD loader present, do not automatically call
Raven.noConflict()
. This was causing issues with using plugins. See: getsentry/sentry-javascript#165 - getsentry/sentry-javascript#168
- 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
- getsentry/sentry-javascript#128
- Fixed a bug in parsing some DSNs. See: getsentry/sentry-javascript#160
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
A new website dedicated to helping you compile a custom build of raven.js
whitelistUrls
are recommended over ignoreUrls
. whitelistUrls
drastically helps cut out noisy error messages from other scripts running on your site.
ignoreUrls
,ignoreErrors
,includePaths
have all been unified to accept both a regular expression and strings to avoid confusion and backwards compatabilityRaven.wrap
recursively 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.collectWindowErrors
to tell Raven to ignore window.onerror