dependabot npm(deps): bump @sentry/node from 7.91.0 to 7.92.0
Bumps @sentry/node from 7.91.0 to 7.92.0.
Release notes
Sourced from @sentry/node's releases.
7.92.0
Important Changes
Deprecations
- feat(core): Add
span.updateName()and deprecatespan.setName()(#10018)- feat(core): Deprecate
span.getTraceContext()(#10032)- feat(core): Deprecate
span.toTraceparent()in favor ofspanToTraceHeader()util (#10031)- feat(core): Deprecate
tracein favor ofstartSpan(#10012)- feat(core): Deprecate span
toContext()andupdateWithContext()(#10030)- ref: Deprecate
deepReadDirSync(#10016)- ref: Deprecate
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
cronandnode-cronlibraries
- feat(node): Instrumentation for
cronlibrary (#9999)- feat(node): Instrumentation for
node-cronlibrary (#9904)This release adds instrumentation for the
cronandnode-cronlibraries. This allows you to monitor your cron jobs with Sentry cron monitors.For
cron:import * as Sentry from '@sentry/node'; import { CronJob } from 'cron'; const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job'); // use the constructor const job = new CronJobWithCheckIn('* * * * *', () => { console.log('You will see this message every minute'); }); // or from const job = CronJobWithCheckIn.from({ cronTime: '* * * * *', onTick: () => { console.log('You will see this message every minute'); }, });For
node-cron:import * as Sentry from '@sentry/node'; import cron from 'node-cron'; </tr></table>
... (truncated)
Changelog
Sourced from @sentry/node's changelog.
7.92.0
Important Changes
Deprecations
- feat(core): Add
span.updateName()and deprecatespan.setName()(#10018)- feat(core): Deprecate
span.getTraceContext()(#10032)- feat(core): Deprecate
span.toTraceparent()in favor ofspanToTraceHeader()util (#10031)- feat(core): Deprecate
tracein favor ofstartSpan(#10012)- feat(core): Deprecate span
toContext()andupdateWithContext()(#10030)- ref: Deprecate
deepReadDirSync(#10016)- ref: Deprecate
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
cronandnode-cronlibraries
- feat(node): Instrumentation for
cronlibrary (#9999)- feat(node): Instrumentation for
node-cronlibrary (#9904)This release adds instrumentation for the
cronandnode-cronlibraries. This allows you to monitor your cron jobs with Sentry cron monitors.For
cron:import * as Sentry from '@sentry/node'; import { CronJob } from 'cron'; const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job'); // use the constructor const job = new CronJobWithCheckIn('* * * * *', () => { console.log('You will see this message every minute'); }); // or from const job = CronJobWithCheckIn.from({ cronTime: '* * * * *', onTick: () => { console.log('You will see this message every minute'); }, });For
node-cron:import * as Sentry from '@sentry/node'; import cron from 'node-cron'; </tr></table>
... (truncated)
Commits
-
30eddd5release: 7.92.0 -
7bca411Merge pull request #10063 from getsentry/prepare-release/7.92.0 -
c06c2d8meta(changelog): Update changelog for 7.92.0 -
33348ecfix(node): Anr doesn't block exit (#10064) -
99f39b5test(remix): Overrideweb-streams-polyfillversion to fix integration tests... -
09e4eccdocs: Add docs for new performance APIs (#10017) -
59ffba3feat(core): AddsetClient()andgetClient()toScope(#10055) -
5462b04build: Re-enable eslintno-unused-vars,no-control-regexand `no-loss-of-... -
8fdf340ref: DeprecatelastEventId()(#10043) -
b1458d6meta: Disable biome quickfix in vscode config (#10051) - Additional commits viewable in compare view