Skip to content

Commit 0c79440

Browse files
author
Luca Forstner
committed
meta(changelog): Update changelog for 8.16.0
1 parent a5ea680 commit 0c79440

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

CHANGELOG.md

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Changelog
22

3-
> [!IMPORTANT]
4-
> If you are upgrading to the `8.x` versions of the SDK from `7.x` or below, make sure you follow our
3+
> [!IMPORTANT] If you are upgrading to the `8.x` versions of the SDK from `7.x` or below, make sure you follow our
54
> [migration guide](https://docs.sentry.io/platforms/javascript/migration/) first.
65
76
## Unreleased
87

98
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
109

10+
## 8.16.0
11+
1112
### Important Changes
1213

1314
- **feat(nextjs): Use spans generated by Next.js for App Router (#12729)**
@@ -29,6 +30,44 @@ runtime), and you will instead receive transactions for your App Router SSR requ
2930

3031
If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.
3132

33+
- **- feat(nestjs): Add nest cron monitoring support (#12781)**
34+
35+
The `@sentry/nestjs` SDK now includes a `@SentryCron` decorator that can be used to augment the native NestJS `@Cron`
36+
decorator to send check-ins to Sentry before and after each cron job run:
37+
38+
```typescript
39+
import { Cron } from '@nestjs/schedule';
40+
import { SentryCron, MonitorConfig } from '@sentry/nestjs';
41+
import type { MonitorConfig } from '@sentry/types';
42+
43+
const monitorConfig: MonitorConfig = {
44+
schedule: {
45+
type: 'crontab',
46+
value: '* * * * *',
47+
},
48+
checkinMargin: 2, // In minutes. Optional.
49+
maxRuntime: 10, // In minutes. Optional.
50+
timezone: 'America/Los_Angeles', // Optional.
51+
};
52+
53+
export class MyCronService {
54+
@Cron('* * * * *')
55+
@SentryCron('my-monitor-slug', monitorConfig)
56+
handleCron() {
57+
// Your cron job logic here
58+
}
59+
}
60+
```
61+
62+
### Other Changes
63+
64+
- feat(node): Allow to pass instrumentation config to `httpIntegration` (#12761)
65+
- fix: Apply stack frame metadata before event processors (#12799)
66+
- fix(feedback): Add missing `h` import in `ScreenshotEditor` (#12784)
67+
- fix(node): Ensure `autoSessionTracking` is enabled by default (#12790)
68+
- ref(feedback): Let CropCorner inherit the existing h prop (#12814)
69+
- ref(otel): Ensure we never swallow args for ContextManager (#12798)
70+
3271
## 8.15.0
3372

3473
- feat(core): allow unregistering callback through `on` (#11710)

0 commit comments

Comments
 (0)