Skip to content

Commit 465bd29

Browse files
authored
feat(v8): Delete @sentry/hub (#10530)
closes #5665 Goodbye hub package, I've known you my whole (sentry) life. Moved tests into core where applicable, otherwise deleted tests that were redundant.
1 parent a985487 commit 465bd29

28 files changed

+11
-2303
lines changed

.craft.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ targets:
132132
includeNames: /^sentry-internal-eslint-config-sdk-\d.*\.tgz$/
133133

134134
## 8. Deprecated packages we still release (but no packages depend on them anymore)
135-
- name: npm
136-
id: '@sentry/hub'
137-
includeNames: /^sentry-hub-\d.*\.tgz$/
138135
- name: npm
139136
id: '@sentry/tracing'
140137
includeNames: /^sentry-tracing-\d.*\.tgz$/

dev-packages/browser-integration-tests/utils/generatePlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const LOADER_CONFIGS: Record<string, { options: Record<string, unknown>;
115115
* When using compiled versions of the tracing and browser packages, their aliases look for example like
116116
* '@sentry/browser': 'path/to/sentry-javascript/packages/browser/esm/index.js'
117117
* and all other monorepo packages' aliases look for example like
118-
* '@sentry/hub': 'path/to/sentry-javascript/packages/hub'
118+
* '@sentry/react': 'path/to/sentry-javascript/packages/react'
119119
*
120120
* When using bundled versions of the tracing and browser packages, all aliases look for example like
121121
* '@sentry/browser': false

dev-packages/e2e-tests/test-applications/generic-ts3.8/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import * as _SentryBrowser from '@sentry/browser';
33
// biome-ignore lint/nursery/noUnusedImports:
44
import * as _SentryCore from '@sentry/core';
55
// biome-ignore lint/nursery/noUnusedImports:
6-
import * as _SentryHub from '@sentry/hub';
7-
// biome-ignore lint/nursery/noUnusedImports:
86
import * as _SentryIntegrations from '@sentry/integrations';
97
// biome-ignore lint/nursery/noUnusedImports:
108
import * as _SentryNode from '@sentry/node';

dev-packages/e2e-tests/test-applications/generic-ts3.8/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"dependencies": {
1616
"@sentry/browser": "latest || *",
1717
"@sentry/core": "latest || *",
18-
"@sentry/hub": "latest || *",
1918
"@sentry/integrations": "latest || *",
2019
"@sentry/node": "latest || *",
2120
"@sentry/opentelemetry-node": "latest || *",

dev-packages/e2e-tests/verdaccio-config/config.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ packages:
8686
unpublish: $all
8787
# proxy: npmjs # Don't proxy for E2E tests!
8888

89-
'@sentry/hub':
90-
access: $all
91-
publish: $all
92-
unpublish: $all
93-
# proxy: npmjs # Don't proxy for E2E tests!
94-
9589
'@sentry/integrations':
9690
access: $all
9791
publish: $all

dev-packages/rollup-utils/plugins/bundlePlugins.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ export function makeTSPlugin(jsVersion) {
157157
paths: {
158158
'@sentry/browser': ['../browser/src'],
159159
'@sentry/core': ['../core/src'],
160-
'@sentry/hub': ['../hub/src'],
161160
'@sentry/types': ['../types/src'],
162161
'@sentry/utils': ['../utils/src'],
163162
'@sentry-internal/integration-shims': ['../integration-shims/src'],

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"packages/eslint-plugin-sdk",
5858
"packages/feedback",
5959
"packages/gatsby",
60-
"packages/hub",
6160
"packages/integrations",
6261
"packages/integration-shims",
6362
"packages/nextjs",

0 commit comments

Comments
 (0)