Skip to content

JS SDK v8 Deprecations List #5194

Closed
Closed
@AbhiPrasad

Description

@AbhiPrasad

This PR contains the list of deprecated items that will be removed in the upcoming v8 major version of the SDK.

### Confirmed Removals
- [ ] The utility functions and types in the Node SDK's exported `Handlers` object have been moved out of `Handlers` to the top level of the SDK exports, and `parseRequest` has been renamed `addRequestDataToEvent`. See https://github.com/getsentry/sentry-javascript/pull/5257 and search for `TODO (v8 / #5257)` in the codebase.
- [x] With the introduction of the `tracePropagationTargets` option we can remove `tracingOrigins`. (TODO link PRs and Issues - @lforst)
- [ ] Remove `@sentry/hub` package https://github.com/getsentry/sentry-javascript/issues/5665
- [ ] https://github.com/getsentry/sentry-javascript/issues/10318
- [ ] Remove `componentTrackingPreprocessor` export from Svelte SDK (#5923)
- [ ] Remove guards to calls of optional methods on the `BaseClient` once we made these methods required (#7262, `addIntegration`, `getSdkMetadata`, `on`, `emit`)
- [ ] Remove `withSentry` in favor of `withSentryAPI`
- [ ] Remove SyncPromise
- [ ] Remove `wrap` function (#8897)
- [ ] Remove `@sentry/tracing` package https://github.com/getsentry/sentry-javascript/issues/8796
- [ ] Remove offline integration https://github.com/getsentry/sentry-javascript/pull/9456
- [ ] Remove `static` id property from integrations because static fields could have side effects and are therefore not tree-shakable. (@lforst for more info)
### Up for discussion
- [ ] Stop supporting Angular 10 (and 11) to enable native Ivy support (i.e. get rid of currently necessary `ngcc` coversion). https://github.com/getsentry/sentry-javascript/pull/5253#issuecomment-1154834677
- [ ] Drop support for Node 8/10/12
- [ ] https://github.com/getsentry/sentry-javascript/issues/5907
- [ ] Remove Gatsby Plugin configuration in favour of only using `sentry.config.ts`/`sentry.config.js`
- [ ] `ClientOptions::initialScope` (see https://github.com/getsentry/sentry-docs/issues/5345#issuecomment-1560668770)
- [ ] Remove `TryCatch` integration from exported `defaultIntegration` of Angular(-Ivy) SDKs or write angular-specific tryCatch and refactor global tryCatch (#2744, #5417, https://github.com/getsentry/sentry-javascript/pull/8367#pullrequestreview-1488137672)
- [ ] https://github.com/getsentry/sentry-javascript/issues/8575
- [ ] Remove deprecated `Severity` enum
- [ ] Remove need for DSN if using tunnel https://github.com/getsentry/sentry-javascript/discussions/9377
- [ ] Reconsider all calls to hasTracingEnabled() because of TwP (we use hasTracingEnabled() to detect if performance should be turned on, making the name very misleading because it refers to tracing and not performance, even though that's what it is about)
- [ ] Remove docs for the Node.js AWS Lambda Docker Image (https://github.com/getsentry/sentry-javascript/issues/9762) https://docs.sentry.io/platforms/node/guides/aws-lambda/container-image/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions