Skip to content

Commit d433747

Browse files
committed
meta(changelog): Update changelog for 9.33.0
1 parent e7891f7 commit d433747

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,52 @@
44

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

7+
## 9.33.0
8+
9+
### Important Changes
10+
11+
- **feat: Add opt-in `vercelAiIntegration` to cloudflare & vercel-edge ([#16732](https://github.com/getsentry/sentry-javascript/pull/16732))**
12+
13+
The `vercelAiIntegration` is now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge.
14+
To use it, add the integration in `Sentry.init`
15+
16+
```js
17+
Sentry.init({
18+
tracesSampleRate: 1.0,
19+
integrations: [
20+
Sentry.vercelAIIntegration({
21+
recordInputs: true,
22+
recordOutputs: true,
23+
}),
24+
],
25+
});
26+
```
27+
28+
And enable telemetry for Vercel AI calls
29+
30+
```js
31+
const result = await generateText({
32+
model: openai('gpt-4o'),
33+
experimental_telemetry: {
34+
isEnabled: true,
35+
},
36+
});
37+
```
38+
39+
- **feat(node): Add postgresjs instrumentation ([#16665](https://github.com/getsentry/sentry-javascript/pull/16665))**
40+
41+
The Node.js SDK now includes instrumentation for [Postgres.js](https://www.npmjs.com/package/postgres).
42+
43+
- **feat(node): Use diagnostics channel for Fastify v5 error handling ([#16715](https://github.com/getsentry/sentry-javascript/pull/16715))**
44+
45+
If you're on Fastify v5, you no longer need to call `setupFastifyErrorHandler`. It is done automatically by the node SDK. Older versions still rely on calling `setupFastifyErrorHandler`.
46+
47+
### Other Changes
48+
49+
- feat(cloudflare): Allow interop with OpenTelemetry emitted spans ([#16714](https://github.com/getsentry/sentry-javascript/pull/16714))
50+
- feat(cloudflare): Flush after `waitUntil` ([#16681](https://github.com/getsentry/sentry-javascript/pull/16681))
51+
- fix(nextjs): Remove `ai` from default server external packages ([#16736](https://github.com/getsentry/sentry-javascript/pull/16736))
52+
753
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
854

955
## 9.32.0

0 commit comments

Comments
 (0)