Skip to content

[v8] Remove @sentry/hub package #5665

@AbhiPrasad

Description

@AbhiPrasad

Problem Statement

We have both https://github.com/getsentry/sentry-javascript/tree/master/packages/hub and https://github.com/getsentry/sentry-javascript/tree/master/packages/core, and there should never be a situation where you import @sentry/hub and you aren't using @sentry/core. As such, we should just consolidate this into 1 package (move everything in @sentry/hub into @sentry/core.)

  • Less stuff to download from npm
  • Less chance of versions getting out of sync
  • Easy to understand core -> browser -> react -> nextjs (linear deps)
  • Possible bundle size reduction from removing module boundaries

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions