You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration/v8-to-v9.md
+21
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,27 @@ Sentry.init({
152
152
Use the `SentryGlobalFilter` instead.
153
153
The `SentryGlobalFilter` is a drop-in replacement.
154
154
155
+
## `@sentry/vue`
156
+
157
+
- The options `tracingOptions`, `trackComponents`, `timeout`, `hooks` have been removed everywhere except in the `tracingOptions` option of `vueIntegration()`.
158
+
These options should now be set as follows:
159
+
160
+
```ts
161
+
import*asSentryfrom'@sentry/vue';
162
+
163
+
Sentry.init({
164
+
integrations: [
165
+
Sentry.vueIntegration({
166
+
tracingOptions: {
167
+
trackComponents: true,
168
+
timeout: 1000,
169
+
hooks: ['mount', 'update', 'unmount'],
170
+
},
171
+
}),
172
+
],
173
+
});
174
+
```
175
+
155
176
## 5. Build Changes
156
177
157
178
Previously the CJS versions of the SDK code (wrongfully) contained compatibility statements for default exports in ESM:
0 commit comments