11# Changelog
22
3- > [ !IMPORTANT]
3+ > [ !IMPORTANT]
44> If you are upgrading to the ` 8.x ` versions of the SDK from ` 7.x ` or below, make sure you follow our
55> [ migration guide] ( https://docs.sentry.io/platforms/javascript/migration/ ) first.
66
77## Unreleased
88
99- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1010
11+ ## 8.16.0
12+
1113### Important Changes
1214
1315- ** feat(nextjs): Use spans generated by Next.js for App Router (#12729 )**
@@ -29,6 +31,44 @@ runtime), and you will instead receive transactions for your App Router SSR requ
2931
3032If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.
3133
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+ - fix: Apply stack frame metadata before event processors (#12799 )
67+ - fix(feedback): Add missing ` h ` import in ` ScreenshotEditor ` (#12784 )
68+ - fix(node): Ensure ` autoSessionTracking ` is enabled by default (#12790 )
69+ - ref(feedback): Let CropCorner inherit the existing h prop (#12814 )
70+ - ref(otel): Ensure we never swallow args for ContextManager (#12798 )
71+
3272## 8.15.0
3373
3474- feat(core): allow unregistering callback through ` on ` (#11710 )
0 commit comments