Skip to content

Commit 85d0619

Browse files
authored
Merge pull request #22315 from getsentry/prepare-release/10.66.0
meta(changelog): Update changelog for `10.66.0`
2 parents 69b66bc + bddcb83 commit 85d0619

457 files changed

Lines changed: 13017 additions & 3324 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
name: bump-conventions
3+
description: Bump the @sentry/conventions dependency to a new version across every package in the monorepo. Use when upgrading, bumping, or aligning @sentry/conventions, or when a new @sentry/conventions release needs to be pulled into all workspaces.
4+
argument-hint: '[version] # e.g. 0.16.0; defaults to latest on npm'
5+
---
6+
7+
# Bump `@sentry/conventions`
8+
9+
Bump `@sentry/conventions` across every `package.json` at once, keeping the two pin styles consistent, then refresh `yarn.lock`.
10+
11+
## 1. Determine the target version
12+
13+
If the user gave a version, use it. Otherwise get the latest:
14+
15+
```bash
16+
npm view @sentry/conventions version
17+
```
18+
19+
## 2. Update every declared version
20+
21+
Find every `package.json` that declares `@sentry/conventions` (use the Grep tool so `node_modules` and build output are skipped automatically) and bump each to the new version. There are two pin styles, and **each must keep its style**:
22+
23+
- `packages/*` declare a caret range in `dependencies`, e.g. `"^0.15.1"` → `"^0.16.0"`
24+
- `dev-packages/*` test suites declare an exact pin in `devDependencies`, e.g. `"0.15.1"` → `"0.16.0"`
25+
26+
Edit only the version string; leave the caret alone. If a file declares a version that matches neither the current caret nor the exact pin, list it and confirm with the user before touching it. Preserve each file's trailing newline.
27+
28+
## 3. Refresh the lockfile and build
29+
30+
```bash
31+
yarn install
32+
yarn dedupe-deps:fix
33+
yarn build:dev
34+
```
35+
36+
`yarn install` collapses the combined `yarn.lock` entry (`"@sentry/conventions@<OLD>", "@sentry/conventions@^<OLD>":`) onto the new version. Confirm no stale `<OLD>` resolution remains:
37+
38+
```bash
39+
grep -n '@sentry/conventions@' yarn.lock
40+
```
41+
42+
## 4. Check for breaking API changes
43+
44+
A `conventions` bump can rename or remove exported attribute constants. If `yarn build:dev` fails, inspect the type errors and update usages in `src/` **and** `test/`. Heaviest consumers: `packages/core`, `packages/opentelemetry`, `packages/aws-serverless`.
45+
46+
Use LSP `findReferences` on the changed export to catch every call site. Do not paper over a rename with a cast.
47+
48+
After fixing, re-run `yarn build:dev` and confirm it passes before verifying, so the next step runs against fresh build output.
49+
50+
## 5. Final verification
51+
52+
```bash
53+
yarn circularDepCheck
54+
yarn fix
55+
yarn test
56+
```
57+
58+
## Commit
59+
60+
Use the `chore(deps):` prefix the repo uses for dependency bumps:
61+
62+
```
63+
chore(deps): Bump `@sentry/conventions` to <NEW>
64+
```

‎.github/CODEOWNERS‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
/dev-packages/browser-integration-tests/ @getsentry/team-javascript-sdks-browser
99

1010
# Node/server runtimes and related packages
11-
/packages/node/ @getsentry/team-javascript-sdks-server
12-
/packages/node-core/ @getsentry/team-javascript-sdks-server
13-
/packages/server-utils/ @getsentry/team-javascript-sdks-server
11+
# TEMP: whole JS SDK team reviews orchestrion work; revert to team-javascript-sdks-server after
12+
/packages/node/ @getsentry/team-javascript-sdks
13+
/packages/node-core/ @getsentry/team-javascript-sdks
14+
/packages/server-utils/ @getsentry/team-javascript-sdks
1415
/packages/node-native/ @getsentry/team-javascript-sdks-server
1516
/packages/profiling-node/ @getsentry/team-javascript-sdks-server
1617
/packages/opentelemetry/ @getsentry/team-javascript-sdks-server

‎.github/FLAKY_CI_FAILURE_TEMPLATE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: '[Flaky CI]: {{ env.JOB_NAME }} - {{ env.TEST_NAME }}'
3-
labels: Tests, Bug, "Flaky Test"
3+
labels: Tests, "Flaky Test"
44
---
55

66
### Flakiness Type

‎.github/workflows/build.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,19 @@ jobs:
816816
uses: actions/checkout@v7
817817
with:
818818
ref: ${{ env.HEAD_COMMIT }}
819+
- name: Free up disk space if low
820+
# The full suite pulls several DB docker images (mssql alone is ~1.5GB)
821+
# Available disk space is not consistent, if we detect low space this cleans up some unused toolchains
822+
run: |
823+
df -h /
824+
avail_kb=$(df -k --output=avail / | tail -1)
825+
if [ "$avail_kb" -lt $((40 * 1024 * 1024)) ]; then
826+
echo "Low disk space (<40GB free) — reclaiming unused toolchains"
827+
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup /opt/hostedtoolcache/CodeQL
828+
df -h /
829+
else
830+
echo "Sufficient disk space — skipping cleanup"
831+
fi
819832
- name: Set up Node
820833
uses: actions/setup-node@v6
821834
with:

‎.github/workflows/external-contributors.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
&& endsWith(github.event.pull_request.user.login, '[bot]') == false
2222
steps:
2323
- uses: actions/checkout@v7
24+
with:
25+
ref: develop
2426
- name: Set up Node
2527
uses: actions/setup-node@v6
2628
with:

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ node_modules/
33
packages/*/package-lock.json
44
dev-packages/*/package-lock.json
55
package-lock.json
6+
.pnpm-store
67

78
# build and test
89
# SDK builds

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ Uses **Git Flow** (see `docs/gitflow.md`).
7676
- **Do NOT add a "Test plan" / "Testing" checklist to PR bodies.** CI runs the full test suite on every PR — a hand-rolled checklist duplicates that signal and rots fast. Write the summary content directly and add a _Root cause_ section only if relevant.
7777
- **Omit the "Summary" heading** in PR bodies — lead with the summary text itself, no `## Summary` header.
7878
- Include `Fixes #<issue-number>` somewhere in the PR body so the merge auto-closes the linked issue.
79+
- Always open PRs as draft.
80+
- Include reasoning of changes in the PR description, as well as decisions that were taken during implementation. Do not explain the implementation that can be viewed in the code.
7981

8082
## Architecture
8183

‎CHANGELOG.md‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,72 @@
44

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

7+
## 10.66.0
8+
9+
- chore(node-core): Deprecate `@sentry/node-core` package ([#22285](https://github.com/getsentry/sentry-javascript/pull/22285))
10+
- chore(tanstackstart): Deprecate `@sentry/tanstackstart` package ([#22284](https://github.com/getsentry/sentry-javascript/pull/22284))
11+
- deps(server-utils): bump @apm-js-collab/code-transformer and tracing-hooks ([#22172](https://github.com/getsentry/sentry-javascript/pull/22172))
12+
- feat(bun): Add `initWithoutDefaultIntegrations` and `getDefaultIntegrationsWithoutPerformance` ([#22036](https://github.com/getsentry/sentry-javascript/pull/22036))
13+
- feat(bundlers): Add orchestrion bundler plugins ([#22124](https://github.com/getsentry/sentry-javascript/pull/22124))
14+
- feat(cloudflare): Support Cloudflare types v5 & newer wrangler versions ([#22180](https://github.com/getsentry/sentry-javascript/pull/22180))
15+
- feat(core): Add and use `dataCollection.databaseQueryData` (for e.g. Supabase filter values and mutation bodies) ([#22219](https://github.com/getsentry/sentry-javascript/pull/22219))
16+
- feat(core): Add and use `dataCollection.graphQL` ([#22221](https://github.com/getsentry/sentry-javascript/pull/22221))
17+
- feat(core): Add stringify helper and make AI-tracing serializers safe ([#22163](https://github.com/getsentry/sentry-javascript/pull/22163))
18+
- feat(nestjs): Add orchestrion diagnostics-channel instrumentation ([#22176](https://github.com/getsentry/sentry-javascript/pull/22176))
19+
- feat(nextjs): Add opt-in for orchestrion instrumentation ([#22043](https://github.com/getsentry/sentry-javascript/pull/22043))
20+
- feat(node): Rewrite knex instrumentation to orchestrion tracing channels ([#22237](https://github.com/getsentry/sentry-javascript/pull/22237))
21+
- feat(server-utils): Capture and log orchestrion stats ([#22269](https://github.com/getsentry/sentry-javascript/pull/22269))
22+
- feat(server-utils): Migrate `@opentelemetry/instrumentation-kafkajs` to orchestrion ([#21923](https://github.com/getsentry/sentry-javascript/pull/21923))
23+
- feat(server-utils): Migrate `@opentelemetry/instrumentation-mysql2` to orchestrion ([#22229](https://github.com/getsentry/sentry-javascript/pull/22229))
24+
- feat(server-utils): Rewrite `@opentelemetry/instrumentation-dataloader` to orchestrion ([#22236](https://github.com/getsentry/sentry-javascript/pull/22236))
25+
- feat(server-utils): Rewrite `@opentelemetry/instrumentation-generic-pool` to orchestrion ([#22240](https://github.com/getsentry/sentry-javascript/pull/22240))
26+
- feat(sveltekit): Detect SvelteKit 3 native tracing from the Vite plugin ([#21580](https://github.com/getsentry/sentry-javascript/pull/21580))
27+
- fix: Include bundler CJS exports to fix Node warning ([#22286](https://github.com/getsentry/sentry-javascript/pull/22286))
28+
- fix(browser-utils): Remove readystatechange listener to prevent memory leaks ([#22216](https://github.com/getsentry/sentry-javascript/pull/22216))
29+
- fix(browser): Propagate trace data from active span if `http.client` span is non-recording ([#22246](https://github.com/getsentry/sentry-javascript/pull/22246))
30+
- fix(core): Preserve propagation across ignored spans ([#22277](https://github.com/getsentry/sentry-javascript/pull/22277))
31+
- fix(node): move dc integration swap to \_init ([#22173](https://github.com/getsentry/sentry-javascript/pull/22173))
32+
- fix(react-router): Correct url attributes for history and relative navigations ([#22131](https://github.com/getsentry/sentry-javascript/pull/22131))
33+
- fix(react): Preserve parent path prefix for descendant route names in `react-router` ([#22225](https://github.com/getsentry/sentry-javascript/pull/22225))
34+
- fix(server-utils): Dedupe ioredis orchestrion span for offline-queued commands ([#22279](https://github.com/getsentry/sentry-javascript/pull/22279))
35+
- fix(vue): Refresh pageload URL attrs on TanStack onResolved ([#22140](https://github.com/getsentry/sentry-javascript/pull/22140))
36+
37+
<details>
38+
<summary><strong>Internal Changes</strong></summary>
39+
40+
- chore: Add external contributor to CHANGELOG.md ([#22295](https://github.com/getsentry/sentry-javascript/pull/22295))
41+
- chore: Do not treat flaky test issues as bug ([#22272](https://github.com/getsentry/sentry-javascript/pull/22272))
42+
- chore: stub modules for orchestrion configs, channels ([#22195](https://github.com/getsentry/sentry-javascript/pull/22195))
43+
- chore: Update claude PR instructions ([#22241](https://github.com/getsentry/sentry-javascript/pull/22241))
44+
- chore(changelog): Add external contributor to next changelog ([#22234](https://github.com/getsentry/sentry-javascript/pull/22234))
45+
- chore(ci): Temporarily assign node/node-core reviews to whole JS SDK team ([#22226](https://github.com/getsentry/sentry-javascript/pull/22226))
46+
- chore(ci): Temporarily assign orchestrion reviews to whole JS SDK team ([#22215](https://github.com/getsentry/sentry-javascript/pull/22215))
47+
- chore(deps): Bump orchestrion dependencies to latest ([#22287](https://github.com/getsentry/sentry-javascript/pull/22287))
48+
- chore(deps): Bump `@sentry/conventions` to 0.16.0 ([#22270](https://github.com/getsentry/sentry-javascript/pull/22270))
49+
- chore(gitignore): Add `.pnpm-store` to gitignore ([#22223](https://github.com/getsentry/sentry-javascript/pull/22223))
50+
- chore(skills): Add bump-conventions skill ([#22271](https://github.com/getsentry/sentry-javascript/pull/22271))
51+
- fix(ci): Improve flaky test issue deduplication ([#22042](https://github.com/getsentry/sentry-javascript/pull/22042))
52+
- fix(ci): Unblock external-contributors checkout on fork PR merges ([#22235](https://github.com/getsentry/sentry-javascript/pull/22235))
53+
- ref(build): Replace ts-node with tsx for build and CI scripts ([#22186](https://github.com/getsentry/sentry-javascript/pull/22186))
54+
- ref(core): Remove redundant log buffer flush ([#22278](https://github.com/getsentry/sentry-javascript/pull/22278))
55+
- ref(nestjs): extract shared span helpers ([#22175](https://github.com/getsentry/sentry-javascript/pull/22175))
56+
- ref(node): Refactor some otel internals in http integrations ([#22292](https://github.com/getsentry/sentry-javascript/pull/22292))
57+
- ref(nuxt): Build the Nuxt module in-house instead of @nuxt/module-builder ([#22190](https://github.com/getsentry/sentry-javascript/pull/22190))
58+
- ref(server-utils): Move prisma instrumentation to server-utils ([#22222](https://github.com/getsentry/sentry-javascript/pull/22222))
59+
- test(anr): Use pure-JS busy work so ANR stack samples capture longWork ([#22133](https://github.com/getsentry/sentry-javascript/pull/22133))
60+
- test(browser-integration): Fix local runs referencing renamed `type-check` command ([#22243](https://github.com/getsentry/sentry-javascript/pull/22243))
61+
- test(e2e): Add E2E test app for orchestrion instrumentations on Remix ([#22218](https://github.com/getsentry/sentry-javascript/pull/22218))
62+
- test(nextjs): Add orchestrion e2e test app ([#22080](https://github.com/getsentry/sentry-javascript/pull/22080))
63+
- test(node-integration-tests): Free up CI disk space to prevent ENOSPC failures ([#22132](https://github.com/getsentry/sentry-javascript/pull/22132))
64+
- test(node-integration-tests): Reuse Docker Compose containers across tests ([#22128](https://github.com/getsentry/sentry-javascript/pull/22128))
65+
- test(react-router): Add orchestrion based e2e test app ([#22185](https://github.com/getsentry/sentry-javascript/pull/22185))
66+
- test(sveltekit): Add SvelteKit 3 e2e app ([#21540](https://github.com/getsentry/sentry-javascript/pull/21540))
67+
- test(tanstackstart): Deterministically match the server-side error event ([#22137](https://github.com/getsentry/sentry-javascript/pull/22137))
68+
69+
</details>
70+
71+
Work in this release was contributed by @dobladov and @PeterWadie. Thank you for your contributions!
72+
773
## 10.65.0
874

975
- feat(angular): Set `url` attributes on pageload and navigation spans ([#21985](https://github.com/getsentry/sentry-javascript/pull/21985))

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
1515
"lint:types": "tsc --noEmit",
1616
"postinstall": "yarn install-browsers",
17-
"pretest": "yarn clean && yarn type-check",
17+
"pretest": "yarn clean && yarn lint:types",
1818
"test": "yarn test:all --project='chromium'",
1919
"test:all": "npx playwright test -c playwright.browser.config.ts",
2020
"test:bundle": "PW_BUNDLE=bundle yarn test",
@@ -53,7 +53,7 @@
5353
"test:loader:full": "PW_BUNDLE=loader_tracing_replay yarn test:loader",
5454
"test:loader:debug": "PW_BUNDLE=loader_debug yarn test:loader",
5555
"test:update-snapshots": "yarn test:all --update-snapshots",
56-
"test:detect-flaky": "ts-node scripts/detectFlakyTests.ts"
56+
"test:detect-flaky": "tsx scripts/detectFlakyTests.ts"
5757
},
5858
"dependencies": {
5959
"@babel/core": "^7.29.6",
@@ -63,7 +63,7 @@
6363
"@sentry/browser": "10.65.0",
6464
"@sentry/replay": "10.65.0",
6565
"@sentry/opentelemetry": "10.65.0",
66-
"@sentry/conventions": "0.15.1",
66+
"@sentry/conventions": "0.16.0",
6767
"@supabase/supabase-js": "2.49.3",
6868
"axios": "1.16.0",
6969
"babel-loader": "^10.1.1",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as Sentry from '@sentry/browser';
2+
3+
window.Sentry = Sentry;
4+
5+
Sentry.init({
6+
dsn: 'https://public@dsn.ingest.sentry.io/1337',
7+
integrations: [Sentry.browserTracingIntegration(), Sentry.spanStreamingIntegration()],
8+
ignoreSpans: [/ignored-click-listener/],
9+
parentSpanIsAlwaysRootSpan: false,
10+
tracePropagationTargets: ['sentry-test-external.io'],
11+
tracesSampleRate: 0,
12+
});

0 commit comments

Comments
 (0)