Skip to content

Commit 2a4a35c

Browse files
authored
Merge branch 'cg-next-client-manifest' into cg-next-manifest-webpack
2 parents 685bf04 + f593c49 commit 2a4a35c

File tree

530 files changed

+15854
-676
lines changed

Some content is hidden

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

530 files changed

+15854
-676
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/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,24 @@ A standardized frontend test application has the following features:
133133
### Standardized Backend Test Apps
134134

135135
TBD
136+
137+
### Standardized Frontend-to-Backend Test Apps
138+
139+
A standardized Meta-Framework test application has the following features:
140+
141+
- Has a parameterized backend API route `/user/:id` that returns a JSON object with the user ID.
142+
- Has a parameterized frontend page (can be SSR) `/user/:id` that fetches the user data on the client-side from the API route and displays it.
143+
144+
This setup creates the scenario where the frontend page loads, and then immediately makes an API request to the backend API.
145+
146+
The following test cases for connected tracing should be implemented in the test app:
147+
148+
- Capturing a distributed page load trace when a page is loaded
149+
- The HTML meta-tag should include the Sentry trace data and baggage
150+
- The server root span should be the parent of the client pageload span
151+
- All routes (server and client) should be parameterized, e.g. `/user/5` should be captured as `/user/:id` route
152+
- Capturing a distributed trace when requesting the API from the client-side
153+
- There should be three transactions involved: the client pageload, the server "pageload", and the server API request
154+
- The client pageload should include an `http.client` span that is the parent of the server API request span
155+
- All three transactions and the `http.client` span should share the same `trace_id`
156+
- All `transaction` names and the `span` description should be parameterized, e.g. `/user/5` should be captured as `/user/:id` route

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

0 commit comments

Comments
 (0)