Skip to content

Commit 7c5c47d

Browse files
committed
changelog
1 parent d06d27a commit 7c5c47d

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

CHANGELOG.md

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

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

7+
### Important Changes
8+
9+
- **feat(nextjs): Add Turbopack support for `thirdPartyErrorFilterIntegration` ([#19542](https://github.com/getsentry/sentry-javascript/pull/19542))**
10+
11+
We added experimental support for the `thirdPartyErrorFilterIntegration` with Turbopack builds.
12+
13+
This feature requires Next.js 16+ and is currently behind an experimental flag:
14+
15+
```js
16+
// next.config.ts
17+
import { withSentryConfig } from '@sentry/nextjs';
18+
19+
export default withSentryConfig(nextConfig, {
20+
_experimental: {
21+
turbopackApplicationKey: 'my-app-key',
22+
},
23+
});
24+
```
25+
26+
Then configure the integration in your client instrumentation file with a matching key:
27+
28+
```js
29+
// instrumentation-client.ts
30+
import * as Sentry from '@sentry/nextjs';
31+
32+
Sentry.init({
33+
integrations: [
34+
Sentry.thirdPartyErrorFilterIntegration({
35+
filterKeys: ['my-app-key'],
36+
behaviour: 'apply-tag-if-exclusively-contains-third-party-frames',
37+
}),
38+
],
39+
});
40+
```
41+
742
## 10.40.0
843

944
### Important Changes

0 commit comments

Comments
 (0)