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.
6868- [ Performance Monitoring API] ( ./MIGRATION.md#performance-monitoring-api )
6969- [ Performance Monitoring Integrations] ( ./MIGRATION.md#performance-monitoring-integrations )
7070
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+
7188### Package removal
7289
7390The 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