Skip to content

[v8] Remove @sentry/hub package #5665

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions