You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release adds `Sentry.withMonitor()`, a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures:
14
+
15
+
```ts
16
+
import*asSentryfrom'@sentry/node';
17
+
18
+
// withMonitor() will send checkin when callback is started/finished
19
+
// works with async and sync callbacks.
20
+
const result =Sentry.withMonitor(
21
+
'dailyEmail',
22
+
() => {
23
+
// withCheckIn return value is same return value here
24
+
returnsendEmail();
25
+
},
26
+
// Optional upsert options
27
+
{
28
+
schedule: {
29
+
type: 'crontab',
30
+
value: '0 * * * *',
31
+
},
32
+
// 🇨🇦🫡
33
+
timezone: 'Canada/Eastern',
34
+
},
35
+
);
36
+
```
37
+
38
+
### Other Changes
39
+
40
+
- chore(angular-ivy): Allow Angular 17 in peer dependencies (#9386)
41
+
- feat(nextjs): Instrument SSR page components (#9346)
42
+
- feat(nextjs): Trace errors in page component SSR (#9388)
43
+
- fix(nextjs): Instrument route handlers with `jsx` and `tsx` file extensions (#9362)
44
+
- fix(nextjs): Trace with performance disabled (#9389)
45
+
- fix(replay): Ensure `replay_id` is not added to DSC if session expired (#9359)
46
+
- fix(replay): Remove unused parts of pako from build (#9369)
47
+
- fix(serverless): Don't mark all errors as unhandled (#9368)
48
+
- fix(tracing-internal): Fix case when middleware contain array of routes with special chars as @ (#9375)
49
+
- meta(nextjs): Bump peer deps for Next.js 14 (#9390)
50
+
51
+
Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
52
+
7
53
## 7.75.1
8
54
9
55
- feat(browser): Allow collecting of pageload profiles (#9317)
0 commit comments