File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments