Skip to content

Commit cca832b

Browse files
authored
Merge branch 'develop' into bot/bump-size-limits
2 parents 66f8e86 + ee99468 commit cca832b

176 files changed

Lines changed: 6400 additions & 1263 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/workflows/auto-fix-issue.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ jobs:
7878
- name: Try to fix the issue with Claude
7979
id: triage
8080
uses: anthropics/claude-code-action@fad22eb3fa582b7357fc0ea48af6645851b884fd # v1
81+
env:
82+
ANTHROPIC_BASE_URL: https://openrouter.ai/api
8183
with:
82-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
84+
anthropic_api_key: ${{ secrets.OPENROUTER_API_KEY }}
8385
github_token: ${{ secrets.GITHUB_TOKEN }}
8486
allowed_non_write_users: '*'
8587
show_full_output: ${{ github.event.inputs.show_full_output || 'false' }}

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ jobs:
159159
160160
- name: Open batched runtime fix PR via skill
161161
uses: anthropics/claude-code-action@fad22eb3fa582b7357fc0ea48af6645851b884fd # v1
162+
env:
163+
ANTHROPIC_BASE_URL: https://openrouter.ai/api
162164
with:
163-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
165+
anthropic_api_key: ${{ secrets.OPENROUTER_API_KEY }}
164166
github_token: ${{ steps.app-token.outputs.token }}
165167
settings: |
166168
{
@@ -234,8 +236,10 @@ jobs:
234236
235237
- name: Open batched dev fix PR via skill
236238
uses: anthropics/claude-code-action@fad22eb3fa582b7357fc0ea48af6645851b884fd # v1
239+
env:
240+
ANTHROPIC_BASE_URL: https://openrouter.ai/api
237241
with:
238-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
242+
anthropic_api_key: ${{ secrets.OPENROUTER_API_KEY }}
239243
github_token: ${{ steps.app-token.outputs.token }}
240244
settings: |
241245
{

.github/workflows/track-framework-updates.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ jobs:
4444
- name: Run Claude digest
4545
id: digest
4646
uses: anthropics/claude-code-action@fad22eb3fa582b7357fc0ea48af6645851b884fd # v1
47+
env:
48+
ANTHROPIC_BASE_URL: https://openrouter.ai/api
4749
with:
48-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
50+
anthropic_api_key: ${{ secrets.OPENROUTER_API_KEY }}
4951
github_token: ${{ secrets.GITHUB_TOKEN }}
5052
allowed_non_write_users: '*'
5153
prompt: |

.github/workflows/triage-issue.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ jobs:
5555
- name: Run Claude triage
5656
id: triage
5757
uses: anthropics/claude-code-action@fad22eb3fa582b7357fc0ea48af6645851b884fd # v1
58+
env:
59+
ANTHROPIC_BASE_URL: https://openrouter.ai/api
5860
with:
59-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
61+
anthropic_api_key: ${{ secrets.OPENROUTER_API_KEY }}
6062
github_token: ${{ secrets.GITHUB_TOKEN }}
6163
allowed_non_write_users: '*'
6264
settings: |

.size-limit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ module.exports = [
460460
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
461461
gzip: false,
462462
brotli: false,
463-
limit: '184 KiB',
463+
limit: '193 KiB',
464464
disablePlugins: ['@size-limit/webpack'],
465465
webpack: false,
466466
modifyEsbuildConfig: function (config) {
@@ -480,7 +480,7 @@ module.exports = [
480480
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
481481
gzip: false,
482482
brotli: false,
483-
limit: '447 KiB',
483+
limit: '475 KiB',
484484
disablePlugins: ['@size-limit/webpack'],
485485
webpack: false,
486486
modifyEsbuildConfig: function (config) {

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Uses **Git Flow** (see `docs/gitflow.md`).
130130
## Coding Standards
131131

132132
- Follow existing conventions — check neighboring files
133+
- Reach for existing utils before writing a new one. Most shared helpers live in `@sentry/core` (`packages/core/src/utils/`), with browser helpers in `packages/browser-utils/`. Search first (LSP `workspaceSymbol` or grep) for common needs (type guards in `is.ts`, object/array helpers, `normalize`, `dsn`, `merge`, string/url helpers). Reuse or extend the existing util rather than adding a near-duplicate; only introduce a new util when nothing fits.
133134
- Only use libraries already in the codebase
134135
- Never expose secrets or keys
135136
- When modifying files, cover all occurrences (including `src/` and `test/`)

CHANGELOG.md

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

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

7-
- feat(replay): Allow skipping the final flush when stopping recording via `stop({ flush: false })` ([#22300](https://github.com/getsentry/sentry-javascript/pull/22300))
7+
Work in this release was contributed by @PeterWadie and @akshitsinha. Thank you for your contributions!
8+
9+
### Important Changes
10+
11+
- **feat(sveltekit): Add support for SvelteKit 3 ([#22264](https://github.com/getsentry/sentry-javascript/pull/22264))**
12+
13+
The SvelteKit SDK now supports SvelteKit 3, including client-side pageload and navigation tracing and server-side native tracing, alongside continued SvelteKit 2 support. No Sentry-specific setup changes are required. The SDK detects your SvelteKit version and picks the right implementation automatically.
814

915
## 10.66.0
1016

dev-packages/browser-integration-tests/suites/public-api/startSpan/streamed/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ sentryTest(
259259
type: 'string',
260260
value: 'custom',
261261
},
262-
'sentry.span.source': {
262+
'sentry.segment.name.source': {
263263
type: 'string',
264264
value: 'custom',
265265
},

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/interactions-streamed/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ sentryTest('captures streamed interaction span tree. @firefox', async ({ browser
105105
type: 'string',
106106
value: 'url',
107107
},
108-
'sentry.span.source': {
108+
'sentry.segment.name.source': {
109109
type: 'string',
110110
value: 'url',
111111
},

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-streamed/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ sentryTest('starts a streamed navigation span on page navigation', async ({ brow
158158
type: 'string',
159159
value: 'url',
160160
},
161-
'sentry.span.source': {
161+
'sentry.segment.name.source': {
162162
type: 'string',
163163
value: 'url',
164164
},

0 commit comments

Comments
 (0)