Update dependency @sentry/browser to v6
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@sentry/browser | ^5.19.0 -> ^6.13.2 |
Release Notes
getsentry/sentry-javascript
v6.13.2
- fix(browser): Use getGlobalObject for document check (#3996)
- misc(all): Disallow direct usage of globals (#3999)
v6.13.1
- fix(browser): Check for document when sending outcomes (#3993)
v6.13.0
- feat(browser): Client Report Support (#3955)
- feat(perf): Add experimental option to improve LCP collection (#3879)
- fix(browser): Make sure that
document.head
ordocument.body
exists forinjectReportDialog
(#3972) - fix(browser): Parse frames-only
safari(-web)-extension
stack (#3929) - fix(ember): Move
ember-source
todevDependencies
(#3962) - fix(hub): Don't set
lastEventID
for transactions (#3966) - fix(nextjs): Include nextjs config's
basePath
onurlPrefix
(#3922) - fix(node): Add protocol detection for get/request calls without explict protocol (#3950)
- fix(node): Disable
autoSessionTracking
if dsn undefined (#3954) - fix(vue): Check for matched route existence before starting transaction (#3973)
- ref(browser): Migrate unit tests from Chai and Karma to Jest (#3965)
- ref(nextjs): Exclude cross-platform tracing code from bundles (#3978)
- ref(tracing): Idle transaction refactoring (#3988)
v6.12.0
- fix(nextjs): Differentiate between webpack 4 and 5 in server builds (#3878)
- fix(core): Skip native frames while searching frame URLs. (#3897)
- fix(vue): Attach props only if VM is available (#3902)
- feat(tracing): Add pg-native support to Postgres integration. (#3894)
- ref(ember): Update addon to support Ember 4.0.0 (beta) (#3915)
- feat(react): Make Profiler _mountSpan attribute protected (#3904)
- fix(ember): allow ember-beta to fail (#3910)
- fix(tracing): Prevent metrics erroring module load in web workers (#3941)
- misc(browser): Log when event is dropped by Dedupe integration (#3943)
v6.11.0
- feat(nextjs): Allow for TypeScript user config files (#3847)
- fix(browser): Make sure handler exists for LinkedErrors Integration (#3861)
- fix(core): Skip anonymous callbacks while searching frame URLs. (#3842)
- fix(core): Stop rejecting in
flush
andclose
when client undefined (#3846) - fix(nextjs): Stop
SentryWebpackPlugin
from uploading unnecessary files (#3845) - fix(react): Require ReactElement in ErrorBoundary props and render (#3857)
- fix(tests): Allow tests to run on Windows without WSL (#3813)
- fix(utils): Fix false-positive circular references when normalizing
Event
objects (#3864) - fix(vue): Make Router.name type optional to match VueRouter (#3843)
- ref(core): Prevent redundant setup work (#3862)
- ref(nextjs): Stop reinitializing the server SDK unnecessarily (#3860)
v6.10.0
- feat(vue): Rework tracing and add support for
Vue 3
(#3804) - feat(tracing): Upgrade to
web-vitals 2.1.0
(#3781) - fix(ember): Make argument to
InitSentryForEmber
optional (#3802) - fix(nextjs): Do not start a navigation if the from URL is the same (#3814)
- fix(nextjs): Let
flush
finish in API routes (#3811) - fix(nextjs): Use
domains
to prevent scope bleed (#3788) - fix(react): Make
Route
typing more generic (#3809) - ref(tracing): Update span op for outgoing HTTP requests (#3821)
- ref(tracing): Remove updated CLS from web-vitals (#3822)
v6.9.0
- feat(browser): Use scope data in report dialog (#3792)
- feat(core): Add
ensureNoCircularStructures
experiment to help debug serialization bugs (#3776) - feat(nextjs): Add options to disable webpack plugin (#3771)
- feat(react): Support render props in
ErrorBoundary
(#3793) - fix(ember): Correctly cache ember types from prepublish hook (#3749)
- fix(ember): Fix runtime config options not being merged (#3791)
- fix(metrics): Check for cls entry sources (#3775)
- fix(nextjs): Make
withSentryConfig
return type match given config type (#3760) - fix(node): Check if
captureRequestSession
is available before its called (#3773) - fix(node): Enable
autoSessionTracking
correctly (#3758) - fix(react):
allRoutes
cannot triple equal a new array instance (#3779) - fix(tracing): Add check for
document.scripts
in metrics (#3766) - fix(types): Update
ExtractedNodeRequestData
to include validquery_params
fortracesSampler
(#3715) - ref(gatsby): Default release to empty string (#3759)
- ref(nextjs): Inject init code in
_app
and API routes (#3786) - ref(nextjs): Pre-disable-plugin-option config cleanup (#3770)
- ref(nextjs): Stop setting redundant
productionBrowserSourceMaps
in config (#3765)
v6.8.0
- [browser] feat: Enable serialization of multiple DOM attributes for breadcrumbs. (#3755)
- [browser] feat: Make dedupe integration default for browser (#3730)
- [core] fix: Correctly limit Buffer requests (#3736)
- [ember] ref: Allow initing Ember without config entry (#3745)
- [serverless] fix: wrapEventFunction does not await for async code (#3740)
v6.7.2
- [core] fix: Do not track sessions if not enabled (#3686)
- [core] fix: Prevent sending terminal status session updates (#3701)
- [core] ref: Make
beforeSend
more strict (#3713) - [browser] ref: Log which request type has been limited (#3687)
- [nextjs] feat: Auto enable node http integration on server (#3675)
- [nextjs] fix: Correctly handle functional next config in
withSentryConfig
(#3698) - [nextjs] fix: Fix conflict with other libraries modifying webpack
entry
property (#3703) - [nextjs] fix: Update @sentry/webpack-plugin to 1.15.1 in @sentry/nextjs to resolve build timeouts issue (#3708)
- [nextjs] ref: Split up config code and add tests (#3693)
v6.7.1
- [core] fix: Add event type to item header when envelopes are forced (#3676)
- [core] fix: Include DSN in envelope header for sessions (#3680)
- [core] fix: Prevent scope from storing more than 100 breadcrumbs at the time (#3677)
- [node] ref: Remove default http(s) import from http-module (#3681)
- [nextjs] feat: Add body data to transaction
request
context (#3672)
v6.7.0
- [core] feat: Add
tunnel
option to support request tunneling for dealing with ad-blockers (#3521)
v6.6.0
- [node] feat: Allow for overriding custom
UrlParser
in Node.js transports (#3612) - [browser] feat: Add
serializeAttribute
option to DOM breadcrumbs. (#3620) - [nextjs] fix:
Improve NextConfigExports
compatibility (#3592) - [nextjs] fix: Use correct abs path for server init (#3649)
- [angular] fix: Do not run change detection when capturing the exception (#3618)
- [angular] fix: Do not run change detection when finishing transaction (#3622)
- [angular] fix: Provide a single compilation unit for the
trace
directive (#3617) - [utils] fix: Check for
performance.now
when calculating browser timing (#3657) - [integrations] fix: Run rewriting for both
exception
andstacktrace
events (#3653) - [node] ref: Replace old-style
require(console)
with a global object (#3623) - [node] ref: Make
HTTPModule
more abstract to be able to use it in non-Node.JS environments (#3655) - [nextjs] ref: Export
BrowserTracing
integration directly from@sentry/nextjs
(#3647)
v6.5.1
- [nextjs] fix: Prevent webpack 5 from crashing server (#3642)
- [eslint] build: Upgrade to eslint 7.27.0 (#3639)
- [nextjs] test: Add nextjs integration tests for Server and Browser (#3632)
- [browser] ref: Don't send session duration in browser environments (#3616)
- [hub] fix: Correctly compute session durations (#3616)
v6.5.0
- [angular] fix: prevent memory leak when the root view is removed (#3594)
- [browser] fix: Do not trigger session on meaningless navigation (#3608)
- [nextjs] feat: Frontend + withSentry Performance Monitoring (#3580)
- [react] fix: Use history object for init transaction name (#3609)
v6.4.1
- [ember] ref: Fix merging of runtime config with environment config. (#3563)
- [angular] ref: Allow angular v12 as a peer dependency. (#3569)
- [tracing] fix: Avoid browser tracing initialization on node environment (#3548)
- [react] ref: Make RouteProps typing more generic (#3570)
- [tracing] fix: Correctly handle pg.Cursor in pg query method (#3567)
- [types] fix: Add attachment to SentryRequestType (#3561)
- [nextjs] ref: Disable node session for next.js (#3558)
- [eslint] feat: Add new eslint rules (#3545)
v6.4.0
- [core] feat: initialScope in SDK Options (#3544)
- [node] feat: Release Health for Node (Session Aggregates) (#3319)
- [node] feat: Autoload Database Integrations in Node environment (#3483)
- [react] feat: Add support for React 17 Error Boundaries (#3532)
- [tracing] fix: Generate TTFB (Time to first byte) from span data (#3515)
v6.3.6
- [nextjs] fix: Fix error logging (#3512)
- [nextjs] fix: Add environment automatically (#3495)
- [node] feat: Implement category based rate limiting (#3435)
- [node] fix: Set handled to false when it is a crash (#3493)
- [tracing] fix: Mark tracing distributables as side effects (#3519)
v6.3.5
- [nextjs] fix: Add tslib dependecy; change inject order (#3487)
v6.3.4
- [nextjs] fix: API routes logging (#3479)
v6.3.3
- [nextjs] fix: User server types (#3471)
v6.3.2
- [nextjs] ref: Remove next.js plugin (#3462)
- [core] fix: Prevent InboundFilters mergeOptions method from breaking users code (#3458)
v6.3.1
- [angular] fix: Make SentryErrorHandler extensible and export it publicly (#3438)
- [browser] feat: Capture information about the LCP element culprit (#3427)
- [core] fix: Correctly attach installed integrations to sdkinfo (#3447)
- [ember] fix: Add guards to ensure marks exist (#3436)
- [nextjs] fix: Fix incomplete merging of user config with Sentry config (#3434)
- [nextjs] ref: Use resolved paths for
require
calls in config code (#3426) - [node] fix: Fix for manual tests in node (#3428)
- [transports] feat: Honor no_proxy env variable (#3412)
v6.3.0
- [browser] feat: Parse safari-extension and safari-web-extension errors (#3374)
- [browser] fix: Provide better descriptions for the performance navigation timing spans (#3245)
- [browser] test: Replace Authorization with Accept header (#3400)
- [ci] ci: Add CodeQL scanning
- [core] Drop session if release is not a string or is missing and log (#3396)
- [docs] Document how to publish a new release (#3361)
- [gatsby] fix: Specify gatsby peer dep (#3385)
- [gatsby] chore(docs): Update @sentry/gatsby README (#3384)
- [integrations] feat(integrations): add prefix support for RewriteFrames (#3416)
- [integrations] ref: Use esm imports with localforage and add esModuleInterop (#3403)
- [nextjs] feat: Next.js SDK + Plugin (#3301)
- [node] fix: Generate a Sentry Release string from env if its not provided (#3393)
- [tracing] fix: Replace performance.timeOrigin in favour of browserPerformanceTimeOrigin (#3397)
- [tracing] fix: Mark span as failed when fetch API call fails (#3351)
- [utils] fix: Use the more reliable timeOrigin (#3398)
- [utils] fix: Wrap oldOnPopState.apply call in try/catch to prevent Firefox from crashing (#3377)
v6.2.5
- [utils] fix: Avoid performance.timeOrigin if too skewed (#3356)
v6.2.4
- [browser] fix: Add
SentryRequestType
toRateLimitingCategory
mapping (#3328) - [browser] ref: Add fast-path to
fetchImpl
and cleanup redundant iframe (#3341) - [node] fix: Fallback to empty string if
req.baseUrl
is empty (#3329) - [node] ref: Remove circular dependency in
@sentry/node
(#3335) - [tracing] fix: Attach mysql tracing to
Connection.createQuery
instead ofConnection.prototype.query
(#3353) - [tracing] ref: Clarify naming in
BrowserTracing
integration (#3338) - [ember] ref: Fix tests to be forward compatible with component changes (#3347)
- [ember] ref: Silence deprecation warnings in beta (#3346)
v6.2.3
- [gatsby] fix: Update Vercel environment variables to match their current system variables (#3337)
v6.2.2
- [hub] fix: Only create sessions if the correct methods are defined (#3281)
- [core] fix: Don't override SDK metadata (#3304)
- [browser] fix: Prevent fetch errors loops with invalid fetch implementations (#3318)
- [serverless] ref: Add compatible runtime nodejs14.x to building awslambda layer (#3303)
- [ember] fix: Keep route hook context when performance-wrapping (#3274)
- [integrations] fix: Normalized Event before caching. (#3305)
v6.2.1
- [core] fix: Moves SDK metadata-setting into the
NodeClient/BrowserClient
to protect it from being overwritten by other classes extendingBaseClient
like @sentry/serverless (#3279)
v6.2.0
- [tracing] feat: Mongoose tracing support added to MongoDB (#3252)
- [tracing] fix: Add missing
find
method from mongo tracing list (#3253) - [tracing] fix: Create
spanRecorder
whenever transactions are sampled (#3255) - [node] fix: Parse ESM based frames with
file://
protocol (#3264) - [react] fix: Remove react-dom peer dependency for RN (#3250)
- [ember] fix: Fixing fetching config during build step (#3246)
- [serverless]: fix: Handle incoming
sentry-trace
header (#3261)
v6.1.0
We updated the way how we calculate errored and crashed sessions with this update. Please be aware that some numbers might change for you and they now should reflect the actual reality. Visit our docs for more information.
- [browser] feat: Rework how we track sessions (#3224)
- [hub] ref: Simplify getting hub from active domain (#3227)
- [core] ref: Rename
user
topublicKey
inDsn
type and class (#3225) - [ember] fix: Fix backwards compatibility with Embroider changes (#3230)
v6.0.4
- [browser] fix: Don't break when function call context is undefined (#3222)
- [tracing] fix: Set default sampling context data where
startTransaction
is called (#3210) - [tracing] fix: Remove stray sampling data tags (#3197)
- [tracing] fix: Clear activeTransaction from the scope and always start idle timers (#3215)
- [angular] ref: Add Angular 11 to possible peerDependencies list (#3201)
- [vue] ref: Add
vue-router
to peerDependencies list (#3214)
v6.0.3
- [tracing] ref: feat(tracing): Add context update methods to Span and Transaction (#3192)
- [node] ref: Make ExpressRequest not extend http.IncomingMessage anymore (#3211)
- [browser] deps: Allow for LocalForage >=1.8.1 (#3205)
- [ember] fix(ember): Fix location url for 'hash' location type (#3195)
- [ember] fix(ember): Fix Ember to work with Embroider and Fastboot (#3181)
v6.0.2
- [browser] fix: Disable session tracking in non-browser environments (#3194)
v6.0.1
- [vue] fix: Make sure that error is present before logging it in Vue (#3183)
- [serverless] fix: Fix issue when
/dist
didn't exist before building (#3190)
v6.0.0
This major version release doesn't contain any breaking API/code changes. Starting from the version 6.0.0
, all SDKs
that support sending sessions data will do so by default. See our
Release Health docs to learn more. As of this version, it applies to
all Browser SDKs (Browser, React, Angular, Vue, Gatsby etc.). Node.js and other related Server SDKs will follow soon
after, in the minor 6.x
release. You can opt-out of this behavior by setting autoSessionTracking: false
option
during SDK initialization.
- [wasm] feat: Introduce a
@sentry/wasm
package (#3080) - [tracing] feat: Turn Sessions Tracking on by default (#3099)
- [tracing] feat: Create session on history change (#3179)
- [core] feat: Attach SDK metadata to options and pass it to the API and transports (#3177)
- [build] feat: AWS Lambda layer target config for Craft (#3175)
- [tracing] fix: Make sure that mongo method is thenable before calling it (#3173)
v5.30.0
- [node] fix: esbuild warning dynamic require (#3164)
- [tracing] ref: Expose required things for React Native auto tracing (#3144)
- [ember] fix: rootURL breaking route recognition (#3166)
- [serverless] feat: Zip serverless dependencies for AWS Lambda (#3110)
- [build] feat: Target to deploy on AWS Lambda (#3165)
- [build] ref: Remove TravisCI (#3149)
- [build] ref: Upgrade action-prepare-release to latest version
v5.29.2
- Fix version
v5.29.1
- [types] ref: Loosen tag types, create new
Primitive
type (#3108) - [tracing] feat: Send sample rate and type in transaction item header in envelope (#3068)
- [tracing] fix(web-vitals): Fix TTFB capture in Safari (#3106)
v5.29.0
- [tracing] feat: MongoDB Tracing Support (#3072)
- [tracing] feat: MySQL Tracing Support (#3088)
- [tracing] feat: PostgreSQL Tracing Support (#3064)
- [tracing] fix: Add
sentry-trace
header to outgoing http(s) requests in node (#3053) - [node] fix: Revert express tracing integration type to use any (#3093)
v5.28.0
- [browser] fix: Handle expo file dir stack frames (#3070)
- [vue] feat: @sentry/vue (#2953)
- [node] ref: Revamp express route info extraction (#3084)
- [browser] fix: Dont append dsn twice to report dialog calls (#3079)
- [ember] fix: Use correct import from
@sentry/browser
(#3077) - [node] ref: Express integration span name change and path unification (#3078)
v5.27.6
- [hub] fix: Don't invoke scope updates in scope listeners
v5.27.5
- [hub] fix: Sync ScopeListeners (#3065)
- [tracing] fix: Typo in constant name in @sentry/tracing (#3058)
v5.27.4
- [core] fix: Remove globalThis usage (#3033)
- [react] ref: Add React 17.x to peerDependencies (#3034)
- [tracing] fix: Express transaction name (#3048)
- [serverless] fix: AWS Execution duration (#3032)
- [serverless] fix: Add
optional
parameter to AWSServices integration (#3030) - [serverless] fix: Wrap google cloud functions with a Proxy(). (#3035)
- [hub] fix: stop using @types/node in @sentry/hub (#3050)
v5.27.3
- [hub] fix: Make sure that
getSession
exists before calling it (#3017) - [browser] feat: Add
DOMException.code
as tag if it exists (#3018) - [browser] fix: Call
removeEventListener
twice only when necessary (#3016) - [tracing] fix: Schedule the execution of the finish to let all the spans being closed first (#3022)
- [tracing] fix: Adjust some web vitals to be relative to fetchStart and some other improvements (#3019)
- [tracing] fix: Add transaction name as tag on error events (#3024)
v5.27.2
- [apm] ref: Delete sentry/apm package (#2990)
- [types] fix: make requestHandler options an own type (#2995)
- [core] fix: Use 'production' as default value for environment key (#3013)
v5.27.1
- [hub] fix: Preserve original user data for explicitly updated scopes (#2991)
- [ember] fix: prevent unexpected errors on transition (#2988)
v5.27.0
- [browser] feat: Sessions Health Tracking (#2973)
- [core] fix: Correct
processing
flag inBaseClient
(#2983) - [node] feat: use
req.cookies
if available instead of parsing (#2985) - [core] ref: Use SentryError for
prepareEvent
rejections (#2973) - [core] ref: Errors handling in
prepareEvent
pipeline (#2987) - [serverless] feat: Implement tracing of Google Cloud Requests (#2981)
- [serverless] ref: Set global event processor and pass scope data for transactions (#2975)
- [tracing] feat: Add secure connect navigation timing (#2980)
- [tracing] feat: Capture time spent redirecting before loading the current page (#2986)
- [tracing] feat: Capture browser navigator information (#2966)
- [tracing] feat: Express router methods tracing (#2972)
- [tracing] ref: Only report FCP or FP if the page wasn't hidden prior to their instrumentation (#2979)
v5.26.0
- [serverless] feat: Implement error handling and tracing for
Google Cloud Functions
(#2945) - [serverless] feat: Enable tracing for
AWSLambda
(#2945) - [serverless] feat: Add
AWSResources
integration (#2945) - [browser] feat: Implement
X-Sentry-Rate-Limits
handling for transports (#2962) - [tracing] feat: Add measurements support and web vitals (#2909)
- [tracing] feat: Add web vitals: CLS and TTFB (#2964)
- [angular] ref: Make
@angular/common
a peerDependency instead of dependency (#2961) - [ember] feat: Add more render instrumentation (#2902)
- [ember] ref: Use
@embroider/macros
instead ofrunInDebug
(#2873) - [hub] ref: Do not allow for popping last layer and unify getter methods (#2955)
v5.25.0
- [tracing] fix: Expose
startTransaction
in CDN bundle (#2938) - [tracing] fix: Allow unsampled transactions to be findable by
getTransaction()
(#2952) - [tracing] fix: Reimplement timestamp computation (#2947)
- [tracing] ref: Clean up sampling decision inheritance (#2921) (#2944)
- [react] fix: Makes
normalizeTransactionName
take a callback function in router-v3 (#2946) - [ember] feat: Add more render instrumentation to @sentry/ember (#2902)
- [types] ref: Use correct types for
event.context
and allow for context removal (#2910) - [types] ref: Make name required on transaction class (#2949)
- [build] feat: Update to use extends w. Volta (#2930)
v5.24.2
- [utils] fix: Check that performance is available before calling it in RN (#2924)
v5.24.1
- [types] fix: Remove Location type to avoid dom lib dependency (#2922)
v5.24.0
- [angular] fix: Make sure that message exist before returning it in angular error handler (#2903)
- [integrations] feat: Add referrer to data collected by UserAgent integration (#2912)
- [core] fix: Make sure that body is not exposed in the breadcrumb by default (#2911)
- [core] feat: Give access to XHR requests body in breadcrumb hint (#2904)
- [core] fix: Add a wrapper around performance for React Native (#2915)
- [integrations] fix: Make Vue tracing options optional (#2897)
- [integrations] ref: Remove unnecessary eventID check in offline integration (#2890)
- [tracing] feat: Add hook for trace sampling function to SDK options (#2820)
v5.23.0
- [serverless] feat: Introduce
@sentry/serverless
withAWSLambda
support (#2886) - [ember] feat: Add performance instrumentation for routes (#2784)
- [node] ref: Remove query strings from transaction and span names (#2857)
- [angular] ref: Strip query and fragment from Angular tracing URLs (#2874)
- [tracing] ref: Simplify
shouldCreateSpanForRequest
(#2867)
v5.22.3
- [integrations] fix: Window type (#2864)
v5.22.2
- [integrations] fix: localforage typing (#2861)
v5.22.1
- [integrations] fix: Add localforage typing (#2856)
- [tracing] fix: Make sure BrowserTracing is exported in CDN correctly (#2855)
v5.22.0
- [browser] ref: Recognize
Capacitor
scheme asGecko
(#2836) - [node]: fix: Save
string
exception as a message forsyntheticException
(#2837) - [tracing] feat: Add
build
dir in npm package (#2846) - [tracing] fix: Fix typo in
addPerformanceEntries
method name (#2847) - [apm] ref: Deprecate
@sentry/apm
package (#2844) - [angular] fix: Allow for empty DSN/disabling with
AngularJS
integration (#2842) - [gatsby] ref: Make
@sentry/tracing
mandatory + add tests (#2841) - [integrations] feat: Add integration for offline support (#2778)
- [utils] ref: Revert the usage of
globalThis
forgetGlobalObject
util (#2851) - [build] fix: Lock in
TypeScript
to3.7.5
(#2848) - [build] misc: Upgrade
Prettier
to1.19.0
(#2850)
v5.21.4
- [ci] fix: Actually release correct code
v5.21.3
- [tracing] feat: Track span status for fetch requests (#2835)
- [react] fix: Return an any from createReduxEnhancer to avoid type conflicts (#2834)
- [react] fix: Make sure profiler is typed with any (#2838)
v5.21.2
- [tracing] fix: Normalize transaction names for express methods to match those of other SDKs (#2832)
- [tracing] feat: Change resource span op name and add data (#2816)
- [tracing] ref: Make sure error status is set on transactions (#2818)
- [apm/tracing] fix: Make sure Performance Observer takeRecords() is defined (#2825)
v5.21.1
- [ember] fix: Make the package public and fix the build by bumping TypeScript to v3.9 (#2811)
- [eslint] test: Don't test eslint config/plugin on Node <= v8
v5.21.0
- [all] feat: Convert
sentry-javascript
toESLint
(#2786) - [internal/eslint] feat: Add
@sentry-internal/eslint-config-sdk
([#2807](https://togithub.
Configuration
-
If you want to rebase/retry this PR, check this box.
This PR has been generated by WhiteSource Renovate. View repository job log here.