Skip to content

Commit 44f6aea

Browse files
committed
migration guide
1 parent 01acf5c commit 44f6aea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/migration/v8-to-v9.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ The following changes are unlikely to affect users of the SDK. They are listed h
261261
This function was primarily internally used.
262262
It's functionality was misleading and should not be used.
263263

264+
### `@sentry/sveltekit`
265+
266+
- The `fetchProxyScriptNonce` option in `sentryHandle()` was removed due to security concerns. If you previously specified this option for your CSP policy, specify a [script hash](https://docs.sentry.io/platforms/javascript/guides/sveltekit/manual-setup/#configure-csp-for-client-side-fetch-instrumentation) in your CSP config or [disable](https://docs.sentry.io/platforms/javascript/guides/sveltekit/manual-setup/#disable-client-side-fetch-proxy-script) the injection of the script entirely.
267+
264268
## 5. Build Changes
265269

266270
Previously the CJS versions of the SDK code (wrongfully) contained compatibility statements for default exports in ESM:
@@ -483,6 +487,10 @@ Sentry.init({
483487

484488
- Deprecated the `hideSourceMaps` option. There are no replacements for this option. The SDK emits hidden sourcemaps by default.
485489

490+
### `@sentry/sveltekit`
491+
492+
- The `fetchProxyScriptNonce` option in `sentryHandle()` was deprecated due to security concerns. If you previously specified this option for your CSP policy, specify a [script hash](https://docs.sentry.io/platforms/javascript/guides/sveltekit/manual-setup/#configure-csp-for-client-side-fetch-instrumentation) in your CSP config or [disable](https://docs.sentry.io/platforms/javascript/guides/sveltekit/manual-setup/#disable-client-side-fetch-proxy-script) the injection of the script entirely.
493+
486494
## `@sentry/opentelemetry`
487495

488496
- Deprecated the `generateSpanContextForPropagationContext` method. There are no replacements for this method.

0 commit comments

Comments
 (0)