Skip to content

[v8] Remove public APIs around Hub class  #11482

Description

@Lms24

It seems we forgot to actually deprecate and remove the Hub class. For v8 and onwards, there's no need to publicly keep the class around

### Public API - (breaking) changes
- [ ] https://github.com/getsentry/sentry-javascript/pull/11528
- [ ] https://github.com/getsentry/sentry-javascript/pull/11530
- [ ] https://github.com/getsentry/sentry-javascript/pull/11539
- [ ] https://github.com/getsentry/sentry-javascript/pull/11536
- [ ] https://github.com/getsentry/sentry-javascript/pull/11560
- [ ] https://github.com/getsentry/sentry-javascript/pull/11565
- [ ] https://github.com/getsentry/sentry-javascript/pull/11581
### Internal Changes
- [x] Rewrite `getCurrentHub` to return a simple "aliasing" object instead satisfying `HubInterface`
- [ ] https://github.com/getsentry/sentry-javascript/pull/11630

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions