8
8
9
9
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
10
10
11
+ ## 8.16.0
12
+
11
13
### Important Changes
12
14
13
15
- ** feat(nextjs): Use spans generated by Next.js for App Router (#12729 )**
@@ -22,13 +24,53 @@ server component spans being descendants of that transaction. This means you wil
22
24
accurate. Note that this does not apply to the Edge runtime. For the Edge runtime, the SDK will emit transactions as it
23
25
has before.
24
26
25
- Generally speaking, this change means that you will see less _ transactions_ and more _ spans_ in Sentry. Your will no
27
+ Generally speaking, this change means that you will see less _ transactions_ and more _ spans_ in Sentry. You will no
26
28
longer receive server component transactions like ` Page Server Component (/path/to/route) ` (unless using the Edge
27
29
runtime), and you will instead receive transactions for your App Router SSR requests that look like
28
30
` GET /path/to/route ` .
29
31
30
32
If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.
31
33
34
+ - ** - feat(nestjs): Add nest cron monitoring support (#12781 )**
35
+
36
+ The ` @sentry/nestjs ` SDK now includes a ` @SentryCron ` decorator that can be used to augment the native NestJS ` @Cron `
37
+ decorator to send check-ins to Sentry before and after each cron job run:
38
+
39
+ ``` typescript
40
+ import { Cron } from ' @nestjs/schedule' ;
41
+ import { SentryCron , MonitorConfig } from ' @sentry/nestjs' ;
42
+ import type { MonitorConfig } from ' @sentry/types' ;
43
+
44
+ const monitorConfig: MonitorConfig = {
45
+ schedule: {
46
+ type: ' crontab' ,
47
+ value: ' * * * * *' ,
48
+ },
49
+ checkinMargin: 2 , // In minutes. Optional.
50
+ maxRuntime: 10 , // In minutes. Optional.
51
+ timezone: ' America/Los_Angeles' , // Optional.
52
+ };
53
+
54
+ export class MyCronService {
55
+ @Cron (' * * * * *' )
56
+ @SentryCron (' my-monitor-slug' , monitorConfig )
57
+ handleCron() {
58
+ // Your cron job logic here
59
+ }
60
+ }
61
+ ```
62
+
63
+ ### Other Changes
64
+
65
+ - feat(node): Allow to pass instrumentation config to ` httpIntegration ` (#12761 )
66
+ - feat(nuxt): Add server error hook (#12796 )
67
+ - feat(nuxt): Inject sentry config with Nuxt ` addPluginTemplate ` (#12760 )
68
+ - fix: Apply stack frame metadata before event processors (#12799 )
69
+ - fix(feedback): Add missing ` h ` import in ` ScreenshotEditor ` (#12784 )
70
+ - fix(node): Ensure ` autoSessionTracking ` is enabled by default (#12790 )
71
+ - ref(feedback): Let CropCorner inherit the existing h prop (#12814 )
72
+ - ref(otel): Ensure we never swallow args for ContextManager (#12798 )
73
+
32
74
## 8.15.0
33
75
34
76
- feat(core): allow unregistering callback through ` on ` (#11710 )
0 commit comments