Releases: getsentry/sentry-javascript
Releases · getsentry/sentry-javascript
2.0.0
NOTE: raven-js 2.x requires Sentry 8
- CHANGE: Default HTTP transport changed from
Image
GET toXMLHttpRequest
POST (w/ CORS) - 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: 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:
console
plugin will now send all arguments as anextra
value. See: #398 - CHANGE: Bump to v7 of the Sentry API spec. This now requires a Sentry 7.7.0+ #403
- CHANGE: Revamp of AngularJS plugin. Please see documentation. See: #405
- CHANGE:
Raven.debug
now defaults tofalse
. dc142b8 - BUGFIX:
Raven.wrap
now correctly preservesprototype
. See: #401 and #402 - NEW:
serverName
config option. #404 - NEW: Experimental support for React Native added.
1.2.0
- BUGFIX: Error in cases where a
document
context doesn't exist. See: #383 - BUGFIX: Trailing comma when using unminified dist which affects IE9. See: #385
- NEW: Add ability to swap in a custom transport. Adds
Raven.setTransport
, andtransport
option to config. Docs: https://docs.getsentry.com/hosted/clients/javascript/config/ - CHANGE: Always expose
Raven
towindow
. Please callRaven.noConflict()
if you want it restored to what it was. See: #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.
1.1.22
1.1.21
1.1.20
- Wrap jquery's deferred[ resolveWith | rejectWith | notifyWith ] See: #268
- Use window.crypto for uuid4 if present. See: #349
- Add winjs support. See: b9a1292
- Fix calling
Raven.captureException
from browser console. See: #358 - guard against document.location being null or undefined. See: #357
- Change error message format to match other clients. See: 64ca528
- Don't require a user in the DSN. See: #361
- Add
crossOrigin
option. See: #362 - Avoid recursing when using the
console
plugin. See: f92ff9d
1.1.16
- Fixed a bug that was preventing stack frames from
raven.js
from being hidden correctly. See: #216 - Fixed an IE bug with the
console
plugin. See: #217 - Added support for
chrome-extension://
protocol in Chrome in stack traces. - Added
setExtraContext
andsetTagsContext
. See: #219 - Renamed
setUser
tosetUserContext
to match.setUser
still exists, but will be deprecated in a future release. - New
backbone.js
plugin. See: #220 - Added support for
chrome://
protocol in Firefox in stack traces. See: #225 - Ignore more garbage from IE cross origin errors. See: #224
- Added
Raven.debug
to prevent logging toconsole
whenfalse
. Defaults totrue
for backwards compatability. See: #229 - Prevent calling
Raven.config()
orRaven.install()
twice. See: #233