@sentry-internal/tracing
Advanced tools
Changelog
7.51.0
load
functions with proxy module (#7994)@sentry/sveltekit
now auto-wraps load
functions in
+(page|layout).(ts|js)
files (universal loads)+(page|layout).server.(ts|js)
files (server-only loads)This means that you don't have to manually add the wrapLoadWithSentry
and wrapServerLoadWithSentry
functions around
your load functions. The SDK will not interfere with already wrapped load
functions.
For more details, take a look at the Readme
peerDependencies
to Angular 16 (#8035)We now officially support Angular 16 in @sentry/angular-ivy
. Note that @sentry/angular
does not support
Angular 16.
Note: This release contains a bug with generating cron monitors. We recommend you upgrade the JS SDK to 7.51.1 or above to use cron monitoring functionality
This release adds Sentry cron monitoring support to the Node SDK.
Check-in monitoring allows you to track a job's progress by completing two check-ins: one at the start of your job and another at the end of your job. This two-step process allows Sentry to notify you if your job didn't start when expected (missed) or if it exceeded its maximum runtime (failed).
const Sentry = require('@sentry/node');
// 🟡 Notify Sentry your job is running:
const checkInId = Sentry.captureCheckIn({
monitorSlug: '<monitor-slug>',
status: 'in_progress',
});
// Execute your scheduled task here...
// 🟢 Notify Sentry your job has completed successfully:
Sentry.captureCheckIn({
// make sure you pass in the checkInId generated by the first call to captureCheckIn
checkInId,
monitorSlug: '<monitor-slug>',
status: 'ok',
});
If your job execution fails, you can notify Sentry about the failure:
// 🔴 Notify Sentry your job has failed:
Sentry.captureCheckIn({
checkInId,
monitorSlug: '<monitor-slug>',
status: 'error',
});
http.method
to node http spans (#7991)RewriteFrames
(#7995)Integration
type declaration as union type (#8016)undefined
to undefined
instead of "[undefined]"
(#8017)Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
Changelog
7.49.0
svelte.config.js
(#7863)Our source maps upload plugin is now able to read svelte.config.js
. This is necessary to automatically find the output
directory that users can specify when setting up the Node adapter.
This release fixes a potential problem with how Replay captures console logs. Any objects logged will now be cut off after a maximum depth of 10, as well as cutting off any properties after the 1000th. This should ensure we do not accidentally capture massive console logs, where a stringified object could reach 100MB or more.
We used to normalize references to HTML elements as POJOs. This is both not very easily understandable, as well as
potentially large, as HTML elements may have properties attached to them. With this change, we now normalize them to
e.g. [HTMLElement: HTMLInputElement]
.
import
for gatsby-browser.js
instead of require
(#7889)handleError
wrapper (#7898)sentry.properties
file when uploading source maps (#7890)timestampWithMs
(#7878)Changelog
7.45.0
replay_id
to transaction DSC (#7571)ignoreErrors
only applies to error events (#7573)