Skip to content

Commit 7617223

Browse files
committed
pinia
1 parent 24d871f commit 7617223

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MIGRATION.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,16 @@ All exports and APIs of `@sentry/utils` and `@sentry/types` (except for the ones
367367

368368
- The option `logErrors` in the `vueIntegration` has been removed. The Sentry Vue error handler will always propagate the error to a user-defined error handler or re-throw the error (which will log the error without modifying).
369369

370+
- The option `stateTransformer` in `createSentryPiniaPlugin()` now receives the full state from all stores as its parameter.
371+
The top-level keys of the state object are the store IDs.
372+
370373
### `@sentry/nuxt`
371374

372375
- The `tracingOptions` option in `Sentry.init()` was removed in favor of passing the `vueIntegration()` to `Sentry.init({ integrations: [...] })` and setting `tracingOptions` there.
373376

377+
- The option `stateTransformer` in the `piniaIntegration` now receives the full state from all stores as its parameter.
378+
The top-level keys of the state object are the store IDs.
379+
374380
### `@sentry/vue` and `@sentry/nuxt`
375381

376382
- When component tracking is enabled, "update" spans are no longer created by default.

0 commit comments

Comments
 (0)