Official Sentry SDKs for JavaScript
MIT License
Bot releases are hidden (Show)
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.Published by kamilogorek over 5 years ago
Published by kamilogorek over 5 years ago
Published by kamilogorek over 5 years ago
SENTRY_RELEASE
and SENTRY_ENVIRONMENT
if presentPublished by kamilogorek over 5 years ago
tslib_1__default
regression and add additional tests around itPublished by kamilogorek over 5 years ago
init
has been called in an onload callbackinboundFilter
methodsinit
calls have been changed to "latest wins" instead of "ignore all after first"flush
method which currently is an alias for close
options.dsn
is undefined when calling init
we try to load it from process.env.SENTRY_DSN
flush
and close
on Sentry.*
sentry
to express error handler response which contains the event_id
of the errorPublished by HazAT over 5 years ago
DOMError
and DOMException
should be error level eventsdecycle
util functiondecycle
util functionwrap
method to hide internal Sentry flagsfill
utilPublished by HazAT over 5 years ago
Published by HazAT almost 6 years ago
Published by HazAT almost 6 years ago
Published by HazAT almost 6 years ago
captureEvent
, prefer sendEvent
for transports. sendEvent
now takes a string (body)Event
object.RequestBuffer
to PromiseBuffer
, also introduce limitframeContextLines
, if set to 0
we do not provide source code pre/post context, default is7
lines pre/postserialize
method to prevent circular referencesPublished by HazAT almost 6 years ago
Published by HazAT almost 6 years ago
Published by kamilogorek almost 6 years ago
Published by HazAT almost 6 years ago
Published by HazAT almost 6 years ago