Skip to content

Commit f3bd1b2

Browse files
committed
[v7] Goodbye Hub; It's been nice; Hope you find your; Paradise
1 parent 6197c23 commit f3bd1b2

37 files changed

+209
-1195
lines changed

packages/browser/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"dependencies": {
1919
"@sentry/core": "6.2.3",
2020
"@sentry/eventbuilder-browser": "7.0.0-alpha.0",
21-
"@sentry/hub": "6.2.3",
2221
"@sentry/integration-browser-breadcrumbs": "7.0.0-alpha.0",
2322
"@sentry/integration-browser-globalhandlers": "7.0.0-alpha.0",
2423
"@sentry/integration-browser-linkederrors": "7.0.0-alpha.0",

packages/browser/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export { Scope } from '@sentry/scope';
2-
export { getHubFromCarrier, getCurrentHub, Hub, makeMain } from '@sentry/hub';
3-
export { configureScope, startTransaction, withScope } from '@sentry/minimal';
2+
export { configureScope, withScope } from '@sentry/minimal';
43
export { SDK_VERSION } from '@sentry/core';
54
export {
65
addBreadcrumb,

packages/browser/src/sdk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { ClientLike } from '@sentry/types';
22
import { captureException, getCarrier, getCurrentClient } from '@sentry/minimal';
3-
import { getCurrentHub } from '@sentry/hub';
43
import { addInstrumentationHandler, getGlobalObject, logger } from '@sentry/utils';
54
import { ReportDialogOptions } from '@sentry/transport-base';
65
import { InboundFilters } from '@sentry/integration-common-inboundfilters';

packages/core/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/hub": "6.2.3",
2019
"@sentry/integration-base": "7.0.0-alpha.0",
2120
"@sentry/minimal": "6.2.3",
2221
"@sentry/scope": "7.0.0-alpha.0",

packages/ember/addon/instance-initializers/sentry-performance.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,7 @@ export async function instrumentForPerformance(appInstance: ApplicationInstance)
346346
}),
347347
];
348348

349-
if (isTesting() && Sentry.getCurrentHub()?.getIntegration(tracing.Integrations.BrowserTracing)) {
350-
// Initializers are called more than once in tests, causing the integrations to not be setup correctly.
349+
if (isTesting()) {
351350
return;
352351
}
353352

packages/hub/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/hub/.npmignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/hub/LICENSE

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/hub/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/hub/package.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)