Update dependency @sentry/browser to v5
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
@sentry/browser | dependencies | major | ^5.1.1 | source |
Release Notes
getsentry/sentry-javascript
v5.1.1
- [browser] fix: Breadcrumb Integration: Fix #2034
v5.1.0
- [hub] feat: Add
setContext
on the scope - [browser] fix: Breacrumb integration ui clicks
- [node] feat: Add
flushTimeout
torequestHandler
to auto flush requests
v5.0.8
- [core] fix: Don't disable client before flushing
- [utils] fix: Remove node types
- [hub] fix: Make sure all breadcrumbs have a timestamp
- [hub] fix: Merge event with scope breadcrumbs instead of only using event breadcrumbs
v5.0.7
- [utils] ref: Move
htmlTreeAsString
to@sentry/browser
- [utils] ref: Remove
Window
typehintgetGlobalObject
- [core] fix: Make sure that flush/close works as advertised
- [integrations] feat: Added
CaptureConsole
integration
v5.0.6
- [utils]: Change how we use
utils
and exposeesm
build - [utils]: Remove
store
andfs
classes -> moved to @sentry/electron where this is used - [hub]: Allow to pass
null
tosetUser
to reset it
v5.0.5
- [esm]:
module
inpackage.json
now provides aes5
build instead ofes2015
v5.0.3
- [hub] fix: Don't reset registry when there is no hub on the carrier #1969
- [integrations] fix: Export dedupe integration
v5.0.2
- [browser] fix: Remove
browser
field frompackage.json
v5.0.1
- [browser] fix: Add missing types
v5.0.0
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.
- breaking [node] fix: Events created from exception shouldn't have top-level message attribute
- [utils] ref: Update wrap method to hide internal sentry flags
- [utils] fix: Make internal Sentry flags non-enumerable in fill utils
- [utils] ref: Move
SentryError
+PromiseBuffer
to utils -
breaking [core] ref: Use
SyncPromise
internally, this reduces memory pressure by a lot. - ref: Move internal
ExtendedError
to a types package -
breaking [browser] ref: Removed
BrowserBackend
from default export. -
breaking [node] ref: Removed
BrowserBackend
from default export. -
breaking [core] feat: Disable client once flushed using
close
method -
breaking [core] ref: Pass
Event
tosendEvent
instead of already stringified data - [utils] feat: Introduce
isSyntheticEvent
util -
breaking [utils] ref: remove
isArray
util in favor ofArray.isArray
-
breaking [utils] ref: Remove
isNaN
util in favor ofNumber.isNaN
-
breaking [utils] ref: Remove
isFunction
util in favor oftypeof === 'function'
-
breaking [utils] ref: Remove
isUndefined
util in favor of=== void 0
-
breaking [utils] ref: Remove
assign
util in favor ofObject.assign
-
breaking [utils] ref: Remove
includes
util in favor of nativeincludes
-
breaking [utils] ref: Rename
serializeKeysToEventMessage
tokeysToEventMessage
-
breaking [utils] ref: Rename
limitObjectDepthToSize
tonormalizeToSize
and rewrite its internals -
breaking [utils] ref: Rename
safeNormalize
tonormalize
and rewrite its internals -
breaking [utils] ref: Remove
serialize
,deserialize
,clone
andserializeObject
functions -
breaking [utils] ref: Rewrite normalization functions by removing most of them and leaving just
normalize
andnormalizeToSize
-
breaking [core] ref: Extract all pluggable integrations into a separate
@sentry/integrations
package -
breaking [core] ref: Move
extraErrorData
integration to@sentry/integrations
package - [core] feat: Add
maxValueLength
option to adjust max string length for values, default is 250. - [hub] feat: Introduce
setExtras
,setTags
,clearBreadcrumbs
. -
breaking [all] feat: Move
Mechanism
toException
- [browser/node] feat: Add
synthetic
toMechanism
in exception. - [browser/node] fix: Use
addExceptionTypeValue
in helpers - [browser] ref: Remove unused TraceKit code
-
breaking [all] build: Expose
module
inpackage.json
as entry point for esm builds. -
breaking [all] build: Use
es6
target instead of esnext for ESM builds - [all] feat: Prefix all private methods with
_
- [all] build: Use terser instead of uglify
- [opentracing] feat: Introduce
@sentry/opentracing
providing functions to attach opentracing data to Sentry Events -
breaking [core] ref:
Dedupe
Integration is now optional, it is no longer enabled by default. - breaking [core] ref: Removed default client fingerprinting for messages
- [node] ref: Remove stack-trace dependencies
-
breaking [core] ref: Transport function
captureEvent
was renamed tosendEvent
- [node] fix: Check if buffer isReady before sending/creating Promise for request.
- [browser] fix: Remove beacon transport.
- [browser] fix: Don't mangle names starting with two
__
- [utils] fix: Ensure only one logger instance
- [node] feat: Add esm build
- [integrations] feat: Fix build and prepare upload to cdn
- [integrations] fix: Bug in vue integration with
attachProps
- breaking [core] ref: Remove SDK information integration
-
breaking [core] ref: Remove
install
function on integration interface - [node] feat: Add esm build
- [integrations] feat: Fix build and prepare upload to cdn
- [integrations] fix: Bug in vue integration with
attachProps
Renovate configuration
rebase!
".
-
If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.