Skip to content

Commit 0da68e6

Browse files
author
Luca Forstner
committed
Merge remote-tracking branch 'origin/develop' into lforst-deprecate-hub-constructor
2 parents d24493a + 737fb0e commit 0da68e6

File tree

48 files changed

+30
-2535
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+30
-2535
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$/

MIGRATION.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ enum. If you were using the `Severity` enum, you should replace it with the `Sev
1111
The `Offline` integration has been removed in favor of the offline transport wrapper:
1212
http://docs.sentry.io/platforms/javascript/configuration/transports/#offline-caching
1313

14+
## Other changes
15+
16+
- Remove `spanStatusfromHttpCode` in favour of `getSpanStatusFromHttpCode` (#10361)
17+
1418
# Deprecations in 7.x
1519

1620
You can use the **Experimental** [@sentry/migr8](https://www.npmjs.com/package/@sentry/migr8) to automatically update

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",

packages/astro/src/index.server.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ export {
4646
setTag,
4747
setTags,
4848
setUser,
49-
// eslint-disable-next-line deprecation/deprecation
50-
spanStatusfromHttpCode,
5149
getSpanStatusFromHttpCode,
5250
setHttpStatus,
5351
// eslint-disable-next-line deprecation/deprecation
@@ -68,8 +66,6 @@ export {
6866
addRequestDataToEvent,
6967
DEFAULT_USER_INCLUDES,
7068
extractRequestData,
71-
// eslint-disable-next-line deprecation/deprecation
72-
deepReadDirSync,
7369
Integrations,
7470
consoleIntegration,
7571
onUncaughtExceptionIntegration,

packages/browser/src/exports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ export { linkedErrorsIntegration } from './integrations/linkederrors';
109109
export { browserApiErrorsIntegration } from './integrations/trycatch';
110110

111111
// eslint-disable-next-line deprecation/deprecation
112-
export { GlobalHandlers, TryCatch, Breadcrumbs, LinkedErrors, HttpContext, Dedupe } from './integrations';
112+
export { TryCatch, Breadcrumbs, LinkedErrors, HttpContext, Dedupe } from './integrations';

0 commit comments

Comments
 (0)