This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
fix(deps): update dependency @sentry/react to v7.93.0 #288
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.86.0
->7.93.0
Release Notes
getsentry/sentry-javascript (@sentry/react)
v7.93.0
Compare Source
Important Changes
Deprecations
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our
migration guide.
getActiveTransaction()
&scope.getTransaction()
(#10098)Hub.shouldSendDefaultPii
(#10062)new Transaction()
(#10125)scope.getSpan()
&scope.setSpan()
(#10114)scope.setTransactionName()
(#10113)span.startChild()
(#10091)startTransaction()
(#10073)Transaction.getDynamicSamplingContext
in favor ofgetDynamicSamplingContextFromSpan
(#10094)startSpan()
(#10101)Scope
(#10039)name
anddescription
(#10056)tags
,data
,context
& setters (#10053)span.sampled
in favor ofspan.isRecording()
(#10034)lastEventId
on scope (#10093)Cron Monitoring Support for
node-schedule
libraryThis release adds auto instrumented check-ins for the
node-schedule
library.node-schedule
library (#10086)Other Changes
span.spanContext()
(#10037)spanToJSON()
method to get span properties (#10074)scope
tostartSpan
APIs (#10076)getModuleFromFilename
compatible with ESM (#10061)parameterize
function (#9145)setup
for integration on client multiple times (#10116)LocalVariables
integration should have correct name (#10084)event_id
(#10068)LocalVariables
(#10077)v7.92.0
Compare Source
Important Changes
Deprecations
span.updateName()
and deprecatespan.setName()
(#10018)span.getTraceContext()
(#10032)span.toTraceparent()
in favor ofspanToTraceHeader()
util (#10031)trace
in favor ofstartSpan
(#10012)toContext()
andupdateWithContext()
(#10030)deepReadDirSync
(#10016)lastEventId()
(#10043)Please take a look at the Migration docs for more details. These methods will be removed in the upcoming v8 major release.
Cron Monitoring Support for
cron
andnode-cron
librariescron
library (#9999)node-cron
library (#9904)This release adds instrumentation for the
cron
andnode-cron
libraries. This allows you to monitor your cron jobs with Sentry cron monitors.For
cron
:For
node-cron
:Other Changes
enabled
option to Astro integration options (#10007)attributes
toSpan
(#10008)setClient()
andgetClient()
toScope
(#10055)captureErrorCause
inExtraErrorData
integration (#9914)withScope
sets current scope correctly with async callbacks (#9974)NODE_VERSION
properties required (#9964)Work in this release contributed by @joshkel. Thank you for your contribution!
Bundle size 📦
v7.91.0
Compare Source
Important Changes
The release adds alpha support for Sentry developer metrics in the server runtime SDKs (
@sentry/node
,@sentry/deno
,@sentry/nextjs
server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
metricsAggregator
experiment to yourSentry.init
call.Then you'll be able to add
counters
,sets
,distributions
, andgauges
under theSentry.metrics
namespace.The ANR tracking integration for Node has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call
Sentry.enableANRDetection
before running your application, now you can simply add theAnr
integration to yourSentry.init
call.Other Changes
getGlobalScope()
method (#9920)getIsolationScope()
method (#9957)span.end()
to replacespan.finish()
(#9954)startSpan
&startSpanManual
fork scope (#9955)startSpan
,startSpanManual
,trace
(#9958)v7.90.0
Compare Source
types
field to package.jsonexports
(#9926)v7.89.0
Compare Source
Important Changes
Deprecations
configureScope
(#9887)pushScope
&popScope
(#9890)This release deprecates
configureScope
,pushScope
, andpopScope
, which will be removed in the upcoming v8 major release.Hapi Integration
This release adds an integration for Hapi. It can be used as follows:
SvelteKit 2.0
This release adds support for SvelteKit 2.0 in the
@sentry/sveltekit
package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary.Other Changes
withScope
to return callback return value (#9866)Deno.CronSchedule
for cron jobs (#9880)canvas.type
setting (#9877)createReduxEnhancer
(#9854)Event
type in worldwide (#9864)eventFromUnknownInput
to avoid scope pollution &getCurrentHub
(#9868)addBreadcrumb
directly & allow to pass hint (#9867)Work in this release contributed by @adam187, and @jghinestrosa. Thank you for your contributions!
v7.88.0
Compare Source
Important Changes
The release adds alpha support for Sentry developer metrics in the Browser SDKs (
@sentry/browser
and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
MetricsAggregator
integration.Then you'll be able to add
counters
,sets
,distributions
, andgauges
under theSentry.metrics
namespace.In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
Deno.cron
(#9808)This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the
--unstable
flag and the usage of theDenoCron
Sentry integration.Other Changes
rrweb
to 2.6.0 (#9847)v7.87.0
Compare Source
getCurrentScope()
method (#9800)rrweb
to 2.5.0 (#9803)./exports
(#9775)assetPrefix
is defined (#9766)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.