Official Sentry SDKs for JavaScript
MIT License
Bot releases are visible (Hide)
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
setContext
on the scopeflushTimeout
to requestHandler
to auto flush requestsPublished by HazAT over 5 years ago
Published by HazAT over 5 years ago
htmlTreeAsString
to @sentry/browser
Window
typehint getGlobalObject
CaptureConsole
integrationPublished by HazAT over 5 years ago
utils
and expose esm
buildstore
and fs
classes -> moved to @sentry/electron where this is usednull
to setUser
to reset itPublished by HazAT over 5 years ago
module
in package.json
now provides a es5
build instead of es2015
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
Published by kamilogorek over 5 years ago
browser
field from package.json
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
This major bump brings a lot of internal improvements. Also, we extracted some integrations out of the SDKs and put them
in their own package called @sentry/integrations
. For a detailed guide how to upgrade from 4.x
to 5.x
refer to our migration guide.
Migration from v4
If you were using the SDKs high level API, the way we describe it in the docs, you should be fine without any code
changes. This is a breaking release since we removed some methods from the public API and removed some classes from
the default export.
SentryError
+ PromiseBuffer
to utilsSyncPromise
internally, this reduces memory pressure by a lot.ExtendedError
to a types packageBrowserBackend
from default export.BrowserBackend
from default export.close
methodEvent
to sendEvent
instead of already stringified dataisSyntheticEvent
utilisArray
util in favor of Array.isArray
isNaN
util in favor of Number.isNaN
isFunction
util in favor of typeof === 'function'
isUndefined
util in favor of === void 0
assign
util in favor of Object.assign
includes
util in favor of native includes
serializeKeysToEventMessage
to keysToEventMessage
limitObjectDepthToSize
to normalizeToSize
and rewrite its internalssafeNormalize
to normalize
and rewrite its internalsserialize
, deserialize
, clone
and serializeObject
functionsnormalize
andnormalizeToSize
@sentry/integrations
packageextraErrorData
integration to @sentry/integrations
packagemaxValueLength
option to adjust max string length for values, default is 250.setExtras
, setTags
, clearBreadcrumbs
.Mechanism
to Exception
synthetic
to Mechanism
in exception.addExceptionTypeValue
in helpersmodule
in package.json
as entry point for esm builds.es6
target instead of esnext for ESM builds_
@sentry/opentracing
providing functions to attach opentracing data to Sentry EventsDedupe
Integration is now optional, it is no longer enabled by default.captureEvent
was renamed to sendEvent
__
attachProps
install
function on integration interfaceattachProps
Published by HazAT over 5 years ago
Error.toString()
Published by HazAT over 5 years ago
__
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
Published by HazAT over 5 years ago
next
to not make it latestPublished by HazAT over 5 years ago
Published by HazAT over 5 years ago
Migration from v4
This major bump brings a lot of internal improvements. If you were using the SDK without any special abilities,
basically, the way we describe it in the docs, you should be fine by just updating it. This is a breaking release
since we removed some methods from the public API and removed some classes from the default export.
SentryError
+ PromiseBuffer
to utilsSyncPromise
internally, this reduces memory pressure by a lot.BrowserBackend
from default export.BrowserBackend
from default export.close
methodExtendedError
to a types packageEvent
to sendEvent
instead of already stringified dataisSyntheticEvent
utilisArray
util in favor of Array.isArray
isNaN
util in favor of Number.isNaN
isFunction
util in favor of typeof === 'function'
isUndefined
util in favor of === void 0
assign
util in favor of Object.assign
includes
util in favor of native includes
serializeKeysToEventMessage
to keysToEventMessage
limitObjectDepthToSize
to normalizeToSize
and rewrite its internalssafeNormalize
to normalize
and rewrite its internalsserialize
, deserialize
, clone
and serializeObject
functionsnormalize
andnormalizeToSize
@sentry/integrations
packageextraErrorData
integration to @sentry/integrations
packagemaxValueLength
option to adjust max string length for values, default is 250.setExtras
, setTags
, clearBreadcrumbs
.Mechanism
to Exception
synthetic
to Mechanism
in exception.addExceptionTypeValue
in helpersmodule
in package.json
as entry point for esm builds.es6
target instead of esnext for ESM builds_
@sentry/opentracing
providing functions to attach opentracing data to Sentry EventsDedupe
Integration is now optional, it is no longer enabled by default.