Skip to content

dependabot npm(deps): bump @sentry/node from 7.91.0 to 7.92.0

Depen d'Abot requested to merge dependabot-npm_and_yarn-sentry-node-7.92.0 into master

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 deprecate span.setName() (#10018)
  • feat(core): Deprecate span.getTraceContext() (#10032)
  • feat(core): Deprecate span.toTraceparent() in favor of spanToTraceHeader() util (#10031)
  • feat(core): Deprecate trace in favor of startSpan (#10012)
  • feat(core): Deprecate span toContext() and updateWithContext() (#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 cron and node-cron libraries

  • feat(node): Instrumentation for cron library (#9999)
  • feat(node): Instrumentation for node-cron library (#9904)

This release adds instrumentation for the cron and node-cron libraries. 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 deprecate span.setName() (#10018)
  • feat(core): Deprecate span.getTraceContext() (#10032)
  • feat(core): Deprecate span.toTraceparent() in favor of spanToTraceHeader() util (#10031)
  • feat(core): Deprecate trace in favor of startSpan (#10012)
  • feat(core): Deprecate span toContext() and updateWithContext() (#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 cron and node-cron libraries

  • feat(node): Instrumentation for cron library (#9999)
  • feat(node): Instrumentation for node-cron library (#9904)

This release adds instrumentation for the cron and node-cron libraries. 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
  • 30eddd5 release: 7.92.0
  • 7bca411 Merge pull request #10063 from getsentry/prepare-release/7.92.0
  • c06c2d8 meta(changelog): Update changelog for 7.92.0
  • 33348ec fix(node): Anr doesn't block exit (#10064)
  • 99f39b5 test(remix): Override web-streams-polyfill version to fix integration tests...
  • 09e4ecc docs: Add docs for new performance APIs (#10017)
  • 59ffba3 feat(core): Add setClient() and getClient() to Scope (#10055)
  • 5462b04 build: Re-enable eslint no-unused-vars, no-control-regex and `no-loss-of-...
  • 8fdf340 ref: Deprecate lastEventId() (#10043)
  • b1458d6 meta: Disable biome quickfix in vscode config (#10051)
  • Additional commits viewable in compare view

Merge request reports