Skip to content

Commit f77b265

Browse files
authored
Merge pull request #21655 from getsentry/prepare-release/10.59.0
meta(changelog): Update changelog for 10.59.0
2 parents 605bf7a + 8e32a8d commit f77b265

618 files changed

Lines changed: 13556 additions & 9645 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.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# Node/server runtimes and related packages
1111
/packages/node/ @getsentry/team-javascript-sdks-server
1212
/packages/node-core/ @getsentry/team-javascript-sdks-server
13+
/packages/server-utils/ @getsentry/team-javascript-sdks-server
1314
/packages/node-native/ @getsentry/team-javascript-sdks-server
1415
/packages/profiling-node/ @getsentry/team-javascript-sdks-server
1516
/packages/opentelemetry/ @getsentry/team-javascript-sdks-server

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
with:
300300
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
301301
- name: Restore build bundle artifacts
302-
uses: actions/download-artifact@v7
302+
uses: actions/download-artifact@v8
303303
with:
304304
name: build-bundle-output
305305
path: ${{ env.BUNDLE_ARTIFACT_DOWNLOAD_PATH }}
@@ -429,19 +429,19 @@ jobs:
429429
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
430430

431431
- name: Restore tarball artifacts
432-
uses: actions/download-artifact@v7
432+
uses: actions/download-artifact@v8
433433
with:
434434
name: build-tarball-output
435435
path: ${{ env.TARBALL_ARTIFACT_DOWNLOAD_PATH }}
436436

437437
- name: Restore build bundle artifacts
438-
uses: actions/download-artifact@v7
438+
uses: actions/download-artifact@v8
439439
with:
440440
name: build-bundle-output
441441
path: ${{ env.BUNDLE_ARTIFACT_DOWNLOAD_PATH }}
442442

443443
- name: Restore build layer artifacts
444-
uses: actions/download-artifact@v7
444+
uses: actions/download-artifact@v8
445445
with:
446446
name: build-layer-output
447447
path: ${{ env.BUILD_LAYER_PATH }}
@@ -658,7 +658,7 @@ jobs:
658658
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
659659

660660
- name: Restore build bundle artifacts
661-
uses: actions/download-artifact@v7
661+
uses: actions/download-artifact@v8
662662
with:
663663
name: build-bundle-output
664664
path: ${{ env.BUNDLE_ARTIFACT_DOWNLOAD_PATH }}
@@ -720,7 +720,7 @@ jobs:
720720
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
721721

722722
- name: Restore build bundle artifacts
723-
uses: actions/download-artifact@v7
723+
uses: actions/download-artifact@v8
724724
with:
725725
name: build-bundle-output
726726
path: ${{ env.BUNDLE_ARTIFACT_DOWNLOAD_PATH }}
@@ -998,7 +998,7 @@ jobs:
998998
- name: Set up Deno
999999
if:
10001000
matrix.test-application == 'deno' || matrix.test-application == 'deno-streamed' || matrix.test-application ==
1001-
'deno-redis' || matrix.test-application == 'hono-4'
1001+
'deno-redis' || matrix.test-application == 'hono-4' || matrix.test-application == 'deno-mysql'
10021002
uses: denoland/setup-deno@v2.0.4
10031003
with:
10041004
deno-version: ${{ matrix.deno-version || 'v2.8.0' }}
@@ -1008,13 +1008,13 @@ jobs:
10081008
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
10091009

10101010
- name: Restore tarball artifacts
1011-
uses: actions/download-artifact@v7
1011+
uses: actions/download-artifact@v8
10121012
with:
10131013
name: build-tarball-output
10141014
path: ${{ env.TARBALL_ARTIFACT_DOWNLOAD_PATH }}
10151015

10161016
- name: Restore build layer artifacts
1017-
uses: actions/download-artifact@v7
1017+
uses: actions/download-artifact@v8
10181018
if: matrix.test-application == 'aws-serverless' || matrix.test-application == 'aws-serverless-layer'
10191019
with:
10201020
name: build-layer-output
@@ -1131,7 +1131,7 @@ jobs:
11311131
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
11321132

11331133
- name: Restore tarball artifacts
1134-
uses: actions/download-artifact@v7
1134+
uses: actions/download-artifact@v8
11351135
with:
11361136
name: build-tarball-output
11371137
path: ${{ env.TARBALL_ARTIFACT_DOWNLOAD_PATH }}

.github/workflows/dependabot-auto-triage.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,12 @@ name: 'Dependabot auto-triage'
77
# individual fixes, one commit per vuln), via the /fix-security-vulnerability skill --ci mode.
88
# Two PRs total keeps CI cheap and keeps runtime fixes isolated from dev bumps.
99
#
10-
# NOTE: the GitHub App used here (GITFLOW_APP_*) must be granted the "Dependabot alerts: read AND
11-
# write" repository permission — read to list alerts, write to dismiss the noise.
12-
#
13-
# SECURITY BACKSTOP: `develop` must have branch protection that blocks force-pushes (and direct
14-
# pushes) by this App. The fix jobs run an LLM with a write token; the tool allowlist scopes pushes
15-
# to `bot/dependabot-fixes-*`, but branch protection is the authoritative guard against a pushed
16-
# change to `develop`.
17-
#
1810
# Manual runs default to a safe dry-run (classify + preview what would be dismissed and which PRs
19-
# would open, all to the job summary — no writes). The (currently disabled) scheduled run is full.
20-
#
21-
# TEST PHASE: the daily `schedule` trigger is commented out below — only manual `workflow_dispatch`
22-
# runs are active for now. Re-enable the cron once the manual dry-run + full runs look good.
11+
# would open, all to the job summary — no writes). The scheduled run is always full.
2312

2413
on:
25-
# Disabled for the initial test phase — manual runs only (dry-run / dismiss-only / full).
26-
# Re-enable once validated to get the daily automated run:
27-
# schedule:
28-
# - cron: '0 0 * * *' # daily, midnight UTC (matches canary/clear-cache)
14+
schedule:
15+
- cron: '0 0 * * *' # daily, midnight UTC
2916
workflow_dispatch:
3017
inputs:
3118
mode:

.oxlintrc.base.json

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"no-unsafe-optional-chaining": "off",
3737
"no-eval": "off",
3838
"no-import-assign": "off",
39-
"typescript/no-duplicate-type-constituents": "off"
39+
"typescript/no-duplicate-type-constituents": "off",
40+
"typescript/no-deprecated": "error"
4041
},
4142
"overrides": [
4243
{
@@ -101,7 +102,8 @@
101102
"typescript/no-misused-spread": "off",
102103
"typescript/require-array-sort-compare": "off",
103104
"typescript/no-base-to-string": "off",
104-
"typescript/await-thenable": "off"
105+
"typescript/await-thenable": "off",
106+
"typescript/no-deprecated": "off"
105107
}
106108
},
107109
{
@@ -130,37 +132,50 @@
130132
"no-param-reassign": "off"
131133
}
132134
},
135+
{
136+
"files": ["**/integration/aws/vendored/**/*.ts"],
137+
"rules": {
138+
"typescript/consistent-type-imports": "off",
139+
"typescript/no-unnecessary-type-assertion": "off",
140+
"typescript/no-unsafe-member-access": "off",
141+
"typescript/no-explicit-any": "off",
142+
"typescript/no-this-alias": "off",
143+
"typescript/prefer-for-of": "off",
144+
"typescript/unbound-method": "off",
145+
"max-lines": "off",
146+
"complexity": "off",
147+
"no-param-reassign": "off"
148+
}
149+
},
133150
{
134151
"files": ["**/integrations/tracing/redis/vendored/**/*.ts"],
135152
"rules": {
136153
"typescript/no-explicit-any": "off",
137154
"typescript/no-unsafe-member-access": "off",
138155
"typescript/no-this-alias": "off",
139-
"max-lines": "off",
140-
"no-bitwise": "off"
156+
"max-lines": "off"
141157
}
142158
},
143159
{
144160
"files": [
145-
"**/integrations/fs/vendored/**/*.ts",
146161
"**/integrations/tracing/knex/vendored/**/*.ts",
147162
"**/integrations/tracing/mongo/vendored/**/*.ts",
148-
"**/integrations/tracing/koa/vendored/**/*.ts",
149-
"**/integrations/tracing/connect/vendored/**/*.ts",
163+
"**/integrations/tracing/graphql/vendored/**/*.ts",
150164
"**/integrations/tracing/mysql2/vendored/**/*.ts",
151-
"**/integration/aws/vendored/**/*.ts",
152165
"**/integrations/tracing/kafka/vendored/**/*.ts",
153166
"**/integrations/tracing/tedious/vendored/**/*.ts",
154167
"**/integrations/tracing/hapi/vendored/**/*.ts",
155168
"**/integrations/tracing/mongoose/vendored/**/*.ts",
156169
"**/integrations/tracing/amqplib/vendored/**/*.ts",
157170
"**/integrations/tracing/prisma/vendored/**/*.ts",
158-
"**/integrations/tracing/graphql/vendored/**/*.ts",
159171
"**/integrations/tracing/postgres/vendored/**/*.ts",
160-
"**/integrations/tracing/fastify/vendored/**/*.ts"
172+
"**/integrations/tracing/fastify/vendored/**/*.ts",
173+
"**/integrations/tracing/redis/vendored/**/*.ts"
161174
],
162175
"rules": {
163-
"typescript/no-explicit-any": "off"
176+
"typescript/no-explicit-any": "off",
177+
"no-unsafe-member-access": "off",
178+
"no-this-alias": "off"
164179
}
165180
},
166181
{

.size-limit.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,23 @@ module.exports = [
394394
limit: '136 KB',
395395
disablePlugins: ['@size-limit/esbuild'],
396396
},
397+
{
398+
name: '@sentry/node/import (ESM hook with diagnostics-channel injection)',
399+
path: ['node_modules/@apm-js-collab/tracing-hooks/hook.mjs', 'packages/node/build/import-hook.mjs'],
400+
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
401+
gzip: true,
402+
limit: '100 KB',
403+
disablePlugins: ['@size-limit/esbuild'],
404+
},
405+
{
406+
name: '@sentry/node/light',
407+
path: 'packages/node-core/build/esm/light/index.js',
408+
import: createImport('init'),
409+
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
410+
gzip: true,
411+
limit: '100 KB',
412+
disablePlugins: ['@size-limit/esbuild'],
413+
},
397414
{
398415
name: '@sentry/node - without tracing',
399416
path: 'packages/node/build/esm/index.js',

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ Uses **Git Flow** (see `docs/gitflow.md`).
7373

7474
## Pull Requests
7575

76-
- **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. Use the PR body for _Summary_ and _Root cause_ (if relevant) only.
76+
- **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.
77+
- **Omit the "Summary" heading** in PR bodies — lead with the summary text itself, no `## Summary` header.
7778
- Include `Fixes #<issue-number>` somewhere in the PR body so the merge auto-closes the linked issue.
7879

7980
## Architecture
@@ -130,6 +131,7 @@ Uses **Git Flow** (see `docs/gitflow.md`).
130131
- Only use libraries already in the codebase
131132
- Never expose secrets or keys
132133
- When modifying files, cover all occurrences (including `src/` and `test/`)
134+
- Comments explain **why**, never **what** — never add a comment that restates what the code does or describes the change being made; only comment when the reasoning isn't obvious from the code itself
133135

134136
## Reference Documentation
135137

0 commit comments

Comments
 (0)