This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @sentry/nextjs from 7.93.0 to 7.94.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **1 version** ahead of your current version.
- The recommended version was released **21 days ago**, on 2024-01-19.
Release notes Package name: @sentry/nextjs
feat(core): Deprecate transaction metadata in favor of attributes (#10097)
feat(core): Deprecate span.sampled in favor of span.isRecording() (#10034)
ref(node-experimental): Deprecate lastEventId on scope (#10093)
Cron Monitoring Support for node-schedule library
This release adds auto instrumented check-ins for the node-schedule library.
import*asSentryfrom'@ sentry/node';import*asschedulefrom'node-schedule';constscheduleWithCheckIn=Sentry.cron.instrumentNodeSchedule(schedule);constjob=scheduleWithCheckIn.scheduleJob('my-cron-job','* * * * *',()=>{console.log('You will see this message every minute');});
feat(node): Instrumentation for node-schedule library (#10086)
from @sentry/nextjs GitHub release notes
**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.*
For more information:
🧐 [View latest project report](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1/settings/integration?pkg=@sentry/nextjs&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @sentry/nextjs from 7.93.0 to 7.94.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.- The recommended version is **1 version** ahead of your current version. - The recommended version was released **21 days ago**, on 2024-01-19.
Release notes
Package name: @sentry/nextjs
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)Bundle size 📦
**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/hmdnprks/project/308ef039-36a4-498d-acd6-4bdd5c3b86f1/settings/integration?pkg=@sentry/nextjs&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)