Skip to content

Commit abfa737

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into timfish/test/cloudflare-integration-tests
2 parents 072e6e1 + 60063e8 commit abfa737

File tree

483 files changed

+14844
-595
lines changed

Some content is hidden

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

483 files changed

+14844
-595
lines changed

.craft.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ targets:
1212
- name: npm
1313
id: '@sentry/core'
1414
includeNames: /^sentry-core-\d.*\.tgz$/
15-
# This SDK does not exist yet on `develop` but we need an entry
16-
# here to be able to publish a pre-release
1715
- name: npm
1816
id: '@sentry/node-core'
1917
includeNames: /^sentry-node-core-\d.*\.tgz$/

CHANGELOG.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,57 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7-
Work in this release was contributed by @Spice-King. Thank you for your contribution!
7+
## 9.36.0
8+
9+
### Important Changes
10+
11+
- **feat(node-core): Add node-core SDK ([#16745](https://github.com/getsentry/sentry-javascript/pull/16745))**
12+
13+
This release adds a new SDK `@sentry/node-core` which ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.
14+
15+
Use `@sentry/node-core` when:
16+
17+
- You already have OpenTelemetry set up
18+
- You need custom OpenTelemetry configuration
19+
- You want minimal dependencies
20+
- You need fine-grained control over instrumentation
21+
22+
Use `@sentry/node` when:
23+
24+
- You want an automatic setup
25+
- You're new to OpenTelemetry
26+
- You want sensible defaults
27+
- You prefer convenience over control
28+
29+
* **feat(node): Deprecate ANR integration ([#16832](https://github.com/getsentry/sentry-javascript/pull/16832))**
30+
31+
The ANR integration has been deprecated and will be removed in future versions. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead.
32+
33+
- **feat(replay): Add `_experiments.ignoreMutations` option ([#16816](https://github.com/getsentry/sentry-javascript/pull/16816))**
34+
35+
This replay option allows to configure a selector list of elements to not capture mutations for.
36+
37+
```js
38+
Sentry.replayIntegration({
39+
_experiments: {
40+
ignoreMutations: ['.dragging'],
41+
},
42+
});
43+
```
44+
45+
### Other changes
46+
47+
- feat(deps): bump @prisma/instrumentation from 6.10.1 to 6.11.1 ([#16833](https://github.com/getsentry/sentry-javascript/pull/16833))
48+
- feat(nextjs): Add flag for suppressing router transition warning ([#16823](https://github.com/getsentry/sentry-javascript/pull/16823))
49+
- feat(nextjs): Automatically skip middleware requests for tunnel route ([#16812](https://github.com/getsentry/sentry-javascript/pull/16812))
50+
- feat(replay): Export compression worker from `@sentry/replay-internal` ([#16794](https://github.com/getsentry/sentry-javascript/pull/16794))
51+
- fix(browser): Avoid 4xx response for succesful `diagnoseSdkConnectivity` request ([#16840](https://github.com/getsentry/sentry-javascript/pull/16840))
52+
- fix(browser): Guard against undefined nextHopProtocol ([#16806](https://github.com/getsentry/sentry-javascript/pull/16806))
53+
- fix(cloudflare): calculate retries not attempts ([#16834](https://github.com/getsentry/sentry-javascript/pull/16834))
54+
- fix(nuxt): Parametrize routes on the server-side ([#16785](https://github.com/getsentry/sentry-javascript/pull/16785))
55+
- fix(vue): Make pageload span handling more reliable ([#16799](https://github.com/getsentry/sentry-javascript/pull/16799))
56+
57+
Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
858

959
## 9.35.0
1060

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "9.35.0",
3+
"version": "9.36.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -42,7 +42,7 @@
4242
"@babel/preset-typescript": "^7.16.7",
4343
"@playwright/test": "~1.50.0",
4444
"@sentry-internal/rrweb": "2.34.0",
45-
"@sentry/browser": "9.35.0",
45+
"@sentry/browser": "9.36.0",
4646
"@supabase/supabase-js": "2.49.3",
4747
"axios": "1.8.2",
4848
"babel-loader": "^8.2.2",

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-lcp-standalone-spans/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ sentryTest('captures LCP vital as a standalone span', async ({ getLocalTestUrl,
6060
'user_agent.original': expect.stringContaining('Chrome'),
6161
'sentry.pageload.span_id': expect.stringMatching(/[a-f0-9]{16}/),
6262
'lcp.element': 'body > img',
63-
'lcp.id': '',
6463
'lcp.loadTime': expect.any(Number),
6564
'lcp.renderTime': expect.any(Number),
6665
'lcp.size': expect.any(Number),

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "9.35.0",
3+
"version": "9.36.0",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "9.35.0",
4+
"version": "9.36.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "9.35.0",
3+
"version": "9.36.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@sentry:registry=http://127.0.0.1:4873
2+
@sentry-internal:registry=http://127.0.0.1:4873
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "node-core-express-app",
3+
"version": "1.0.0",
4+
"private": true,
5+
"scripts": {
6+
"build": "tsc",
7+
"start": "node dist/app.js",
8+
"test": "playwright test",
9+
"clean": "npx rimraf node_modules pnpm-lock.yaml",
10+
"test:build": "pnpm install && pnpm build",
11+
"test:assert": "pnpm test"
12+
},
13+
"dependencies": {
14+
"@sentry/node-core": "latest || *",
15+
"@sentry/opentelemetry": "latest || *",
16+
"@opentelemetry/api": "^1.9.0",
17+
"@opentelemetry/context-async-hooks": "^1.30.1",
18+
"@opentelemetry/core": "^1.30.1",
19+
"@opentelemetry/instrumentation": "^0.57.1",
20+
"@opentelemetry/instrumentation-http": "^0.57.1",
21+
"@opentelemetry/resources": "^1.30.1",
22+
"@opentelemetry/sdk-trace-node": "^1.30.1",
23+
"@opentelemetry/semantic-conventions": "^1.30.0",
24+
"@types/express": "^4.17.21",
25+
"@types/node": "^18.19.1",
26+
"express": "^4.21.2",
27+
"typescript": "~5.0.0"
28+
},
29+
"devDependencies": {
30+
"@playwright/test": "~1.50.0",
31+
"@sentry-internal/test-utils": "link:../../../test-utils"
32+
},
33+
"resolutions": {
34+
"@types/qs": "6.9.17"
35+
},
36+
"volta": {
37+
"extends": "../../package.json"
38+
}
39+
}

0 commit comments

Comments
 (0)