Skip to content

Commit 9a60e59

Browse files
committed
feat(v8): Remove @sentry/tracing
1 parent 32940a8 commit 9a60e59

File tree

97 files changed

+439
-3160
lines changed

Some content is hidden

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

97 files changed

+439
-3160
lines changed

.craft.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,7 @@ targets:
131131
id: '@sentry-internal/eslint-config-sdk'
132132
includeNames: /^sentry-internal-eslint-config-sdk-\d.*\.tgz$/
133133

134-
## 8. Deprecated packages we still release (but no packages depend on them anymore)
135-
- name: npm
136-
id: '@sentry/tracing'
137-
includeNames: /^sentry-tracing-\d.*\.tgz$/
138-
139-
## 9. Experimental packages
134+
## 8. Experimental packages
140135
- name: npm
141136
id: '@sentry/node-experimental'
142137
includeNames: /^sentry-node-experimental-\d.*\.tgz$/

MIGRATION.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ to access and mutate the current scope.
5151

5252
## Deletion of `@sentry/hub` package (#10530)
5353

54-
`@sentry/hub` has been removed. All exports from `@sentry.hub` should be available in `@sentry/core`.
54+
`@sentry/hub` has been removed. All exports from `@sentry/tracing` should be available in `@sentry/core` or in
55+
`@sentry/browser` and `@sentry/node`.
56+
57+
## Deletion of `@sentry/tracing` package
58+
59+
`@sentry/tracing` has been removed. All exports from `@sentry/tracing` should be available in `@sentry/core` or in
60+
`@sentry/browser` and `@sentry/node`.
5561

5662
## General API Changes
5763

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ Besides the high-level SDKs, this repository contains shared packages, helpers a
9595
development. If you're thinking about contributing to or creating a JavaScript-based SDK, have a look at the resources
9696
below:
9797

98-
- [`@sentry/tracing`](https://github.com/getsentry/sentry-javascript/tree/master/packages/tracing): Provides
99-
integrations and extensions for Performance Monitoring / Tracing.
10098
- [`@sentry/replay`](https://github.com/getsentry/sentry-javascript/tree/master/packages/replay): Provides the
10199
integration for Session Replay.
102100
- [`@sentry/core`](https://github.com/getsentry/sentry-javascript/tree/master/packages/core): The base for all

dev-packages/browser-integration-tests/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"@playwright/test": "^1.40.1",
4949
"@sentry-internal/rrweb": "2.11.0",
5050
"@sentry/browser": "7.100.0",
51-
"@sentry/tracing": "7.100.0",
5251
"axios": "1.6.0",
5352
"babel-loader": "^8.2.2",
5453
"html-webpack-plugin": "^5.5.0",

dev-packages/browser-integration-tests/suites/public-api/startSpan/init.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
/* eslint-disable no-unused-vars */
21
import * as Sentry from '@sentry/browser';
3-
// biome-ignore lint/nursery/noUnusedImports: Need to import tracing for side effect
4-
import * as _ from '@sentry/tracing';
2+
3+
Sentry.addTracingExtensions();
54

65
window.Sentry = Sentry;
76

dev-packages/browser-integration-tests/suites/public-api/startTransaction/init.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
/* eslint-disable no-unused-vars */
21
import * as Sentry from '@sentry/browser';
3-
// biome-ignore lint/nursery/noUnusedImports: Need to import tracing for side effect
4-
import * as _ from '@sentry/tracing';
2+
3+
Sentry.addTracingExtensions();
54

65
window.Sentry = Sentry;
76

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegrationShim/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ window.Sentry = Sentry;
55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
77
sampleRate: 1,
8-
integrations: [new Sentry.browserTracingIntegration()],
8+
integrations: [Sentry.browserTracingIntegration()],
99
});
1010

1111
// This should not fail
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import * as Sentry from '@sentry/browser';
2-
import { Integrations } from '@sentry/tracing';
32

43
window.Sentry = Sentry;
54

65
Sentry.init({
76
dsn: 'https://[email protected]/1337',
8-
integrations: [new Integrations.BrowserTracing({ idleTimeout: 9000 })],
7+
integrations: [new Sentry.BrowserTracing({ idleTimeout: 9000 })],
98
tracesSampleRate: 1,
109
});

dev-packages/browser-integration-tests/suites/tracing/browsertracing/http-timings/init.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import * as Sentry from '@sentry/browser';
2-
import { Integrations } from '@sentry/tracing';
32

43
window.Sentry = Sentry;
54

65
Sentry.init({
76
dsn: 'https://[email protected]/1337',
87
integrations: [
9-
new Integrations.BrowserTracing({
8+
new Sentry.BrowserTracing({
109
idleTimeout: 1000,
1110
_experiments: {
1211
enableHTTPTimings: true,
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import * as Sentry from '@sentry/browser';
2-
import { Integrations } from '@sentry/tracing';
32

43
window.Sentry = Sentry;
54

65
Sentry.init({
76
dsn: 'https://[email protected]/1337',
8-
integrations: [new Integrations.BrowserTracing()],
7+
integrations: [new Sentry.BrowserTracing()],
98
tracesSampleRate: 1,
109
});

0 commit comments

Comments
 (0)