File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,23 @@ integrations out of the box.
68
68
- [ Performance Monitoring API] ( ./MIGRATION.md#performance-monitoring-api )
69
69
- [ Performance Monitoring Integrations] ( ./MIGRATION.md#performance-monitoring-integrations )
70
70
71
+ ### Functional Integrations
72
+
73
+ Integrations are now simple functions instead of classes. Class-based integrations
74
+ [ have been removed] ( ./MIGRATION.md#removal-of-class-based-integrations ) :
75
+
76
+ ``` javascript
77
+ // old (v7)
78
+ Sentry .init ({
79
+ integrations: [new Sentry.BrowserTracing ()],
80
+ });
81
+
82
+ // new (v8)
83
+ Sentry .init ({
84
+ integrations: [Sentry .browserTracingIntegration ()],
85
+ });
86
+ ```
87
+
71
88
### Package removal
72
89
73
90
The following packages have been removed or replaced and will no longer be published:
You can’t perform that action at this time.
0 commit comments