Skip to content

Commit a20db22

Browse files
lforstAbhiPrasad
authored andcommitted
ref: Delete unneeded SDK_NAME (#5040)
1 parent 58038ef commit a20db22

File tree

7 files changed

+4
-10
lines changed

7 files changed

+4
-10
lines changed

MIGRATION.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,9 @@ For our efforts to reduce bundle size of the SDK we had to remove and refactor p
281281
[#4919](https://github.com/getsentry/sentry-javascript/pull/4919)). `Backend` was an unnecessary abstraction which is
282282
not present in other Sentry SDKs. For the sake of reducing complexity, increasing consistency with other Sentry SDKs and
283283
decreasing bundle-size, `Backend` was removed.
284-
- Remove support for Opera browser pre v15
285-
- Rename `UserAgent` integration to `HttpContext` (see [#5027](https://github.com/getsentry/sentry-javascript/pull/5027))
284+
- Remove support for Opera browser pre v15.
285+
- Rename `UserAgent` integration to `HttpContext`. (see [#5027](https://github.com/getsentry/sentry-javascript/pull/5027))
286+
- Remove `SDK_NAME` export from `@sentry/browser`, `@sentry/node`, `@sentry/tracing` and `@sentry/vue` packages.
286287

287288
## Sentry Angular SDK Changes
288289

packages/browser/src/exports.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,4 @@ export {
5757
winjsStackLineParser,
5858
} from './stack-parsers';
5959
export { defaultIntegrations, forceLoad, init, lastEventId, onLoad, showReportDialog, flush, close, wrap } from './sdk';
60-
export { SDK_NAME } from './version';
6160
export { GlobalHandlers, TryCatch, Breadcrumbs, LinkedErrors, HttpContext, Dedupe } from './integrations';

packages/browser/src/version.ts

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

packages/node/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export { NodeClient } from './client';
4646
export { makeNodeTransport } from './transports';
4747
export { defaultIntegrations, init, lastEventId, flush, close, getSentryRelease } from './sdk';
4848
export { deepReadDirSync } from './utils';
49-
export { SDK_NAME } from './version';
5049
export { defaultStackParser } from './stack-parser';
5150

5251
import { Integrations as CoreIntegrations } from '@sentry/core';

packages/node/src/version.ts

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

packages/tracing/src/index.bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export {
5050
close,
5151
wrap,
5252
} from '@sentry/browser';
53-
export { SDK_NAME, SDK_VERSION } from '@sentry/browser';
53+
export { SDK_VERSION } from '@sentry/browser';
5454

5555
import { Integrations as BrowserIntegrations } from '@sentry/browser';
5656
import { getGlobalObject } from '@sentry/utils';

packages/vue/src/index.bundle.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export {
4343
makeFetchTransport,
4444
makeXHRTransport,
4545
withScope,
46-
SDK_NAME,
4746
SDK_VERSION,
4847
} from '@sentry/browser';
4948

0 commit comments

Comments
 (0)